aws-sdk-costexplorer 1.52.0 → 1.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +30 -25
- data/lib/aws-sdk-costexplorer/client_api.rb +1 -0
- data/lib/aws-sdk-costexplorer/types.rb +14 -9
- 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: 1ec99f216bc9f5af64464ab84da2d1ca262c868c4a8ee69b58df0dfe6df5e659
|
4
|
+
data.tar.gz: 939be045df3f746fa3a8dd422900d0b9ade8f5563d681d10d9287776711462c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22a17a9e97740db696ca45bbfb9fe0e2b96340f9eab771179e94d025da005ed58f48690a1d4be31b8ee03c616717f8fb0501ec230f54e2a8f04922f278842986
|
7
|
+
data.tar.gz: d51109d6cdaacbdc4affa6b7c53392ba17d0be17e4c3c701ac3ec7207ce312c1b40c3ca41c3c110c995e8f9164cebba394c23d0d0229e93b3eea51e405a90803
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
@@ -884,13 +884,17 @@ module Aws::CostExplorer
|
|
884
884
|
# `UsageQuantity`, that you want the request to return. You can also
|
885
885
|
# filter and group your data by various dimensions, such as `SERVICE` or
|
886
886
|
# `AZ`, in a specific time range. For a complete list of valid
|
887
|
-
# dimensions, see the [GetDimensionValues][1] operation.
|
888
|
-
# in an organization in AWS Organizations have access to all
|
889
|
-
# accounts.
|
887
|
+
# dimensions, see the [GetDimensionValues][1] operation. Management
|
888
|
+
# account in an organization in AWS Organizations have access to all
|
889
|
+
# member accounts.
|
890
|
+
#
|
891
|
+
# For information about filter limitations, see [Quotas and
|
892
|
+
# restrictions][2] in the *Billing and Cost Management User Guide*.
|
890
893
|
#
|
891
894
|
#
|
892
895
|
#
|
893
896
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html
|
897
|
+
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html
|
894
898
|
#
|
895
899
|
# @option params [required, Types::DateInterval] :time_period
|
896
900
|
# Sets the start and end dates for retrieving AWS costs. The start date
|
@@ -1045,8 +1049,8 @@ module Aws::CostExplorer
|
|
1045
1049
|
# return. You can also filter and group your data by various dimensions,
|
1046
1050
|
# such as `SERVICE` or `AZ`, in a specific time range. For a complete
|
1047
1051
|
# list of valid dimensions, see the [GetDimensionValues][1] operation.
|
1048
|
-
#
|
1049
|
-
# all member accounts. This API is currently available for the Amazon
|
1052
|
+
# Management account in an organization in AWS Organizations have access
|
1053
|
+
# to all member accounts. This API is currently available for the Amazon
|
1050
1054
|
# Elastic Compute Cloud – Compute service only.
|
1051
1055
|
#
|
1052
1056
|
# <note markdown="1"> This is an opt-in only feature. You can enable this feature from the
|
@@ -1498,11 +1502,11 @@ module Aws::CostExplorer
|
|
1498
1502
|
# Retrieves the reservation coverage for your account. This enables you
|
1499
1503
|
# to see how much of your Amazon Elastic Compute Cloud, Amazon
|
1500
1504
|
# ElastiCache, Amazon Relational Database Service, or Amazon Redshift
|
1501
|
-
# usage is covered by a reservation. An organization's
|
1502
|
-
# can see the coverage of the associated member accounts. This
|
1503
|
-
# dimensions, Cost Categories, and nested expressions. For any
|
1504
|
-
# period, you can filter data about reservation usage by the
|
1505
|
-
# dimensions:
|
1505
|
+
# usage is covered by a reservation. An organization's management
|
1506
|
+
# account can see the coverage of the associated member accounts. This
|
1507
|
+
# supports dimensions, Cost Categories, and nested expressions. For any
|
1508
|
+
# time period, you can filter data about reservation usage by the
|
1509
|
+
# following dimensions:
|
1506
1510
|
#
|
1507
1511
|
# * AZ
|
1508
1512
|
#
|
@@ -1756,8 +1760,8 @@ module Aws::CostExplorer
|
|
1756
1760
|
#
|
1757
1761
|
# @option params [String] :account_scope
|
1758
1762
|
# The account scope that you want your recommendations for. Amazon Web
|
1759
|
-
# Services calculates recommendations including the
|
1760
|
-
# member accounts if the value is set to `PAYER`. If the value is
|
1763
|
+
# Services calculates recommendations including the management account
|
1764
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
1761
1765
|
# `LINKED`, recommendations are calculated for individual member
|
1762
1766
|
# accounts only.
|
1763
1767
|
#
|
@@ -1884,11 +1888,11 @@ module Aws::CostExplorer
|
|
1884
1888
|
req.send_request(options)
|
1885
1889
|
end
|
1886
1890
|
|
1887
|
-
# Retrieves the reservation utilization for your account.
|
1888
|
-
# in an organization have access to member accounts. You can
|
1889
|
-
# by dimensions in a time period. You can use
|
1890
|
-
# determine the possible dimension values.
|
1891
|
-
# by `SUBSCRIPTION_ID`.
|
1891
|
+
# Retrieves the reservation utilization for your account. Management
|
1892
|
+
# account in an organization have access to member accounts. You can
|
1893
|
+
# filter data by dimensions in a time period. You can use
|
1894
|
+
# `GetDimensionValues` to determine the possible dimension values.
|
1895
|
+
# Currently, you can group only by `SUBSCRIPTION_ID`.
|
1892
1896
|
#
|
1893
1897
|
# @option params [required, Types::DateInterval] :time_period
|
1894
1898
|
# Sets the start and end dates for retrieving RI utilization. The start
|
@@ -2276,10 +2280,10 @@ module Aws::CostExplorer
|
|
2276
2280
|
|
2277
2281
|
# Retrieves the Savings Plans covered for your account. This enables you
|
2278
2282
|
# to see how much of your cost is covered by a Savings Plan. An
|
2279
|
-
# organization’s
|
2280
|
-
# member accounts. This supports dimensions, Cost Categories,
|
2281
|
-
# expressions. For any time period, you can filter data for
|
2282
|
-
# Plans usage with the following dimensions:
|
2283
|
+
# organization’s management account can see the coverage of the
|
2284
|
+
# associated member accounts. This supports dimensions, Cost Categories,
|
2285
|
+
# and nested expressions. For any time period, you can filter data for
|
2286
|
+
# Savings Plans usage with the following dimensions:
|
2283
2287
|
#
|
2284
2288
|
# * `LINKED_ACCOUNT`
|
2285
2289
|
#
|
@@ -2437,8 +2441,8 @@ module Aws::CostExplorer
|
|
2437
2441
|
#
|
2438
2442
|
# @option params [String] :account_scope
|
2439
2443
|
# The account scope that you want your recommendations for. Amazon Web
|
2440
|
-
# Services calculates recommendations including the
|
2441
|
-
# member accounts if the value is set to `PAYER`. If the value is
|
2444
|
+
# Services calculates recommendations including the management account
|
2445
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
2442
2446
|
# `LINKED`, recommendations are calculated for individual member
|
2443
2447
|
# accounts only.
|
2444
2448
|
#
|
@@ -2520,6 +2524,7 @@ module Aws::CostExplorer
|
|
2520
2524
|
#
|
2521
2525
|
# resp.metadata.recommendation_id #=> String
|
2522
2526
|
# resp.metadata.generation_timestamp #=> String
|
2527
|
+
# resp.metadata.additional_metadata #=> String
|
2523
2528
|
# resp.savings_plans_purchase_recommendation.account_scope #=> String, one of "PAYER", "LINKED"
|
2524
2529
|
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP"
|
2525
2530
|
# resp.savings_plans_purchase_recommendation.term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
@@ -2567,7 +2572,7 @@ module Aws::CostExplorer
|
|
2567
2572
|
end
|
2568
2573
|
|
2569
2574
|
# Retrieves the Savings Plans utilization for your account across date
|
2570
|
-
# ranges with daily or monthly granularity.
|
2575
|
+
# ranges with daily or monthly granularity. Management account in an
|
2571
2576
|
# organization have access to member accounts. You can use
|
2572
2577
|
# `GetDimensionValues` in `SAVINGS_PLANS` to determine the possible
|
2573
2578
|
# dimension values.
|
@@ -3268,7 +3273,7 @@ module Aws::CostExplorer
|
|
3268
3273
|
params: params,
|
3269
3274
|
config: config)
|
3270
3275
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
3271
|
-
context[:gem_version] = '1.
|
3276
|
+
context[:gem_version] = '1.53.0'
|
3272
3277
|
Seahorse::Client::Request.new(handlers, context)
|
3273
3278
|
end
|
3274
3279
|
|
@@ -995,6 +995,7 @@ module Aws::CostExplorer
|
|
995
995
|
|
996
996
|
SavingsPlansPurchaseRecommendationMetadata.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "RecommendationId"))
|
997
997
|
SavingsPlansPurchaseRecommendationMetadata.add_member(:generation_timestamp, Shapes::ShapeRef.new(shape: GenericString, location_name: "GenerationTimestamp"))
|
998
|
+
SavingsPlansPurchaseRecommendationMetadata.add_member(:additional_metadata, Shapes::ShapeRef.new(shape: GenericString, location_name: "AdditionalMetadata"))
|
998
999
|
SavingsPlansPurchaseRecommendationMetadata.struct_class = Types::SavingsPlansPurchaseRecommendationMetadata
|
999
1000
|
|
1000
1001
|
SavingsPlansPurchaseRecommendationSummary.add_member(:estimated_roi, Shapes::ShapeRef.new(shape: GenericString, location_name: "EstimatedROI"))
|
@@ -2848,8 +2848,8 @@ module Aws::CostExplorer
|
|
2848
2848
|
#
|
2849
2849
|
# @!attribute [rw] account_scope
|
2850
2850
|
# The account scope that you want your recommendations for. Amazon Web
|
2851
|
-
# Services calculates recommendations including the
|
2852
|
-
# member accounts if the value is set to `PAYER`. If the value is
|
2851
|
+
# Services calculates recommendations including the management account
|
2852
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
2853
2853
|
# `LINKED`, recommendations are calculated for individual member
|
2854
2854
|
# accounts only.
|
2855
2855
|
# @return [String]
|
@@ -3438,8 +3438,8 @@ module Aws::CostExplorer
|
|
3438
3438
|
#
|
3439
3439
|
# @!attribute [rw] account_scope
|
3440
3440
|
# The account scope that you want your recommendations for. Amazon Web
|
3441
|
-
# Services calculates recommendations including the
|
3442
|
-
# member accounts if the value is set to `PAYER`. If the value is
|
3441
|
+
# Services calculates recommendations including the management account
|
3442
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
3443
3443
|
# `LINKED`, recommendations are calculated for individual member
|
3444
3444
|
# accounts only.
|
3445
3445
|
# @return [String]
|
@@ -5001,8 +5001,8 @@ module Aws::CostExplorer
|
|
5001
5001
|
#
|
5002
5002
|
# @!attribute [rw] account_scope
|
5003
5003
|
# The account scope that you want your recommendations for. Amazon Web
|
5004
|
-
# Services calculates recommendations including the
|
5005
|
-
# member accounts if the value is set to `PAYER`. If the value is
|
5004
|
+
# Services calculates recommendations including the management account
|
5005
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
5006
5006
|
# `LINKED`, recommendations are calculated for individual member
|
5007
5007
|
# accounts only.
|
5008
5008
|
# @return [String]
|
@@ -5161,11 +5161,16 @@ module Aws::CostExplorer
|
|
5161
5161
|
# The timestamp showing when the recommendations were generated.
|
5162
5162
|
# @return [String]
|
5163
5163
|
#
|
5164
|
+
# @!attribute [rw] additional_metadata
|
5165
|
+
# Additional metadata that may be applicable to the recommendation.
|
5166
|
+
# @return [String]
|
5167
|
+
#
|
5164
5168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlansPurchaseRecommendationMetadata AWS API Documentation
|
5165
5169
|
#
|
5166
5170
|
class SavingsPlansPurchaseRecommendationMetadata < Struct.new(
|
5167
5171
|
:recommendation_id,
|
5168
|
-
:generation_timestamp
|
5172
|
+
:generation_timestamp,
|
5173
|
+
:additional_metadata)
|
5169
5174
|
SENSITIVE = []
|
5170
5175
|
include Aws::Structure
|
5171
5176
|
end
|
@@ -5367,8 +5372,8 @@ module Aws::CostExplorer
|
|
5367
5372
|
end
|
5368
5373
|
|
5369
5374
|
# A single daily or monthly Savings Plans utilization rate, and details
|
5370
|
-
# for your account. A
|
5371
|
-
# member accounts. You can use `GetDimensionValues` to determine the
|
5375
|
+
# for your account. A management account in an organization have access
|
5376
|
+
# to member accounts. You can use `GetDimensionValues` to determine the
|
5372
5377
|
# possible dimension values.
|
5373
5378
|
#
|
5374
5379
|
# @!attribute [rw] savings_plan_arn
|
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.53.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: 2020-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|