aws-sdk-costexplorer 1.91.0 → 1.92.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: 736ea921ddedb6d4d0572c7dd45e0f6a3529191c7f691df6e624eafe3d0ee30a
4
- data.tar.gz: 76f03b9f579ad73dfc85c2282020627838902c64f465c2593644478c94094e33
3
+ metadata.gz: a232be8329f374274f2915bee2123013cbe3c2722d87fb7f0438047c6ca2bd21
4
+ data.tar.gz: 532b3918e3927166ca5fa6839688c549a8fb1d3f6bae0215990d10694db49426
5
5
  SHA512:
6
- metadata.gz: 8c4d0dacf0990be039362ec4623f116da8f44407c5301752ef44bfec227a02a383d27d92085797095c37a2d31d9b696b696cf00267b9e57e32af360ed709ee36
7
- data.tar.gz: 6ec4912a7c54cca9549ee9352117be2c3983a54212fbd7e469f4878bad4c2d5e8ffd441deb06057844d9ba2679f8b97f9f47cbb8c167e2b8c2cfaabc446c3413
6
+ metadata.gz: a55392c3f6614e06b40f2987bb9e3994b7c54da607b3c20b948552292de4cf0170a09dc011a69f9d5173bbf2af3564a4e0981e13c18cba7f09571e25e55f9bf2
7
+ data.tar.gz: ec5cd6cdc594d6fe00f9abc0abd75e41278810cad880225c3ae129968b4feee88c52cb8c3863a2fc0487d15410ae2d4b044357809d12d1dbf01e6f4f4a93da8f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.0 (2023-11-06)
5
+ ------------------
6
+
7
+ * Feature - This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon MemoryDB reservations.
8
+
4
9
  1.91.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.91.0
1
+ 1.92.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.91.0'
5160
+ context[:gem_version] = '1.92.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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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 instances that Amazon Web Services
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 instances that Amazon Web
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 instances that Amazon Web
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 instances that Amazon Web Services recommends that
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 instances that Amazon Web Services recommends that
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 instances that Amazon Web Services recommends that
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 instances that Amazon Web Services recommends
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 instances that Amazon Web Services recommends that
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 instances that Amazon Web Services
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 instances that Amazon Web Services
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 instances that Amazon Web Services
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 instances that Amazon Web Services recommends that
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-costexplorer/customizations'
52
52
  # @!group service
53
53
  module Aws::CostExplorer
54
54
 
55
- GEM_VERSION = '1.91.0'
55
+ GEM_VERSION = '1.92.0'
56
56
 
57
57
  end
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.91.0
4
+ version: 1.92.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-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core