aws-sdk-costexplorer 1.115.0 → 1.116.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.
data/sig/types.rbs CHANGED
@@ -8,6 +8,27 @@
8
8
  module Aws::CostExplorer
9
9
  module Types
10
10
 
11
+ class AnalysisDetails
12
+ attr_accessor savings_plans_purchase_analysis_details: Types::SavingsPlansPurchaseAnalysisDetails
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AnalysisNotFoundException
17
+ attr_accessor message: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class AnalysisSummary
22
+ attr_accessor estimated_completion_time: ::String
23
+ attr_accessor analysis_completion_time: ::String
24
+ attr_accessor analysis_started_time: ::String
25
+ attr_accessor analysis_status: ("SUCCEEDED" | "PROCESSING" | "FAILED")
26
+ attr_accessor error_code: ("NO_USAGE_FOUND" | "INTERNAL_FAILURE" | "INVALID_SAVINGS_PLANS_TO_ADD" | "INVALID_SAVINGS_PLANS_TO_EXCLUDE" | "INVALID_ACCOUNT_ID")
27
+ attr_accessor analysis_id: ::String
28
+ attr_accessor commitment_purchase_analysis_configuration: Types::CommitmentPurchaseAnalysisConfiguration
29
+ SENSITIVE: []
30
+ end
31
+
11
32
  class Anomaly
12
33
  attr_accessor anomaly_id: ::String
13
34
  attr_accessor anomaly_start_date: ::String
@@ -68,6 +89,11 @@ module Aws::CostExplorer
68
89
  SENSITIVE: []
69
90
  end
70
91
 
92
+ class CommitmentPurchaseAnalysisConfiguration
93
+ attr_accessor savings_plans_purchase_analysis_configuration: Types::SavingsPlansPurchaseAnalysisConfiguration
94
+ SENSITIVE: []
95
+ end
96
+
71
97
  class CostAllocationTag
72
98
  attr_accessor tag_key: ::String
73
99
  attr_accessor type: ("AWSGenerated" | "UserDefined")
@@ -479,6 +505,23 @@ module Aws::CostExplorer
479
505
  SENSITIVE: []
480
506
  end
481
507
 
508
+ class GetCommitmentPurchaseAnalysisRequest
509
+ attr_accessor analysis_id: ::String
510
+ SENSITIVE: []
511
+ end
512
+
513
+ class GetCommitmentPurchaseAnalysisResponse
514
+ attr_accessor estimated_completion_time: ::String
515
+ attr_accessor analysis_completion_time: ::String
516
+ attr_accessor analysis_started_time: ::String
517
+ attr_accessor analysis_id: ::String
518
+ attr_accessor analysis_status: ("SUCCEEDED" | "PROCESSING" | "FAILED")
519
+ attr_accessor error_code: ("NO_USAGE_FOUND" | "INTERNAL_FAILURE" | "INVALID_SAVINGS_PLANS_TO_ADD" | "INVALID_SAVINGS_PLANS_TO_EXCLUDE" | "INVALID_ACCOUNT_ID")
520
+ attr_accessor analysis_details: Types::AnalysisDetails
521
+ attr_accessor commitment_purchase_analysis_configuration: Types::CommitmentPurchaseAnalysisConfiguration
522
+ SENSITIVE: []
523
+ end
524
+
482
525
  class GetCostAndUsageRequest
483
526
  attr_accessor time_period: Types::DateInterval
484
527
  attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
@@ -801,6 +844,20 @@ module Aws::CostExplorer
801
844
  SENSITIVE: []
802
845
  end
803
846
 
847
+ class ListCommitmentPurchaseAnalysesRequest
848
+ attr_accessor analysis_status: ("SUCCEEDED" | "PROCESSING" | "FAILED")
849
+ attr_accessor next_page_token: ::String
850
+ attr_accessor page_size: ::Integer
851
+ attr_accessor analysis_ids: ::Array[::String]
852
+ SENSITIVE: []
853
+ end
854
+
855
+ class ListCommitmentPurchaseAnalysesResponse
856
+ attr_accessor analysis_summary_list: ::Array[Types::AnalysisSummary]
857
+ attr_accessor next_page_token: ::String
858
+ SENSITIVE: []
859
+ end
860
+
804
861
  class ListCostAllocationTagBackfillHistoryRequest
805
862
  attr_accessor next_token: ::String
806
863
  attr_accessor max_results: ::Integer
@@ -1137,6 +1194,17 @@ module Aws::CostExplorer
1137
1194
  SENSITIVE: []
1138
1195
  end
1139
1196
 
1197
+ class SavingsPlans
1198
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
1199
+ attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
1200
+ attr_accessor region: ::String
1201
+ attr_accessor instance_family: ::String
1202
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
1203
+ attr_accessor savings_plans_commitment: ::Float
1204
+ attr_accessor offering_id: ::String
1205
+ SENSITIVE: []
1206
+ end
1207
+
1140
1208
  class SavingsPlansAmortizedCommitment
1141
1209
  attr_accessor amortized_recurring_commitment: ::String
1142
1210
  attr_accessor amortized_upfront_commitment: ::String
@@ -1166,6 +1234,42 @@ module Aws::CostExplorer
1166
1234
  SENSITIVE: []
1167
1235
  end
1168
1236
 
1237
+ class SavingsPlansPurchaseAnalysisConfiguration
1238
+ attr_accessor account_scope: ("PAYER" | "LINKED")
1239
+ attr_accessor account_id: ::String
1240
+ attr_accessor analysis_type: ("MAX_SAVINGS" | "CUSTOM_COMMITMENT")
1241
+ attr_accessor savings_plans_to_add: ::Array[Types::SavingsPlans]
1242
+ attr_accessor savings_plans_to_exclude: ::Array[::String]
1243
+ attr_accessor look_back_time_period: Types::DateInterval
1244
+ SENSITIVE: []
1245
+ end
1246
+
1247
+ class SavingsPlansPurchaseAnalysisDetails
1248
+ attr_accessor currency_code: ::String
1249
+ attr_accessor lookback_period_in_hours: ::String
1250
+ attr_accessor current_average_coverage: ::String
1251
+ attr_accessor current_average_hourly_on_demand_spend: ::String
1252
+ attr_accessor current_maximum_hourly_on_demand_spend: ::String
1253
+ attr_accessor current_minimum_hourly_on_demand_spend: ::String
1254
+ attr_accessor current_on_demand_spend: ::String
1255
+ attr_accessor existing_hourly_commitment: ::String
1256
+ attr_accessor hourly_commitment_to_purchase: ::String
1257
+ attr_accessor estimated_average_coverage: ::String
1258
+ attr_accessor estimated_average_utilization: ::String
1259
+ attr_accessor estimated_monthly_savings_amount: ::String
1260
+ attr_accessor estimated_on_demand_cost: ::String
1261
+ attr_accessor estimated_on_demand_cost_with_current_commitment: ::String
1262
+ attr_accessor estimated_roi: ::String
1263
+ attr_accessor estimated_savings_amount: ::String
1264
+ attr_accessor estimated_savings_percentage: ::String
1265
+ attr_accessor estimated_commitment_cost: ::String
1266
+ attr_accessor latest_usage_timestamp: ::String
1267
+ attr_accessor upfront_cost: ::String
1268
+ attr_accessor additional_metadata: ::String
1269
+ attr_accessor metrics_over_lookback_period: ::Array[Types::RecommendationDetailHourlyMetrics]
1270
+ SENSITIVE: []
1271
+ end
1272
+
1169
1273
  class SavingsPlansPurchaseRecommendation
1170
1274
  attr_accessor account_scope: ("PAYER" | "LINKED")
1171
1275
  attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
@@ -1274,6 +1378,18 @@ module Aws::CostExplorer
1274
1378
  SENSITIVE: []
1275
1379
  end
1276
1380
 
1381
+ class StartCommitmentPurchaseAnalysisRequest
1382
+ attr_accessor commitment_purchase_analysis_configuration: Types::CommitmentPurchaseAnalysisConfiguration
1383
+ SENSITIVE: []
1384
+ end
1385
+
1386
+ class StartCommitmentPurchaseAnalysisResponse
1387
+ attr_accessor analysis_id: ::String
1388
+ attr_accessor analysis_started_time: ::String
1389
+ attr_accessor estimated_completion_time: ::String
1390
+ SENSITIVE: []
1391
+ end
1392
+
1277
1393
  class StartCostAllocationTagBackfillRequest
1278
1394
  attr_accessor backfill_from: ::String
1279
1395
  SENSITIVE: []
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.115.0
4
+ version: 1.116.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core