Skip to content

Commit 508d8d5

Browse files
committed
Rebuild CostExplorer SDK
- Includes the new paginator definitions for the Cost Explorer API, so #next_page?, #next_page and other pagination methods are now properly working on the response
1 parent 4e82bfc commit 508d8d5

File tree

3 files changed

+158
-0
lines changed

3 files changed

+158
-0
lines changed

gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb

+48
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,8 @@ def describe_cost_category_definition(params = {}, options = {})
10301030
# * {Types::GetAnomaliesResponse#anomalies #anomalies} => Array<Types::Anomaly>
10311031
# * {Types::GetAnomaliesResponse#next_page_token #next_page_token} => String
10321032
#
1033+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1034+
#
10331035
# @example Request syntax with placeholder values
10341036
#
10351037
# resp = client.get_anomalies({
@@ -1102,6 +1104,8 @@ def get_anomalies(params = {}, options = {})
11021104
# * {Types::GetAnomalyMonitorsResponse#anomaly_monitors #anomaly_monitors} => Array<Types::AnomalyMonitor>
11031105
# * {Types::GetAnomalyMonitorsResponse#next_page_token #next_page_token} => String
11041106
#
1107+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1108+
#
11051109
# @example Request syntax with placeholder values
11061110
#
11071111
# resp = client.get_anomaly_monitors({
@@ -1175,6 +1179,8 @@ def get_anomaly_monitors(params = {}, options = {})
11751179
# * {Types::GetAnomalySubscriptionsResponse#anomaly_subscriptions #anomaly_subscriptions} => Array<Types::AnomalySubscription>
11761180
# * {Types::GetAnomalySubscriptionsResponse#next_page_token #next_page_token} => String
11771181
#
1182+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1183+
#
11781184
# @example Request syntax with placeholder values
11791185
#
11801186
# resp = client.get_anomaly_subscriptions({
@@ -1465,6 +1471,8 @@ def get_commitment_purchase_analysis(params = {}, options = {})
14651471
# * {Types::GetCostAndUsageResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
14661472
# * {Types::GetCostAndUsageResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
14671473
#
1474+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1475+
#
14681476
# @example Request syntax with placeholder values
14691477
#
14701478
# resp = client.get_cost_and_usage({
@@ -1657,6 +1665,8 @@ def get_cost_and_usage(params = {}, options = {})
16571665
# * {Types::GetCostAndUsageWithResourcesResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
16581666
# * {Types::GetCostAndUsageWithResourcesResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
16591667
#
1668+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1669+
#
16601670
# @example Request syntax with placeholder values
16611671
#
16621672
# resp = client.get_cost_and_usage_with_resources({
@@ -1781,6 +1791,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17811791
#
17821792
# * Specify the `Dimensions` field to define a filter that acts on
17831793
# the [ `DimensionValues` ][1].
1794+
#
17841795
# * For each filter type, you can set the dimension name and values
17851796
# for the filters that you plan to use.
17861797
#
@@ -1795,6 +1806,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17951806
#
17961807
# * As shown in the previous example, lists of dimension values are
17971808
# combined with `OR` when applying the filter.
1809+
#
17981810
# * You can also set different match options to further control how
17991811
# the filter behaves. Not all APIs support match options. Refer to
18001812
# the documentation for each specific API to see what is supported.
@@ -1805,6 +1817,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
18051817
# * The corresponding `Expression` for this example is as follows:
18061818
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
18071819
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
1820+
#
18081821
# * Compound `Expression` types with logical operations.
18091822
#
18101823
# * You can use multiple `Expression` types and the logical operators
@@ -1820,6 +1833,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
18201833
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
18211834
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
18221835
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
1836+
#
18231837
# <note markdown="1"> Because each `Expression` can have only one operator, the service
18241838
# returns an error if more than one is specified. The following
18251839
# example shows an `Expression` object that creates an error: ` {
@@ -1907,6 +1921,8 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
19071921
# * {Types::GetCostCategoriesResponse#return_size #return_size} => Integer
19081922
# * {Types::GetCostCategoriesResponse#total_size #total_size} => Integer
19091923
#
1924+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1925+
#
19101926
# @example Request syntax with placeholder values
19111927
#
19121928
# resp = client.get_cost_categories({
@@ -2341,6 +2357,7 @@ def get_cost_forecast(params = {}, options = {})
23412357
#
23422358
# * Specify the `Dimensions` field to define a filter that acts on
23432359
# the [ `DimensionValues` ][1].
2360+
#
23442361
# * For each filter type, you can set the dimension name and values
23452362
# for the filters that you plan to use.
23462363
#
@@ -2355,6 +2372,7 @@ def get_cost_forecast(params = {}, options = {})
23552372
#
23562373
# * As shown in the previous example, lists of dimension values are
23572374
# combined with `OR` when applying the filter.
2375+
#
23582376
# * You can also set different match options to further control how
23592377
# the filter behaves. Not all APIs support match options. Refer to
23602378
# the documentation for each specific API to see what is supported.
@@ -2365,6 +2383,7 @@ def get_cost_forecast(params = {}, options = {})
23652383
# * The corresponding `Expression` for this example is as follows:
23662384
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
23672385
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2386+
#
23682387
# * Compound `Expression` types with logical operations.
23692388
#
23702389
# * You can use multiple `Expression` types and the logical operators
@@ -2380,6 +2399,7 @@ def get_cost_forecast(params = {}, options = {})
23802399
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
23812400
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
23822401
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2402+
#
23832403
# <note markdown="1"> Because each `Expression` can have only one operator, the service
23842404
# returns an error if more than one is specified. The following
23852405
# example shows an `Expression` object that creates an error: ` {
@@ -2464,6 +2484,8 @@ def get_cost_forecast(params = {}, options = {})
24642484
# * {Types::GetDimensionValuesResponse#total_size #total_size} => Integer
24652485
# * {Types::GetDimensionValuesResponse#next_page_token #next_page_token} => String
24662486
#
2487+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2488+
#
24672489
# @example Request syntax with placeholder values
24682490
#
24692491
# resp = client.get_dimension_values({
@@ -2707,6 +2729,8 @@ def get_dimension_values(params = {}, options = {})
27072729
# * {Types::GetReservationCoverageResponse#total #total} => Types::Coverage
27082730
# * {Types::GetReservationCoverageResponse#next_page_token #next_page_token} => String
27092731
#
2732+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2733+
#
27102734
# @example Request syntax with placeholder values
27112735
#
27122736
# resp = client.get_reservation_coverage({
@@ -2856,6 +2880,7 @@ def get_reservation_coverage(params = {}, options = {})
28562880
#
28572881
# * Specify the `Dimensions` field to define a filter that acts on
28582882
# the [ `DimensionValues` ][1].
2883+
#
28592884
# * For each filter type, you can set the dimension name and values
28602885
# for the filters that you plan to use.
28612886
#
@@ -2870,6 +2895,7 @@ def get_reservation_coverage(params = {}, options = {})
28702895
#
28712896
# * As shown in the previous example, lists of dimension values are
28722897
# combined with `OR` when applying the filter.
2898+
#
28732899
# * You can also set different match options to further control how
28742900
# the filter behaves. Not all APIs support match options. Refer to
28752901
# the documentation for each specific API to see what is supported.
@@ -2880,6 +2906,7 @@ def get_reservation_coverage(params = {}, options = {})
28802906
# * The corresponding `Expression` for this example is as follows:
28812907
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
28822908
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2909+
#
28832910
# * Compound `Expression` types with logical operations.
28842911
#
28852912
# * You can use multiple `Expression` types and the logical operators
@@ -2895,6 +2922,7 @@ def get_reservation_coverage(params = {}, options = {})
28952922
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
28962923
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
28972924
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2925+
#
28982926
# <note markdown="1"> Because each `Expression` can have only one operator, the service
28992927
# returns an error if more than one is specified. The following
29002928
# example shows an `Expression` object that creates an error: ` {
@@ -2960,6 +2988,8 @@ def get_reservation_coverage(params = {}, options = {})
29602988
# * {Types::GetReservationPurchaseRecommendationResponse#recommendations #recommendations} => Array&lt;Types::ReservationPurchaseRecommendation&gt;
29612989
# * {Types::GetReservationPurchaseRecommendationResponse#next_page_token #next_page_token} => String
29622990
#
2991+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2992+
#
29632993
# @example Request syntax with placeholder values
29642994
#
29652995
# resp = client.get_reservation_purchase_recommendation({
@@ -3223,6 +3253,8 @@ def get_reservation_purchase_recommendation(params = {}, options = {})
32233253
# * {Types::GetReservationUtilizationResponse#total #total} => Types::ReservationAggregates
32243254
# * {Types::GetReservationUtilizationResponse#next_page_token #next_page_token} => String
32253255
#
3256+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3257+
#
32263258
# @example Request syntax with placeholder values
32273259
#
32283260
# resp = client.get_reservation_utilization({
@@ -3381,6 +3413,7 @@ def get_reservation_utilization(params = {}, options = {})
33813413
#
33823414
# * Specify the `Dimensions` field to define a filter that acts on
33833415
# the [ `DimensionValues` ][1].
3416+
#
33843417
# * For each filter type, you can set the dimension name and values
33853418
# for the filters that you plan to use.
33863419
#
@@ -3395,6 +3428,7 @@ def get_reservation_utilization(params = {}, options = {})
33953428
#
33963429
# * As shown in the previous example, lists of dimension values are
33973430
# combined with `OR` when applying the filter.
3431+
#
33983432
# * You can also set different match options to further control how
33993433
# the filter behaves. Not all APIs support match options. Refer to
34003434
# the documentation for each specific API to see what is supported.
@@ -3405,6 +3439,7 @@ def get_reservation_utilization(params = {}, options = {})
34053439
# * The corresponding `Expression` for this example is as follows:
34063440
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
34073441
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
3442+
#
34083443
# * Compound `Expression` types with logical operations.
34093444
#
34103445
# * You can use multiple `Expression` types and the logical operators
@@ -3420,6 +3455,7 @@ def get_reservation_utilization(params = {}, options = {})
34203455
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
34213456
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
34223457
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
3458+
#
34233459
# <note markdown="1"> Because each `Expression` can have only one operator, the service
34243460
# returns an error if more than one is specified. The following
34253461
# example shows an `Expression` object that creates an error: ` {
@@ -3477,6 +3513,8 @@ def get_reservation_utilization(params = {}, options = {})
34773513
# * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String
34783514
# * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration
34793515
#
3516+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3517+
#
34803518
# @example Request syntax with placeholder values
34813519
#
34823520
# resp = client.get_rightsizing_recommendation({
@@ -3910,6 +3948,8 @@ def get_savings_plans_coverage(params = {}, options = {})
39103948
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#savings_plans_purchase_recommendation #savings_plans_purchase_recommendation} => Types::SavingsPlansPurchaseRecommendation
39113949
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#next_page_token #next_page_token} => String
39123950
#
3951+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3952+
#
39133953
# @example Request syntax with placeholder values
39143954
#
39153955
# resp = client.get_savings_plans_purchase_recommendation({
@@ -4355,6 +4395,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43554395
#
43564396
# * Specify the `Dimensions` field to define a filter that acts on
43574397
# the [ `DimensionValues` ][1].
4398+
#
43584399
# * For each filter type, you can set the dimension name and values
43594400
# for the filters that you plan to use.
43604401
#
@@ -4369,6 +4410,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43694410
#
43704411
# * As shown in the previous example, lists of dimension values are
43714412
# combined with `OR` when applying the filter.
4413+
#
43724414
# * You can also set different match options to further control how
43734415
# the filter behaves. Not all APIs support match options. Refer to
43744416
# the documentation for each specific API to see what is supported.
@@ -4379,6 +4421,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43794421
# * The corresponding `Expression` for this example is as follows:
43804422
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
43814423
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
4424+
#
43824425
# * Compound `Expression` types with logical operations.
43834426
#
43844427
# * You can use multiple `Expression` types and the logical operators
@@ -4394,6 +4437,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43944437
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
43954438
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
43964439
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
4440+
#
43974441
# <note markdown="1"> Because each `Expression` can have only one operator, the service
43984442
# returns an error if more than one is specified. The following
43994443
# example shows an `Expression` object that creates an error: ` {
@@ -4476,6 +4520,8 @@ def get_savings_plans_utilization_details(params = {}, options = {})
44764520
# * {Types::GetTagsResponse#return_size #return_size} => Integer
44774521
# * {Types::GetTagsResponse#total_size #total_size} => Integer
44784522
#
4523+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4524+
#
44794525
# @example Request syntax with placeholder values
44804526
#
44814527
# resp = client.get_tags({
@@ -4960,6 +5006,8 @@ def list_cost_category_definitions(params = {}, options = {})
49605006
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#generation_summary_list #generation_summary_list} => Array&lt;Types::GenerationSummary&gt;
49615007
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#next_page_token #next_page_token} => String
49625008
#
5009+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5010+
#
49635011
# @example Request syntax with placeholder values
49645012
#
49655013
# resp = client.list_savings_plans_purchase_recommendation_generation({

0 commit comments

Comments
 (0)