aws-sdk-costexplorer 1.117.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +64 -1
- data/lib/aws-sdk-costexplorer/client_api.rb +15 -0
- data/lib/aws-sdk-costexplorer/types.rb +70 -0
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/sig/client.rbs +7 -0
- data/sig/types.rbs +7 -0
- 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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.118.0
|
@@ -1422,6 +1422,14 @@ module Aws::CostExplorer
|
|
1422
1422
|
# When you group by the `TAG` type and include a valid tag key, you get
|
1423
1423
|
# all tag values, including empty strings.
|
1424
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
|
+
#
|
1425
1433
|
# @option params [String] :next_page_token
|
1426
1434
|
# The token to retrieve the next set of results. Amazon Web Services
|
1427
1435
|
# provides the token when the response from a previous call has more
|
@@ -1479,6 +1487,7 @@ module Aws::CostExplorer
|
|
1479
1487
|
# key: "GroupDefinitionKey",
|
1480
1488
|
# },
|
1481
1489
|
# ],
|
1490
|
+
# billing_view_arn: "BillingViewArn",
|
1482
1491
|
# next_page_token: "NextPageToken",
|
1483
1492
|
# })
|
1484
1493
|
#
|
@@ -1605,6 +1614,14 @@ module Aws::CostExplorer
|
|
1605
1614
|
# You can group Amazon Web Services costs using up to two different
|
1606
1615
|
# groups: `DIMENSION`, `TAG`, `COST_CATEGORY`.
|
1607
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
|
+
#
|
1608
1625
|
# @option params [String] :next_page_token
|
1609
1626
|
# The token to retrieve the next set of results. Amazon Web Services
|
1610
1627
|
# provides the token when the response from a previous call has more
|
@@ -1662,6 +1679,7 @@ module Aws::CostExplorer
|
|
1662
1679
|
# key: "GroupDefinitionKey",
|
1663
1680
|
# },
|
1664
1681
|
# ],
|
1682
|
+
# billing_view_arn: "BillingViewArn",
|
1665
1683
|
# next_page_token: "NextPageToken",
|
1666
1684
|
# })
|
1667
1685
|
#
|
@@ -1834,6 +1852,14 @@ module Aws::CostExplorer
|
|
1834
1852
|
# When you use the `SortBy` value, the `NextPageToken` and
|
1835
1853
|
# `SearchString` key values aren't supported.
|
1836
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
|
+
#
|
1837
1863
|
# @option params [Integer] :max_results
|
1838
1864
|
# This field is only used when the `SortBy` value is provided in the
|
1839
1865
|
# request.
|
@@ -1903,6 +1929,7 @@ module Aws::CostExplorer
|
|
1903
1929
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1904
1930
|
# },
|
1905
1931
|
# ],
|
1932
|
+
# billing_view_arn: "BillingViewArn",
|
1906
1933
|
# max_results: 1,
|
1907
1934
|
# next_page_token: "NextPageToken",
|
1908
1935
|
# })
|
@@ -2013,6 +2040,14 @@ module Aws::CostExplorer
|
|
2013
2040
|
#
|
2014
2041
|
# * `SAVINGS_PLAN_ARN`
|
2015
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
|
+
#
|
2016
2051
|
# @option params [Integer] :prediction_interval_level
|
2017
2052
|
# Cost Explorer always returns the mean forecast as a single point. You
|
2018
2053
|
# can request a prediction interval around the mean by specifying a
|
@@ -2065,6 +2100,7 @@ module Aws::CostExplorer
|
|
2065
2100
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE, GREATER_THAN_OR_EQUAL
|
2066
2101
|
# },
|
2067
2102
|
# },
|
2103
|
+
# billing_view_arn: "BillingViewArn",
|
2068
2104
|
# prediction_interval_level: 1,
|
2069
2105
|
# })
|
2070
2106
|
#
|
@@ -2377,6 +2413,14 @@ module Aws::CostExplorer
|
|
2377
2413
|
# `COST_AND_USAGE`. Further, when using `SortBy`, `NextPageToken` and
|
2378
2414
|
# `SearchString` aren't supported.
|
2379
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
|
+
#
|
2380
2424
|
# @option params [Integer] :max_results
|
2381
2425
|
# This field is only used when SortBy is provided in the request. The
|
2382
2426
|
# maximum number of objects that are returned for this request. If
|
@@ -2443,6 +2487,7 @@ module Aws::CostExplorer
|
|
2443
2487
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2444
2488
|
# },
|
2445
2489
|
# ],
|
2490
|
+
# billing_view_arn: "BillingViewArn",
|
2446
2491
|
# max_results: 1,
|
2447
2492
|
# next_page_token: "NextPageToken",
|
2448
2493
|
# })
|
@@ -4380,6 +4425,14 @@ module Aws::CostExplorer
|
|
4380
4425
|
# When you use `SortBy`, `NextPageToken` and `SearchString` aren't
|
4381
4426
|
# supported.
|
4382
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
|
+
#
|
4383
4436
|
# @option params [Integer] :max_results
|
4384
4437
|
# This field is only used when SortBy is provided in the request. The
|
4385
4438
|
# maximum number of objects that are returned for this request. If
|
@@ -4445,6 +4498,7 @@ module Aws::CostExplorer
|
|
4445
4498
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
4446
4499
|
# },
|
4447
4500
|
# ],
|
4501
|
+
# billing_view_arn: "BillingViewArn",
|
4448
4502
|
# max_results: 1,
|
4449
4503
|
# next_page_token: "NextPageToken",
|
4450
4504
|
# })
|
@@ -4545,6 +4599,14 @@ module Aws::CostExplorer
|
|
4545
4599
|
#
|
4546
4600
|
# * `SAVINGS_PLAN_ARN`
|
4547
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
|
+
#
|
4548
4610
|
# @option params [Integer] :prediction_interval_level
|
4549
4611
|
# Amazon Web Services Cost Explorer always returns the mean forecast as
|
4550
4612
|
# a single point. You can request a prediction interval around the mean
|
@@ -4597,6 +4659,7 @@ module Aws::CostExplorer
|
|
4597
4659
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE, GREATER_THAN_OR_EQUAL
|
4598
4660
|
# },
|
4599
4661
|
# },
|
4662
|
+
# billing_view_arn: "BillingViewArn",
|
4600
4663
|
# prediction_interval_level: 1,
|
4601
4664
|
# })
|
4602
4665
|
#
|
@@ -5549,7 +5612,7 @@ module Aws::CostExplorer
|
|
5549
5612
|
tracer: tracer
|
5550
5613
|
)
|
5551
5614
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
5552
|
-
context[:gem_version] = '1.
|
5615
|
+
context[:gem_version] = '1.118.0'
|
5553
5616
|
Seahorse::Client::Request.new(handlers, context)
|
5554
5617
|
end
|
5555
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')
|
@@ -819,6 +820,7 @@ module Aws::CostExplorer
|
|
819
820
|
GetCostAndUsageRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
820
821
|
GetCostAndUsageRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, required: true, location_name: "Metrics"))
|
821
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"))
|
822
824
|
GetCostAndUsageRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
823
825
|
GetCostAndUsageRequest.struct_class = Types::GetCostAndUsageRequest
|
824
826
|
|
@@ -833,6 +835,7 @@ module Aws::CostExplorer
|
|
833
835
|
GetCostAndUsageWithResourcesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Filter"))
|
834
836
|
GetCostAndUsageWithResourcesRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "Metrics"))
|
835
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"))
|
836
839
|
GetCostAndUsageWithResourcesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
837
840
|
GetCostAndUsageWithResourcesRequest.struct_class = Types::GetCostAndUsageWithResourcesRequest
|
838
841
|
|
@@ -847,6 +850,7 @@ module Aws::CostExplorer
|
|
847
850
|
GetCostCategoriesRequest.add_member(:cost_category_name, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "CostCategoryName"))
|
848
851
|
GetCostCategoriesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
849
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"))
|
850
854
|
GetCostCategoriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
851
855
|
GetCostCategoriesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
852
856
|
GetCostCategoriesRequest.struct_class = Types::GetCostCategoriesRequest
|
@@ -862,6 +866,7 @@ module Aws::CostExplorer
|
|
862
866
|
GetCostForecastRequest.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "Metric"))
|
863
867
|
GetCostForecastRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
864
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"))
|
865
870
|
GetCostForecastRequest.add_member(:prediction_interval_level, Shapes::ShapeRef.new(shape: PredictionIntervalLevel, location_name: "PredictionIntervalLevel"))
|
866
871
|
GetCostForecastRequest.struct_class = Types::GetCostForecastRequest
|
867
872
|
|
@@ -875,6 +880,7 @@ module Aws::CostExplorer
|
|
875
880
|
GetDimensionValuesRequest.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
876
881
|
GetDimensionValuesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
877
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"))
|
878
884
|
GetDimensionValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
879
885
|
GetDimensionValuesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
880
886
|
GetDimensionValuesRequest.struct_class = Types::GetDimensionValuesRequest
|
@@ -1010,6 +1016,7 @@ module Aws::CostExplorer
|
|
1010
1016
|
GetTagsRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey"))
|
1011
1017
|
GetTagsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
1012
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"))
|
1013
1020
|
GetTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
1014
1021
|
GetTagsRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
1015
1022
|
GetTagsRequest.struct_class = Types::GetTagsRequest
|
@@ -1024,6 +1031,7 @@ module Aws::CostExplorer
|
|
1024
1031
|
GetUsageForecastRequest.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "Metric"))
|
1025
1032
|
GetUsageForecastRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
1026
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"))
|
1027
1035
|
GetUsageForecastRequest.add_member(:prediction_interval_level, Shapes::ShapeRef.new(shape: PredictionIntervalLevel, location_name: "PredictionIntervalLevel"))
|
1028
1036
|
GetUsageForecastRequest.struct_class = Types::GetUsageForecastRequest
|
1029
1037
|
|
@@ -1825,6 +1833,7 @@ module Aws::CostExplorer
|
|
1825
1833
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1826
1834
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1827
1835
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
1836
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1828
1837
|
end)
|
1829
1838
|
|
1830
1839
|
api.add_operation(:get_cost_and_usage_with_resources, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1838,6 +1847,7 @@ module Aws::CostExplorer
|
|
1838
1847
|
o.errors << Shapes::ShapeRef.new(shape: BillExpirationException)
|
1839
1848
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1840
1849
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
1850
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1841
1851
|
end)
|
1842
1852
|
|
1843
1853
|
api.add_operation(:get_cost_categories, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1851,6 +1861,7 @@ module Aws::CostExplorer
|
|
1851
1861
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1852
1862
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1853
1863
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
1864
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1854
1865
|
end)
|
1855
1866
|
|
1856
1867
|
api.add_operation(:get_cost_forecast, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1861,6 +1872,7 @@ module Aws::CostExplorer
|
|
1861
1872
|
o.output = Shapes::ShapeRef.new(shape: GetCostForecastResponse)
|
1862
1873
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1863
1874
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1875
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1864
1876
|
end)
|
1865
1877
|
|
1866
1878
|
api.add_operation(:get_dimension_values, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1874,6 +1886,7 @@ module Aws::CostExplorer
|
|
1874
1886
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1875
1887
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1876
1888
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
1889
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1877
1890
|
end)
|
1878
1891
|
|
1879
1892
|
api.add_operation(:get_reservation_coverage, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1994,6 +2007,7 @@ module Aws::CostExplorer
|
|
1994
2007
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1995
2008
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1996
2009
|
o.errors << Shapes::ShapeRef.new(shape: RequestChangedException)
|
2010
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1997
2011
|
end)
|
1998
2012
|
|
1999
2013
|
api.add_operation(:get_usage_forecast, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2005,6 +2019,7 @@ module Aws::CostExplorer
|
|
2005
2019
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2006
2020
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
2007
2021
|
o.errors << Shapes::ShapeRef.new(shape: UnresolvableUsageUnitException)
|
2022
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2008
2023
|
end)
|
2009
2024
|
|
2010
2025
|
api.add_operation(:list_commitment_purchase_analyses, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2410,6 +2410,15 @@ module Aws::CostExplorer
|
|
2410
2410
|
# get all tag values, including empty strings.
|
2411
2411
|
# @return [Array<Types::GroupDefinition>]
|
2412
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
|
+
#
|
2413
2422
|
# @!attribute [rw] next_page_token
|
2414
2423
|
# The token to retrieve the next set of results. Amazon Web Services
|
2415
2424
|
# provides the token when the response from a previous call has more
|
@@ -2424,6 +2433,7 @@ module Aws::CostExplorer
|
|
2424
2433
|
:filter,
|
2425
2434
|
:metrics,
|
2426
2435
|
:group_by,
|
2436
|
+
:billing_view_arn,
|
2427
2437
|
:next_page_token)
|
2428
2438
|
SENSITIVE = []
|
2429
2439
|
include Aws::Structure
|
@@ -2532,6 +2542,15 @@ module Aws::CostExplorer
|
|
2532
2542
|
# groups: `DIMENSION`, `TAG`, `COST_CATEGORY`.
|
2533
2543
|
# @return [Array<Types::GroupDefinition>]
|
2534
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
|
+
#
|
2535
2554
|
# @!attribute [rw] next_page_token
|
2536
2555
|
# The token to retrieve the next set of results. Amazon Web Services
|
2537
2556
|
# provides the token when the response from a previous call has more
|
@@ -2546,6 +2565,7 @@ module Aws::CostExplorer
|
|
2546
2565
|
:filter,
|
2547
2566
|
:metrics,
|
2548
2567
|
:group_by,
|
2568
|
+
:billing_view_arn,
|
2549
2569
|
:next_page_token)
|
2550
2570
|
SENSITIVE = []
|
2551
2571
|
include Aws::Structure
|
@@ -2719,6 +2739,15 @@ module Aws::CostExplorer
|
|
2719
2739
|
# `SearchString` key values aren't supported.
|
2720
2740
|
# @return [Array<Types::SortDefinition>]
|
2721
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
|
+
#
|
2722
2751
|
# @!attribute [rw] max_results
|
2723
2752
|
# This field is only used when the `SortBy` value is provided in the
|
2724
2753
|
# request.
|
@@ -2745,6 +2774,7 @@ module Aws::CostExplorer
|
|
2745
2774
|
:cost_category_name,
|
2746
2775
|
:filter,
|
2747
2776
|
:sort_by,
|
2777
|
+
:billing_view_arn,
|
2748
2778
|
:max_results,
|
2749
2779
|
:next_page_token)
|
2750
2780
|
SENSITIVE = []
|
@@ -2877,6 +2907,15 @@ module Aws::CostExplorer
|
|
2877
2907
|
# * `SAVINGS_PLAN_ARN`
|
2878
2908
|
# @return [Types::Expression]
|
2879
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
|
+
#
|
2880
2919
|
# @!attribute [rw] prediction_interval_level
|
2881
2920
|
# Cost Explorer always returns the mean forecast as a single point.
|
2882
2921
|
# You can request a prediction interval around the mean by specifying
|
@@ -2893,6 +2932,7 @@ module Aws::CostExplorer
|
|
2893
2932
|
:metric,
|
2894
2933
|
:granularity,
|
2895
2934
|
:filter,
|
2935
|
+
:billing_view_arn,
|
2896
2936
|
:prediction_interval_level)
|
2897
2937
|
SENSITIVE = []
|
2898
2938
|
include Aws::Structure
|
@@ -3212,6 +3252,15 @@ module Aws::CostExplorer
|
|
3212
3252
|
# `SearchString` aren't supported.
|
3213
3253
|
# @return [Array<Types::SortDefinition>]
|
3214
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
|
+
#
|
3215
3264
|
# @!attribute [rw] max_results
|
3216
3265
|
# This field is only used when SortBy is provided in the request. The
|
3217
3266
|
# maximum number of objects that are returned for this request. If
|
@@ -3236,6 +3285,7 @@ module Aws::CostExplorer
|
|
3236
3285
|
:context,
|
3237
3286
|
:filter,
|
3238
3287
|
:sort_by,
|
3288
|
+
:billing_view_arn,
|
3239
3289
|
:max_results,
|
3240
3290
|
:next_page_token)
|
3241
3291
|
SENSITIVE = []
|
@@ -4632,6 +4682,15 @@ module Aws::CostExplorer
|
|
4632
4682
|
# supported.
|
4633
4683
|
# @return [Array<Types::SortDefinition>]
|
4634
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
|
+
#
|
4635
4694
|
# @!attribute [rw] max_results
|
4636
4695
|
# This field is only used when SortBy is provided in the request. The
|
4637
4696
|
# maximum number of objects that are returned for this request. If
|
@@ -4655,6 +4714,7 @@ module Aws::CostExplorer
|
|
4655
4714
|
:tag_key,
|
4656
4715
|
:filter,
|
4657
4716
|
:sort_by,
|
4717
|
+
:billing_view_arn,
|
4658
4718
|
:max_results,
|
4659
4719
|
:next_page_token)
|
4660
4720
|
SENSITIVE = []
|
@@ -4771,6 +4831,15 @@ module Aws::CostExplorer
|
|
4771
4831
|
# * `SAVINGS_PLAN_ARN`
|
4772
4832
|
# @return [Types::Expression]
|
4773
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
|
+
#
|
4774
4843
|
# @!attribute [rw] prediction_interval_level
|
4775
4844
|
# Amazon Web Services Cost Explorer always returns the mean forecast
|
4776
4845
|
# as a single point. You can request a prediction interval around the
|
@@ -4787,6 +4856,7 @@ module Aws::CostExplorer
|
|
4787
4856
|
:metric,
|
4788
4857
|
:granularity,
|
4789
4858
|
:filter,
|
4859
|
+
:billing_view_arn,
|
4790
4860
|
:prediction_interval_level)
|
4791
4861
|
SENSITIVE = []
|
4792
4862
|
include Aws::Structure
|
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
|
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
|