aws-sdk-costexplorer 1.150.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: cfa4cfc5a8eb3fc439a90b9fbdbac550e5909839d218f4e1cc59b4bb7120ed60
4
- data.tar.gz: f55c2f952f21721f0ec469adb532d3f760702f462e34552c186d50afc66918f3
3
+ metadata.gz: b038079e49fd9926d1127b3b6c92a61d71bc23daa20398b50d504d87a48b9063
4
+ data.tar.gz: ecf2875c9c123d9e7d0712c49f9cd181d0178256e0d74dccd54363a8272cecc0
5
5
  SHA512:
6
- metadata.gz: ee0265cab92d979be84326f567cc50a0b4d030e8820cbbe816479a0e403d5104f70aab79a8004be6ff1317703500b0dca1a944202e63a6526e83993d818bfb71
7
- data.tar.gz: 5c6fa07fcae773fdda999f5d06690104c8c00e4a61fe77bf03e4c59dc3f34861c37703da95c3d52e6a6211b93e9d3d78a4d1cdac0d7d8fd9e6ab90e4e2276219
6
+ metadata.gz: a2b493bbea57b0766080a20d48325032abf48c87415e0b396041e287bbef19d446b4fec82d7602fcac1c28a85d9c5c6ce10eb9e2cad6d43dfa46eff8a36999b8
7
+ data.tar.gz: e012d8e4e90098bc862cdf6798b8a6635e47ff173b715cfe100fd05b5b7ac64979948d8b2cff9190fd2e43babec66ddee12dcf25ae301e2d491794c94111b3b5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.151.0 (2026-05-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.150.0 (2026-05-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.150.0
1
+ 1.152.0
@@ -199,7 +199,7 @@ module Aws::CostExplorer
199
199
  # the required types.
200
200
  #
201
201
  # @option options [Boolean] :correct_clock_skew (true)
202
- # Used only in `standard` and adaptive retry modes. Specifies whether to apply
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
203
203
  # a clock skew correction and retry requests with skewed client clocks.
204
204
  #
205
205
  # @option options [String] :defaults_mode ("legacy")
@@ -323,17 +323,15 @@ module Aws::CostExplorer
323
323
  # @option options [String] :retry_mode ("legacy")
324
324
  # Specifies which retry algorithm to use. Values are:
325
325
  #
326
- # * `legacy` - The pre-existing retry behavior. This is default value if
327
- # no retry mode is provided.
326
+ # * `legacy` - The pre-existing retry behavior. This is the default
327
+ # value if no retry mode is provided.
328
328
  #
329
329
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
330
330
  # This includes support for retry quotas, which limit the number of
331
331
  # unsuccessful retries a client can make.
332
332
  #
333
- # * `adaptive` - An experimental retry mode that includes all the
334
- # functionality of `standard` mode along with automatic client side
335
- # throttling. This is a provisional mode that may change behavior
336
- # in the future.
333
+ # * `adaptive` - A retry mode that includes all the functionality of
334
+ # `standard` mode along with automatic client side throttling.
337
335
  #
338
336
  # @option options [String] :sdk_ua_app_id
339
337
  # A unique and opaque application ID that is appended to the
@@ -1349,7 +1347,7 @@ module Aws::CostExplorer
1349
1347
  # resp.analysis_details.savings_plans_purchase_analysis_details.metrics_over_lookback_period[0].estimated_new_commitment_utilization #=> String
1350
1348
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.account_scope #=> String, one of "PAYER", "LINKED"
1351
1349
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.account_id #=> String
1352
- # 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"
1353
1351
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add #=> Array
1354
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"
1355
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"
@@ -1362,6 +1360,7 @@ module Aws::CostExplorer
1362
1360
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_exclude[0] #=> String
1363
1361
  # resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.look_back_time_period.start #=> String
1364
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
1365
1364
  #
1366
1365
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCommitmentPurchaseAnalysis AWS API Documentation
1367
1366
  #
@@ -5235,7 +5234,7 @@ module Aws::CostExplorer
5235
5234
  # resp.analysis_summary_list[0].analysis_id #=> String
5236
5235
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.account_scope #=> String, one of "PAYER", "LINKED"
5237
5236
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.account_id #=> String
5238
- # 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"
5239
5238
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add #=> Array
5240
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"
5241
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"
@@ -5248,6 +5247,7 @@ module Aws::CostExplorer
5248
5247
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_exclude[0] #=> String
5249
5248
  # resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.look_back_time_period.start #=> String
5250
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
5251
5251
  # resp.next_page_token #=> String
5252
5252
  #
5253
5253
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCommitmentPurchaseAnalyses AWS API Documentation
@@ -5627,7 +5627,7 @@ module Aws::CostExplorer
5627
5627
  # savings_plans_purchase_analysis_configuration: {
5628
5628
  # account_scope: "PAYER", # accepts PAYER, LINKED
5629
5629
  # account_id: "AccountId",
5630
- # analysis_type: "MAX_SAVINGS", # required, accepts MAX_SAVINGS, CUSTOM_COMMITMENT
5630
+ # analysis_type: "MAX_SAVINGS", # required, accepts MAX_SAVINGS, CUSTOM_COMMITMENT, TARGET_AVERAGE_COVERAGE
5631
5631
  # savings_plans_to_add: [ # required
5632
5632
  # {
5633
5633
  # payment_option: "NO_UPFRONT", # accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
@@ -5644,6 +5644,7 @@ module Aws::CostExplorer
5644
5644
  # start: "YearMonthDay", # required
5645
5645
  # end: "YearMonthDay", # required
5646
5646
  # },
5647
+ # savings_plans_target_coverage: 1,
5647
5648
  # },
5648
5649
  # },
5649
5650
  # })
@@ -6185,7 +6186,7 @@ module Aws::CostExplorer
6185
6186
  tracer: tracer
6186
6187
  )
6187
6188
  context[:gem_name] = 'aws-sdk-costexplorer'
6188
- context[:gem_version] = '1.150.0'
6189
+ context[:gem_version] = '1.152.0'
6189
6190
  Seahorse::Client::Request.new(handlers, context)
6190
6191
  end
6191
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.150.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.150.0
4
+ version: 1.152.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.247.0
21
+ version: 3.248.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.247.0
31
+ version: 3.248.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement