aws-sdk-costexplorer 1.115.0 → 1.117.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +218 -5
- data/lib/aws-sdk-costexplorer/client_api.rb +162 -1
- data/lib/aws-sdk-costexplorer/errors.rb +16 -0
- data/lib/aws-sdk-costexplorer/types.rb +495 -23
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/sig/client.rbs +65 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +123 -1
- metadata +2 -2
@@ -27,6 +27,7 @@ module Aws::CostExplorer
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {AnalysisNotFoundException}
|
30
31
|
# * {BackfillLimitExceededException}
|
31
32
|
# * {BillExpirationException}
|
32
33
|
# * {DataUnavailableException}
|
@@ -47,6 +48,21 @@ module Aws::CostExplorer
|
|
47
48
|
|
48
49
|
extend Aws::Errors::DynamicErrors
|
49
50
|
|
51
|
+
class AnalysisNotFoundException < ServiceError
|
52
|
+
|
53
|
+
# @param [Seahorse::Client::RequestContext] context
|
54
|
+
# @param [String] message
|
55
|
+
# @param [Aws::CostExplorer::Types::AnalysisNotFoundException] data
|
56
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
57
|
+
super(context, message, data)
|
58
|
+
end
|
59
|
+
|
60
|
+
# @return [String]
|
61
|
+
def message
|
62
|
+
@message || @data[:message]
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
50
66
|
class BackfillLimitExceededException < ServiceError
|
51
67
|
|
52
68
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -10,6 +10,78 @@
|
|
10
10
|
module Aws::CostExplorer
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Details about the analysis.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] savings_plans_purchase_analysis_details
|
16
|
+
# Details about the Savings Plans purchase analysis.
|
17
|
+
# @return [Types::SavingsPlansPurchaseAnalysisDetails]
|
18
|
+
#
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnalysisDetails AWS API Documentation
|
20
|
+
#
|
21
|
+
class AnalysisDetails < Struct.new(
|
22
|
+
:savings_plans_purchase_analysis_details)
|
23
|
+
SENSITIVE = []
|
24
|
+
include Aws::Structure
|
25
|
+
end
|
26
|
+
|
27
|
+
# The requested analysis can't be found.
|
28
|
+
#
|
29
|
+
# @!attribute [rw] message
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnalysisNotFoundException AWS API Documentation
|
33
|
+
#
|
34
|
+
class AnalysisNotFoundException < Struct.new(
|
35
|
+
:message)
|
36
|
+
SENSITIVE = []
|
37
|
+
include Aws::Structure
|
38
|
+
end
|
39
|
+
|
40
|
+
# A summary of the analysis.
|
41
|
+
#
|
42
|
+
# @!attribute [rw] estimated_completion_time
|
43
|
+
# The estimated time for when the analysis will complete.
|
44
|
+
# @return [String]
|
45
|
+
#
|
46
|
+
# @!attribute [rw] analysis_completion_time
|
47
|
+
# The completion time of the analysis.
|
48
|
+
# @return [String]
|
49
|
+
#
|
50
|
+
# @!attribute [rw] analysis_started_time
|
51
|
+
# The start time of the analysis.
|
52
|
+
# @return [String]
|
53
|
+
#
|
54
|
+
# @!attribute [rw] analysis_status
|
55
|
+
# The status of the analysis.
|
56
|
+
# @return [String]
|
57
|
+
#
|
58
|
+
# @!attribute [rw] error_code
|
59
|
+
# The error code used for the analysis.
|
60
|
+
# @return [String]
|
61
|
+
#
|
62
|
+
# @!attribute [rw] analysis_id
|
63
|
+
# The analysis ID that's associated with the commitment purchase
|
64
|
+
# analysis.
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @!attribute [rw] commitment_purchase_analysis_configuration
|
68
|
+
# The configuration for the commitment purchase analysis.
|
69
|
+
# @return [Types::CommitmentPurchaseAnalysisConfiguration]
|
70
|
+
#
|
71
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnalysisSummary AWS API Documentation
|
72
|
+
#
|
73
|
+
class AnalysisSummary < Struct.new(
|
74
|
+
:estimated_completion_time,
|
75
|
+
:analysis_completion_time,
|
76
|
+
:analysis_started_time,
|
77
|
+
:analysis_status,
|
78
|
+
:error_code,
|
79
|
+
:analysis_id,
|
80
|
+
:commitment_purchase_analysis_configuration)
|
81
|
+
SENSITIVE = []
|
82
|
+
include Aws::Structure
|
83
|
+
end
|
84
|
+
|
13
85
|
# An unusual cost pattern. This consists of the detailed metadata and
|
14
86
|
# the current status of the anomaly object.
|
15
87
|
#
|
@@ -26,8 +98,8 @@ module Aws::CostExplorer
|
|
26
98
|
# @return [String]
|
27
99
|
#
|
28
100
|
# @!attribute [rw] dimension_value
|
29
|
-
# The dimension for the anomaly (for example, an Amazon Web
|
30
|
-
#
|
101
|
+
# The dimension for the anomaly (for example, an Amazon Web Services
|
102
|
+
# service in a service monitor).
|
31
103
|
# @return [String]
|
32
104
|
#
|
33
105
|
# @!attribute [rw] root_causes
|
@@ -410,6 +482,20 @@ module Aws::CostExplorer
|
|
410
482
|
include Aws::Structure
|
411
483
|
end
|
412
484
|
|
485
|
+
# The configuration for the commitment purchase analysis.
|
486
|
+
#
|
487
|
+
# @!attribute [rw] savings_plans_purchase_analysis_configuration
|
488
|
+
# The configuration for the Savings Plans purchase analysis.
|
489
|
+
# @return [Types::SavingsPlansPurchaseAnalysisConfiguration]
|
490
|
+
#
|
491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CommitmentPurchaseAnalysisConfiguration AWS API Documentation
|
492
|
+
#
|
493
|
+
class CommitmentPurchaseAnalysisConfiguration < Struct.new(
|
494
|
+
:savings_plans_purchase_analysis_configuration)
|
495
|
+
SENSITIVE = []
|
496
|
+
include Aws::Structure
|
497
|
+
end
|
498
|
+
|
413
499
|
# The cost allocation tag structure. This includes detailed metadata for
|
414
500
|
# the `CostAllocationTag` object.
|
415
501
|
#
|
@@ -1933,7 +2019,8 @@ module Aws::CostExplorer
|
|
1933
2019
|
include Aws::Structure
|
1934
2020
|
end
|
1935
2021
|
|
1936
|
-
# A request to generate a recommendation is already in
|
2022
|
+
# A request to generate a recommendation or analysis is already in
|
2023
|
+
# progress.
|
1937
2024
|
#
|
1938
2025
|
# @!attribute [rw] message
|
1939
2026
|
# @return [String]
|
@@ -2188,6 +2275,67 @@ module Aws::CostExplorer
|
|
2188
2275
|
include Aws::Structure
|
2189
2276
|
end
|
2190
2277
|
|
2278
|
+
# @!attribute [rw] analysis_id
|
2279
|
+
# The analysis ID that's associated with the commitment purchase
|
2280
|
+
# analysis.
|
2281
|
+
# @return [String]
|
2282
|
+
#
|
2283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCommitmentPurchaseAnalysisRequest AWS API Documentation
|
2284
|
+
#
|
2285
|
+
class GetCommitmentPurchaseAnalysisRequest < Struct.new(
|
2286
|
+
:analysis_id)
|
2287
|
+
SENSITIVE = []
|
2288
|
+
include Aws::Structure
|
2289
|
+
end
|
2290
|
+
|
2291
|
+
# @!attribute [rw] estimated_completion_time
|
2292
|
+
# The estimated time for when the analysis will complete.
|
2293
|
+
# @return [String]
|
2294
|
+
#
|
2295
|
+
# @!attribute [rw] analysis_completion_time
|
2296
|
+
# The completion time of the analysis.
|
2297
|
+
# @return [String]
|
2298
|
+
#
|
2299
|
+
# @!attribute [rw] analysis_started_time
|
2300
|
+
# The start time of the analysis.
|
2301
|
+
# @return [String]
|
2302
|
+
#
|
2303
|
+
# @!attribute [rw] analysis_id
|
2304
|
+
# The analysis ID that's associated with the commitment purchase
|
2305
|
+
# analysis.
|
2306
|
+
# @return [String]
|
2307
|
+
#
|
2308
|
+
# @!attribute [rw] analysis_status
|
2309
|
+
# The status of the analysis.
|
2310
|
+
# @return [String]
|
2311
|
+
#
|
2312
|
+
# @!attribute [rw] error_code
|
2313
|
+
# The error code used for the analysis.
|
2314
|
+
# @return [String]
|
2315
|
+
#
|
2316
|
+
# @!attribute [rw] analysis_details
|
2317
|
+
# Details about the analysis.
|
2318
|
+
# @return [Types::AnalysisDetails]
|
2319
|
+
#
|
2320
|
+
# @!attribute [rw] commitment_purchase_analysis_configuration
|
2321
|
+
# The configuration for the commitment purchase analysis.
|
2322
|
+
# @return [Types::CommitmentPurchaseAnalysisConfiguration]
|
2323
|
+
#
|
2324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCommitmentPurchaseAnalysisResponse AWS API Documentation
|
2325
|
+
#
|
2326
|
+
class GetCommitmentPurchaseAnalysisResponse < Struct.new(
|
2327
|
+
:estimated_completion_time,
|
2328
|
+
:analysis_completion_time,
|
2329
|
+
:analysis_started_time,
|
2330
|
+
:analysis_id,
|
2331
|
+
:analysis_status,
|
2332
|
+
:error_code,
|
2333
|
+
:analysis_details,
|
2334
|
+
:commitment_purchase_analysis_configuration)
|
2335
|
+
SENSITIVE = []
|
2336
|
+
include Aws::Structure
|
2337
|
+
end
|
2338
|
+
|
2191
2339
|
# @!attribute [rw] time_period
|
2192
2340
|
# Sets the start date and end date for retrieving Amazon Web Services
|
2193
2341
|
# costs. The start date is inclusive, but the end date is exclusive.
|
@@ -2811,10 +2959,10 @@ module Aws::CostExplorer
|
|
2811
2959
|
# is with. Possible values are the following:
|
2812
2960
|
#
|
2813
2961
|
# \- Amazon Web Services(Amazon Web Services): The entity that sells
|
2814
|
-
# Amazon Web
|
2962
|
+
# Amazon Web Services services.
|
2815
2963
|
#
|
2816
2964
|
# \- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian
|
2817
|
-
# entity that's an acting reseller for Amazon Web
|
2965
|
+
# entity that's an acting reseller for Amazon Web Services services
|
2818
2966
|
# in India.
|
2819
2967
|
#
|
2820
2968
|
# \- Amazon Web Services Marketplace: The entity that supports the
|
@@ -3628,6 +3776,15 @@ module Aws::CostExplorer
|
|
3628
3776
|
#
|
3629
3777
|
# * SERVICE
|
3630
3778
|
#
|
3779
|
+
# <note markdown="1"> If not specified, the `SERVICE` filter defaults to Amazon Elastic
|
3780
|
+
# Compute Cloud - Compute. Supported values for `SERVICE` are Amazon
|
3781
|
+
# Elastic Compute Cloud - Compute, Amazon Relational Database
|
3782
|
+
# Service, Amazon ElastiCache, Amazon Redshift, and Amazon
|
3783
|
+
# Elasticsearch Service. The value for the `SERVICE` filter should
|
3784
|
+
# not exceed "1".
|
3785
|
+
#
|
3786
|
+
# </note>
|
3787
|
+
#
|
3631
3788
|
# * SCOPE
|
3632
3789
|
#
|
3633
3790
|
# * TENANCY
|
@@ -4809,6 +4966,51 @@ module Aws::CostExplorer
|
|
4809
4966
|
include Aws::Structure
|
4810
4967
|
end
|
4811
4968
|
|
4969
|
+
# @!attribute [rw] analysis_status
|
4970
|
+
# The status of the analysis.
|
4971
|
+
# @return [String]
|
4972
|
+
#
|
4973
|
+
# @!attribute [rw] next_page_token
|
4974
|
+
# The token to retrieve the next set of results.
|
4975
|
+
# @return [String]
|
4976
|
+
#
|
4977
|
+
# @!attribute [rw] page_size
|
4978
|
+
# The number of analyses that you want returned in a single response
|
4979
|
+
# object.
|
4980
|
+
# @return [Integer]
|
4981
|
+
#
|
4982
|
+
# @!attribute [rw] analysis_ids
|
4983
|
+
# The analysis IDs associated with the commitment purchase analyses.
|
4984
|
+
# @return [Array<String>]
|
4985
|
+
#
|
4986
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCommitmentPurchaseAnalysesRequest AWS API Documentation
|
4987
|
+
#
|
4988
|
+
class ListCommitmentPurchaseAnalysesRequest < Struct.new(
|
4989
|
+
:analysis_status,
|
4990
|
+
:next_page_token,
|
4991
|
+
:page_size,
|
4992
|
+
:analysis_ids)
|
4993
|
+
SENSITIVE = []
|
4994
|
+
include Aws::Structure
|
4995
|
+
end
|
4996
|
+
|
4997
|
+
# @!attribute [rw] analysis_summary_list
|
4998
|
+
# The list of analyses.
|
4999
|
+
# @return [Array<Types::AnalysisSummary>]
|
5000
|
+
#
|
5001
|
+
# @!attribute [rw] next_page_token
|
5002
|
+
# The token to retrieve the next set of results.
|
5003
|
+
# @return [String]
|
5004
|
+
#
|
5005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCommitmentPurchaseAnalysesResponse AWS API Documentation
|
5006
|
+
#
|
5007
|
+
class ListCommitmentPurchaseAnalysesResponse < Struct.new(
|
5008
|
+
:analysis_summary_list,
|
5009
|
+
:next_page_token)
|
5010
|
+
SENSITIVE = []
|
5011
|
+
include Aws::Structure
|
5012
|
+
end
|
5013
|
+
|
4812
5014
|
# @!attribute [rw] next_token
|
4813
5015
|
# The token to retrieve the next set of results. Amazon Web Services
|
4814
5016
|
# provides the token when the response from a previous call has more
|
@@ -5719,18 +5921,18 @@ module Aws::CostExplorer
|
|
5719
5921
|
# @return [String]
|
5720
5922
|
#
|
5721
5923
|
# @!attribute [rw] average_utilization
|
5722
|
-
# The average utilization of your
|
5723
|
-
#
|
5924
|
+
# The average utilization of your instances. Amazon Web Services uses
|
5925
|
+
# this to calculate your recommended reservation purchases.
|
5724
5926
|
# @return [String]
|
5725
5927
|
#
|
5726
5928
|
# @!attribute [rw] estimated_break_even_in_months
|
5727
5929
|
# How long Amazon Web Services estimates that it takes for this
|
5728
|
-
#
|
5930
|
+
# instance to start saving you money, in months.
|
5729
5931
|
# @return [String]
|
5730
5932
|
#
|
5731
5933
|
# @!attribute [rw] currency_code
|
5732
5934
|
# The currency code that Amazon Web Services used to calculate the
|
5733
|
-
# costs for this
|
5935
|
+
# costs for this instance.
|
5734
5936
|
# @return [String]
|
5735
5937
|
#
|
5736
5938
|
# @!attribute [rw] estimated_monthly_savings_amount
|
@@ -5756,12 +5958,11 @@ module Aws::CostExplorer
|
|
5756
5958
|
# @return [String]
|
5757
5959
|
#
|
5758
5960
|
# @!attribute [rw] upfront_cost
|
5759
|
-
# How much purchasing this
|
5961
|
+
# How much purchasing this instance costs you upfront.
|
5760
5962
|
# @return [String]
|
5761
5963
|
#
|
5762
5964
|
# @!attribute [rw] recurring_standard_monthly_cost
|
5763
|
-
# How much purchasing this
|
5764
|
-
# basis.
|
5965
|
+
# How much purchasing this instance costs you on a monthly basis.
|
5765
5966
|
# @return [String]
|
5766
5967
|
#
|
5767
5968
|
# @!attribute [rw] reserved_capacity_details
|
@@ -6159,14 +6360,15 @@ module Aws::CostExplorer
|
|
6159
6360
|
include Aws::Structure
|
6160
6361
|
end
|
6161
6362
|
|
6162
|
-
# The combination of Amazon Web
|
6163
|
-
# account name, Region, and usage type where a cost anomaly is observed
|
6164
|
-
#
|
6165
|
-
#
|
6363
|
+
# The combination of Amazon Web Services service, linked account, linked
|
6364
|
+
# account name, Region, and usage type where a cost anomaly is observed,
|
6365
|
+
# along with the dollar and percentage amount of the anomaly impact. The
|
6366
|
+
# linked account name will only be available when the account name can
|
6367
|
+
# be identified.
|
6166
6368
|
#
|
6167
6369
|
# @!attribute [rw] service
|
6168
|
-
# The Amazon Web
|
6169
|
-
# anomaly.
|
6370
|
+
# The Amazon Web Services service name that's associated with the
|
6371
|
+
# cost anomaly.
|
6170
6372
|
# @return [String]
|
6171
6373
|
#
|
6172
6374
|
# @!attribute [rw] region
|
@@ -6178,23 +6380,88 @@ module Aws::CostExplorer
|
|
6178
6380
|
# The member account value that's associated with the cost anomaly.
|
6179
6381
|
# @return [String]
|
6180
6382
|
#
|
6181
|
-
# @!attribute [rw] usage_type
|
6182
|
-
# The `UsageType` value that's associated with the cost anomaly.
|
6183
|
-
# @return [String]
|
6184
|
-
#
|
6185
6383
|
# @!attribute [rw] linked_account_name
|
6186
6384
|
# The member account name value that's associated with the cost
|
6187
6385
|
# anomaly.
|
6188
6386
|
# @return [String]
|
6189
6387
|
#
|
6388
|
+
# @!attribute [rw] usage_type
|
6389
|
+
# The `UsageType` value that's associated with the cost anomaly.
|
6390
|
+
# @return [String]
|
6391
|
+
#
|
6392
|
+
# @!attribute [rw] impact
|
6393
|
+
# The dollar impact for the root cause.
|
6394
|
+
# @return [Types::RootCauseImpact]
|
6395
|
+
#
|
6190
6396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RootCause AWS API Documentation
|
6191
6397
|
#
|
6192
6398
|
class RootCause < Struct.new(
|
6193
6399
|
:service,
|
6194
6400
|
:region,
|
6195
6401
|
:linked_account,
|
6402
|
+
:linked_account_name,
|
6196
6403
|
:usage_type,
|
6197
|
-
:
|
6404
|
+
:impact)
|
6405
|
+
SENSITIVE = []
|
6406
|
+
include Aws::Structure
|
6407
|
+
end
|
6408
|
+
|
6409
|
+
# The dollar value of the root cause.
|
6410
|
+
#
|
6411
|
+
# @!attribute [rw] contribution
|
6412
|
+
# The dollar amount that this root cause contributed to the anomaly's
|
6413
|
+
# TotalImpact.
|
6414
|
+
# @return [Float]
|
6415
|
+
#
|
6416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RootCauseImpact AWS API Documentation
|
6417
|
+
#
|
6418
|
+
class RootCauseImpact < Struct.new(
|
6419
|
+
:contribution)
|
6420
|
+
SENSITIVE = []
|
6421
|
+
include Aws::Structure
|
6422
|
+
end
|
6423
|
+
|
6424
|
+
# The Savings Plans commitment details.
|
6425
|
+
#
|
6426
|
+
# @!attribute [rw] payment_option
|
6427
|
+
# The payment option for the Savings Plans commitment.
|
6428
|
+
# @return [String]
|
6429
|
+
#
|
6430
|
+
# @!attribute [rw] savings_plans_type
|
6431
|
+
# The Savings Plans type.
|
6432
|
+
# @return [String]
|
6433
|
+
#
|
6434
|
+
# @!attribute [rw] region
|
6435
|
+
# The Region associated with the Savings Plans commitment.
|
6436
|
+
# @return [String]
|
6437
|
+
#
|
6438
|
+
# @!attribute [rw] instance_family
|
6439
|
+
# The instance family of the Savings Plans commitment.
|
6440
|
+
# @return [String]
|
6441
|
+
#
|
6442
|
+
# @!attribute [rw] term_in_years
|
6443
|
+
# The term that you want the Savings Plans commitment for.
|
6444
|
+
# @return [String]
|
6445
|
+
#
|
6446
|
+
# @!attribute [rw] savings_plans_commitment
|
6447
|
+
# The Savings Plans commitment.
|
6448
|
+
# @return [Float]
|
6449
|
+
#
|
6450
|
+
# @!attribute [rw] offering_id
|
6451
|
+
# The unique ID that's used to distinguish Savings Plans commitments
|
6452
|
+
# from one another.
|
6453
|
+
# @return [String]
|
6454
|
+
#
|
6455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlans AWS API Documentation
|
6456
|
+
#
|
6457
|
+
class SavingsPlans < Struct.new(
|
6458
|
+
:payment_option,
|
6459
|
+
:savings_plans_type,
|
6460
|
+
:region,
|
6461
|
+
:instance_family,
|
6462
|
+
:term_in_years,
|
6463
|
+
:savings_plans_commitment,
|
6464
|
+
:offering_id)
|
6198
6465
|
SENSITIVE = []
|
6199
6466
|
include Aws::Structure
|
6200
6467
|
end
|
@@ -6316,6 +6583,176 @@ module Aws::CostExplorer
|
|
6316
6583
|
include Aws::Structure
|
6317
6584
|
end
|
6318
6585
|
|
6586
|
+
# The configuration for the Savings Plans purchase analysis.
|
6587
|
+
#
|
6588
|
+
# @!attribute [rw] account_scope
|
6589
|
+
# The account scope that you want your analysis for.
|
6590
|
+
# @return [String]
|
6591
|
+
#
|
6592
|
+
# @!attribute [rw] account_id
|
6593
|
+
# The account that the analysis is for.
|
6594
|
+
# @return [String]
|
6595
|
+
#
|
6596
|
+
# @!attribute [rw] analysis_type
|
6597
|
+
# The type of analysis.
|
6598
|
+
# @return [String]
|
6599
|
+
#
|
6600
|
+
# @!attribute [rw] savings_plans_to_add
|
6601
|
+
# Savings Plans to include in the analysis.
|
6602
|
+
# @return [Array<Types::SavingsPlans>]
|
6603
|
+
#
|
6604
|
+
# @!attribute [rw] savings_plans_to_exclude
|
6605
|
+
# Savings Plans to exclude from the analysis.
|
6606
|
+
# @return [Array<String>]
|
6607
|
+
#
|
6608
|
+
# @!attribute [rw] look_back_time_period
|
6609
|
+
# The time period associated with the analysis.
|
6610
|
+
# @return [Types::DateInterval]
|
6611
|
+
#
|
6612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlansPurchaseAnalysisConfiguration AWS API Documentation
|
6613
|
+
#
|
6614
|
+
class SavingsPlansPurchaseAnalysisConfiguration < Struct.new(
|
6615
|
+
:account_scope,
|
6616
|
+
:account_id,
|
6617
|
+
:analysis_type,
|
6618
|
+
:savings_plans_to_add,
|
6619
|
+
:savings_plans_to_exclude,
|
6620
|
+
:look_back_time_period)
|
6621
|
+
SENSITIVE = []
|
6622
|
+
include Aws::Structure
|
6623
|
+
end
|
6624
|
+
|
6625
|
+
# Details about the Savings Plans purchase analysis.
|
6626
|
+
#
|
6627
|
+
# @!attribute [rw] currency_code
|
6628
|
+
# The currency code used for the analysis.
|
6629
|
+
# @return [String]
|
6630
|
+
#
|
6631
|
+
# @!attribute [rw] lookback_period_in_hours
|
6632
|
+
# The lookback period in hours that's used to generate the analysis.
|
6633
|
+
# @return [String]
|
6634
|
+
#
|
6635
|
+
# @!attribute [rw] current_average_coverage
|
6636
|
+
# The average value of hourly coverage over the lookback period.
|
6637
|
+
# @return [String]
|
6638
|
+
#
|
6639
|
+
# @!attribute [rw] current_average_hourly_on_demand_spend
|
6640
|
+
# The average value of hourly On-Demand spend over the lookback
|
6641
|
+
# period.
|
6642
|
+
# @return [String]
|
6643
|
+
#
|
6644
|
+
# @!attribute [rw] current_maximum_hourly_on_demand_spend
|
6645
|
+
# The highest value of hourly On-Demand spend over the lookback
|
6646
|
+
# period.
|
6647
|
+
# @return [String]
|
6648
|
+
#
|
6649
|
+
# @!attribute [rw] current_minimum_hourly_on_demand_spend
|
6650
|
+
# The lowest value of hourly On-Demand spend over the lookback period.
|
6651
|
+
# @return [String]
|
6652
|
+
#
|
6653
|
+
# @!attribute [rw] current_on_demand_spend
|
6654
|
+
# The current total On-Demand spend over the lookback period.
|
6655
|
+
# @return [String]
|
6656
|
+
#
|
6657
|
+
# @!attribute [rw] existing_hourly_commitment
|
6658
|
+
# The existing hourly commitment for the Savings Plan type.
|
6659
|
+
# @return [String]
|
6660
|
+
#
|
6661
|
+
# @!attribute [rw] hourly_commitment_to_purchase
|
6662
|
+
# The recommended or custom hourly commitment.
|
6663
|
+
# @return [String]
|
6664
|
+
#
|
6665
|
+
# @!attribute [rw] estimated_average_coverage
|
6666
|
+
# The estimated coverage of the Savings Plan.
|
6667
|
+
# @return [String]
|
6668
|
+
#
|
6669
|
+
# @!attribute [rw] estimated_average_utilization
|
6670
|
+
# The estimated utilization of the Savings Plan.
|
6671
|
+
# @return [String]
|
6672
|
+
#
|
6673
|
+
# @!attribute [rw] estimated_monthly_savings_amount
|
6674
|
+
# The estimated monthly savings amount based on the Savings Plan.
|
6675
|
+
# @return [String]
|
6676
|
+
#
|
6677
|
+
# @!attribute [rw] estimated_on_demand_cost
|
6678
|
+
# The remaining On-Demand cost estimated to not be covered by the
|
6679
|
+
# Savings Plan over the length of the lookback period.
|
6680
|
+
# @return [String]
|
6681
|
+
#
|
6682
|
+
# @!attribute [rw] estimated_on_demand_cost_with_current_commitment
|
6683
|
+
# The estimated On-Demand cost you expect with no additional
|
6684
|
+
# commitment based on your usage of the selected time period and the
|
6685
|
+
# Savings Plan you own.
|
6686
|
+
# @return [String]
|
6687
|
+
#
|
6688
|
+
# @!attribute [rw] estimated_roi
|
6689
|
+
# The estimated return on investment that's based on the Savings Plan
|
6690
|
+
# and estimated savings. This is calculated as
|
6691
|
+
# estimatedSavingsAmount/estimatedSPCost*100.
|
6692
|
+
# @return [String]
|
6693
|
+
#
|
6694
|
+
# @!attribute [rw] estimated_savings_amount
|
6695
|
+
# The estimated savings amount that's based on the Savings Plan over
|
6696
|
+
# the length of the lookback period.
|
6697
|
+
# @return [String]
|
6698
|
+
#
|
6699
|
+
# @!attribute [rw] estimated_savings_percentage
|
6700
|
+
# The estimated savings percentage relative to the total cost over the
|
6701
|
+
# cost calculation lookback period.
|
6702
|
+
# @return [String]
|
6703
|
+
#
|
6704
|
+
# @!attribute [rw] estimated_commitment_cost
|
6705
|
+
# The estimated cost of the Savings Plan over the length of the
|
6706
|
+
# lookback period.
|
6707
|
+
# @return [String]
|
6708
|
+
#
|
6709
|
+
# @!attribute [rw] latest_usage_timestamp
|
6710
|
+
# The date and time of the last hour that went into the analysis.
|
6711
|
+
# @return [String]
|
6712
|
+
#
|
6713
|
+
# @!attribute [rw] upfront_cost
|
6714
|
+
# The upfront cost of the Savings Plan based on the selected payment
|
6715
|
+
# option.
|
6716
|
+
# @return [String]
|
6717
|
+
#
|
6718
|
+
# @!attribute [rw] additional_metadata
|
6719
|
+
# Additional metadata that might be applicable to the commitment.
|
6720
|
+
# @return [String]
|
6721
|
+
#
|
6722
|
+
# @!attribute [rw] metrics_over_lookback_period
|
6723
|
+
# The related hourly cost, coverage, and utilization metrics over the
|
6724
|
+
# lookback period.
|
6725
|
+
# @return [Array<Types::RecommendationDetailHourlyMetrics>]
|
6726
|
+
#
|
6727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlansPurchaseAnalysisDetails AWS API Documentation
|
6728
|
+
#
|
6729
|
+
class SavingsPlansPurchaseAnalysisDetails < Struct.new(
|
6730
|
+
:currency_code,
|
6731
|
+
:lookback_period_in_hours,
|
6732
|
+
:current_average_coverage,
|
6733
|
+
:current_average_hourly_on_demand_spend,
|
6734
|
+
:current_maximum_hourly_on_demand_spend,
|
6735
|
+
:current_minimum_hourly_on_demand_spend,
|
6736
|
+
:current_on_demand_spend,
|
6737
|
+
:existing_hourly_commitment,
|
6738
|
+
:hourly_commitment_to_purchase,
|
6739
|
+
:estimated_average_coverage,
|
6740
|
+
:estimated_average_utilization,
|
6741
|
+
:estimated_monthly_savings_amount,
|
6742
|
+
:estimated_on_demand_cost,
|
6743
|
+
:estimated_on_demand_cost_with_current_commitment,
|
6744
|
+
:estimated_roi,
|
6745
|
+
:estimated_savings_amount,
|
6746
|
+
:estimated_savings_percentage,
|
6747
|
+
:estimated_commitment_cost,
|
6748
|
+
:latest_usage_timestamp,
|
6749
|
+
:upfront_cost,
|
6750
|
+
:additional_metadata,
|
6751
|
+
:metrics_over_lookback_period)
|
6752
|
+
SENSITIVE = []
|
6753
|
+
include Aws::Structure
|
6754
|
+
end
|
6755
|
+
|
6319
6756
|
# Contains your request parameters, Savings Plan Recommendations
|
6320
6757
|
# Summary, and Details.
|
6321
6758
|
#
|
@@ -6790,6 +7227,41 @@ module Aws::CostExplorer
|
|
6790
7227
|
include Aws::Structure
|
6791
7228
|
end
|
6792
7229
|
|
7230
|
+
# @!attribute [rw] commitment_purchase_analysis_configuration
|
7231
|
+
# The configuration for the commitment purchase analysis.
|
7232
|
+
# @return [Types::CommitmentPurchaseAnalysisConfiguration]
|
7233
|
+
#
|
7234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/StartCommitmentPurchaseAnalysisRequest AWS API Documentation
|
7235
|
+
#
|
7236
|
+
class StartCommitmentPurchaseAnalysisRequest < Struct.new(
|
7237
|
+
:commitment_purchase_analysis_configuration)
|
7238
|
+
SENSITIVE = []
|
7239
|
+
include Aws::Structure
|
7240
|
+
end
|
7241
|
+
|
7242
|
+
# @!attribute [rw] analysis_id
|
7243
|
+
# The analysis ID that's associated with the commitment purchase
|
7244
|
+
# analysis.
|
7245
|
+
# @return [String]
|
7246
|
+
#
|
7247
|
+
# @!attribute [rw] analysis_started_time
|
7248
|
+
# The start time of the analysis.
|
7249
|
+
# @return [String]
|
7250
|
+
#
|
7251
|
+
# @!attribute [rw] estimated_completion_time
|
7252
|
+
# The estimated time for when the analysis will complete.
|
7253
|
+
# @return [String]
|
7254
|
+
#
|
7255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/StartCommitmentPurchaseAnalysisResponse AWS API Documentation
|
7256
|
+
#
|
7257
|
+
class StartCommitmentPurchaseAnalysisResponse < Struct.new(
|
7258
|
+
:analysis_id,
|
7259
|
+
:analysis_started_time,
|
7260
|
+
:estimated_completion_time)
|
7261
|
+
SENSITIVE = []
|
7262
|
+
include Aws::Structure
|
7263
|
+
end
|
7264
|
+
|
6793
7265
|
# @!attribute [rw] backfill_from
|
6794
7266
|
# The date you want the backfill to start from. The date can only be a
|
6795
7267
|
# first day of the month (a billing start date). Dates can't precede
|
data/lib/aws-sdk-costexplorer.rb
CHANGED