aws-sdk-costexplorer 1.143.0 → 1.144.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 +10 -1
- data/lib/aws-sdk-costexplorer/client_api.rb +32 -5
- data/lib/aws-sdk-costexplorer/types.rb +7 -1
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/sig/types.rbs +1 -0
- 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: 7ccecbd94a496c1a16215af687833460a41ecd0db3cfdc235e5a026d013a05e6
|
|
4
|
+
data.tar.gz: 7bfb50599be1d9e4736babef72f6476324efb146812887b42c6d098f92c78b04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b3e2f7ce8888643df6912ef1eaac2f49cb2f2f1fc6247262f8bf566f2e38af1313985ada2da0d438664acebe16c7be8b6f5cceec5e736735c71ec4c6f578c08
|
|
7
|
+
data.tar.gz: 738c177b6baa518f1b93bcfe39512ec260cd22f4da18af130bf4c96a641204af52acb4e4e960adcc72fae4f8eddf25db1a1e701ff0552e7b642318d34ec3f9ad
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.144.0
|
|
@@ -3442,6 +3442,8 @@ module Aws::CostExplorer
|
|
|
3442
3442
|
# * {Types::GetReservationPurchaseRecommendationResponse#recommendations #recommendations} => Array<Types::ReservationPurchaseRecommendation>
|
|
3443
3443
|
# * {Types::GetReservationPurchaseRecommendationResponse#next_page_token #next_page_token} => String
|
|
3444
3444
|
#
|
|
3445
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3446
|
+
#
|
|
3445
3447
|
# @example Request syntax with placeholder values
|
|
3446
3448
|
#
|
|
3447
3449
|
# resp = client.get_reservation_purchase_recommendation({
|
|
@@ -3520,6 +3522,7 @@ module Aws::CostExplorer
|
|
|
3520
3522
|
# resp.recommendations[0].recommendation_details[0].instance_details.rds_instance_details.license_model #=> String
|
|
3521
3523
|
# resp.recommendations[0].recommendation_details[0].instance_details.rds_instance_details.current_generation #=> Boolean
|
|
3522
3524
|
# resp.recommendations[0].recommendation_details[0].instance_details.rds_instance_details.size_flex_eligible #=> Boolean
|
|
3525
|
+
# resp.recommendations[0].recommendation_details[0].instance_details.rds_instance_details.deployment_model #=> String
|
|
3523
3526
|
# resp.recommendations[0].recommendation_details[0].instance_details.redshift_instance_details.family #=> String
|
|
3524
3527
|
# resp.recommendations[0].recommendation_details[0].instance_details.redshift_instance_details.node_type #=> String
|
|
3525
3528
|
# resp.recommendations[0].recommendation_details[0].instance_details.redshift_instance_details.region #=> String
|
|
@@ -3959,6 +3962,8 @@ module Aws::CostExplorer
|
|
|
3959
3962
|
# * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String
|
|
3960
3963
|
# * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration
|
|
3961
3964
|
#
|
|
3965
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3966
|
+
#
|
|
3962
3967
|
# @example Request syntax with placeholder values
|
|
3963
3968
|
#
|
|
3964
3969
|
# resp = client.get_rightsizing_recommendation({
|
|
@@ -5208,6 +5213,8 @@ module Aws::CostExplorer
|
|
|
5208
5213
|
# * {Types::ListCommitmentPurchaseAnalysesResponse#analysis_summary_list #analysis_summary_list} => Array<Types::AnalysisSummary>
|
|
5209
5214
|
# * {Types::ListCommitmentPurchaseAnalysesResponse#next_page_token #next_page_token} => String
|
|
5210
5215
|
#
|
|
5216
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
5217
|
+
#
|
|
5211
5218
|
# @example Request syntax with placeholder values
|
|
5212
5219
|
#
|
|
5213
5220
|
# resp = client.list_commitment_purchase_analyses({
|
|
@@ -5501,6 +5508,8 @@ module Aws::CostExplorer
|
|
|
5501
5508
|
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#generation_summary_list #generation_summary_list} => Array<Types::GenerationSummary>
|
|
5502
5509
|
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#next_page_token #next_page_token} => String
|
|
5503
5510
|
#
|
|
5511
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
5512
|
+
#
|
|
5504
5513
|
# @example Request syntax with placeholder values
|
|
5505
5514
|
#
|
|
5506
5515
|
# resp = client.list_savings_plans_purchase_recommendation_generation({
|
|
@@ -6176,7 +6185,7 @@ module Aws::CostExplorer
|
|
|
6176
6185
|
tracer: tracer
|
|
6177
6186
|
)
|
|
6178
6187
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
|
6179
|
-
context[:gem_version] = '1.
|
|
6188
|
+
context[:gem_version] = '1.144.0'
|
|
6180
6189
|
Seahorse::Client::Request.new(handlers, context)
|
|
6181
6190
|
end
|
|
6182
6191
|
|
|
@@ -18,6 +18,7 @@ module Aws::CostExplorer
|
|
|
18
18
|
AccountScope = Shapes::StringShape.new(name: 'AccountScope')
|
|
19
19
|
AmortizedRecurringFee = Shapes::StringShape.new(name: 'AmortizedRecurringFee')
|
|
20
20
|
AmortizedUpfrontFee = Shapes::StringShape.new(name: 'AmortizedUpfrontFee')
|
|
21
|
+
AnalysesPageSize = Shapes::IntegerShape.new(name: 'AnalysesPageSize')
|
|
21
22
|
AnalysisDetails = Shapes::StructureShape.new(name: 'AnalysisDetails')
|
|
22
23
|
AnalysisId = Shapes::StringShape.new(name: 'AnalysisId')
|
|
23
24
|
AnalysisIds = Shapes::ListShape.new(name: 'AnalysisIds')
|
|
@@ -274,6 +275,7 @@ module Aws::CostExplorer
|
|
|
274
275
|
RecommendationId = Shapes::StringShape.new(name: 'RecommendationId')
|
|
275
276
|
RecommendationIdList = Shapes::ListShape.new(name: 'RecommendationIdList')
|
|
276
277
|
RecommendationTarget = Shapes::StringShape.new(name: 'RecommendationTarget')
|
|
278
|
+
RecommendationsPageSize = Shapes::IntegerShape.new(name: 'RecommendationsPageSize')
|
|
277
279
|
RedshiftInstanceDetails = Shapes::StructureShape.new(name: 'RedshiftInstanceDetails')
|
|
278
280
|
RequestChangedException = Shapes::StructureShape.new(name: 'RequestChangedException')
|
|
279
281
|
ReservationAggregates = Shapes::StructureShape.new(name: 'ReservationAggregates')
|
|
@@ -1006,7 +1008,7 @@ module Aws::CostExplorer
|
|
|
1006
1008
|
GetReservationPurchaseRecommendationRequest.add_member(:term_in_years, Shapes::ShapeRef.new(shape: TermInYears, location_name: "TermInYears"))
|
|
1007
1009
|
GetReservationPurchaseRecommendationRequest.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
|
|
1008
1010
|
GetReservationPurchaseRecommendationRequest.add_member(:service_specification, Shapes::ShapeRef.new(shape: ServiceSpecification, location_name: "ServiceSpecification"))
|
|
1009
|
-
GetReservationPurchaseRecommendationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape:
|
|
1011
|
+
GetReservationPurchaseRecommendationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: RecommendationsPageSize, location_name: "PageSize"))
|
|
1010
1012
|
GetReservationPurchaseRecommendationRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
|
1011
1013
|
GetReservationPurchaseRecommendationRequest.struct_class = Types::GetReservationPurchaseRecommendationRequest
|
|
1012
1014
|
|
|
@@ -1032,7 +1034,7 @@ module Aws::CostExplorer
|
|
|
1032
1034
|
GetRightsizingRecommendationRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
|
1033
1035
|
GetRightsizingRecommendationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: RightsizingRecommendationConfiguration, location_name: "Configuration"))
|
|
1034
1036
|
GetRightsizingRecommendationRequest.add_member(:service, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Service"))
|
|
1035
|
-
GetRightsizingRecommendationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape:
|
|
1037
|
+
GetRightsizingRecommendationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: RecommendationsPageSize, location_name: "PageSize"))
|
|
1036
1038
|
GetRightsizingRecommendationRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
|
1037
1039
|
GetRightsizingRecommendationRequest.struct_class = Types::GetRightsizingRecommendationRequest
|
|
1038
1040
|
|
|
@@ -1069,7 +1071,7 @@ module Aws::CostExplorer
|
|
|
1069
1071
|
GetSavingsPlansPurchaseRecommendationRequest.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, required: true, location_name: "PaymentOption"))
|
|
1070
1072
|
GetSavingsPlansPurchaseRecommendationRequest.add_member(:account_scope, Shapes::ShapeRef.new(shape: AccountScope, location_name: "AccountScope"))
|
|
1071
1073
|
GetSavingsPlansPurchaseRecommendationRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
|
1072
|
-
GetSavingsPlansPurchaseRecommendationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape:
|
|
1074
|
+
GetSavingsPlansPurchaseRecommendationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: RecommendationsPageSize, location_name: "PageSize"))
|
|
1073
1075
|
GetSavingsPlansPurchaseRecommendationRequest.add_member(:lookback_period_in_days, Shapes::ShapeRef.new(shape: LookbackPeriodInDays, required: true, location_name: "LookbackPeriodInDays"))
|
|
1074
1076
|
GetSavingsPlansPurchaseRecommendationRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
|
1075
1077
|
GetSavingsPlansPurchaseRecommendationRequest.struct_class = Types::GetSavingsPlansPurchaseRecommendationRequest
|
|
@@ -1168,7 +1170,7 @@ module Aws::CostExplorer
|
|
|
1168
1170
|
|
|
1169
1171
|
ListCommitmentPurchaseAnalysesRequest.add_member(:analysis_status, Shapes::ShapeRef.new(shape: AnalysisStatus, location_name: "AnalysisStatus"))
|
|
1170
1172
|
ListCommitmentPurchaseAnalysesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
|
1171
|
-
ListCommitmentPurchaseAnalysesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape:
|
|
1173
|
+
ListCommitmentPurchaseAnalysesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: AnalysesPageSize, location_name: "PageSize"))
|
|
1172
1174
|
ListCommitmentPurchaseAnalysesRequest.add_member(:analysis_ids, Shapes::ShapeRef.new(shape: AnalysisIds, location_name: "AnalysisIds"))
|
|
1173
1175
|
ListCommitmentPurchaseAnalysesRequest.struct_class = Types::ListCommitmentPurchaseAnalysesRequest
|
|
1174
1176
|
|
|
@@ -1216,7 +1218,7 @@ module Aws::CostExplorer
|
|
|
1216
1218
|
|
|
1217
1219
|
ListSavingsPlansPurchaseRecommendationGenerationRequest.add_member(:generation_status, Shapes::ShapeRef.new(shape: GenerationStatus, location_name: "GenerationStatus"))
|
|
1218
1220
|
ListSavingsPlansPurchaseRecommendationGenerationRequest.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, location_name: "RecommendationIds"))
|
|
1219
|
-
ListSavingsPlansPurchaseRecommendationGenerationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape:
|
|
1221
|
+
ListSavingsPlansPurchaseRecommendationGenerationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: RecommendationsPageSize, location_name: "PageSize"))
|
|
1220
1222
|
ListSavingsPlansPurchaseRecommendationGenerationRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
|
1221
1223
|
ListSavingsPlansPurchaseRecommendationGenerationRequest.struct_class = Types::ListSavingsPlansPurchaseRecommendationGenerationRequest
|
|
1222
1224
|
|
|
@@ -1279,6 +1281,7 @@ module Aws::CostExplorer
|
|
|
1279
1281
|
RDSInstanceDetails.add_member(:license_model, Shapes::ShapeRef.new(shape: GenericString, location_name: "LicenseModel"))
|
|
1280
1282
|
RDSInstanceDetails.add_member(:current_generation, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "CurrentGeneration"))
|
|
1281
1283
|
RDSInstanceDetails.add_member(:size_flex_eligible, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "SizeFlexEligible"))
|
|
1284
|
+
RDSInstanceDetails.add_member(:deployment_model, Shapes::ShapeRef.new(shape: GenericString, location_name: "DeploymentModel"))
|
|
1282
1285
|
RDSInstanceDetails.struct_class = Types::RDSInstanceDetails
|
|
1283
1286
|
|
|
1284
1287
|
RecommendationDetailData.add_member(:account_scope, Shapes::ShapeRef.new(shape: AccountScope, location_name: "AccountScope"))
|
|
@@ -2076,6 +2079,12 @@ module Aws::CostExplorer
|
|
|
2076
2079
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2077
2080
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
|
2078
2081
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
2082
|
+
o[:pager] = Aws::Pager.new(
|
|
2083
|
+
limit_key: "page_size",
|
|
2084
|
+
tokens: {
|
|
2085
|
+
"next_page_token" => "next_page_token"
|
|
2086
|
+
}
|
|
2087
|
+
)
|
|
2079
2088
|
end)
|
|
2080
2089
|
|
|
2081
2090
|
api.add_operation(:get_reservation_utilization, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2097,6 +2106,12 @@ module Aws::CostExplorer
|
|
|
2097
2106
|
o.output = Shapes::ShapeRef.new(shape: GetRightsizingRecommendationResponse)
|
|
2098
2107
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2099
2108
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
2109
|
+
o[:pager] = Aws::Pager.new(
|
|
2110
|
+
limit_key: "page_size",
|
|
2111
|
+
tokens: {
|
|
2112
|
+
"next_page_token" => "next_page_token"
|
|
2113
|
+
}
|
|
2114
|
+
)
|
|
2100
2115
|
end)
|
|
2101
2116
|
|
|
2102
2117
|
api.add_operation(:get_savings_plan_purchase_recommendation_details, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2200,6 +2215,12 @@ module Aws::CostExplorer
|
|
|
2200
2215
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2201
2216
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
2202
2217
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
|
2218
|
+
o[:pager] = Aws::Pager.new(
|
|
2219
|
+
limit_key: "page_size",
|
|
2220
|
+
tokens: {
|
|
2221
|
+
"next_page_token" => "next_page_token"
|
|
2222
|
+
}
|
|
2223
|
+
)
|
|
2203
2224
|
end)
|
|
2204
2225
|
|
|
2205
2226
|
api.add_operation(:list_cost_allocation_tag_backfill_history, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2274,6 +2295,12 @@ module Aws::CostExplorer
|
|
|
2274
2295
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2275
2296
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
2276
2297
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
|
2298
|
+
o[:pager] = Aws::Pager.new(
|
|
2299
|
+
limit_key: "page_size",
|
|
2300
|
+
tokens: {
|
|
2301
|
+
"next_page_token" => "next_page_token"
|
|
2302
|
+
}
|
|
2303
|
+
)
|
|
2277
2304
|
end)
|
|
2278
2305
|
|
|
2279
2306
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -6170,6 +6170,11 @@ module Aws::CostExplorer
|
|
|
6170
6170
|
# Determines whether the recommended reservation is size flexible.
|
|
6171
6171
|
# @return [Boolean]
|
|
6172
6172
|
#
|
|
6173
|
+
# @!attribute [rw] deployment_model
|
|
6174
|
+
# Determines whether the recommendation is for a reservation for RDS
|
|
6175
|
+
# Custom.
|
|
6176
|
+
# @return [String]
|
|
6177
|
+
#
|
|
6173
6178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RDSInstanceDetails AWS API Documentation
|
|
6174
6179
|
#
|
|
6175
6180
|
class RDSInstanceDetails < Struct.new(
|
|
@@ -6181,7 +6186,8 @@ module Aws::CostExplorer
|
|
|
6181
6186
|
:deployment_option,
|
|
6182
6187
|
:license_model,
|
|
6183
6188
|
:current_generation,
|
|
6184
|
-
:size_flex_eligible
|
|
6189
|
+
:size_flex_eligible,
|
|
6190
|
+
:deployment_model)
|
|
6185
6191
|
SENSITIVE = []
|
|
6186
6192
|
include Aws::Structure
|
|
6187
6193
|
end
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
data/sig/types.rbs
CHANGED