aws-sdk-costexplorer 1.117.0 → 1.119.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +87 -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 +9 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +7 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3871883fb07ec638d9f8b982fad1dfead52690447a9c7abf8dd42665cb1abad0
|
4
|
+
data.tar.gz: 3427bb89429c37462ba07388d36426b1b21900bbee429ab277340e55c0f53b9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c71f22b12ca88c743514ec9678a35f3ff0fc8b5db461e756943d7815e181a714d8f361b02f1aa9572f25a307907a3669b344cb915139e42d9793bc059ba5c59b
|
7
|
+
data.tar.gz: 0c164630e3d5a98d0630cebb3ebc80da43e936fb1c9c2fc7f76ef29a7c8c5a80c8eaafb7e68e1484ba04ce0b523d9b9d698a50e970ee06997f232034f6b71d8b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.119.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.118.0 (2024-12-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Support for retrieving cost, usage, and forecast for billing view.
|
13
|
+
|
4
14
|
1.117.0 (2024-11-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.119.0
|
@@ -257,11 +257,34 @@ module Aws::CostExplorer
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -1422,6 +1445,14 @@ module Aws::CostExplorer
|
|
1422
1445
|
# When you group by the `TAG` type and include a valid tag key, you get
|
1423
1446
|
# all tag values, including empty strings.
|
1424
1447
|
#
|
1448
|
+
# @option params [String] :billing_view_arn
|
1449
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
1450
|
+
# billing view. The ARN is used to specify which particular billing view
|
1451
|
+
# you want to interact with or retrieve information from when making API
|
1452
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
1453
|
+
# features. The BillingViewArn can be retrieved by calling the
|
1454
|
+
# ListBillingViews API.
|
1455
|
+
#
|
1425
1456
|
# @option params [String] :next_page_token
|
1426
1457
|
# The token to retrieve the next set of results. Amazon Web Services
|
1427
1458
|
# provides the token when the response from a previous call has more
|
@@ -1479,6 +1510,7 @@ module Aws::CostExplorer
|
|
1479
1510
|
# key: "GroupDefinitionKey",
|
1480
1511
|
# },
|
1481
1512
|
# ],
|
1513
|
+
# billing_view_arn: "BillingViewArn",
|
1482
1514
|
# next_page_token: "NextPageToken",
|
1483
1515
|
# })
|
1484
1516
|
#
|
@@ -1605,6 +1637,14 @@ module Aws::CostExplorer
|
|
1605
1637
|
# You can group Amazon Web Services costs using up to two different
|
1606
1638
|
# groups: `DIMENSION`, `TAG`, `COST_CATEGORY`.
|
1607
1639
|
#
|
1640
|
+
# @option params [String] :billing_view_arn
|
1641
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
1642
|
+
# billing view. The ARN is used to specify which particular billing view
|
1643
|
+
# you want to interact with or retrieve information from when making API
|
1644
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
1645
|
+
# features. The BillingViewArn can be retrieved by calling the
|
1646
|
+
# ListBillingViews API.
|
1647
|
+
#
|
1608
1648
|
# @option params [String] :next_page_token
|
1609
1649
|
# The token to retrieve the next set of results. Amazon Web Services
|
1610
1650
|
# provides the token when the response from a previous call has more
|
@@ -1662,6 +1702,7 @@ module Aws::CostExplorer
|
|
1662
1702
|
# key: "GroupDefinitionKey",
|
1663
1703
|
# },
|
1664
1704
|
# ],
|
1705
|
+
# billing_view_arn: "BillingViewArn",
|
1665
1706
|
# next_page_token: "NextPageToken",
|
1666
1707
|
# })
|
1667
1708
|
#
|
@@ -1834,6 +1875,14 @@ module Aws::CostExplorer
|
|
1834
1875
|
# When you use the `SortBy` value, the `NextPageToken` and
|
1835
1876
|
# `SearchString` key values aren't supported.
|
1836
1877
|
#
|
1878
|
+
# @option params [String] :billing_view_arn
|
1879
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
1880
|
+
# billing view. The ARN is used to specify which particular billing view
|
1881
|
+
# you want to interact with or retrieve information from when making API
|
1882
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
1883
|
+
# features. The BillingViewArn can be retrieved by calling the
|
1884
|
+
# ListBillingViews API.
|
1885
|
+
#
|
1837
1886
|
# @option params [Integer] :max_results
|
1838
1887
|
# This field is only used when the `SortBy` value is provided in the
|
1839
1888
|
# request.
|
@@ -1903,6 +1952,7 @@ module Aws::CostExplorer
|
|
1903
1952
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1904
1953
|
# },
|
1905
1954
|
# ],
|
1955
|
+
# billing_view_arn: "BillingViewArn",
|
1906
1956
|
# max_results: 1,
|
1907
1957
|
# next_page_token: "NextPageToken",
|
1908
1958
|
# })
|
@@ -2013,6 +2063,14 @@ module Aws::CostExplorer
|
|
2013
2063
|
#
|
2014
2064
|
# * `SAVINGS_PLAN_ARN`
|
2015
2065
|
#
|
2066
|
+
# @option params [String] :billing_view_arn
|
2067
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
2068
|
+
# billing view. The ARN is used to specify which particular billing view
|
2069
|
+
# you want to interact with or retrieve information from when making API
|
2070
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
2071
|
+
# features. The BillingViewArn can be retrieved by calling the
|
2072
|
+
# ListBillingViews API.
|
2073
|
+
#
|
2016
2074
|
# @option params [Integer] :prediction_interval_level
|
2017
2075
|
# Cost Explorer always returns the mean forecast as a single point. You
|
2018
2076
|
# can request a prediction interval around the mean by specifying a
|
@@ -2065,6 +2123,7 @@ module Aws::CostExplorer
|
|
2065
2123
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE, GREATER_THAN_OR_EQUAL
|
2066
2124
|
# },
|
2067
2125
|
# },
|
2126
|
+
# billing_view_arn: "BillingViewArn",
|
2068
2127
|
# prediction_interval_level: 1,
|
2069
2128
|
# })
|
2070
2129
|
#
|
@@ -2377,6 +2436,14 @@ module Aws::CostExplorer
|
|
2377
2436
|
# `COST_AND_USAGE`. Further, when using `SortBy`, `NextPageToken` and
|
2378
2437
|
# `SearchString` aren't supported.
|
2379
2438
|
#
|
2439
|
+
# @option params [String] :billing_view_arn
|
2440
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
2441
|
+
# billing view. The ARN is used to specify which particular billing view
|
2442
|
+
# you want to interact with or retrieve information from when making API
|
2443
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
2444
|
+
# features. The BillingViewArn can be retrieved by calling the
|
2445
|
+
# ListBillingViews API.
|
2446
|
+
#
|
2380
2447
|
# @option params [Integer] :max_results
|
2381
2448
|
# This field is only used when SortBy is provided in the request. The
|
2382
2449
|
# maximum number of objects that are returned for this request. If
|
@@ -2443,6 +2510,7 @@ module Aws::CostExplorer
|
|
2443
2510
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2444
2511
|
# },
|
2445
2512
|
# ],
|
2513
|
+
# billing_view_arn: "BillingViewArn",
|
2446
2514
|
# max_results: 1,
|
2447
2515
|
# next_page_token: "NextPageToken",
|
2448
2516
|
# })
|
@@ -4380,6 +4448,14 @@ module Aws::CostExplorer
|
|
4380
4448
|
# When you use `SortBy`, `NextPageToken` and `SearchString` aren't
|
4381
4449
|
# supported.
|
4382
4450
|
#
|
4451
|
+
# @option params [String] :billing_view_arn
|
4452
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
4453
|
+
# billing view. The ARN is used to specify which particular billing view
|
4454
|
+
# you want to interact with or retrieve information from when making API
|
4455
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
4456
|
+
# features. The BillingViewArn can be retrieved by calling the
|
4457
|
+
# ListBillingViews API.
|
4458
|
+
#
|
4383
4459
|
# @option params [Integer] :max_results
|
4384
4460
|
# This field is only used when SortBy is provided in the request. The
|
4385
4461
|
# maximum number of objects that are returned for this request. If
|
@@ -4445,6 +4521,7 @@ module Aws::CostExplorer
|
|
4445
4521
|
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
4446
4522
|
# },
|
4447
4523
|
# ],
|
4524
|
+
# billing_view_arn: "BillingViewArn",
|
4448
4525
|
# max_results: 1,
|
4449
4526
|
# next_page_token: "NextPageToken",
|
4450
4527
|
# })
|
@@ -4545,6 +4622,14 @@ module Aws::CostExplorer
|
|
4545
4622
|
#
|
4546
4623
|
# * `SAVINGS_PLAN_ARN`
|
4547
4624
|
#
|
4625
|
+
# @option params [String] :billing_view_arn
|
4626
|
+
# The Amazon Resource Name (ARN) that uniquely identifies a specific
|
4627
|
+
# billing view. The ARN is used to specify which particular billing view
|
4628
|
+
# you want to interact with or retrieve information from when making API
|
4629
|
+
# calls related to Amazon Web Services Billing and Cost Management
|
4630
|
+
# features. The BillingViewArn can be retrieved by calling the
|
4631
|
+
# ListBillingViews API.
|
4632
|
+
#
|
4548
4633
|
# @option params [Integer] :prediction_interval_level
|
4549
4634
|
# Amazon Web Services Cost Explorer always returns the mean forecast as
|
4550
4635
|
# a single point. You can request a prediction interval around the mean
|
@@ -4597,6 +4682,7 @@ module Aws::CostExplorer
|
|
4597
4682
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE, GREATER_THAN_OR_EQUAL
|
4598
4683
|
# },
|
4599
4684
|
# },
|
4685
|
+
# billing_view_arn: "BillingViewArn",
|
4600
4686
|
# prediction_interval_level: 1,
|
4601
4687
|
# })
|
4602
4688
|
#
|
@@ -5549,7 +5635,7 @@ module Aws::CostExplorer
|
|
5549
5635
|
tracer: tracer
|
5550
5636
|
)
|
5551
5637
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
5552
|
-
context[:gem_version] = '1.
|
5638
|
+
context[:gem_version] = '1.119.0'
|
5553
5639
|
Seahorse::Client::Request.new(handlers, context)
|
5554
5640
|
end
|
5555
5641
|
|
@@ -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
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -412,6 +414,7 @@ module Aws
|
|
412
414
|
key: ::String?
|
413
415
|
},
|
414
416
|
],
|
417
|
+
?billing_view_arn: ::String,
|
415
418
|
?next_page_token: ::String
|
416
419
|
) -> _GetCostAndUsageResponseSuccess
|
417
420
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostAndUsageResponseSuccess
|
@@ -461,6 +464,7 @@ module Aws
|
|
461
464
|
key: ::String?
|
462
465
|
},
|
463
466
|
],
|
467
|
+
?billing_view_arn: ::String,
|
464
468
|
?next_page_token: ::String
|
465
469
|
) -> _GetCostAndUsageWithResourcesResponseSuccess
|
466
470
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostAndUsageWithResourcesResponseSuccess
|
@@ -511,6 +515,7 @@ module Aws
|
|
511
515
|
sort_order: ("ASCENDING" | "DESCENDING")?
|
512
516
|
},
|
513
517
|
],
|
518
|
+
?billing_view_arn: ::String,
|
514
519
|
?max_results: ::Integer,
|
515
520
|
?next_page_token: ::String
|
516
521
|
) -> _GetCostCategoriesResponseSuccess
|
@@ -553,6 +558,7 @@ module Aws
|
|
553
558
|
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
|
554
559
|
}?
|
555
560
|
},
|
561
|
+
?billing_view_arn: ::String,
|
556
562
|
?prediction_interval_level: ::Integer
|
557
563
|
) -> _GetCostForecastResponseSuccess
|
558
564
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostForecastResponseSuccess
|
@@ -603,6 +609,7 @@ module Aws
|
|
603
609
|
sort_order: ("ASCENDING" | "DESCENDING")?
|
604
610
|
},
|
605
611
|
],
|
612
|
+
?billing_view_arn: ::String,
|
606
613
|
?max_results: ::Integer,
|
607
614
|
?next_page_token: ::String
|
608
615
|
) -> _GetDimensionValuesResponseSuccess
|
@@ -1045,6 +1052,7 @@ module Aws
|
|
1045
1052
|
sort_order: ("ASCENDING" | "DESCENDING")?
|
1046
1053
|
},
|
1047
1054
|
],
|
1055
|
+
?billing_view_arn: ::String,
|
1048
1056
|
?max_results: ::Integer,
|
1049
1057
|
?next_page_token: ::String
|
1050
1058
|
) -> _GetTagsResponseSuccess
|
@@ -1087,6 +1095,7 @@ module Aws
|
|
1087
1095
|
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
|
1088
1096
|
}?
|
1089
1097
|
},
|
1098
|
+
?billing_view_arn: ::String,
|
1090
1099
|
?prediction_interval_level: ::Integer
|
1091
1100
|
) -> _GetUsageForecastResponseSuccess
|
1092
1101
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageForecastResponseSuccess
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
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.119.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:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|