aws-sdk-costexplorer 1.116.0 → 1.117.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: 532d5413e63d82cd1abba1cde6c96a177dd2220c3d2e8f7a9183a1e19b0ec742
4
- data.tar.gz: a557f4f05fcda73f505c69a5b9ff77588d3903b8f341bd4e848477b40a8bf573
3
+ metadata.gz: 13edac6603b8b14e0acf6998ab95b42b58655bca06cc4a958d0c5cca6d8c4569
4
+ data.tar.gz: 83080bf9a66daffc71ba056e9ea941529abe924ad22682522a6ab15301d77149
5
5
  SHA512:
6
- metadata.gz: 0c4d20b9e0dc733e0f818b70415d2cb64a32e1a079c3cb7019512b2fceaf5cef56f923a90e7f7434fed09587bbbe521fb32c9f5f8b49b7f3e159978bb9b4bcde
7
- data.tar.gz: a1077204bd7b8fbda78837c115bc76957d0bfca9a2851f0f8b46b4595ad1f89e6f13b49d551c0476555dc8bf1080d0d9af567082436d733c0c48f9dc91944084
6
+ metadata.gz: 7a9ebefbb5737eb49f19c12111b2394cf6798f7a38a4aa638fb30758c918a169940876ba0646ca65872c26b9579a879d5b46c3a4b4a3677ab2dbd91921f94870
7
+ data.tar.gz: 1292c862fdcf12cfe2b88b705c91c150afb387b44e220bde7a66d8f4815649d1d8dfebd25fee341302d57ef7c21cd9f30ebe3db1563d80dd083ee4718a2095e5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.117.0 (2024-11-22)
5
+ ------------------
6
+
7
+ * Feature - This release adds the Impact field(contains Contribution field) to the GetAnomalies API response under RootCause
8
+
4
9
  1.116.0 (2024-11-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.116.0
1
+ 1.117.0
@@ -1036,8 +1036,9 @@ module Aws::CostExplorer
1036
1036
  # resp.anomalies[0].root_causes[0].service #=> String
1037
1037
  # resp.anomalies[0].root_causes[0].region #=> String
1038
1038
  # resp.anomalies[0].root_causes[0].linked_account #=> String
1039
- # resp.anomalies[0].root_causes[0].usage_type #=> String
1040
1039
  # resp.anomalies[0].root_causes[0].linked_account_name #=> String
1040
+ # resp.anomalies[0].root_causes[0].usage_type #=> String
1041
+ # resp.anomalies[0].root_causes[0].impact.contribution #=> Float
1041
1042
  # resp.anomalies[0].anomaly_score.max_score #=> Float
1042
1043
  # resp.anomalies[0].anomaly_score.current_score #=> Float
1043
1044
  # resp.anomalies[0].impact.max_impact #=> Float
@@ -4619,8 +4620,7 @@ module Aws::CostExplorer
4619
4620
  req.send_request(options)
4620
4621
  end
4621
4622
 
4622
- # Lists the commitment purchase analyses for your account based on the
4623
- # last 30 days.
4623
+ # Lists the commitment purchase analyses for your account.
4624
4624
  #
4625
4625
  # @option params [String] :analysis_status
4626
4626
  # The status of the analysis.
@@ -4974,7 +4974,6 @@ module Aws::CostExplorer
4974
4974
  # Specifies the parameters of a planned commitment purchase and starts
4975
4975
  # the generation of the analysis. This enables you to estimate the cost,
4976
4976
  # coverage, and utilization impact of your planned commitment purchases.
4977
- # You can request up to 20 analysis runs per day.
4978
4977
  #
4979
4978
  # @option params [required, Types::CommitmentPurchaseAnalysisConfiguration] :commitment_purchase_analysis_configuration
4980
4979
  # The configuration for the commitment purchase analysis.
@@ -5550,7 +5549,7 @@ module Aws::CostExplorer
5550
5549
  tracer: tracer
5551
5550
  )
5552
5551
  context[:gem_name] = 'aws-sdk-costexplorer'
5553
- context[:gem_version] = '1.116.0'
5552
+ context[:gem_version] = '1.117.0'
5554
5553
  Seahorse::Client::Request.new(handlers, context)
5555
5554
  end
5556
5555
 
@@ -288,6 +288,7 @@ module Aws::CostExplorer
288
288
  RightsizingRecommendationSummary = Shapes::StructureShape.new(name: 'RightsizingRecommendationSummary')
289
289
  RightsizingType = Shapes::StringShape.new(name: 'RightsizingType')
290
290
  RootCause = Shapes::StructureShape.new(name: 'RootCause')
291
+ RootCauseImpact = Shapes::StructureShape.new(name: 'RootCauseImpact')
291
292
  RootCauses = Shapes::ListShape.new(name: 'RootCauses')
292
293
  SavingsPlanArn = Shapes::StringShape.new(name: 'SavingsPlanArn')
293
294
  SavingsPlans = Shapes::StructureShape.new(name: 'SavingsPlans')
@@ -1360,10 +1361,14 @@ module Aws::CostExplorer
1360
1361
  RootCause.add_member(:service, Shapes::ShapeRef.new(shape: GenericString, location_name: "Service"))
1361
1362
  RootCause.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
1362
1363
  RootCause.add_member(:linked_account, Shapes::ShapeRef.new(shape: GenericString, location_name: "LinkedAccount"))
1363
- RootCause.add_member(:usage_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "UsageType"))
1364
1364
  RootCause.add_member(:linked_account_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "LinkedAccountName"))
1365
+ RootCause.add_member(:usage_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "UsageType"))
1366
+ RootCause.add_member(:impact, Shapes::ShapeRef.new(shape: RootCauseImpact, location_name: "Impact"))
1365
1367
  RootCause.struct_class = Types::RootCause
1366
1368
 
1369
+ RootCauseImpact.add_member(:contribution, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "Contribution"))
1370
+ RootCauseImpact.struct_class = Types::RootCauseImpact
1371
+
1367
1372
  RootCauses.member = Shapes::ShapeRef.new(shape: RootCause)
1368
1373
 
1369
1374
  SavingsPlans.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
@@ -60,11 +60,12 @@ module Aws::CostExplorer
60
60
  # @return [String]
61
61
  #
62
62
  # @!attribute [rw] analysis_id
63
- # The analysis ID that's associated with the commitment purchase.
63
+ # The analysis ID that's associated with the commitment purchase
64
+ # analysis.
64
65
  # @return [String]
65
66
  #
66
67
  # @!attribute [rw] commitment_purchase_analysis_configuration
67
- # The analysis configuration for the commitment purchase analysis.
68
+ # The configuration for the commitment purchase analysis.
68
69
  # @return [Types::CommitmentPurchaseAnalysisConfiguration]
69
70
  #
70
71
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnalysisSummary AWS API Documentation
@@ -766,8 +767,7 @@ module Aws::CostExplorer
766
767
  # An [Expression][1] object used to categorize costs. This supports
767
768
  # dimensions, tags, and nested expressions. Currently the only
768
769
  # dimensions supported are `LINKED_ACCOUNT`, `SERVICE_CODE`,
769
- # `RECORD_TYPE`, `LINKED_ACCOUNT_NAME`, `REGION`, `USAGE_TYPE`, and
770
- # `BILLING_ENTITY`.
770
+ # `RECORD_TYPE`, `LINKED_ACCOUNT_NAME`, `REGION`, and `USAGE_TYPE`.
771
771
  #
772
772
  # `RECORD_TYPE` is a dimension used for Cost Explorer APIs, and is
773
773
  # also supported for Cost Category expressions. This dimension uses
@@ -2019,7 +2019,8 @@ module Aws::CostExplorer
2019
2019
  include Aws::Structure
2020
2020
  end
2021
2021
 
2022
- # A request to generate a recommendation is already in progress.
2022
+ # A request to generate a recommendation or analysis is already in
2023
+ # progress.
2023
2024
  #
2024
2025
  # @!attribute [rw] message
2025
2026
  # @return [String]
@@ -5920,18 +5921,18 @@ module Aws::CostExplorer
5920
5921
  # @return [String]
5921
5922
  #
5922
5923
  # @!attribute [rw] average_utilization
5923
- # The average utilization of your recommendations. Amazon Web Services
5924
- # uses this to calculate your recommended reservation purchases.
5924
+ # The average utilization of your instances. Amazon Web Services uses
5925
+ # this to calculate your recommended reservation purchases.
5925
5926
  # @return [String]
5926
5927
  #
5927
5928
  # @!attribute [rw] estimated_break_even_in_months
5928
5929
  # How long Amazon Web Services estimates that it takes for this
5929
- # recommendation to start saving you money, in months.
5930
+ # instance to start saving you money, in months.
5930
5931
  # @return [String]
5931
5932
  #
5932
5933
  # @!attribute [rw] currency_code
5933
5934
  # The currency code that Amazon Web Services used to calculate the
5934
- # costs for this recommendation.
5935
+ # costs for this instance.
5935
5936
  # @return [String]
5936
5937
  #
5937
5938
  # @!attribute [rw] estimated_monthly_savings_amount
@@ -5957,12 +5958,11 @@ module Aws::CostExplorer
5957
5958
  # @return [String]
5958
5959
  #
5959
5960
  # @!attribute [rw] upfront_cost
5960
- # How much purchasing this recommendation costs you upfront.
5961
+ # How much purchasing this instance costs you upfront.
5961
5962
  # @return [String]
5962
5963
  #
5963
5964
  # @!attribute [rw] recurring_standard_monthly_cost
5964
- # How much purchasing this recommendation costs you on a monthly
5965
- # basis.
5965
+ # How much purchasing this instance costs you on a monthly basis.
5966
5966
  # @return [String]
5967
5967
  #
5968
5968
  # @!attribute [rw] reserved_capacity_details
@@ -6361,9 +6361,10 @@ module Aws::CostExplorer
6361
6361
  end
6362
6362
 
6363
6363
  # The combination of Amazon Web Services service, linked account, linked
6364
- # account name, Region, and usage type where a cost anomaly is observed.
6365
- # The linked account name will only be available when the account name
6366
- # can be identified.
6364
+ # account name, Region, and usage type where a cost anomaly is observed,
6365
+ # along with the dollar and percentage amount of the anomaly impact. The
6366
+ # linked account name will only be available when the account name can
6367
+ # be identified.
6367
6368
  #
6368
6369
  # @!attribute [rw] service
6369
6370
  # The Amazon Web Services service name that's associated with the
@@ -6379,23 +6380,43 @@ module Aws::CostExplorer
6379
6380
  # The member account value that's associated with the cost anomaly.
6380
6381
  # @return [String]
6381
6382
  #
6382
- # @!attribute [rw] usage_type
6383
- # The `UsageType` value that's associated with the cost anomaly.
6384
- # @return [String]
6385
- #
6386
6383
  # @!attribute [rw] linked_account_name
6387
6384
  # The member account name value that's associated with the cost
6388
6385
  # anomaly.
6389
6386
  # @return [String]
6390
6387
  #
6388
+ # @!attribute [rw] usage_type
6389
+ # The `UsageType` value that's associated with the cost anomaly.
6390
+ # @return [String]
6391
+ #
6392
+ # @!attribute [rw] impact
6393
+ # The dollar impact for the root cause.
6394
+ # @return [Types::RootCauseImpact]
6395
+ #
6391
6396
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RootCause AWS API Documentation
6392
6397
  #
6393
6398
  class RootCause < Struct.new(
6394
6399
  :service,
6395
6400
  :region,
6396
6401
  :linked_account,
6402
+ :linked_account_name,
6397
6403
  :usage_type,
6398
- :linked_account_name)
6404
+ :impact)
6405
+ SENSITIVE = []
6406
+ include Aws::Structure
6407
+ end
6408
+
6409
+ # The dollar value of the root cause.
6410
+ #
6411
+ # @!attribute [rw] contribution
6412
+ # The dollar amount that this root cause contributed to the anomaly's
6413
+ # TotalImpact.
6414
+ # @return [Float]
6415
+ #
6416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RootCauseImpact AWS API Documentation
6417
+ #
6418
+ class RootCauseImpact < Struct.new(
6419
+ :contribution)
6399
6420
  SENSITIVE = []
6400
6421
  include Aws::Structure
6401
6422
  end
@@ -6427,8 +6448,8 @@ module Aws::CostExplorer
6427
6448
  # @return [Float]
6428
6449
  #
6429
6450
  # @!attribute [rw] offering_id
6430
- # The unique ID that's used to distinguish commitments from one
6431
- # another.
6451
+ # The unique ID that's used to distinguish Savings Plans commitments
6452
+ # from one another.
6432
6453
  # @return [String]
6433
6454
  #
6434
6455
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlans AWS API Documentation
@@ -6655,24 +6676,24 @@ module Aws::CostExplorer
6655
6676
  #
6656
6677
  # @!attribute [rw] estimated_on_demand_cost
6657
6678
  # The remaining On-Demand cost estimated to not be covered by the
6658
- # commitment, over the length of the lookback period.
6679
+ # Savings Plan over the length of the lookback period.
6659
6680
  # @return [String]
6660
6681
  #
6661
6682
  # @!attribute [rw] estimated_on_demand_cost_with_current_commitment
6662
6683
  # The estimated On-Demand cost you expect with no additional
6663
- # commitment, based on your usage of the selected time period and the
6684
+ # commitment based on your usage of the selected time period and the
6664
6685
  # Savings Plan you own.
6665
6686
  # @return [String]
6666
6687
  #
6667
6688
  # @!attribute [rw] estimated_roi
6668
- # The estimated return on investment that's based on the purchase
6669
- # commitment and estimated savings. This is calculated as
6689
+ # The estimated return on investment that's based on the Savings Plan
6690
+ # and estimated savings. This is calculated as
6670
6691
  # estimatedSavingsAmount/estimatedSPCost*100.
6671
6692
  # @return [String]
6672
6693
  #
6673
6694
  # @!attribute [rw] estimated_savings_amount
6674
- # The estimated savings amount that's based on the purchase
6675
- # commitment over the length of the lookback period.
6695
+ # The estimated savings amount that's based on the Savings Plan over
6696
+ # the length of the lookback period.
6676
6697
  # @return [String]
6677
6698
  #
6678
6699
  # @!attribute [rw] estimated_savings_percentage
@@ -6681,7 +6702,7 @@ module Aws::CostExplorer
6681
6702
  # @return [String]
6682
6703
  #
6683
6704
  # @!attribute [rw] estimated_commitment_cost
6684
- # The estimated cost of the purchase commitment over the length of the
6705
+ # The estimated cost of the Savings Plan over the length of the
6685
6706
  # lookback period.
6686
6707
  # @return [String]
6687
6708
  #
@@ -6690,7 +6711,7 @@ module Aws::CostExplorer
6690
6711
  # @return [String]
6691
6712
  #
6692
6713
  # @!attribute [rw] upfront_cost
6693
- # The upfront cost of the Savings Plan, based on the selected payment
6714
+ # The upfront cost of the Savings Plan based on the selected payment
6694
6715
  # option.
6695
6716
  # @return [String]
6696
6717
  #
@@ -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.116.0'
57
+ GEM_VERSION = '1.117.0'
58
58
 
59
59
  end
60
60
 
data/sig/types.rbs CHANGED
@@ -1189,8 +1189,14 @@ module Aws::CostExplorer
1189
1189
  attr_accessor service: ::String
1190
1190
  attr_accessor region: ::String
1191
1191
  attr_accessor linked_account: ::String
1192
- attr_accessor usage_type: ::String
1193
1192
  attr_accessor linked_account_name: ::String
1193
+ attr_accessor usage_type: ::String
1194
+ attr_accessor impact: Types::RootCauseImpact
1195
+ SENSITIVE: []
1196
+ end
1197
+
1198
+ class RootCauseImpact
1199
+ attr_accessor contribution: ::Float
1194
1200
  SENSITIVE: []
1195
1201
  end
1196
1202
 
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.116.0
4
+ version: 1.117.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-11-21 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core