aws-sdk-costexplorer 1.91.0 → 1.93.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +6 -1
- data/lib/aws-sdk-costexplorer/client_api.rb +9 -0
- data/lib/aws-sdk-costexplorer/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-costexplorer/types.rb +60 -18
- data/lib/aws-sdk-costexplorer.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8b325309dc298deef32e74ad4a0df188b22a2b38c8a98897e7e3fdda413e179
|
4
|
+
data.tar.gz: b70c2f0e9bcbb74527c0391efb9286e0bcaf686ec15a6cec4f07be9d6a954749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92b2d7078039227aa0ddd10390fda6ed384ce65750f494e9d1058b969ffcbae1d83639724a153f23144ab294154676e598e6dd08a115b8a8bc86484a0ded0e25
|
7
|
+
data.tar.gz: 60f7883039db16e3c43400244fce931555dcf1893b568b45ecd83a7ffbf56697e491cba18145fc2a2973f78b4f1ddb99497d770944c54906d1b54ec17bb0de56
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.93.0 (2023-11-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.92.0 (2023-11-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon MemoryDB reservations.
|
13
|
+
|
4
14
|
1.91.0 (2023-09-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.93.0
|
@@ -2805,6 +2805,11 @@ module Aws::CostExplorer
|
|
2805
2805
|
# resp.recommendations[0].recommendation_details[0].instance_details.es_instance_details.region #=> String
|
2806
2806
|
# resp.recommendations[0].recommendation_details[0].instance_details.es_instance_details.current_generation #=> Boolean
|
2807
2807
|
# resp.recommendations[0].recommendation_details[0].instance_details.es_instance_details.size_flex_eligible #=> Boolean
|
2808
|
+
# resp.recommendations[0].recommendation_details[0].instance_details.memory_db_instance_details.family #=> String
|
2809
|
+
# resp.recommendations[0].recommendation_details[0].instance_details.memory_db_instance_details.node_type #=> String
|
2810
|
+
# resp.recommendations[0].recommendation_details[0].instance_details.memory_db_instance_details.region #=> String
|
2811
|
+
# resp.recommendations[0].recommendation_details[0].instance_details.memory_db_instance_details.current_generation #=> Boolean
|
2812
|
+
# resp.recommendations[0].recommendation_details[0].instance_details.memory_db_instance_details.size_flex_eligible #=> Boolean
|
2808
2813
|
# resp.recommendations[0].recommendation_details[0].recommended_number_of_instances_to_purchase #=> String
|
2809
2814
|
# resp.recommendations[0].recommendation_details[0].recommended_normalized_units_to_purchase #=> String
|
2810
2815
|
# resp.recommendations[0].recommendation_details[0].minimum_number_of_instances_used_per_hour #=> String
|
@@ -5152,7 +5157,7 @@ module Aws::CostExplorer
|
|
5152
5157
|
params: params,
|
5153
5158
|
config: config)
|
5154
5159
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
5155
|
-
context[:gem_version] = '1.
|
5160
|
+
context[:gem_version] = '1.93.0'
|
5156
5161
|
Seahorse::Client::Request.new(handlers, context)
|
5157
5162
|
end
|
5158
5163
|
|
@@ -183,6 +183,7 @@ module Aws::CostExplorer
|
|
183
183
|
MatchOption = Shapes::StringShape.new(name: 'MatchOption')
|
184
184
|
MatchOptions = Shapes::ListShape.new(name: 'MatchOptions')
|
185
185
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
186
|
+
MemoryDBInstanceDetails = Shapes::StructureShape.new(name: 'MemoryDBInstanceDetails')
|
186
187
|
Metric = Shapes::StringShape.new(name: 'Metric')
|
187
188
|
MetricAmount = Shapes::StringShape.new(name: 'MetricAmount')
|
188
189
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
@@ -948,6 +949,7 @@ module Aws::CostExplorer
|
|
948
949
|
InstanceDetails.add_member(:redshift_instance_details, Shapes::ShapeRef.new(shape: RedshiftInstanceDetails, location_name: "RedshiftInstanceDetails"))
|
949
950
|
InstanceDetails.add_member(:elasticache_instance_details, Shapes::ShapeRef.new(shape: ElastiCacheInstanceDetails, location_name: "ElastiCacheInstanceDetails"))
|
950
951
|
InstanceDetails.add_member(:es_instance_details, Shapes::ShapeRef.new(shape: ESInstanceDetails, location_name: "ESInstanceDetails"))
|
952
|
+
InstanceDetails.add_member(:memory_db_instance_details, Shapes::ShapeRef.new(shape: MemoryDBInstanceDetails, location_name: "MemoryDBInstanceDetails"))
|
951
953
|
InstanceDetails.struct_class = Types::InstanceDetails
|
952
954
|
|
953
955
|
InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -996,6 +998,13 @@ module Aws::CostExplorer
|
|
996
998
|
|
997
999
|
MatchOptions.member = Shapes::ShapeRef.new(shape: MatchOption)
|
998
1000
|
|
1001
|
+
MemoryDBInstanceDetails.add_member(:family, Shapes::ShapeRef.new(shape: GenericString, location_name: "Family"))
|
1002
|
+
MemoryDBInstanceDetails.add_member(:node_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "NodeType"))
|
1003
|
+
MemoryDBInstanceDetails.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
1004
|
+
MemoryDBInstanceDetails.add_member(:current_generation, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "CurrentGeneration"))
|
1005
|
+
MemoryDBInstanceDetails.add_member(:size_flex_eligible, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "SizeFlexEligible"))
|
1006
|
+
MemoryDBInstanceDetails.struct_class = Types::MemoryDBInstanceDetails
|
1007
|
+
|
999
1008
|
MetricNames.member = Shapes::ShapeRef.new(shape: MetricName)
|
1000
1009
|
|
1001
1010
|
MetricValue.add_member(:amount, Shapes::ShapeRef.new(shape: MetricAmount, location_name: "Amount"))
|
@@ -38,7 +38,7 @@ module Aws::CostExplorer
|
|
38
38
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
39
39
|
end
|
40
40
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
41
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
42
42
|
return Aws::Endpoints::Endpoint.new(url: "https://ce-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
43
43
|
end
|
44
44
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -1467,7 +1467,7 @@ module Aws::CostExplorer
|
|
1467
1467
|
include Aws::Structure
|
1468
1468
|
end
|
1469
1469
|
|
1470
|
-
# Details about the Amazon EC2
|
1470
|
+
# Details about the Amazon EC2 reservations that Amazon Web Services
|
1471
1471
|
# recommends that you purchase.
|
1472
1472
|
#
|
1473
1473
|
# @!attribute [rw] family
|
@@ -1638,8 +1638,8 @@ module Aws::CostExplorer
|
|
1638
1638
|
include Aws::Structure
|
1639
1639
|
end
|
1640
1640
|
|
1641
|
-
# Details about the Amazon OpenSearch Service
|
1642
|
-
# Services recommends that you purchase.
|
1641
|
+
# Details about the Amazon OpenSearch Service reservations that Amazon
|
1642
|
+
# Web Services recommends that you purchase.
|
1643
1643
|
#
|
1644
1644
|
# @!attribute [rw] instance_class
|
1645
1645
|
# The class of instance that Amazon Web Services recommends.
|
@@ -1674,7 +1674,7 @@ module Aws::CostExplorer
|
|
1674
1674
|
include Aws::Structure
|
1675
1675
|
end
|
1676
1676
|
|
1677
|
-
# Details about the Amazon ElastiCache
|
1677
|
+
# Details about the Amazon ElastiCache reservations that Amazon Web
|
1678
1678
|
# Services recommends that you purchase.
|
1679
1679
|
#
|
1680
1680
|
# @!attribute [rw] family
|
@@ -4653,34 +4653,39 @@ module Aws::CostExplorer
|
|
4653
4653
|
include Aws::Structure
|
4654
4654
|
end
|
4655
4655
|
|
4656
|
-
# Details about the
|
4657
|
-
# you purchase.
|
4656
|
+
# Details about the reservations that Amazon Web Services recommends
|
4657
|
+
# that you purchase.
|
4658
4658
|
#
|
4659
4659
|
# @!attribute [rw] ec2_instance_details
|
4660
|
-
# The Amazon EC2
|
4660
|
+
# The Amazon EC2 reservations that Amazon Web Services recommends that
|
4661
4661
|
# you purchase.
|
4662
4662
|
# @return [Types::EC2InstanceDetails]
|
4663
4663
|
#
|
4664
4664
|
# @!attribute [rw] rds_instance_details
|
4665
|
-
# The Amazon RDS
|
4665
|
+
# The Amazon RDS reservations that Amazon Web Services recommends that
|
4666
4666
|
# you purchase.
|
4667
4667
|
# @return [Types::RDSInstanceDetails]
|
4668
4668
|
#
|
4669
4669
|
# @!attribute [rw] redshift_instance_details
|
4670
|
-
# The Amazon Redshift
|
4670
|
+
# The Amazon Redshift reservations that Amazon Web Services recommends
|
4671
4671
|
# that you purchase.
|
4672
4672
|
# @return [Types::RedshiftInstanceDetails]
|
4673
4673
|
#
|
4674
4674
|
# @!attribute [rw] elasticache_instance_details
|
4675
|
-
# The ElastiCache
|
4676
|
-
# you purchase.
|
4675
|
+
# The ElastiCache reservations that Amazon Web Services recommends
|
4676
|
+
# that you purchase.
|
4677
4677
|
# @return [Types::ElastiCacheInstanceDetails]
|
4678
4678
|
#
|
4679
4679
|
# @!attribute [rw] es_instance_details
|
4680
|
-
# The Amazon OpenSearch Service
|
4680
|
+
# The Amazon OpenSearch Service reservations that Amazon Web Services
|
4681
4681
|
# recommends that you purchase.
|
4682
4682
|
# @return [Types::ESInstanceDetails]
|
4683
4683
|
#
|
4684
|
+
# @!attribute [rw] memory_db_instance_details
|
4685
|
+
# The MemoryDB reservations that Amazon Web Services recommends that
|
4686
|
+
# you purchase.
|
4687
|
+
# @return [Types::MemoryDBInstanceDetails]
|
4688
|
+
#
|
4684
4689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/InstanceDetails AWS API Documentation
|
4685
4690
|
#
|
4686
4691
|
class InstanceDetails < Struct.new(
|
@@ -4688,7 +4693,8 @@ module Aws::CostExplorer
|
|
4688
4693
|
:rds_instance_details,
|
4689
4694
|
:redshift_instance_details,
|
4690
4695
|
:elasticache_instance_details,
|
4691
|
-
:es_instance_details
|
4696
|
+
:es_instance_details,
|
4697
|
+
:memory_db_instance_details)
|
4692
4698
|
SENSITIVE = []
|
4693
4699
|
include Aws::Structure
|
4694
4700
|
end
|
@@ -4898,6 +4904,42 @@ module Aws::CostExplorer
|
|
4898
4904
|
include Aws::Structure
|
4899
4905
|
end
|
4900
4906
|
|
4907
|
+
# Details about the MemoryDB reservations that Amazon Web Services
|
4908
|
+
# recommends that you purchase.
|
4909
|
+
#
|
4910
|
+
# @!attribute [rw] family
|
4911
|
+
# The instance family of the recommended reservation.
|
4912
|
+
# @return [String]
|
4913
|
+
#
|
4914
|
+
# @!attribute [rw] node_type
|
4915
|
+
# The node type of the recommended reservation.
|
4916
|
+
# @return [String]
|
4917
|
+
#
|
4918
|
+
# @!attribute [rw] region
|
4919
|
+
# The Amazon Web Services Region of the recommended reservation.
|
4920
|
+
# @return [String]
|
4921
|
+
#
|
4922
|
+
# @!attribute [rw] current_generation
|
4923
|
+
# Determines whether the recommendation is for a current generation
|
4924
|
+
# instance.
|
4925
|
+
# @return [Boolean]
|
4926
|
+
#
|
4927
|
+
# @!attribute [rw] size_flex_eligible
|
4928
|
+
# Determines whether the recommended reservation is size flexible.
|
4929
|
+
# @return [Boolean]
|
4930
|
+
#
|
4931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/MemoryDBInstanceDetails AWS API Documentation
|
4932
|
+
#
|
4933
|
+
class MemoryDBInstanceDetails < Struct.new(
|
4934
|
+
:family,
|
4935
|
+
:node_type,
|
4936
|
+
:region,
|
4937
|
+
:current_generation,
|
4938
|
+
:size_flex_eligible)
|
4939
|
+
SENSITIVE = []
|
4940
|
+
include Aws::Structure
|
4941
|
+
end
|
4942
|
+
|
4901
4943
|
# The aggregated value for a metric.
|
4902
4944
|
#
|
4903
4945
|
# @!attribute [rw] amount
|
@@ -4995,7 +5037,7 @@ module Aws::CostExplorer
|
|
4995
5037
|
include Aws::Structure
|
4996
5038
|
end
|
4997
5039
|
|
4998
|
-
# Details about the Amazon RDS
|
5040
|
+
# Details about the Amazon RDS reservations that Amazon Web Services
|
4999
5041
|
# recommends that you purchase.
|
5000
5042
|
#
|
5001
5043
|
# @!attribute [rw] family
|
@@ -5268,8 +5310,8 @@ module Aws::CostExplorer
|
|
5268
5310
|
include Aws::Structure
|
5269
5311
|
end
|
5270
5312
|
|
5271
|
-
# Details about the Amazon Redshift
|
5272
|
-
# recommends that you purchase.
|
5313
|
+
# Details about the Amazon Redshift reservations that Amazon Web
|
5314
|
+
# Services recommends that you purchase.
|
5273
5315
|
#
|
5274
5316
|
# @!attribute [rw] family
|
5275
5317
|
# The instance family of the recommended reservation.
|
@@ -5504,8 +5546,8 @@ module Aws::CostExplorer
|
|
5504
5546
|
# @return [String]
|
5505
5547
|
#
|
5506
5548
|
# @!attribute [rw] instance_details
|
5507
|
-
# Details about the
|
5508
|
-
# you purchase.
|
5549
|
+
# Details about the reservations that Amazon Web Services recommends
|
5550
|
+
# that you purchase.
|
5509
5551
|
# @return [Types::InstanceDetails]
|
5510
5552
|
#
|
5511
5553
|
# @!attribute [rw] recommended_number_of_instances_to_purchase
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-costexplorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.93.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-
|
11
|
+
date: 2023-11-22 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.188.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.188.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '2.
|
83
|
+
version: '2.5'
|
84
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - ">="
|