aws-sdk-costexplorer 1.116.0 → 1.118.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 +67 -5
- data/lib/aws-sdk-costexplorer/client_api.rb +21 -1
- data/lib/aws-sdk-costexplorer/types.rb +121 -30
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/sig/client.rbs +7 -0
- data/sig/types.rbs +14 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a8300b6cbf318ff6cc981b212ac29e9766ce99453b4c3919d2732e345475e5a
|
4
|
+
data.tar.gz: b797494d128d54b18cf17f92b48b85e404c2d0654b766a3b0f95e96676c35935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d6817a15c1edc1339c47a08b1020d8b8a25d39acbeeb791d03ba15b3174938ebab4b0e2a7b27dbde8ba6bf2eb67d5f8fa41f52c47ac7bdc4b17911a0334356d
|
7
|
+
data.tar.gz: ced76ea7cb0e67278d60c33ee03eb5cd1b4049df74814b5409ca79537258ba7967828d67b938bec76117c241ff0c78e8b7484fe539c8bfb4f65c248e1db415dc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.118.0 (2024-12-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Support for retrieving cost, usage, and forecast for billing view.
|
8
|
+
|
9
|
+
1.117.0 (2024-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds the Impact field(contains Contribution field) to the GetAnomalies API response under RootCause
|
13
|
+
|
4
14
|
1.116.0 (2024-11-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.118.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
|
@@ -1421,6 +1422,14 @@ module Aws::CostExplorer
|
|
1421
1422
|
# When you group by the `TAG` type and include a valid tag key, you get
|
1422
1423
|
# all tag values, including empty strings.
|
1423
1424
|
#
|
1425
|
+
# @option params [String] :billing_view_arn
|
1426
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
1427
|
+
# billing view. The ARN is used to specify which particular billing view
|
1428
|
+
# you want to interact with or retrieve information from when making API
|
1429
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
1430
|
+
# features. The BillingViewArn can be retrieved by calling the
|
1431
|
+
# ListBillingViews API.
|
1432
|
+
#
|
1424
1433
|
# @option params [String] :next_page_token
|
1425
1434
|
# The token to retrieve the next set of results. Amazon Web Services
|
1426
1435
|
# provides the token when the response from a previous call has more
|
@@ -1478,6 +1487,7 @@ module Aws::CostExplorer
|
|
1478
1487
|
# key: "GroupDefinitionKey",
|
1479
1488
|
# },
|
1480
1489
|
# ],
|
1490
|
+
# billing_view_arn: "BillingViewArn",
|
1481
1491
|
# next_page_token: "NextPageToken",
|
1482
1492
|
# })
|
1483
1493
|
#
|
@@ -1604,6 +1614,14 @@ module Aws::CostExplorer
|
|
1604
1614
|
# You can group Amazon Web Services costs using up to two different
|
1605
1615
|
# groups: `DIMENSION`, `TAG`, `COST_CATEGORY`.
|
1606
1616
|
#
|
1617
|
+
# @option params [String] :billing_view_arn
|
1618
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
1619
|
+
# billing view. The ARN is used to specify which particular billing view
|
1620
|
+
# you want to interact with or retrieve information from when making API
|
1621
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
1622
|
+
# features. The BillingViewArn can be retrieved by calling the
|
1623
|
+
# ListBillingViews API.
|
1624
|
+
#
|
1607
1625
|
# @option params [String] :next_page_token
|
1608
1626
|
# The token to retrieve the next set of results. Amazon Web Services
|
1609
1627
|
# provides the token when the response from a previous call has more
|
@@ -1661,6 +1679,7 @@ module Aws::CostExplorer
|
|
1661
1679
|
# key: "GroupDefinitionKey",
|
1662
1680
|
# },
|
1663
1681
|
# ],
|
1682
|
+
# billing_view_arn: "BillingViewArn",
|
1664
1683
|
# next_page_token: "NextPageToken",
|
1665
1684
|
# })
|
1666
1685
|
#
|
@@ -1833,6 +1852,14 @@ module Aws::CostExplorer
|
|
1833
1852
|
# When you use the `SortBy` value, the `NextPageToken` and
|
1834
1853
|
# `SearchString` key values aren't supported.
|
1835
1854
|
#
|
1855
|
+
# @option params [String] :billing_view_arn
|
1856
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
1857
|
+
# billing view. The ARN is used to specify which particular billing view
|
1858
|
+
# you want to interact with or retrieve information from when making API
|
1859
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
1860
|
+
# features. The BillingViewArn can be retrieved by calling the
|
1861
|
+
# ListBillingViews API.
|
1862
|
+
#
|
1836
1863
|
# @option params [Integer] :max_results
|
1837
1864
|
# This field is only used when the `SortBy` value is provided in the
|
1838
1865
|
# request.
|
@@ -1902,6 +1929,7 @@ module Aws::CostExplorer
|
|
1902
1929
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1903
1930
|
# },
|
1904
1931
|
# ],
|
1932
|
+
# billing_view_arn: "BillingViewArn",
|
1905
1933
|
# max_results: 1,
|
1906
1934
|
# next_page_token: "NextPageToken",
|
1907
1935
|
# })
|
@@ -2012,6 +2040,14 @@ module Aws::CostExplorer
|
|
2012
2040
|
#
|
2013
2041
|
# * `SAVINGS_PLAN_ARN`
|
2014
2042
|
#
|
2043
|
+
# @option params [String] :billing_view_arn
|
2044
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
2045
|
+
# billing view. The ARN is used to specify which particular billing view
|
2046
|
+
# you want to interact with or retrieve information from when making API
|
2047
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
2048
|
+
# features. The BillingViewArn can be retrieved by calling the
|
2049
|
+
# ListBillingViews API.
|
2050
|
+
#
|
2015
2051
|
# @option params [Integer] :prediction_interval_level
|
2016
2052
|
# Cost Explorer always returns the mean forecast as a single point. You
|
2017
2053
|
# can request a prediction interval around the mean by specifying a
|
@@ -2064,6 +2100,7 @@ module Aws::CostExplorer
|
|
2064
2100
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE, GREATER_THAN_OR_EQUAL
|
2065
2101
|
# },
|
2066
2102
|
# },
|
2103
|
+
# billing_view_arn: "BillingViewArn",
|
2067
2104
|
# prediction_interval_level: 1,
|
2068
2105
|
# })
|
2069
2106
|
#
|
@@ -2376,6 +2413,14 @@ module Aws::CostExplorer
|
|
2376
2413
|
# `COST_AND_USAGE`. Further, when using `SortBy`, `NextPageToken` and
|
2377
2414
|
# `SearchString` aren't supported.
|
2378
2415
|
#
|
2416
|
+
# @option params [String] :billing_view_arn
|
2417
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
2418
|
+
# billing view. The ARN is used to specify which particular billing view
|
2419
|
+
# you want to interact with or retrieve information from when making API
|
2420
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
2421
|
+
# features. The BillingViewArn can be retrieved by calling the
|
2422
|
+
# ListBillingViews API.
|
2423
|
+
#
|
2379
2424
|
# @option params [Integer] :max_results
|
2380
2425
|
# This field is only used when SortBy is provided in the request. The
|
2381
2426
|
# maximum number of objects that are returned for this request. If
|
@@ -2442,6 +2487,7 @@ module Aws::CostExplorer
|
|
2442
2487
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2443
2488
|
# },
|
2444
2489
|
# ],
|
2490
|
+
# billing_view_arn: "BillingViewArn",
|
2445
2491
|
# max_results: 1,
|
2446
2492
|
# next_page_token: "NextPageToken",
|
2447
2493
|
# })
|
@@ -4379,6 +4425,14 @@ module Aws::CostExplorer
|
|
4379
4425
|
# When you use `SortBy`, `NextPageToken` and `SearchString` aren't
|
4380
4426
|
# supported.
|
4381
4427
|
#
|
4428
|
+
# @option params [String] :billing_view_arn
|
4429
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
4430
|
+
# billing view. The ARN is used to specify which particular billing view
|
4431
|
+
# you want to interact with or retrieve information from when making API
|
4432
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
4433
|
+
# features. The BillingViewArn can be retrieved by calling the
|
4434
|
+
# ListBillingViews API.
|
4435
|
+
#
|
4382
4436
|
# @option params [Integer] :max_results
|
4383
4437
|
# This field is only used when SortBy is provided in the request. The
|
4384
4438
|
# maximum number of objects that are returned for this request. If
|
@@ -4444,6 +4498,7 @@ module Aws::CostExplorer
|
|
4444
4498
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
4445
4499
|
# },
|
4446
4500
|
# ],
|
4501
|
+
# billing_view_arn: "BillingViewArn",
|
4447
4502
|
# max_results: 1,
|
4448
4503
|
# next_page_token: "NextPageToken",
|
4449
4504
|
# })
|
@@ -4544,6 +4599,14 @@ module Aws::CostExplorer
|
|
4544
4599
|
#
|
4545
4600
|
# * `SAVINGS_PLAN_ARN`
|
4546
4601
|
#
|
4602
|
+
# @option params [String] :billing_view_arn
|
4603
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
4604
|
+
# billing view. The ARN is used to specify which particular billing view
|
4605
|
+
# you want to interact with or retrieve information from when making API
|
4606
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
4607
|
+
# features. The BillingViewArn can be retrieved by calling the
|
4608
|
+
# ListBillingViews API.
|
4609
|
+
#
|
4547
4610
|
# @option params [Integer] :prediction_interval_level
|
4548
4611
|
# Amazon Web Services Cost Explorer always returns the mean forecast as
|
4549
4612
|
# a single point. You can request a prediction interval around the mean
|
@@ -4596,6 +4659,7 @@ module Aws::CostExplorer
|
|
4596
4659
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE, GREATER_THAN_OR_EQUAL
|
4597
4660
|
# },
|
4598
4661
|
# },
|
4662
|
+
# billing_view_arn: "BillingViewArn",
|
4599
4663
|
# prediction_interval_level: 1,
|
4600
4664
|
# })
|
4601
4665
|
#
|
@@ -4619,8 +4683,7 @@ module Aws::CostExplorer
|
|
4619
4683
|
req.send_request(options)
|
4620
4684
|
end
|
4621
4685
|
|
4622
|
-
# Lists the commitment purchase analyses for your account
|
4623
|
-
# last 30 days.
|
4686
|
+
# Lists the commitment purchase analyses for your account.
|
4624
4687
|
#
|
4625
4688
|
# @option params [String] :analysis_status
|
4626
4689
|
# The status of the analysis.
|
@@ -4974,7 +5037,6 @@ module Aws::CostExplorer
|
|
4974
5037
|
# Specifies the parameters of a planned commitment purchase and starts
|
4975
5038
|
# the generation of the analysis. This enables you to estimate the cost,
|
4976
5039
|
# coverage, and utilization impact of your planned commitment purchases.
|
4977
|
-
# You can request up to 20 analysis runs per day.
|
4978
5040
|
#
|
4979
5041
|
# @option params [required, Types::CommitmentPurchaseAnalysisConfiguration] :commitment_purchase_analysis_configuration
|
4980
5042
|
# The configuration for the commitment purchase analysis.
|
@@ -5550,7 +5612,7 @@ module Aws::CostExplorer
|
|
5550
5612
|
tracer: tracer
|
5551
5613
|
)
|
5552
5614
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
5553
|
-
context[:gem_version] = '1.
|
5615
|
+
context[:gem_version] = '1.118.0'
|
5554
5616
|
Seahorse::Client::Request.new(handlers, context)
|
5555
5617
|
end
|
5556
5618
|
|
@@ -44,6 +44,7 @@ module Aws::CostExplorer
|
|
44
44
|
Attributes = Shapes::MapShape.new(name: 'Attributes')
|
45
45
|
BackfillLimitExceededException = Shapes::StructureShape.new(name: 'BackfillLimitExceededException')
|
46
46
|
BillExpirationException = Shapes::StructureShape.new(name: 'BillExpirationException')
|
47
|
+
BillingViewArn = Shapes::StringShape.new(name: 'BillingViewArn')
|
47
48
|
CommitmentPurchaseAnalysisConfiguration = Shapes::StructureShape.new(name: 'CommitmentPurchaseAnalysisConfiguration')
|
48
49
|
Context = Shapes::StringShape.new(name: 'Context')
|
49
50
|
CostAllocationTag = Shapes::StructureShape.new(name: 'CostAllocationTag')
|
@@ -288,6 +289,7 @@ module Aws::CostExplorer
|
|
288
289
|
RightsizingRecommendationSummary = Shapes::StructureShape.new(name: 'RightsizingRecommendationSummary')
|
289
290
|
RightsizingType = Shapes::StringShape.new(name: 'RightsizingType')
|
290
291
|
RootCause = Shapes::StructureShape.new(name: 'RootCause')
|
292
|
+
RootCauseImpact = Shapes::StructureShape.new(name: 'RootCauseImpact')
|
291
293
|
RootCauses = Shapes::ListShape.new(name: 'RootCauses')
|
292
294
|
SavingsPlanArn = Shapes::StringShape.new(name: 'SavingsPlanArn')
|
293
295
|
SavingsPlans = Shapes::StructureShape.new(name: 'SavingsPlans')
|
@@ -818,6 +820,7 @@ module Aws::CostExplorer
|
|
818
820
|
GetCostAndUsageRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
819
821
|
GetCostAndUsageRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, required: true, location_name: "Metrics"))
|
820
822
|
GetCostAndUsageRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
823
|
+
GetCostAndUsageRequest.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
|
821
824
|
GetCostAndUsageRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
822
825
|
GetCostAndUsageRequest.struct_class = Types::GetCostAndUsageRequest
|
823
826
|
|
@@ -832,6 +835,7 @@ module Aws::CostExplorer
|
|
832
835
|
GetCostAndUsageWithResourcesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Filter"))
|
833
836
|
GetCostAndUsageWithResourcesRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "Metrics"))
|
834
837
|
GetCostAndUsageWithResourcesRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
838
|
+
GetCostAndUsageWithResourcesRequest.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
|
835
839
|
GetCostAndUsageWithResourcesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
836
840
|
GetCostAndUsageWithResourcesRequest.struct_class = Types::GetCostAndUsageWithResourcesRequest
|
837
841
|
|
@@ -846,6 +850,7 @@ module Aws::CostExplorer
|
|
846
850
|
GetCostCategoriesRequest.add_member(:cost_category_name, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "CostCategoryName"))
|
847
851
|
GetCostCategoriesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
848
852
|
GetCostCategoriesRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortDefinitions, location_name: "SortBy"))
|
853
|
+
GetCostCategoriesRequest.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
|
849
854
|
GetCostCategoriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
850
855
|
GetCostCategoriesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
851
856
|
GetCostCategoriesRequest.struct_class = Types::GetCostCategoriesRequest
|
@@ -861,6 +866,7 @@ module Aws::CostExplorer
|
|
861
866
|
GetCostForecastRequest.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "Metric"))
|
862
867
|
GetCostForecastRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
863
868
|
GetCostForecastRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
869
|
+
GetCostForecastRequest.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
|
864
870
|
GetCostForecastRequest.add_member(:prediction_interval_level, Shapes::ShapeRef.new(shape: PredictionIntervalLevel, location_name: "PredictionIntervalLevel"))
|
865
871
|
GetCostForecastRequest.struct_class = Types::GetCostForecastRequest
|
866
872
|
|
@@ -874,6 +880,7 @@ module Aws::CostExplorer
|
|
874
880
|
GetDimensionValuesRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
875
881
|
GetDimensionValuesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
876
882
|
GetDimensionValuesRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortDefinitions, location_name: "SortBy"))
|
883
|
+
GetDimensionValuesRequest.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
|
877
884
|
GetDimensionValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
878
885
|
GetDimensionValuesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
879
886
|
GetDimensionValuesRequest.struct_class = Types::GetDimensionValuesRequest
|
@@ -1009,6 +1016,7 @@ module Aws::CostExplorer
|
|
1009
1016
|
GetTagsRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey"))
|
1010
1017
|
GetTagsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
1011
1018
|
GetTagsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortDefinitions, location_name: "SortBy"))
|
1019
|
+
GetTagsRequest.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
|
1012
1020
|
GetTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
1013
1021
|
GetTagsRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
1014
1022
|
GetTagsRequest.struct_class = Types::GetTagsRequest
|
@@ -1023,6 +1031,7 @@ module Aws::CostExplorer
|
|
1023
1031
|
GetUsageForecastRequest.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "Metric"))
|
1024
1032
|
GetUsageForecastRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
1025
1033
|
GetUsageForecastRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
1034
|
+
GetUsageForecastRequest.add_member(:billing_view_arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "BillingViewArn"))
|
1026
1035
|
GetUsageForecastRequest.add_member(:prediction_interval_level, Shapes::ShapeRef.new(shape: PredictionIntervalLevel, location_name: "PredictionIntervalLevel"))
|
1027
1036
|
GetUsageForecastRequest.struct_class = Types::GetUsageForecastRequest
|
1028
1037
|
|
@@ -1360,10 +1369,14 @@ module Aws::CostExplorer
|
|
1360
1369
|
RootCause.add_member(:service, Shapes::ShapeRef.new(shape: GenericString, location_name: "Service"))
|
1361
1370
|
RootCause.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
1362
1371
|
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
1372
|
RootCause.add_member(:linked_account_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "LinkedAccountName"))
|
1373
|
+
RootCause.add_member(:usage_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "UsageType"))
|
1374
|
+
RootCause.add_member(:impact, Shapes::ShapeRef.new(shape: RootCauseImpact, location_name: "Impact"))
|
1365
1375
|
RootCause.struct_class = Types::RootCause
|
1366
1376
|
|
1377
|
+
RootCauseImpact.add_member(:contribution, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "Contribution"))
|
1378
|
+
RootCauseImpact.struct_class = Types::RootCauseImpact
|
1379
|
+
|
1367
1380
|
RootCauses.member = Shapes::ShapeRef.new(shape: RootCause)
|
1368
1381
|
|
1369
1382
|
SavingsPlans.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
|
@@ -1820,6 +1833,7 @@ module Aws::CostExplorer
|
|
1820
1833
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1821
1834
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1822
1835
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
1836
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1823
1837
|
end)
|
1824
1838
|
|
1825
1839
|
api.add_operation(:get_cost_and_usage_with_resources, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1833,6 +1847,7 @@ module Aws::CostExplorer
|
|
1833
1847
|
o.errors << Shapes::ShapeRef.new(shape: BillExpirationException)
|
1834
1848
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1835
1849
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
1850
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1836
1851
|
end)
|
1837
1852
|
|
1838
1853
|
api.add_operation(:get_cost_categories, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1846,6 +1861,7 @@ module Aws::CostExplorer
|
|
1846
1861
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1847
1862
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1848
1863
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
1864
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1849
1865
|
end)
|
1850
1866
|
|
1851
1867
|
api.add_operation(:get_cost_forecast, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1856,6 +1872,7 @@ module Aws::CostExplorer
|
|
1856
1872
|
o.output = Shapes::ShapeRef.new(shape: GetCostForecastResponse)
|
1857
1873
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1858
1874
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1875
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1859
1876
|
end)
|
1860
1877
|
|
1861
1878
|
api.add_operation(:get_dimension_values, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1869,6 +1886,7 @@ module Aws::CostExplorer
|
|
1869
1886
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1870
1887
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1871
1888
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
1889
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1872
1890
|
end)
|
1873
1891
|
|
1874
1892
|
api.add_operation(:get_reservation_coverage, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1989,6 +2007,7 @@ module Aws::CostExplorer
|
|
1989
2007
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1990
2008
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1991
2009
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
2010
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1992
2011
|
end)
|
1993
2012
|
|
1994
2013
|
api.add_operation(:get_usage_forecast, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2000,6 +2019,7 @@ module Aws::CostExplorer
|
|
2000
2019
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2001
2020
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
2002
2021
|
o.errors << Shapes::ShapeRef.new(shape: UnresolvableUsageUnitException)
|
2022
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2003
2023
|
end)
|
2004
2024
|
|
2005
2025
|
api.add_operation(:list_commitment_purchase_analyses, Seahorse::Model::Operation.new.tap do |o|
|
@@ -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
|
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
|
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
|
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]
|
@@ -2409,6 +2410,15 @@ module Aws::CostExplorer
|
|
2409
2410
|
# get all tag values, including empty strings.
|
2410
2411
|
# @return [Array<Types::GroupDefinition>]
|
2411
2412
|
#
|
2413
|
+
# @!attribute [rw] billing_view_arn
|
2414
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
2415
|
+
# billing view. The ARN is used to specify which particular billing
|
2416
|
+
# view you want to interact with or retrieve information from when
|
2417
|
+
# making API calls related to Amazon Web Services Billing and Cost
|
2418
|
+
# Management features. The BillingViewArn can be retrieved by calling
|
2419
|
+
# the ListBillingViews API.
|
2420
|
+
# @return [String]
|
2421
|
+
#
|
2412
2422
|
# @!attribute [rw] next_page_token
|
2413
2423
|
# The token to retrieve the next set of results. Amazon Web Services
|
2414
2424
|
# provides the token when the response from a previous call has more
|
@@ -2423,6 +2433,7 @@ module Aws::CostExplorer
|
|
2423
2433
|
:filter,
|
2424
2434
|
:metrics,
|
2425
2435
|
:group_by,
|
2436
|
+
:billing_view_arn,
|
2426
2437
|
:next_page_token)
|
2427
2438
|
SENSITIVE = []
|
2428
2439
|
include Aws::Structure
|
@@ -2531,6 +2542,15 @@ module Aws::CostExplorer
|
|
2531
2542
|
# groups: `DIMENSION`, `TAG`, `COST_CATEGORY`.
|
2532
2543
|
# @return [Array<Types::GroupDefinition>]
|
2533
2544
|
#
|
2545
|
+
# @!attribute [rw] billing_view_arn
|
2546
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
2547
|
+
# billing view. The ARN is used to specify which particular billing
|
2548
|
+
# view you want to interact with or retrieve information from when
|
2549
|
+
# making API calls related to Amazon Web Services Billing and Cost
|
2550
|
+
# Management features. The BillingViewArn can be retrieved by calling
|
2551
|
+
# the ListBillingViews API.
|
2552
|
+
# @return [String]
|
2553
|
+
#
|
2534
2554
|
# @!attribute [rw] next_page_token
|
2535
2555
|
# The token to retrieve the next set of results. Amazon Web Services
|
2536
2556
|
# provides the token when the response from a previous call has more
|
@@ -2545,6 +2565,7 @@ module Aws::CostExplorer
|
|
2545
2565
|
:filter,
|
2546
2566
|
:metrics,
|
2547
2567
|
:group_by,
|
2568
|
+
:billing_view_arn,
|
2548
2569
|
:next_page_token)
|
2549
2570
|
SENSITIVE = []
|
2550
2571
|
include Aws::Structure
|
@@ -2718,6 +2739,15 @@ module Aws::CostExplorer
|
|
2718
2739
|
# `SearchString` key values aren't supported.
|
2719
2740
|
# @return [Array<Types::SortDefinition>]
|
2720
2741
|
#
|
2742
|
+
# @!attribute [rw] billing_view_arn
|
2743
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
2744
|
+
# billing view. The ARN is used to specify which particular billing
|
2745
|
+
# view you want to interact with or retrieve information from when
|
2746
|
+
# making API calls related to Amazon Web Services Billing and Cost
|
2747
|
+
# Management features. The BillingViewArn can be retrieved by calling
|
2748
|
+
# the ListBillingViews API.
|
2749
|
+
# @return [String]
|
2750
|
+
#
|
2721
2751
|
# @!attribute [rw] max_results
|
2722
2752
|
# This field is only used when the `SortBy` value is provided in the
|
2723
2753
|
# request.
|
@@ -2744,6 +2774,7 @@ module Aws::CostExplorer
|
|
2744
2774
|
:cost_category_name,
|
2745
2775
|
:filter,
|
2746
2776
|
:sort_by,
|
2777
|
+
:billing_view_arn,
|
2747
2778
|
:max_results,
|
2748
2779
|
:next_page_token)
|
2749
2780
|
SENSITIVE = []
|
@@ -2876,6 +2907,15 @@ module Aws::CostExplorer
|
|
2876
2907
|
# * `SAVINGS_PLAN_ARN`
|
2877
2908
|
# @return [Types::Expression]
|
2878
2909
|
#
|
2910
|
+
# @!attribute [rw] billing_view_arn
|
2911
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
2912
|
+
# billing view. The ARN is used to specify which particular billing
|
2913
|
+
# view you want to interact with or retrieve information from when
|
2914
|
+
# making API calls related to Amazon Web Services Billing and Cost
|
2915
|
+
# Management features. The BillingViewArn can be retrieved by calling
|
2916
|
+
# the ListBillingViews API.
|
2917
|
+
# @return [String]
|
2918
|
+
#
|
2879
2919
|
# @!attribute [rw] prediction_interval_level
|
2880
2920
|
# Cost Explorer always returns the mean forecast as a single point.
|
2881
2921
|
# You can request a prediction interval around the mean by specifying
|
@@ -2892,6 +2932,7 @@ module Aws::CostExplorer
|
|
2892
2932
|
:metric,
|
2893
2933
|
:granularity,
|
2894
2934
|
:filter,
|
2935
|
+
:billing_view_arn,
|
2895
2936
|
:prediction_interval_level)
|
2896
2937
|
SENSITIVE = []
|
2897
2938
|
include Aws::Structure
|
@@ -3211,6 +3252,15 @@ module Aws::CostExplorer
|
|
3211
3252
|
# `SearchString` aren't supported.
|
3212
3253
|
# @return [Array<Types::SortDefinition>]
|
3213
3254
|
#
|
3255
|
+
# @!attribute [rw] billing_view_arn
|
3256
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
3257
|
+
# billing view. The ARN is used to specify which particular billing
|
3258
|
+
# view you want to interact with or retrieve information from when
|
3259
|
+
# making API calls related to Amazon Web Services Billing and Cost
|
3260
|
+
# Management features. The BillingViewArn can be retrieved by calling
|
3261
|
+
# the ListBillingViews API.
|
3262
|
+
# @return [String]
|
3263
|
+
#
|
3214
3264
|
# @!attribute [rw] max_results
|
3215
3265
|
# This field is only used when SortBy is provided in the request. The
|
3216
3266
|
# maximum number of objects that are returned for this request. If
|
@@ -3235,6 +3285,7 @@ module Aws::CostExplorer
|
|
3235
3285
|
:context,
|
3236
3286
|
:filter,
|
3237
3287
|
:sort_by,
|
3288
|
+
:billing_view_arn,
|
3238
3289
|
:max_results,
|
3239
3290
|
:next_page_token)
|
3240
3291
|
SENSITIVE = []
|
@@ -4631,6 +4682,15 @@ module Aws::CostExplorer
|
|
4631
4682
|
# supported.
|
4632
4683
|
# @return [Array<Types::SortDefinition>]
|
4633
4684
|
#
|
4685
|
+
# @!attribute [rw] billing_view_arn
|
4686
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
4687
|
+
# billing view. The ARN is used to specify which particular billing
|
4688
|
+
# view you want to interact with or retrieve information from when
|
4689
|
+
# making API calls related to Amazon Web Services Billing and Cost
|
4690
|
+
# Management features. The BillingViewArn can be retrieved by calling
|
4691
|
+
# the ListBillingViews API.
|
4692
|
+
# @return [String]
|
4693
|
+
#
|
4634
4694
|
# @!attribute [rw] max_results
|
4635
4695
|
# This field is only used when SortBy is provided in the request. The
|
4636
4696
|
# maximum number of objects that are returned for this request. If
|
@@ -4654,6 +4714,7 @@ module Aws::CostExplorer
|
|
4654
4714
|
:tag_key,
|
4655
4715
|
:filter,
|
4656
4716
|
:sort_by,
|
4717
|
+
:billing_view_arn,
|
4657
4718
|
:max_results,
|
4658
4719
|
:next_page_token)
|
4659
4720
|
SENSITIVE = []
|
@@ -4770,6 +4831,15 @@ module Aws::CostExplorer
|
|
4770
4831
|
# * `SAVINGS_PLAN_ARN`
|
4771
4832
|
# @return [Types::Expression]
|
4772
4833
|
#
|
4834
|
+
# @!attribute [rw] billing_view_arn
|
4835
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
4836
|
+
# billing view. The ARN is used to specify which particular billing
|
4837
|
+
# view you want to interact with or retrieve information from when
|
4838
|
+
# making API calls related to Amazon Web Services Billing and Cost
|
4839
|
+
# Management features. The BillingViewArn can be retrieved by calling
|
4840
|
+
# the ListBillingViews API.
|
4841
|
+
# @return [String]
|
4842
|
+
#
|
4773
4843
|
# @!attribute [rw] prediction_interval_level
|
4774
4844
|
# Amazon Web Services Cost Explorer always returns the mean forecast
|
4775
4845
|
# as a single point. You can request a prediction interval around the
|
@@ -4786,6 +4856,7 @@ module Aws::CostExplorer
|
|
4786
4856
|
:metric,
|
4787
4857
|
:granularity,
|
4788
4858
|
:filter,
|
4859
|
+
:billing_view_arn,
|
4789
4860
|
:prediction_interval_level)
|
4790
4861
|
SENSITIVE = []
|
4791
4862
|
include Aws::Structure
|
@@ -5920,18 +5991,18 @@ module Aws::CostExplorer
|
|
5920
5991
|
# @return [String]
|
5921
5992
|
#
|
5922
5993
|
# @!attribute [rw] average_utilization
|
5923
|
-
# The average utilization of your
|
5924
|
-
#
|
5994
|
+
# The average utilization of your instances. Amazon Web Services uses
|
5995
|
+
# this to calculate your recommended reservation purchases.
|
5925
5996
|
# @return [String]
|
5926
5997
|
#
|
5927
5998
|
# @!attribute [rw] estimated_break_even_in_months
|
5928
5999
|
# How long Amazon Web Services estimates that it takes for this
|
5929
|
-
#
|
6000
|
+
# instance to start saving you money, in months.
|
5930
6001
|
# @return [String]
|
5931
6002
|
#
|
5932
6003
|
# @!attribute [rw] currency_code
|
5933
6004
|
# The currency code that Amazon Web Services used to calculate the
|
5934
|
-
# costs for this
|
6005
|
+
# costs for this instance.
|
5935
6006
|
# @return [String]
|
5936
6007
|
#
|
5937
6008
|
# @!attribute [rw] estimated_monthly_savings_amount
|
@@ -5957,12 +6028,11 @@ module Aws::CostExplorer
|
|
5957
6028
|
# @return [String]
|
5958
6029
|
#
|
5959
6030
|
# @!attribute [rw] upfront_cost
|
5960
|
-
# How much purchasing this
|
6031
|
+
# How much purchasing this instance costs you upfront.
|
5961
6032
|
# @return [String]
|
5962
6033
|
#
|
5963
6034
|
# @!attribute [rw] recurring_standard_monthly_cost
|
5964
|
-
# How much purchasing this
|
5965
|
-
# basis.
|
6035
|
+
# How much purchasing this instance costs you on a monthly basis.
|
5966
6036
|
# @return [String]
|
5967
6037
|
#
|
5968
6038
|
# @!attribute [rw] reserved_capacity_details
|
@@ -6361,9 +6431,10 @@ module Aws::CostExplorer
|
|
6361
6431
|
end
|
6362
6432
|
|
6363
6433
|
# The combination of Amazon Web Services service, linked account, linked
|
6364
|
-
# account name, Region, and usage type where a cost anomaly is observed
|
6365
|
-
#
|
6366
|
-
#
|
6434
|
+
# account name, Region, and usage type where a cost anomaly is observed,
|
6435
|
+
# along with the dollar and percentage amount of the anomaly impact. The
|
6436
|
+
# linked account name will only be available when the account name can
|
6437
|
+
# be identified.
|
6367
6438
|
#
|
6368
6439
|
# @!attribute [rw] service
|
6369
6440
|
# The Amazon Web Services service name that's associated with the
|
@@ -6379,23 +6450,43 @@ module Aws::CostExplorer
|
|
6379
6450
|
# The member account value that's associated with the cost anomaly.
|
6380
6451
|
# @return [String]
|
6381
6452
|
#
|
6382
|
-
# @!attribute [rw] usage_type
|
6383
|
-
# The `UsageType` value that's associated with the cost anomaly.
|
6384
|
-
# @return [String]
|
6385
|
-
#
|
6386
6453
|
# @!attribute [rw] linked_account_name
|
6387
6454
|
# The member account name value that's associated with the cost
|
6388
6455
|
# anomaly.
|
6389
6456
|
# @return [String]
|
6390
6457
|
#
|
6458
|
+
# @!attribute [rw] usage_type
|
6459
|
+
# The `UsageType` value that's associated with the cost anomaly.
|
6460
|
+
# @return [String]
|
6461
|
+
#
|
6462
|
+
# @!attribute [rw] impact
|
6463
|
+
# The dollar impact for the root cause.
|
6464
|
+
# @return [Types::RootCauseImpact]
|
6465
|
+
#
|
6391
6466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RootCause AWS API Documentation
|
6392
6467
|
#
|
6393
6468
|
class RootCause < Struct.new(
|
6394
6469
|
:service,
|
6395
6470
|
:region,
|
6396
6471
|
:linked_account,
|
6472
|
+
:linked_account_name,
|
6397
6473
|
:usage_type,
|
6398
|
-
:
|
6474
|
+
:impact)
|
6475
|
+
SENSITIVE = []
|
6476
|
+
include Aws::Structure
|
6477
|
+
end
|
6478
|
+
|
6479
|
+
# The dollar value of the root cause.
|
6480
|
+
#
|
6481
|
+
# @!attribute [rw] contribution
|
6482
|
+
# The dollar amount that this root cause contributed to the anomaly's
|
6483
|
+
# TotalImpact.
|
6484
|
+
# @return [Float]
|
6485
|
+
#
|
6486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RootCauseImpact AWS API Documentation
|
6487
|
+
#
|
6488
|
+
class RootCauseImpact < Struct.new(
|
6489
|
+
:contribution)
|
6399
6490
|
SENSITIVE = []
|
6400
6491
|
include Aws::Structure
|
6401
6492
|
end
|
@@ -6427,8 +6518,8 @@ module Aws::CostExplorer
|
|
6427
6518
|
# @return [Float]
|
6428
6519
|
#
|
6429
6520
|
# @!attribute [rw] offering_id
|
6430
|
-
# The unique ID that's used to distinguish
|
6431
|
-
# another.
|
6521
|
+
# The unique ID that's used to distinguish Savings Plans commitments
|
6522
|
+
# from one another.
|
6432
6523
|
# @return [String]
|
6433
6524
|
#
|
6434
6525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlans AWS API Documentation
|
@@ -6655,24 +6746,24 @@ module Aws::CostExplorer
|
|
6655
6746
|
#
|
6656
6747
|
# @!attribute [rw] estimated_on_demand_cost
|
6657
6748
|
# The remaining On-Demand cost estimated to not be covered by the
|
6658
|
-
#
|
6749
|
+
# Savings Plan over the length of the lookback period.
|
6659
6750
|
# @return [String]
|
6660
6751
|
#
|
6661
6752
|
# @!attribute [rw] estimated_on_demand_cost_with_current_commitment
|
6662
6753
|
# The estimated On-Demand cost you expect with no additional
|
6663
|
-
# commitment
|
6754
|
+
# commitment based on your usage of the selected time period and the
|
6664
6755
|
# Savings Plan you own.
|
6665
6756
|
# @return [String]
|
6666
6757
|
#
|
6667
6758
|
# @!attribute [rw] estimated_roi
|
6668
|
-
# The estimated return on investment that's based on the
|
6669
|
-
#
|
6759
|
+
# The estimated return on investment that's based on the Savings Plan
|
6760
|
+
# and estimated savings. This is calculated as
|
6670
6761
|
# estimatedSavingsAmount/estimatedSPCost*100.
|
6671
6762
|
# @return [String]
|
6672
6763
|
#
|
6673
6764
|
# @!attribute [rw] estimated_savings_amount
|
6674
|
-
# The estimated savings amount that's based on the
|
6675
|
-
#
|
6765
|
+
# The estimated savings amount that's based on the Savings Plan over
|
6766
|
+
# the length of the lookback period.
|
6676
6767
|
# @return [String]
|
6677
6768
|
#
|
6678
6769
|
# @!attribute [rw] estimated_savings_percentage
|
@@ -6681,7 +6772,7 @@ module Aws::CostExplorer
|
|
6681
6772
|
# @return [String]
|
6682
6773
|
#
|
6683
6774
|
# @!attribute [rw] estimated_commitment_cost
|
6684
|
-
# The estimated cost of the
|
6775
|
+
# The estimated cost of the Savings Plan over the length of the
|
6685
6776
|
# lookback period.
|
6686
6777
|
# @return [String]
|
6687
6778
|
#
|
@@ -6690,7 +6781,7 @@ module Aws::CostExplorer
|
|
6690
6781
|
# @return [String]
|
6691
6782
|
#
|
6692
6783
|
# @!attribute [rw] upfront_cost
|
6693
|
-
# The upfront cost of the Savings Plan
|
6784
|
+
# The upfront cost of the Savings Plan based on the selected payment
|
6694
6785
|
# option.
|
6695
6786
|
# @return [String]
|
6696
6787
|
#
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -412,6 +412,7 @@ module Aws
|
|
412
412
|
key: ::String?
|
413
413
|
},
|
414
414
|
],
|
415
|
+
?billing_view_arn: ::String,
|
415
416
|
?next_page_token: ::String
|
416
417
|
) -> _GetCostAndUsageResponseSuccess
|
417
418
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostAndUsageResponseSuccess
|
@@ -461,6 +462,7 @@ module Aws
|
|
461
462
|
key: ::String?
|
462
463
|
},
|
463
464
|
],
|
465
|
+
?billing_view_arn: ::String,
|
464
466
|
?next_page_token: ::String
|
465
467
|
) -> _GetCostAndUsageWithResourcesResponseSuccess
|
466
468
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostAndUsageWithResourcesResponseSuccess
|
@@ -511,6 +513,7 @@ module Aws
|
|
511
513
|
sort_order: ("ASCENDING" | "DESCENDING")?
|
512
514
|
},
|
513
515
|
],
|
516
|
+
?billing_view_arn: ::String,
|
514
517
|
?max_results: ::Integer,
|
515
518
|
?next_page_token: ::String
|
516
519
|
) -> _GetCostCategoriesResponseSuccess
|
@@ -553,6 +556,7 @@ module Aws
|
|
553
556
|
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
|
554
557
|
}?
|
555
558
|
},
|
559
|
+
?billing_view_arn: ::String,
|
556
560
|
?prediction_interval_level: ::Integer
|
557
561
|
) -> _GetCostForecastResponseSuccess
|
558
562
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostForecastResponseSuccess
|
@@ -603,6 +607,7 @@ module Aws
|
|
603
607
|
sort_order: ("ASCENDING" | "DESCENDING")?
|
604
608
|
},
|
605
609
|
],
|
610
|
+
?billing_view_arn: ::String,
|
606
611
|
?max_results: ::Integer,
|
607
612
|
?next_page_token: ::String
|
608
613
|
) -> _GetDimensionValuesResponseSuccess
|
@@ -1045,6 +1050,7 @@ module Aws
|
|
1045
1050
|
sort_order: ("ASCENDING" | "DESCENDING")?
|
1046
1051
|
},
|
1047
1052
|
],
|
1053
|
+
?billing_view_arn: ::String,
|
1048
1054
|
?max_results: ::Integer,
|
1049
1055
|
?next_page_token: ::String
|
1050
1056
|
) -> _GetTagsResponseSuccess
|
@@ -1087,6 +1093,7 @@ module Aws
|
|
1087
1093
|
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
|
1088
1094
|
}?
|
1089
1095
|
},
|
1096
|
+
?billing_view_arn: ::String,
|
1090
1097
|
?prediction_interval_level: ::Integer
|
1091
1098
|
) -> _GetUsageForecastResponseSuccess
|
1092
1099
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageForecastResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -528,6 +528,7 @@ module Aws::CostExplorer
|
|
528
528
|
attr_accessor filter: Types::Expression
|
529
529
|
attr_accessor metrics: ::Array[::String]
|
530
530
|
attr_accessor group_by: ::Array[Types::GroupDefinition]
|
531
|
+
attr_accessor billing_view_arn: ::String
|
531
532
|
attr_accessor next_page_token: ::String
|
532
533
|
SENSITIVE: []
|
533
534
|
end
|
@@ -546,6 +547,7 @@ module Aws::CostExplorer
|
|
546
547
|
attr_accessor filter: Types::Expression
|
547
548
|
attr_accessor metrics: ::Array[::String]
|
548
549
|
attr_accessor group_by: ::Array[Types::GroupDefinition]
|
550
|
+
attr_accessor billing_view_arn: ::String
|
549
551
|
attr_accessor next_page_token: ::String
|
550
552
|
SENSITIVE: []
|
551
553
|
end
|
@@ -564,6 +566,7 @@ module Aws::CostExplorer
|
|
564
566
|
attr_accessor cost_category_name: ::String
|
565
567
|
attr_accessor filter: Types::Expression
|
566
568
|
attr_accessor sort_by: ::Array[Types::SortDefinition]
|
569
|
+
attr_accessor billing_view_arn: ::String
|
567
570
|
attr_accessor max_results: ::Integer
|
568
571
|
attr_accessor next_page_token: ::String
|
569
572
|
SENSITIVE: []
|
@@ -583,6 +586,7 @@ module Aws::CostExplorer
|
|
583
586
|
attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT")
|
584
587
|
attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
|
585
588
|
attr_accessor filter: Types::Expression
|
589
|
+
attr_accessor billing_view_arn: ::String
|
586
590
|
attr_accessor prediction_interval_level: ::Integer
|
587
591
|
SENSITIVE: []
|
588
592
|
end
|
@@ -600,6 +604,7 @@ module Aws::CostExplorer
|
|
600
604
|
attr_accessor context: ("COST_AND_USAGE" | "RESERVATIONS" | "SAVINGS_PLANS")
|
601
605
|
attr_accessor filter: Types::Expression
|
602
606
|
attr_accessor sort_by: ::Array[Types::SortDefinition]
|
607
|
+
attr_accessor billing_view_arn: ::String
|
603
608
|
attr_accessor max_results: ::Integer
|
604
609
|
attr_accessor next_page_token: ::String
|
605
610
|
SENSITIVE: []
|
@@ -775,6 +780,7 @@ module Aws::CostExplorer
|
|
775
780
|
attr_accessor tag_key: ::String
|
776
781
|
attr_accessor filter: Types::Expression
|
777
782
|
attr_accessor sort_by: ::Array[Types::SortDefinition]
|
783
|
+
attr_accessor billing_view_arn: ::String
|
778
784
|
attr_accessor max_results: ::Integer
|
779
785
|
attr_accessor next_page_token: ::String
|
780
786
|
SENSITIVE: []
|
@@ -793,6 +799,7 @@ module Aws::CostExplorer
|
|
793
799
|
attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT")
|
794
800
|
attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
|
795
801
|
attr_accessor filter: Types::Expression
|
802
|
+
attr_accessor billing_view_arn: ::String
|
796
803
|
attr_accessor prediction_interval_level: ::Integer
|
797
804
|
SENSITIVE: []
|
798
805
|
end
|
@@ -1189,8 +1196,14 @@ module Aws::CostExplorer
|
|
1189
1196
|
attr_accessor service: ::String
|
1190
1197
|
attr_accessor region: ::String
|
1191
1198
|
attr_accessor linked_account: ::String
|
1192
|
-
attr_accessor usage_type: ::String
|
1193
1199
|
attr_accessor linked_account_name: ::String
|
1200
|
+
attr_accessor usage_type: ::String
|
1201
|
+
attr_accessor impact: Types::RootCauseImpact
|
1202
|
+
SENSITIVE: []
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
class RootCauseImpact
|
1206
|
+
attr_accessor contribution: ::Float
|
1194
1207
|
SENSITIVE: []
|
1195
1208
|
end
|
1196
1209
|
|
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.118.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
|
+
date: 2024-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|