aws-sdk-costexplorer 1.151.0 → 1.152.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9f582f5f7b1507be63682565e1d0e00e2371bdf88f00b8479e11d3230c21bbc
4
- data.tar.gz: d8c3e5f25d822d78c81cd73135ade0055cc1adc84699094b0e18ce381fe817d1
3
+ metadata.gz: b038079e49fd9926d1127b3b6c92a61d71bc23daa20398b50d504d87a48b9063
4
+ data.tar.gz: ecf2875c9c123d9e7d0712c49f9cd181d0178256e0d74dccd54363a8272cecc0
5
5
  SHA512:
6
- metadata.gz: 7c9be784c55769176f20dc52dec71545059cb52614f2c70ed413fc82a7412947e552d2035a0cfbcd0d3123d22fa787f9ce3ab7eeb30c0f4c04200ddc70b55e01
7
- data.tar.gz: '0080f855a5c967f993ff1a11233c9bee04b4a19faaa7c0d47bde42ea0c6895ebb800646f9683558f3e8b142e4ee11ca470a7a7aab6961970a9b05bb8d9fb012a'
6
+ metadata.gz: a2b493bbea57b0766080a20d48325032abf48c87415e0b396041e287bbef19d446b4fec82d7602fcac1c28a85d9c5c6ce10eb9e2cad6d43dfa46eff8a36999b8
7
+ data.tar.gz: e012d8e4e90098bc862cdf6798b8a6635e47ff173b715cfe100fd05b5b7ac64979948d8b2cff9190fd2e43babec66ddee12dcf25ae301e2d491794c94111b3b5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.152.0 (2026-06-03)
5
+ ------------------
6
+
7
+ * Feature - Added support for target-coverage-based Savings Plans purchase analysis. The StartCommitmentPurchaseAnalysis API now accepts a new TARGET AVERAGE COVERAGE value for AnalysisType, as well as an optional SavingsPlansTargetCoverage field in SavingsPlansPurchaseAnalysisConfiguration
8
+
4
9
  1.151.0 (2026-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.151.0
1
+ 1.152.0
@@ -1347,7 +1347,7 @@ module Aws::CostExplorer
1347
1347
  # resp.analysis_details.savings_plans_purchase_analysis_details.metrics_over_lookback_period[0].estimated_new_commitment_utilization #=> String
1348
1348
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.account_scope #=> String, one of "PAYER", "LINKED"
1349
1349
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.account_id #=> String
1350
- # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.analysis_type #=> String, one of "MAX_SAVINGS", "CUSTOM_COMMITMENT"
1350
+ # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.analysis_type #=> String, one of "MAX_SAVINGS", "CUSTOM_COMMITMENT", "TARGET_AVERAGE_COVERAGE"
1351
1351
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add #=> Array
1352
1352
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
1353
1353
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP", "DATABASE_SP"
@@ -1360,6 +1360,7 @@ module Aws::CostExplorer
1360
1360
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_exclude[0] #=> String
1361
1361
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.look_back_time_period.start #=> String
1362
1362
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.look_back_time_period.end #=> String
1363
+ # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_target_coverage #=> Integer
1363
1364
  #
1364
1365
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCommitmentPurchaseAnalysis AWS API Documentation
1365
1366
  #
@@ -5233,7 +5234,7 @@ module Aws::CostExplorer
5233
5234
  # resp.analysis_summary_list[0].analysis_id #=> String
5234
5235
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.account_scope #=> String, one of "PAYER", "LINKED"
5235
5236
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.account_id #=> String
5236
- # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.analysis_type #=> String, one of "MAX_SAVINGS", "CUSTOM_COMMITMENT"
5237
+ # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.analysis_type #=> String, one of "MAX_SAVINGS", "CUSTOM_COMMITMENT", "TARGET_AVERAGE_COVERAGE"
5237
5238
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add #=> Array
5238
5239
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
5239
5240
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP", "DATABASE_SP"
@@ -5246,6 +5247,7 @@ module Aws::CostExplorer
5246
5247
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_exclude[0] #=> String
5247
5248
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.look_back_time_period.start #=> String
5248
5249
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.look_back_time_period.end #=> String
5250
+ # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_target_coverage #=> Integer
5249
5251
  # resp.next_page_token #=> String
5250
5252
  #
5251
5253
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCommitmentPurchaseAnalyses AWS API Documentation
@@ -5625,7 +5627,7 @@ module Aws::CostExplorer
5625
5627
  # savings_plans_purchase_analysis_configuration: {
5626
5628
  # account_scope: "PAYER", # accepts PAYER, LINKED
5627
5629
  # account_id: "AccountId",
5628
- # analysis_type: "MAX_SAVINGS", # required, accepts MAX_SAVINGS, CUSTOM_COMMITMENT
5630
+ # analysis_type: "MAX_SAVINGS", # required, accepts MAX_SAVINGS, CUSTOM_COMMITMENT, TARGET_AVERAGE_COVERAGE
5629
5631
  # savings_plans_to_add: [ # required
5630
5632
  # {
5631
5633
  # payment_option: "NO_UPFRONT", # accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
@@ -5642,6 +5644,7 @@ module Aws::CostExplorer
5642
5644
  # start: "YearMonthDay", # required
5643
5645
  # end: "YearMonthDay", # required
5644
5646
  # },
5647
+ # savings_plans_target_coverage: 1,
5645
5648
  # },
5646
5649
  # },
5647
5650
  # })
@@ -6183,7 +6186,7 @@ module Aws::CostExplorer
6183
6186
  tracer: tracer
6184
6187
  )
6185
6188
  context[:gem_name] = 'aws-sdk-costexplorer'
6186
- context[:gem_version] = '1.151.0'
6189
+ context[:gem_version] = '1.152.0'
6187
6190
  Seahorse::Client::Request.new(handlers, context)
6188
6191
  end
6189
6192
 
@@ -335,6 +335,7 @@ module Aws::CostExplorer
335
335
  SavingsPlansPurchaseRecommendationMetadata = Shapes::StructureShape.new(name: 'SavingsPlansPurchaseRecommendationMetadata')
336
336
  SavingsPlansPurchaseRecommendationSummary = Shapes::StructureShape.new(name: 'SavingsPlansPurchaseRecommendationSummary')
337
337
  SavingsPlansSavings = Shapes::StructureShape.new(name: 'SavingsPlansSavings')
338
+ SavingsPlansTargetCoverage = Shapes::IntegerShape.new(name: 'SavingsPlansTargetCoverage')
338
339
  SavingsPlansToAdd = Shapes::ListShape.new(name: 'SavingsPlansToAdd')
339
340
  SavingsPlansToExclude = Shapes::ListShape.new(name: 'SavingsPlansToExclude')
340
341
  SavingsPlansUtilization = Shapes::StructureShape.new(name: 'SavingsPlansUtilization')
@@ -1528,6 +1529,7 @@ module Aws::CostExplorer
1528
1529
  SavingsPlansPurchaseAnalysisConfiguration.add_member(:savings_plans_to_add, Shapes::ShapeRef.new(shape: SavingsPlansToAdd, required: true, location_name: "SavingsPlansToAdd"))
1529
1530
  SavingsPlansPurchaseAnalysisConfiguration.add_member(:savings_plans_to_exclude, Shapes::ShapeRef.new(shape: SavingsPlansToExclude, location_name: "SavingsPlansToExclude"))
1530
1531
  SavingsPlansPurchaseAnalysisConfiguration.add_member(:look_back_time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "LookBackTimePeriod"))
1532
+ SavingsPlansPurchaseAnalysisConfiguration.add_member(:savings_plans_target_coverage, Shapes::ShapeRef.new(shape: SavingsPlansTargetCoverage, location_name: "SavingsPlansTargetCoverage"))
1531
1533
  SavingsPlansPurchaseAnalysisConfiguration.struct_class = Types::SavingsPlansPurchaseAnalysisConfiguration
1532
1534
 
1533
1535
  SavingsPlansPurchaseAnalysisDetails.add_member(:currency_code, Shapes::ShapeRef.new(shape: GenericString, location_name: "CurrencyCode"))
@@ -7383,6 +7383,14 @@ module Aws::CostExplorer
7383
7383
  # The time period associated with the analysis.
7384
7384
  # @return [Types::DateInterval]
7385
7385
  #
7386
+ # @!attribute [rw] savings_plans_target_coverage
7387
+ # Specifies the target Savings Plans coverage as a percentage from
7388
+ # `10` to `100`. This field is required when `AnalysisType` is
7389
+ # `TARGET_AVERAGE_COVERAGE`. It defines the target average hourly
7390
+ # coverage that the recommended Savings Plans commitment should
7391
+ # achieve over the lookback period.
7392
+ # @return [Integer]
7393
+ #
7386
7394
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlansPurchaseAnalysisConfiguration AWS API Documentation
7387
7395
  #
7388
7396
  class SavingsPlansPurchaseAnalysisConfiguration < Struct.new(
@@ -7391,7 +7399,8 @@ module Aws::CostExplorer
7391
7399
  :analysis_type,
7392
7400
  :savings_plans_to_add,
7393
7401
  :savings_plans_to_exclude,
7394
- :look_back_time_period)
7402
+ :look_back_time_period,
7403
+ :savings_plans_target_coverage)
7395
7404
  SENSITIVE = []
7396
7405
  include Aws::Structure
7397
7406
  end
@@ -54,7 +54,7 @@ module Aws::CostExplorer
54
54
  autoload :EndpointProvider, 'aws-sdk-costexplorer/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-costexplorer/endpoints'
56
56
 
57
- GEM_VERSION = '1.151.0'
57
+ GEM_VERSION = '1.152.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -843,7 +843,7 @@ module Aws
843
843
  savings_plans_purchase_analysis_configuration: {
844
844
  account_scope: ("PAYER" | "LINKED")?,
845
845
  account_id: ::String?,
846
- analysis_type: ("MAX_SAVINGS" | "CUSTOM_COMMITMENT"),
846
+ analysis_type: ("MAX_SAVINGS" | "CUSTOM_COMMITMENT" | "TARGET_AVERAGE_COVERAGE"),
847
847
  savings_plans_to_add: Array[
848
848
  {
849
849
  payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")?,
@@ -859,7 +859,8 @@ module Aws
859
859
  look_back_time_period: {
860
860
  start: ::String,
861
861
  end: ::String
862
- }
862
+ },
863
+ savings_plans_target_coverage: ::Integer?
863
864
  }?
864
865
  }
865
866
  ) -> _StartCommitmentPurchaseAnalysisResponseSuccess
data/sig/types.rbs CHANGED
@@ -1343,10 +1343,11 @@ module Aws::CostExplorer
1343
1343
  class SavingsPlansPurchaseAnalysisConfiguration
1344
1344
  attr_accessor account_scope: ("PAYER" | "LINKED")
1345
1345
  attr_accessor account_id: ::String
1346
- attr_accessor analysis_type: ("MAX_SAVINGS" | "CUSTOM_COMMITMENT")
1346
+ attr_accessor analysis_type: ("MAX_SAVINGS" | "CUSTOM_COMMITMENT" | "TARGET_AVERAGE_COVERAGE")
1347
1347
  attr_accessor savings_plans_to_add: ::Array[Types::SavingsPlans]
1348
1348
  attr_accessor savings_plans_to_exclude: ::Array[::String]
1349
1349
  attr_accessor look_back_time_period: Types::DateInterval
1350
+ attr_accessor savings_plans_target_coverage: ::Integer
1350
1351
  SENSITIVE: []
1351
1352
  end
1352
1353
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-costexplorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.151.0
4
+ version: 1.152.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services