aws-sdk-costexplorer 1.140.0 → 1.141.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +9 -9
- data/lib/aws-sdk-costexplorer/types.rb +2 -2
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 924ab94a563f58c9f0da83058d31452b83fa3524f46cd0fa890a68968b604a74
|
|
4
|
+
data.tar.gz: 60bd07a830b6a821df0c89227b679301855749e586761b1497c10f33b59541fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 896341534a6d38baa13f604ca49f1f0aee0a08380dbe7e191dd07138659265104360a4098f1393319d745e2f1c74585831e5a9f4c18084182899fb2199e68db3
|
|
7
|
+
data.tar.gz: 5bb54ba4e3b4b780f8fe943b4e6275f4fcbfd41e886157b3f9e4349010e5597ce5c6ffcbafea536d476b8eacf9aea2e7897a2c84f71ebcf66a12d841acfc768c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.141.0 (2025-12-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release updates existing Savings Plans Purchase Analyzer and Recommendations APIs to support Database Savings Plans.
|
|
8
|
+
|
|
4
9
|
1.140.0 (2025-11-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.141.0
|
|
@@ -1352,7 +1352,7 @@ module Aws::CostExplorer
|
|
|
1352
1352
|
# resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.analysis_type #=> String, one of "MAX_SAVINGS", "CUSTOM_COMMITMENT"
|
|
1353
1353
|
# resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add #=> Array
|
|
1354
1354
|
# resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
|
|
1355
|
-
# resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP"
|
|
1355
|
+
# resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP", "DATABASE_SP"
|
|
1356
1356
|
# resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].region #=> String
|
|
1357
1357
|
# resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].instance_family #=> String
|
|
1358
1358
|
# resp.commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
|
@@ -2488,7 +2488,7 @@ module Aws::CostExplorer
|
|
|
2488
2488
|
#
|
|
2489
2489
|
# @option params [required, String] :granularity
|
|
2490
2490
|
# How granular you want the forecast to be. You can get 3 months of
|
|
2491
|
-
# `DAILY` forecasts or
|
|
2491
|
+
# `DAILY` forecasts or 18 months of `MONTHLY` forecasts.
|
|
2492
2492
|
#
|
|
2493
2493
|
# The `GetCostForecast` operation supports only `DAILY` and `MONTHLY`
|
|
2494
2494
|
# granularities.
|
|
@@ -4119,7 +4119,7 @@ module Aws::CostExplorer
|
|
|
4119
4119
|
# resp.recommendation_detail_id #=> String
|
|
4120
4120
|
# resp.recommendation_detail_data.account_scope #=> String, one of "PAYER", "LINKED"
|
|
4121
4121
|
# resp.recommendation_detail_data.lookback_period_in_days #=> String, one of "SEVEN_DAYS", "THIRTY_DAYS", "SIXTY_DAYS"
|
|
4122
|
-
# resp.recommendation_detail_data.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP"
|
|
4122
|
+
# resp.recommendation_detail_data.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP", "DATABASE_SP"
|
|
4123
4123
|
# resp.recommendation_detail_data.term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
|
4124
4124
|
# resp.recommendation_detail_data.payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
|
|
4125
4125
|
# resp.recommendation_detail_data.account_id #=> String
|
|
@@ -4391,7 +4391,7 @@ module Aws::CostExplorer
|
|
|
4391
4391
|
# @example Request syntax with placeholder values
|
|
4392
4392
|
#
|
|
4393
4393
|
# resp = client.get_savings_plans_purchase_recommendation({
|
|
4394
|
-
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
|
4394
|
+
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP, DATABASE_SP
|
|
4395
4395
|
# term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
|
|
4396
4396
|
# payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
|
4397
4397
|
# account_scope: "PAYER", # accepts PAYER, LINKED
|
|
@@ -4436,7 +4436,7 @@ module Aws::CostExplorer
|
|
|
4436
4436
|
# resp.metadata.generation_timestamp #=> String
|
|
4437
4437
|
# resp.metadata.additional_metadata #=> String
|
|
4438
4438
|
# resp.savings_plans_purchase_recommendation.account_scope #=> String, one of "PAYER", "LINKED"
|
|
4439
|
-
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP"
|
|
4439
|
+
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP", "DATABASE_SP"
|
|
4440
4440
|
# resp.savings_plans_purchase_recommendation.term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
|
4441
4441
|
# resp.savings_plans_purchase_recommendation.payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
|
|
4442
4442
|
# resp.savings_plans_purchase_recommendation.lookback_period_in_days #=> String, one of "SEVEN_DAYS", "THIRTY_DAYS", "SIXTY_DAYS"
|
|
@@ -5045,7 +5045,7 @@ module Aws::CostExplorer
|
|
|
5045
5045
|
#
|
|
5046
5046
|
# @option params [required, String] :granularity
|
|
5047
5047
|
# How granular you want the forecast to be. You can get 3 months of
|
|
5048
|
-
# `DAILY` forecasts or
|
|
5048
|
+
# `DAILY` forecasts or 18 months of `MONTHLY` forecasts.
|
|
5049
5049
|
#
|
|
5050
5050
|
# The `GetUsageForecast` operation supports only `DAILY` and `MONTHLY`
|
|
5051
5051
|
# granularities.
|
|
@@ -5227,7 +5227,7 @@ module Aws::CostExplorer
|
|
|
5227
5227
|
# resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.analysis_type #=> String, one of "MAX_SAVINGS", "CUSTOM_COMMITMENT"
|
|
5228
5228
|
# resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add #=> Array
|
|
5229
5229
|
# resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
|
|
5230
|
-
# resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP"
|
|
5230
|
+
# resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP", "DATABASE_SP"
|
|
5231
5231
|
# resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].region #=> String
|
|
5232
5232
|
# resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].instance_family #=> String
|
|
5233
5233
|
# resp.analysis_summary_list[0].commitment_purchase_analysis_configuration.savings_plans_purchase_analysis_configuration.savings_plans_to_add[0].term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
|
@@ -5559,7 +5559,7 @@ module Aws::CostExplorer
|
|
|
5559
5559
|
# savings_plans_to_add: [ # required
|
|
5560
5560
|
# {
|
|
5561
5561
|
# payment_option: "NO_UPFRONT", # accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
|
5562
|
-
# savings_plans_type: "COMPUTE_SP", # accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
|
5562
|
+
# savings_plans_type: "COMPUTE_SP", # accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP, DATABASE_SP
|
|
5563
5563
|
# region: "GenericString",
|
|
5564
5564
|
# instance_family: "GenericString",
|
|
5565
5565
|
# term_in_years: "ONE_YEAR", # accepts ONE_YEAR, THREE_YEARS
|
|
@@ -6113,7 +6113,7 @@ module Aws::CostExplorer
|
|
|
6113
6113
|
tracer: tracer
|
|
6114
6114
|
)
|
|
6115
6115
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
|
6116
|
-
context[:gem_version] = '1.
|
|
6116
|
+
context[:gem_version] = '1.141.0'
|
|
6117
6117
|
Seahorse::Client::Request.new(handlers, context)
|
|
6118
6118
|
end
|
|
6119
6119
|
|
|
@@ -3460,7 +3460,7 @@ module Aws::CostExplorer
|
|
|
3460
3460
|
#
|
|
3461
3461
|
# @!attribute [rw] granularity
|
|
3462
3462
|
# How granular you want the forecast to be. You can get 3 months of
|
|
3463
|
-
# `DAILY` forecasts or
|
|
3463
|
+
# `DAILY` forecasts or 18 months of `MONTHLY` forecasts.
|
|
3464
3464
|
#
|
|
3465
3465
|
# The `GetCostForecast` operation supports only `DAILY` and `MONTHLY`
|
|
3466
3466
|
# granularities.
|
|
@@ -5382,7 +5382,7 @@ module Aws::CostExplorer
|
|
|
5382
5382
|
#
|
|
5383
5383
|
# @!attribute [rw] granularity
|
|
5384
5384
|
# How granular you want the forecast to be. You can get 3 months of
|
|
5385
|
-
# `DAILY` forecasts or
|
|
5385
|
+
# `DAILY` forecasts or 18 months of `MONTHLY` forecasts.
|
|
5386
5386
|
#
|
|
5387
5387
|
# The `GetUsageForecast` operation supports only `DAILY` and `MONTHLY`
|
|
5388
5388
|
# granularities.
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -989,7 +989,7 @@ module Aws
|
|
|
989
989
|
end
|
|
990
990
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_purchase_recommendation-instance_method
|
|
991
991
|
def get_savings_plans_purchase_recommendation: (
|
|
992
|
-
savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP"),
|
|
992
|
+
savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP" | "DATABASE_SP"),
|
|
993
993
|
term_in_years: ("ONE_YEAR" | "THREE_YEARS"),
|
|
994
994
|
payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION"),
|
|
995
995
|
?account_scope: ("PAYER" | "LINKED"),
|
|
@@ -1311,7 +1311,7 @@ module Aws
|
|
|
1311
1311
|
savings_plans_to_add: Array[
|
|
1312
1312
|
{
|
|
1313
1313
|
payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")?,
|
|
1314
|
-
savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")?,
|
|
1314
|
+
savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP" | "DATABASE_SP")?,
|
|
1315
1315
|
region: ::String?,
|
|
1316
1316
|
instance_family: ::String?,
|
|
1317
1317
|
term_in_years: ("ONE_YEAR" | "THREE_YEARS")?,
|
data/sig/types.rbs
CHANGED
|
@@ -794,7 +794,7 @@ module Aws::CostExplorer
|
|
|
794
794
|
end
|
|
795
795
|
|
|
796
796
|
class GetSavingsPlansPurchaseRecommendationRequest
|
|
797
|
-
attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
|
|
797
|
+
attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP" | "DATABASE_SP")
|
|
798
798
|
attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
|
|
799
799
|
attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
|
|
800
800
|
attr_accessor account_scope: ("PAYER" | "LINKED")
|
|
@@ -1054,7 +1054,7 @@ module Aws::CostExplorer
|
|
|
1054
1054
|
class RecommendationDetailData
|
|
1055
1055
|
attr_accessor account_scope: ("PAYER" | "LINKED")
|
|
1056
1056
|
attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
|
|
1057
|
-
attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
|
|
1057
|
+
attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP" | "DATABASE_SP")
|
|
1058
1058
|
attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
|
|
1059
1059
|
attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
|
|
1060
1060
|
attr_accessor account_id: ::String
|
|
@@ -1279,7 +1279,7 @@ module Aws::CostExplorer
|
|
|
1279
1279
|
|
|
1280
1280
|
class SavingsPlans
|
|
1281
1281
|
attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
|
|
1282
|
-
attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
|
|
1282
|
+
attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP" | "DATABASE_SP")
|
|
1283
1283
|
attr_accessor region: ::String
|
|
1284
1284
|
attr_accessor instance_family: ::String
|
|
1285
1285
|
attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
|
|
@@ -1355,7 +1355,7 @@ module Aws::CostExplorer
|
|
|
1355
1355
|
|
|
1356
1356
|
class SavingsPlansPurchaseRecommendation
|
|
1357
1357
|
attr_accessor account_scope: ("PAYER" | "LINKED")
|
|
1358
|
-
attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
|
|
1358
|
+
attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP" | "DATABASE_SP")
|
|
1359
1359
|
attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
|
|
1360
1360
|
attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
|
|
1361
1361
|
attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
|