aws-sdk-costexplorer 1.168.0 → 1.170.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 +111 -46
- data/lib/aws-sdk-costexplorer/types.rb +99 -36
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb37d608736f4c067f8afbe2b85330b2bbe1b1c5623e5585c284dc7ff9dc6c84
|
|
4
|
+
data.tar.gz: 74beda5c3ffc8e033a4989a2ab762d0f3394ecf9bc663b54ed84c0042fe6e7cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbb53cf6ebe2693edb950c9e21d10a938894ef2845bcd62bb6936e03ed71e0e9f9d487f496b0bf6a00d9ca763e482f9f5ea1f2f19b1401c2b105421f1477b862
|
|
7
|
+
data.tar.gz: 990f0d2627d96e9c10efe373123a7cb266c22f1dff42cda0b3f921ef48a3f0ccaa77691db9ff0540dfe0658be4a4221a0e98bdc4b80d271d5b5d4a8e4c32167b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.170.0 (2026-11-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds five standardized cost metrics to the Cost Explorer API BilledCost, ListCost, ContractedCost, PublicEquivalentBilledCost and PublicOnDemandCost. Use these metrics with GetCostAndUsage and GetCostAndUsageWithResources. The metrics return values for usage from November 2026 onwards.
|
|
8
|
+
|
|
9
|
+
1.169.0 (2026-11-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.168.0 (2026-11-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.170.0
|
|
@@ -1473,8 +1473,14 @@ module Aws::CostExplorer
|
|
|
1473
1473
|
# appear on some line items in my bill?][1].
|
|
1474
1474
|
#
|
|
1475
1475
|
# Valid values are `AmortizedCost`, `BlendedCost`, `NetAmortizedCost`,
|
|
1476
|
-
# `NetUnblendedCost`, `NormalizedUsageAmount`, `UnblendedCost`,
|
|
1477
|
-
# `UsageQuantity
|
|
1476
|
+
# `NetUnblendedCost`, `NormalizedUsageAmount`, `UnblendedCost`,
|
|
1477
|
+
# `UsageQuantity`, `BilledCost`, `ContractedCost`, `ListCost`,
|
|
1478
|
+
# `PublicEquivalentBilledCost`, and `PublicOnDemandCost`.
|
|
1479
|
+
#
|
|
1480
|
+
# `BilledCost`, `ContractedCost`, `ListCost`,
|
|
1481
|
+
# `PublicEquivalentBilledCost`, and `PublicOnDemandCost` are cost
|
|
1482
|
+
# analytics metrics. They use the same definitions as the cost analytics
|
|
1483
|
+
# columns in Cost and Usage Report (CUR) 2.0.
|
|
1478
1484
|
#
|
|
1479
1485
|
# <note markdown="1"> If you return the `UsageQuantity` metric, the service aggregates all
|
|
1480
1486
|
# usage numbers without taking into account the units. For example, if
|
|
@@ -1954,8 +1960,14 @@ module Aws::CostExplorer
|
|
|
1954
1960
|
# appear on some line items in my bill?][1].
|
|
1955
1961
|
#
|
|
1956
1962
|
# Valid values are `AmortizedCost`, `BlendedCost`, `NetAmortizedCost`,
|
|
1957
|
-
# `NetUnblendedCost`, `NormalizedUsageAmount`, `UnblendedCost`,
|
|
1958
|
-
# `UsageQuantity
|
|
1963
|
+
# `NetUnblendedCost`, `NormalizedUsageAmount`, `UnblendedCost`,
|
|
1964
|
+
# `UsageQuantity`, `BilledCost`, `ContractedCost`, `ListCost`,
|
|
1965
|
+
# `PublicEquivalentBilledCost`, and `PublicOnDemandCost`.
|
|
1966
|
+
#
|
|
1967
|
+
# `BilledCost`, `ContractedCost`, `ListCost`,
|
|
1968
|
+
# `PublicEquivalentBilledCost`, and `PublicOnDemandCost` are cost
|
|
1969
|
+
# analytics metrics. They use the same definitions as the cost analytics
|
|
1970
|
+
# columns in Cost and Usage Report (CUR) 2.0.
|
|
1959
1971
|
#
|
|
1960
1972
|
# <note markdown="1"> If you return the `UsageQuantity` metric, the service aggregates all
|
|
1961
1973
|
# usage numbers without taking the units into account. For example, if
|
|
@@ -2232,6 +2244,16 @@ module Aws::CostExplorer
|
|
|
2232
2244
|
#
|
|
2233
2245
|
# * `NormalizedUsageAmount`
|
|
2234
2246
|
#
|
|
2247
|
+
# * `BilledCost`
|
|
2248
|
+
#
|
|
2249
|
+
# * `ContractedCost`
|
|
2250
|
+
#
|
|
2251
|
+
# * `ListCost`
|
|
2252
|
+
#
|
|
2253
|
+
# * `PublicEquivalentBilledCost`
|
|
2254
|
+
#
|
|
2255
|
+
# * `PublicOnDemandCost`
|
|
2256
|
+
#
|
|
2235
2257
|
# The supported key values for the `SortOrder` value are `ASCENDING` and
|
|
2236
2258
|
# `DESCENDING`.
|
|
2237
2259
|
#
|
|
@@ -2714,7 +2736,7 @@ module Aws::CostExplorer
|
|
|
2714
2736
|
# start: "YearMonthDay", # required
|
|
2715
2737
|
# end: "YearMonthDay", # required
|
|
2716
2738
|
# },
|
|
2717
|
-
# metric: "BLENDED_COST", # required, accepts BLENDED_COST, UNBLENDED_COST, AMORTIZED_COST, NET_UNBLENDED_COST, NET_AMORTIZED_COST, USAGE_QUANTITY, NORMALIZED_USAGE_AMOUNT
|
|
2739
|
+
# metric: "BLENDED_COST", # required, accepts BLENDED_COST, UNBLENDED_COST, AMORTIZED_COST, NET_UNBLENDED_COST, NET_AMORTIZED_COST, USAGE_QUANTITY, NORMALIZED_USAGE_AMOUNT, LIST_COST, CONTRACTED_COST, BILLED_COST, PUBLIC_EQUIVALENT_BILLED_COST, PUBLIC_ON_DEMAND_COST
|
|
2718
2740
|
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
2719
2741
|
# filter: {
|
|
2720
2742
|
# or: [
|
|
@@ -3095,6 +3117,16 @@ module Aws::CostExplorer
|
|
|
3095
3117
|
#
|
|
3096
3118
|
# * `NormalizedUsageAmount`
|
|
3097
3119
|
#
|
|
3120
|
+
# * `BilledCost`
|
|
3121
|
+
#
|
|
3122
|
+
# * `ContractedCost`
|
|
3123
|
+
#
|
|
3124
|
+
# * `ListCost`
|
|
3125
|
+
#
|
|
3126
|
+
# * `PublicEquivalentBilledCost`
|
|
3127
|
+
#
|
|
3128
|
+
# * `PublicOnDemandCost`
|
|
3129
|
+
#
|
|
3098
3130
|
# The supported values for the `SortOrder` key are `ASCENDING` or
|
|
3099
3131
|
# `DESCENDING`.
|
|
3100
3132
|
#
|
|
@@ -3208,12 +3240,13 @@ module Aws::CostExplorer
|
|
|
3208
3240
|
|
|
3209
3241
|
# Retrieves the reservation coverage for your account, which you can use
|
|
3210
3242
|
# to see how much of your Amazon Elastic Compute Cloud, Amazon
|
|
3211
|
-
#
|
|
3212
|
-
#
|
|
3213
|
-
#
|
|
3214
|
-
#
|
|
3215
|
-
#
|
|
3216
|
-
#
|
|
3243
|
+
# Relational Database Service, Amazon ElastiCache, Amazon MemoryDB,
|
|
3244
|
+
# Amazon Redshift, Amazon Elasticsearch Service, or Amazon OpenSearch
|
|
3245
|
+
# Service usage is covered by a reservation. An organization's
|
|
3246
|
+
# management account can see the coverage of the associated member
|
|
3247
|
+
# accounts. This supports dimensions, cost categories, and nested
|
|
3248
|
+
# expressions. For any time period, you can filter data about
|
|
3249
|
+
# reservation usage by the following dimensions:
|
|
3217
3250
|
#
|
|
3218
3251
|
# * AZ
|
|
3219
3252
|
#
|
|
@@ -3225,9 +3258,9 @@ module Aws::CostExplorer
|
|
|
3225
3258
|
#
|
|
3226
3259
|
# * INSTANCE\_TYPE
|
|
3227
3260
|
#
|
|
3228
|
-
# *
|
|
3261
|
+
# * INSTANCE\_TYPE\_FAMILY
|
|
3229
3262
|
#
|
|
3230
|
-
# *
|
|
3263
|
+
# * LINKED\_ACCOUNT
|
|
3231
3264
|
#
|
|
3232
3265
|
# * PLATFORM
|
|
3233
3266
|
#
|
|
@@ -3239,6 +3272,9 @@ module Aws::CostExplorer
|
|
|
3239
3272
|
#
|
|
3240
3273
|
# * TENANCY
|
|
3241
3274
|
#
|
|
3275
|
+
# The dimensions that you can use depend on the service in the `SERVICE`
|
|
3276
|
+
# filter. For details, see `Filter`.
|
|
3277
|
+
#
|
|
3242
3278
|
# To determine valid values for a dimension, use the
|
|
3243
3279
|
# `GetDimensionValues` operation.
|
|
3244
3280
|
#
|
|
@@ -3252,29 +3288,27 @@ module Aws::CostExplorer
|
|
|
3252
3288
|
# not including `2017-05-01`.
|
|
3253
3289
|
#
|
|
3254
3290
|
# @option params [Array<Types::GroupDefinition>] :group_by
|
|
3255
|
-
# You can group the data by the following attributes
|
|
3256
|
-
#
|
|
3257
|
-
#
|
|
3258
|
-
#
|
|
3259
|
-
# * CACHE\_ENGINE
|
|
3291
|
+
# You can group the data by the following attributes. The attributes
|
|
3292
|
+
# that you can use depend on the service in the `SERVICE` filter. If you
|
|
3293
|
+
# don't provide a `SERVICE` filter, Cost Explorer uses Amazon Elastic
|
|
3294
|
+
# Compute Cloud - Compute.
|
|
3260
3295
|
#
|
|
3261
|
-
# *
|
|
3296
|
+
# * Amazon Elastic Compute Cloud - Compute: `AZ`, `INSTANCE_TYPE`,
|
|
3297
|
+
# `INSTANCE_TYPE_FAMILY`, `LINKED_ACCOUNT`, `PLATFORM`, `REGION`, and
|
|
3298
|
+
# `TENANCY`
|
|
3262
3299
|
#
|
|
3263
|
-
# *
|
|
3300
|
+
# * Amazon Relational Database Service: `AZ`, `DATABASE_ENGINE`,
|
|
3301
|
+
# `DEPLOYMENT_OPTION`, `INSTANCE_TYPE`, `LINKED_ACCOUNT`, and `REGION`
|
|
3264
3302
|
#
|
|
3265
|
-
# *
|
|
3303
|
+
# * Amazon ElastiCache and Amazon MemoryDB: `AZ`, `CACHE_ENGINE`,
|
|
3304
|
+
# `INSTANCE_TYPE`, `LINKED_ACCOUNT`, and `REGION`
|
|
3266
3305
|
#
|
|
3267
|
-
# *
|
|
3306
|
+
# * Amazon Redshift, Amazon Elasticsearch Service, and Amazon OpenSearch
|
|
3307
|
+
# Service: `AZ`, `INSTANCE_TYPE`, `LINKED_ACCOUNT`, and `REGION`
|
|
3268
3308
|
#
|
|
3269
|
-
#
|
|
3270
|
-
#
|
|
3271
|
-
#
|
|
3272
|
-
#
|
|
3273
|
-
# * PLATFORM
|
|
3274
|
-
#
|
|
3275
|
-
# * REGION
|
|
3276
|
-
#
|
|
3277
|
-
# * TENANCY
|
|
3309
|
+
# If you specify two `SERVICE` values, use only attributes that both
|
|
3310
|
+
# services support. You can specify up to four attributes, and only the
|
|
3311
|
+
# `DIMENSION` type is supported.
|
|
3278
3312
|
#
|
|
3279
3313
|
# @option params [String] :granularity
|
|
3280
3314
|
# The granularity of the Amazon Web Services cost data for the
|
|
@@ -3288,8 +3322,8 @@ module Aws::CostExplorer
|
|
|
3288
3322
|
# `MONTHLY` granularities.
|
|
3289
3323
|
#
|
|
3290
3324
|
# @option params [Types::Expression] :filter
|
|
3291
|
-
# Filters
|
|
3292
|
-
#
|
|
3325
|
+
# Filters coverage data by dimensions. You can filter by the following
|
|
3326
|
+
# dimensions:
|
|
3293
3327
|
#
|
|
3294
3328
|
# * AZ
|
|
3295
3329
|
#
|
|
@@ -3301,9 +3335,9 @@ module Aws::CostExplorer
|
|
|
3301
3335
|
#
|
|
3302
3336
|
# * INSTANCE\_TYPE
|
|
3303
3337
|
#
|
|
3304
|
-
# *
|
|
3338
|
+
# * INSTANCE\_TYPE\_FAMILY
|
|
3305
3339
|
#
|
|
3306
|
-
# *
|
|
3340
|
+
# * LINKED\_ACCOUNT
|
|
3307
3341
|
#
|
|
3308
3342
|
# * PLATFORM
|
|
3309
3343
|
#
|
|
@@ -3311,10 +3345,26 @@ module Aws::CostExplorer
|
|
|
3311
3345
|
#
|
|
3312
3346
|
# * SERVICE
|
|
3313
3347
|
#
|
|
3348
|
+
# <note markdown="1"> Supported values for `SERVICE` are Amazon Elastic Compute Cloud -
|
|
3349
|
+
# Compute, Amazon Relational Database Service, Amazon ElastiCache,
|
|
3350
|
+
# Amazon MemoryDB, Amazon Redshift, Amazon Elasticsearch Service, and
|
|
3351
|
+
# Amazon OpenSearch Service. You can specify up to two `SERVICE`
|
|
3352
|
+
# values.
|
|
3353
|
+
#
|
|
3354
|
+
# </note>
|
|
3355
|
+
#
|
|
3314
3356
|
# * TAG
|
|
3315
3357
|
#
|
|
3316
3358
|
# * TENANCY
|
|
3317
3359
|
#
|
|
3360
|
+
# The dimensions that you can use depend on the service in the `SERVICE`
|
|
3361
|
+
# filter. `CACHE_ENGINE` applies only to Amazon ElastiCache and Amazon
|
|
3362
|
+
# MemoryDB. `DATABASE_ENGINE` and `DEPLOYMENT_OPTION` apply only to
|
|
3363
|
+
# Amazon Relational Database Service. `INSTANCE_TYPE_FAMILY`,
|
|
3364
|
+
# `PLATFORM`, and `TENANCY` apply only to Amazon Elastic Compute Cloud -
|
|
3365
|
+
# Compute. If you specify two `SERVICE` values, use only dimensions that
|
|
3366
|
+
# both services support.
|
|
3367
|
+
#
|
|
3318
3368
|
# `GetReservationCoverage` uses the same [Expression][1] object as the
|
|
3319
3369
|
# other operations, but only `AND` is supported among each dimension.
|
|
3320
3370
|
# You can nest only one level deep. If there are multiple values for a
|
|
@@ -3333,7 +3383,10 @@ module Aws::CostExplorer
|
|
|
3333
3383
|
# The measurement that you want your reservation coverage reported in.
|
|
3334
3384
|
#
|
|
3335
3385
|
# Valid values are `Hour`, `Unit`, and `Cost`. You can use multiple
|
|
3336
|
-
# values in a request.
|
|
3386
|
+
# values in a request. `Hour` returns `CoverageHours`, `Unit` returns
|
|
3387
|
+
# `CoverageNormalizedUnits`, and `Cost` returns `CoverageCost`. `Unit`
|
|
3388
|
+
# is supported only for Amazon Elastic Compute Cloud - Compute. If you
|
|
3389
|
+
# don't specify `Metrics`, the response includes only `CoverageHours`.
|
|
3337
3390
|
#
|
|
3338
3391
|
# @option params [String] :next_page_token
|
|
3339
3392
|
# The token to retrieve the next set of results. Amazon Web Services
|
|
@@ -3822,15 +3875,11 @@ module Aws::CostExplorer
|
|
|
3822
3875
|
#
|
|
3823
3876
|
# * AZ
|
|
3824
3877
|
#
|
|
3825
|
-
# * CACHE\_ENGINE
|
|
3826
|
-
#
|
|
3827
|
-
# * DEPLOYMENT\_OPTION
|
|
3828
|
-
#
|
|
3829
3878
|
# * INSTANCE\_TYPE
|
|
3830
3879
|
#
|
|
3831
|
-
# *
|
|
3880
|
+
# * INSTANCE\_TYPE\_FAMILY
|
|
3832
3881
|
#
|
|
3833
|
-
# *
|
|
3882
|
+
# * LINKED\_ACCOUNT
|
|
3834
3883
|
#
|
|
3835
3884
|
# * PLATFORM
|
|
3836
3885
|
#
|
|
@@ -3841,13 +3890,19 @@ module Aws::CostExplorer
|
|
|
3841
3890
|
# <note markdown="1"> If not specified, the `SERVICE` filter defaults to Amazon Elastic
|
|
3842
3891
|
# Compute Cloud - Compute. Supported values for `SERVICE` are Amazon
|
|
3843
3892
|
# Elastic Compute Cloud - Compute, Amazon Relational Database Service,
|
|
3844
|
-
# Amazon ElastiCache, Amazon Redshift,
|
|
3845
|
-
# Service
|
|
3893
|
+
# Amazon ElastiCache, Amazon MemoryDB, Amazon Redshift, Amazon
|
|
3894
|
+
# Elasticsearch Service, and Amazon OpenSearch Service.
|
|
3846
3895
|
#
|
|
3847
3896
|
# </note>
|
|
3848
3897
|
#
|
|
3849
3898
|
# * SCOPE
|
|
3850
3899
|
#
|
|
3900
|
+
# * SUBSCRIPTION\_ID
|
|
3901
|
+
#
|
|
3902
|
+
# <note markdown="1"> Values for `SUBSCRIPTION_ID` must contain only digits.
|
|
3903
|
+
#
|
|
3904
|
+
# </note>
|
|
3905
|
+
#
|
|
3851
3906
|
# * TENANCY
|
|
3852
3907
|
#
|
|
3853
3908
|
# `GetReservationUtilization` uses the same [Expression][1] object as
|
|
@@ -5187,6 +5242,16 @@ module Aws::CostExplorer
|
|
|
5187
5242
|
#
|
|
5188
5243
|
# * `NormalizedUsageAmount`
|
|
5189
5244
|
#
|
|
5245
|
+
# * `BilledCost`
|
|
5246
|
+
#
|
|
5247
|
+
# * `ContractedCost`
|
|
5248
|
+
#
|
|
5249
|
+
# * `ListCost`
|
|
5250
|
+
#
|
|
5251
|
+
# * `PublicEquivalentBilledCost`
|
|
5252
|
+
#
|
|
5253
|
+
# * `PublicOnDemandCost`
|
|
5254
|
+
#
|
|
5190
5255
|
# The supported values for `SortOrder` are `ASCENDING` and `DESCENDING`.
|
|
5191
5256
|
#
|
|
5192
5257
|
# When you use `SortBy`, `NextPageToken` and `SearchString` aren't
|
|
@@ -5399,7 +5464,7 @@ module Aws::CostExplorer
|
|
|
5399
5464
|
# start: "YearMonthDay", # required
|
|
5400
5465
|
# end: "YearMonthDay", # required
|
|
5401
5466
|
# },
|
|
5402
|
-
# metric: "BLENDED_COST", # required, accepts BLENDED_COST, UNBLENDED_COST, AMORTIZED_COST, NET_UNBLENDED_COST, NET_AMORTIZED_COST, USAGE_QUANTITY, NORMALIZED_USAGE_AMOUNT
|
|
5467
|
+
# metric: "BLENDED_COST", # required, accepts BLENDED_COST, UNBLENDED_COST, AMORTIZED_COST, NET_UNBLENDED_COST, NET_AMORTIZED_COST, USAGE_QUANTITY, NORMALIZED_USAGE_AMOUNT, LIST_COST, CONTRACTED_COST, BILLED_COST, PUBLIC_EQUIVALENT_BILLED_COST, PUBLIC_ON_DEMAND_COST
|
|
5403
5468
|
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
5404
5469
|
# filter: {
|
|
5405
5470
|
# or: [
|
|
@@ -6465,7 +6530,7 @@ module Aws::CostExplorer
|
|
|
6465
6530
|
tracer: tracer
|
|
6466
6531
|
)
|
|
6467
6532
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
|
6468
|
-
context[:gem_version] = '1.
|
|
6533
|
+
context[:gem_version] = '1.170.0'
|
|
6469
6534
|
Seahorse::Client::Request.new(handlers, context)
|
|
6470
6535
|
end
|
|
6471
6536
|
|
|
@@ -2923,8 +2923,14 @@ module Aws::CostExplorer
|
|
|
2923
2923
|
# annotation appear on some line items in my bill?][1].
|
|
2924
2924
|
#
|
|
2925
2925
|
# Valid values are `AmortizedCost`, `BlendedCost`, `NetAmortizedCost`,
|
|
2926
|
-
# `NetUnblendedCost`, `NormalizedUsageAmount`, `UnblendedCost`,
|
|
2927
|
-
# `UsageQuantity
|
|
2926
|
+
# `NetUnblendedCost`, `NormalizedUsageAmount`, `UnblendedCost`,
|
|
2927
|
+
# `UsageQuantity`, `BilledCost`, `ContractedCost`, `ListCost`,
|
|
2928
|
+
# `PublicEquivalentBilledCost`, and `PublicOnDemandCost`.
|
|
2929
|
+
#
|
|
2930
|
+
# `BilledCost`, `ContractedCost`, `ListCost`,
|
|
2931
|
+
# `PublicEquivalentBilledCost`, and `PublicOnDemandCost` are cost
|
|
2932
|
+
# analytics metrics. They use the same definitions as the cost
|
|
2933
|
+
# analytics columns in Cost and Usage Report (CUR) 2.0.
|
|
2928
2934
|
#
|
|
2929
2935
|
# <note markdown="1"> If you return the `UsageQuantity` metric, the service aggregates all
|
|
2930
2936
|
# usage numbers without taking into account the units. For example, if
|
|
@@ -3086,8 +3092,14 @@ module Aws::CostExplorer
|
|
|
3086
3092
|
# annotation appear on some line items in my bill?][1].
|
|
3087
3093
|
#
|
|
3088
3094
|
# Valid values are `AmortizedCost`, `BlendedCost`, `NetAmortizedCost`,
|
|
3089
|
-
# `NetUnblendedCost`, `NormalizedUsageAmount`, `UnblendedCost`,
|
|
3090
|
-
# `UsageQuantity
|
|
3095
|
+
# `NetUnblendedCost`, `NormalizedUsageAmount`, `UnblendedCost`,
|
|
3096
|
+
# `UsageQuantity`, `BilledCost`, `ContractedCost`, `ListCost`,
|
|
3097
|
+
# `PublicEquivalentBilledCost`, and `PublicOnDemandCost`.
|
|
3098
|
+
#
|
|
3099
|
+
# `BilledCost`, `ContractedCost`, `ListCost`,
|
|
3100
|
+
# `PublicEquivalentBilledCost`, and `PublicOnDemandCost` are cost
|
|
3101
|
+
# analytics metrics. They use the same definitions as the cost
|
|
3102
|
+
# analytics columns in Cost and Usage Report (CUR) 2.0.
|
|
3091
3103
|
#
|
|
3092
3104
|
# <note markdown="1"> If you return the `UsageQuantity` metric, the service aggregates all
|
|
3093
3105
|
# usage numbers without taking the units into account. For example, if
|
|
@@ -3321,6 +3333,16 @@ module Aws::CostExplorer
|
|
|
3321
3333
|
#
|
|
3322
3334
|
# * `NormalizedUsageAmount`
|
|
3323
3335
|
#
|
|
3336
|
+
# * `BilledCost`
|
|
3337
|
+
#
|
|
3338
|
+
# * `ContractedCost`
|
|
3339
|
+
#
|
|
3340
|
+
# * `ListCost`
|
|
3341
|
+
#
|
|
3342
|
+
# * `PublicEquivalentBilledCost`
|
|
3343
|
+
#
|
|
3344
|
+
# * `PublicOnDemandCost`
|
|
3345
|
+
#
|
|
3324
3346
|
# The supported key values for the `SortOrder` value are `ASCENDING`
|
|
3325
3347
|
# and `DESCENDING`.
|
|
3326
3348
|
#
|
|
@@ -4051,6 +4073,16 @@ module Aws::CostExplorer
|
|
|
4051
4073
|
#
|
|
4052
4074
|
# * `NormalizedUsageAmount`
|
|
4053
4075
|
#
|
|
4076
|
+
# * `BilledCost`
|
|
4077
|
+
#
|
|
4078
|
+
# * `ContractedCost`
|
|
4079
|
+
#
|
|
4080
|
+
# * `ListCost`
|
|
4081
|
+
#
|
|
4082
|
+
# * `PublicEquivalentBilledCost`
|
|
4083
|
+
#
|
|
4084
|
+
# * `PublicOnDemandCost`
|
|
4085
|
+
#
|
|
4054
4086
|
# The supported values for the `SortOrder` key are `ASCENDING` or
|
|
4055
4087
|
# `DESCENDING`.
|
|
4056
4088
|
#
|
|
@@ -4245,29 +4277,29 @@ module Aws::CostExplorer
|
|
|
4245
4277
|
# @return [Types::DateInterval]
|
|
4246
4278
|
#
|
|
4247
4279
|
# @!attribute [rw] group_by
|
|
4248
|
-
# You can group the data by the following attributes
|
|
4249
|
-
#
|
|
4250
|
-
#
|
|
4251
|
-
#
|
|
4252
|
-
# * CACHE\_ENGINE
|
|
4253
|
-
#
|
|
4254
|
-
# * DATABASE\_ENGINE
|
|
4280
|
+
# You can group the data by the following attributes. The attributes
|
|
4281
|
+
# that you can use depend on the service in the `SERVICE` filter. If
|
|
4282
|
+
# you don't provide a `SERVICE` filter, Cost Explorer uses Amazon
|
|
4283
|
+
# Elastic Compute Cloud - Compute.
|
|
4255
4284
|
#
|
|
4256
|
-
# *
|
|
4285
|
+
# * Amazon Elastic Compute Cloud - Compute: `AZ`, `INSTANCE_TYPE`,
|
|
4286
|
+
# `INSTANCE_TYPE_FAMILY`, `LINKED_ACCOUNT`, `PLATFORM`, `REGION`,
|
|
4287
|
+
# and `TENANCY`
|
|
4257
4288
|
#
|
|
4258
|
-
# *
|
|
4289
|
+
# * Amazon Relational Database Service: `AZ`, `DATABASE_ENGINE`,
|
|
4290
|
+
# `DEPLOYMENT_OPTION`, `INSTANCE_TYPE`, `LINKED_ACCOUNT`, and
|
|
4291
|
+
# `REGION`
|
|
4259
4292
|
#
|
|
4260
|
-
# *
|
|
4293
|
+
# * Amazon ElastiCache and Amazon MemoryDB: `AZ`, `CACHE_ENGINE`,
|
|
4294
|
+
# `INSTANCE_TYPE`, `LINKED_ACCOUNT`, and `REGION`
|
|
4261
4295
|
#
|
|
4262
|
-
# *
|
|
4263
|
-
#
|
|
4264
|
-
#
|
|
4265
|
-
#
|
|
4266
|
-
# * PLATFORM
|
|
4296
|
+
# * Amazon Redshift, Amazon Elasticsearch Service, and Amazon
|
|
4297
|
+
# OpenSearch Service: `AZ`, `INSTANCE_TYPE`, `LINKED_ACCOUNT`, and
|
|
4298
|
+
# `REGION`
|
|
4267
4299
|
#
|
|
4268
|
-
#
|
|
4269
|
-
#
|
|
4270
|
-
#
|
|
4300
|
+
# If you specify two `SERVICE` values, use only attributes that both
|
|
4301
|
+
# services support. You can specify up to four attributes, and only
|
|
4302
|
+
# the `DIMENSION` type is supported.
|
|
4271
4303
|
# @return [Array<Types::GroupDefinition>]
|
|
4272
4304
|
#
|
|
4273
4305
|
# @!attribute [rw] granularity
|
|
@@ -4283,8 +4315,8 @@ module Aws::CostExplorer
|
|
|
4283
4315
|
# @return [String]
|
|
4284
4316
|
#
|
|
4285
4317
|
# @!attribute [rw] filter
|
|
4286
|
-
# Filters
|
|
4287
|
-
#
|
|
4318
|
+
# Filters coverage data by dimensions. You can filter by the following
|
|
4319
|
+
# dimensions:
|
|
4288
4320
|
#
|
|
4289
4321
|
# * AZ
|
|
4290
4322
|
#
|
|
@@ -4296,9 +4328,9 @@ module Aws::CostExplorer
|
|
|
4296
4328
|
#
|
|
4297
4329
|
# * INSTANCE\_TYPE
|
|
4298
4330
|
#
|
|
4299
|
-
# *
|
|
4331
|
+
# * INSTANCE\_TYPE\_FAMILY
|
|
4300
4332
|
#
|
|
4301
|
-
# *
|
|
4333
|
+
# * LINKED\_ACCOUNT
|
|
4302
4334
|
#
|
|
4303
4335
|
# * PLATFORM
|
|
4304
4336
|
#
|
|
@@ -4306,10 +4338,26 @@ module Aws::CostExplorer
|
|
|
4306
4338
|
#
|
|
4307
4339
|
# * SERVICE
|
|
4308
4340
|
#
|
|
4341
|
+
# <note markdown="1"> Supported values for `SERVICE` are Amazon Elastic Compute Cloud -
|
|
4342
|
+
# Compute, Amazon Relational Database Service, Amazon ElastiCache,
|
|
4343
|
+
# Amazon MemoryDB, Amazon Redshift, Amazon Elasticsearch Service,
|
|
4344
|
+
# and Amazon OpenSearch Service. You can specify up to two `SERVICE`
|
|
4345
|
+
# values.
|
|
4346
|
+
#
|
|
4347
|
+
# </note>
|
|
4348
|
+
#
|
|
4309
4349
|
# * TAG
|
|
4310
4350
|
#
|
|
4311
4351
|
# * TENANCY
|
|
4312
4352
|
#
|
|
4353
|
+
# The dimensions that you can use depend on the service in the
|
|
4354
|
+
# `SERVICE` filter. `CACHE_ENGINE` applies only to Amazon ElastiCache
|
|
4355
|
+
# and Amazon MemoryDB. `DATABASE_ENGINE` and `DEPLOYMENT_OPTION` apply
|
|
4356
|
+
# only to Amazon Relational Database Service. `INSTANCE_TYPE_FAMILY`,
|
|
4357
|
+
# `PLATFORM`, and `TENANCY` apply only to Amazon Elastic Compute Cloud
|
|
4358
|
+
# - Compute. If you specify two `SERVICE` values, use only dimensions
|
|
4359
|
+
# that both services support.
|
|
4360
|
+
#
|
|
4313
4361
|
# `GetReservationCoverage` uses the same [Expression][1] object as the
|
|
4314
4362
|
# other operations, but only `AND` is supported among each dimension.
|
|
4315
4363
|
# You can nest only one level deep. If there are multiple values for a
|
|
@@ -4329,7 +4377,11 @@ module Aws::CostExplorer
|
|
|
4329
4377
|
# The measurement that you want your reservation coverage reported in.
|
|
4330
4378
|
#
|
|
4331
4379
|
# Valid values are `Hour`, `Unit`, and `Cost`. You can use multiple
|
|
4332
|
-
# values in a request.
|
|
4380
|
+
# values in a request. `Hour` returns `CoverageHours`, `Unit` returns
|
|
4381
|
+
# `CoverageNormalizedUnits`, and `Cost` returns `CoverageCost`. `Unit`
|
|
4382
|
+
# is supported only for Amazon Elastic Compute Cloud - Compute. If you
|
|
4383
|
+
# don't specify `Metrics`, the response includes only
|
|
4384
|
+
# `CoverageHours`.
|
|
4333
4385
|
# @return [Array<String>]
|
|
4334
4386
|
#
|
|
4335
4387
|
# @!attribute [rw] next_page_token
|
|
@@ -4628,15 +4680,11 @@ module Aws::CostExplorer
|
|
|
4628
4680
|
#
|
|
4629
4681
|
# * AZ
|
|
4630
4682
|
#
|
|
4631
|
-
# * CACHE\_ENGINE
|
|
4632
|
-
#
|
|
4633
|
-
# * DEPLOYMENT\_OPTION
|
|
4634
|
-
#
|
|
4635
4683
|
# * INSTANCE\_TYPE
|
|
4636
4684
|
#
|
|
4637
|
-
# *
|
|
4685
|
+
# * INSTANCE\_TYPE\_FAMILY
|
|
4638
4686
|
#
|
|
4639
|
-
# *
|
|
4687
|
+
# * LINKED\_ACCOUNT
|
|
4640
4688
|
#
|
|
4641
4689
|
# * PLATFORM
|
|
4642
4690
|
#
|
|
@@ -4647,14 +4695,19 @@ module Aws::CostExplorer
|
|
|
4647
4695
|
# <note markdown="1"> If not specified, the `SERVICE` filter defaults to Amazon Elastic
|
|
4648
4696
|
# Compute Cloud - Compute. Supported values for `SERVICE` are Amazon
|
|
4649
4697
|
# Elastic Compute Cloud - Compute, Amazon Relational Database
|
|
4650
|
-
# Service, Amazon ElastiCache, Amazon
|
|
4651
|
-
# Elasticsearch Service
|
|
4652
|
-
# not exceed "1".
|
|
4698
|
+
# Service, Amazon ElastiCache, Amazon MemoryDB, Amazon Redshift,
|
|
4699
|
+
# Amazon Elasticsearch Service, and Amazon OpenSearch Service.
|
|
4653
4700
|
#
|
|
4654
4701
|
# </note>
|
|
4655
4702
|
#
|
|
4656
4703
|
# * SCOPE
|
|
4657
4704
|
#
|
|
4705
|
+
# * SUBSCRIPTION\_ID
|
|
4706
|
+
#
|
|
4707
|
+
# <note markdown="1"> Values for `SUBSCRIPTION_ID` must contain only digits.
|
|
4708
|
+
#
|
|
4709
|
+
# </note>
|
|
4710
|
+
#
|
|
4658
4711
|
# * TENANCY
|
|
4659
4712
|
#
|
|
4660
4713
|
# `GetReservationUtilization` uses the same [Expression][1] object as
|
|
@@ -5513,6 +5566,16 @@ module Aws::CostExplorer
|
|
|
5513
5566
|
#
|
|
5514
5567
|
# * `NormalizedUsageAmount`
|
|
5515
5568
|
#
|
|
5569
|
+
# * `BilledCost`
|
|
5570
|
+
#
|
|
5571
|
+
# * `ContractedCost`
|
|
5572
|
+
#
|
|
5573
|
+
# * `ListCost`
|
|
5574
|
+
#
|
|
5575
|
+
# * `PublicEquivalentBilledCost`
|
|
5576
|
+
#
|
|
5577
|
+
# * `PublicOnDemandCost`
|
|
5578
|
+
#
|
|
5516
5579
|
# The supported values for `SortOrder` are `ASCENDING` and
|
|
5517
5580
|
# `DESCENDING`.
|
|
5518
5581
|
#
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -437,7 +437,7 @@ module Aws
|
|
|
437
437
|
start: ::String,
|
|
438
438
|
end: ::String
|
|
439
439
|
},
|
|
440
|
-
metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT"),
|
|
440
|
+
metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT" | "LIST_COST" | "CONTRACTED_COST" | "BILLED_COST" | "PUBLIC_EQUIVALENT_BILLED_COST" | "PUBLIC_ON_DEMAND_COST"),
|
|
441
441
|
granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
|
|
442
442
|
?filter: Params::expression,
|
|
443
443
|
?billing_view_arn: ::String,
|
|
@@ -722,7 +722,7 @@ module Aws
|
|
|
722
722
|
start: ::String,
|
|
723
723
|
end: ::String
|
|
724
724
|
},
|
|
725
|
-
metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT"),
|
|
725
|
+
metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT" | "LIST_COST" | "CONTRACTED_COST" | "BILLED_COST" | "PUBLIC_EQUIVALENT_BILLED_COST" | "PUBLIC_ON_DEMAND_COST"),
|
|
726
726
|
granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
|
|
727
727
|
?filter: Params::expression,
|
|
728
728
|
?billing_view_arn: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -662,7 +662,7 @@ module Aws::CostExplorer
|
|
|
662
662
|
|
|
663
663
|
class GetCostForecastRequest
|
|
664
664
|
attr_accessor time_period: Types::DateInterval
|
|
665
|
-
attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT")
|
|
665
|
+
attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT" | "LIST_COST" | "CONTRACTED_COST" | "BILLED_COST" | "PUBLIC_EQUIVALENT_BILLED_COST" | "PUBLIC_ON_DEMAND_COST")
|
|
666
666
|
attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
|
|
667
667
|
attr_accessor filter: Types::Expression
|
|
668
668
|
attr_accessor billing_view_arn: ::String
|
|
@@ -876,7 +876,7 @@ module Aws::CostExplorer
|
|
|
876
876
|
|
|
877
877
|
class GetUsageForecastRequest
|
|
878
878
|
attr_accessor time_period: Types::DateInterval
|
|
879
|
-
attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT")
|
|
879
|
+
attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT" | "LIST_COST" | "CONTRACTED_COST" | "BILLED_COST" | "PUBLIC_EQUIVALENT_BILLED_COST" | "PUBLIC_ON_DEMAND_COST")
|
|
880
880
|
attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
|
|
881
881
|
attr_accessor filter: Types::Expression
|
|
882
882
|
attr_accessor billing_view_arn: ::String
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-costexplorer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.170.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.270.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.270.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|