Skip to content

Commit bfcc837

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 213143e commit bfcc837

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
@@ -1007,6 +1007,8 @@ def describe_cost_category_definition(params = {}, options = {})
10071007
# * {Types::GetAnomaliesResponse#anomalies #anomalies} => Array<Types::Anomaly>
10081008
# * {Types::GetAnomaliesResponse#next_page_token #next_page_token} => String
10091009
#
1010+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1011+
#
10101012
# @example Request syntax with placeholder values
10111013
#
10121014
# resp = client.get_anomalies({
@@ -1079,6 +1081,8 @@ def get_anomalies(params = {}, options = {})
10791081
# * {Types::GetAnomalyMonitorsResponse#anomaly_monitors #anomaly_monitors} => Array<Types::AnomalyMonitor>
10801082
# * {Types::GetAnomalyMonitorsResponse#next_page_token #next_page_token} => String
10811083
#
1084+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1085+
#
10821086
# @example Request syntax with placeholder values
10831087
#
10841088
# resp = client.get_anomaly_monitors({
@@ -1152,6 +1156,8 @@ def get_anomaly_monitors(params = {}, options = {})
11521156
# * {Types::GetAnomalySubscriptionsResponse#anomaly_subscriptions #anomaly_subscriptions} => Array<Types::AnomalySubscription>
11531157
# * {Types::GetAnomalySubscriptionsResponse#next_page_token #next_page_token} => String
11541158
#
1159+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1160+
#
11551161
# @example Request syntax with placeholder values
11561162
#
11571163
# resp = client.get_anomaly_subscriptions({
@@ -1442,6 +1448,8 @@ def get_commitment_purchase_analysis(params = {}, options = {})
14421448
# * {Types::GetCostAndUsageResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
14431449
# * {Types::GetCostAndUsageResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
14441450
#
1451+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1452+
#
14451453
# @example Request syntax with placeholder values
14461454
#
14471455
# resp = client.get_cost_and_usage({
@@ -1634,6 +1642,8 @@ def get_cost_and_usage(params = {}, options = {})
16341642
# * {Types::GetCostAndUsageWithResourcesResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
16351643
# * {Types::GetCostAndUsageWithResourcesResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
16361644
#
1645+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1646+
#
16371647
# @example Request syntax with placeholder values
16381648
#
16391649
# resp = client.get_cost_and_usage_with_resources({
@@ -1758,6 +1768,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17581768
#
17591769
# * Specify the `Dimensions` field to define a filter that acts on
17601770
# the [ `DimensionValues` ][1].
1771+
#
17611772
# * For each filter type, you can set the dimension name and values
17621773
# for the filters that you plan to use.
17631774
#
@@ -1772,6 +1783,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17721783
#
17731784
# * As shown in the previous example, lists of dimension values are
17741785
# combined with `OR` when applying the filter.
1786+
#
17751787
# * You can also set different match options to further control how
17761788
# the filter behaves. Not all APIs support match options. Refer to
17771789
# the documentation for each specific API to see what is supported.
@@ -1782,6 +1794,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17821794
# * The corresponding `Expression` for this example is as follows:
17831795
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
17841796
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
1797+
#
17851798
# * Compound `Expression` types with logical operations.
17861799
#
17871800
# * You can use multiple `Expression` types and the logical operators
@@ -1797,6 +1810,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17971810
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
17981811
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
17991812
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
1813+
#
18001814
# <note markdown="1"> Because each `Expression` can have only one operator, the service
18011815
# returns an error if more than one is specified. The following
18021816
# example shows an `Expression` object that creates an error: ` {
@@ -1884,6 +1898,8 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
18841898
# * {Types::GetCostCategoriesResponse#return_size #return_size} => Integer
18851899
# * {Types::GetCostCategoriesResponse#total_size #total_size} => Integer
18861900
#
1901+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1902+
#
18871903
# @example Request syntax with placeholder values
18881904
#
18891905
# resp = client.get_cost_categories({
@@ -2318,6 +2334,7 @@ def get_cost_forecast(params = {}, options = {})
23182334
#
23192335
# * Specify the `Dimensions` field to define a filter that acts on
23202336
# the [ `DimensionValues` ][1].
2337+
#
23212338
# * For each filter type, you can set the dimension name and values
23222339
# for the filters that you plan to use.
23232340
#
@@ -2332,6 +2349,7 @@ def get_cost_forecast(params = {}, options = {})
23322349
#
23332350
# * As shown in the previous example, lists of dimension values are
23342351
# combined with `OR` when applying the filter.
2352+
#
23352353
# * You can also set different match options to further control how
23362354
# the filter behaves. Not all APIs support match options. Refer to
23372355
# the documentation for each specific API to see what is supported.
@@ -2342,6 +2360,7 @@ def get_cost_forecast(params = {}, options = {})
23422360
# * The corresponding `Expression` for this example is as follows:
23432361
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
23442362
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2363+
#
23452364
# * Compound `Expression` types with logical operations.
23462365
#
23472366
# * You can use multiple `Expression` types and the logical operators
@@ -2357,6 +2376,7 @@ def get_cost_forecast(params = {}, options = {})
23572376
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
23582377
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
23592378
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2379+
#
23602380
# <note markdown="1"> Because each `Expression` can have only one operator, the service
23612381
# returns an error if more than one is specified. The following
23622382
# example shows an `Expression` object that creates an error: ` {
@@ -2441,6 +2461,8 @@ def get_cost_forecast(params = {}, options = {})
24412461
# * {Types::GetDimensionValuesResponse#total_size #total_size} => Integer
24422462
# * {Types::GetDimensionValuesResponse#next_page_token #next_page_token} => String
24432463
#
2464+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2465+
#
24442466
# @example Request syntax with placeholder values
24452467
#
24462468
# resp = client.get_dimension_values({
@@ -2684,6 +2706,8 @@ def get_dimension_values(params = {}, options = {})
26842706
# * {Types::GetReservationCoverageResponse#total #total} => Types::Coverage
26852707
# * {Types::GetReservationCoverageResponse#next_page_token #next_page_token} => String
26862708
#
2709+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2710+
#
26872711
# @example Request syntax with placeholder values
26882712
#
26892713
# resp = client.get_reservation_coverage({
@@ -2833,6 +2857,7 @@ def get_reservation_coverage(params = {}, options = {})
28332857
#
28342858
# * Specify the `Dimensions` field to define a filter that acts on
28352859
# the [ `DimensionValues` ][1].
2860+
#
28362861
# * For each filter type, you can set the dimension name and values
28372862
# for the filters that you plan to use.
28382863
#
@@ -2847,6 +2872,7 @@ def get_reservation_coverage(params = {}, options = {})
28472872
#
28482873
# * As shown in the previous example, lists of dimension values are
28492874
# combined with `OR` when applying the filter.
2875+
#
28502876
# * You can also set different match options to further control how
28512877
# the filter behaves. Not all APIs support match options. Refer to
28522878
# the documentation for each specific API to see what is supported.
@@ -2857,6 +2883,7 @@ def get_reservation_coverage(params = {}, options = {})
28572883
# * The corresponding `Expression` for this example is as follows:
28582884
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
28592885
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2886+
#
28602887
# * Compound `Expression` types with logical operations.
28612888
#
28622889
# * You can use multiple `Expression` types and the logical operators
@@ -2872,6 +2899,7 @@ def get_reservation_coverage(params = {}, options = {})
28722899
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
28732900
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
28742901
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2902+
#
28752903
# <note markdown="1"> Because each `Expression` can have only one operator, the service
28762904
# returns an error if more than one is specified. The following
28772905
# example shows an `Expression` object that creates an error: ` {
@@ -2937,6 +2965,8 @@ def get_reservation_coverage(params = {}, options = {})
29372965
# * {Types::GetReservationPurchaseRecommendationResponse#recommendations #recommendations} => Array&lt;Types::ReservationPurchaseRecommendation&gt;
29382966
# * {Types::GetReservationPurchaseRecommendationResponse#next_page_token #next_page_token} => String
29392967
#
2968+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2969+
#
29402970
# @example Request syntax with placeholder values
29412971
#
29422972
# resp = client.get_reservation_purchase_recommendation({
@@ -3200,6 +3230,8 @@ def get_reservation_purchase_recommendation(params = {}, options = {})
32003230
# * {Types::GetReservationUtilizationResponse#total #total} => Types::ReservationAggregates
32013231
# * {Types::GetReservationUtilizationResponse#next_page_token #next_page_token} => String
32023232
#
3233+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3234+
#
32033235
# @example Request syntax with placeholder values
32043236
#
32053237
# resp = client.get_reservation_utilization({
@@ -3358,6 +3390,7 @@ def get_reservation_utilization(params = {}, options = {})
33583390
#
33593391
# * Specify the `Dimensions` field to define a filter that acts on
33603392
# the [ `DimensionValues` ][1].
3393+
#
33613394
# * For each filter type, you can set the dimension name and values
33623395
# for the filters that you plan to use.
33633396
#
@@ -3372,6 +3405,7 @@ def get_reservation_utilization(params = {}, options = {})
33723405
#
33733406
# * As shown in the previous example, lists of dimension values are
33743407
# combined with `OR` when applying the filter.
3408+
#
33753409
# * You can also set different match options to further control how
33763410
# the filter behaves. Not all APIs support match options. Refer to
33773411
# the documentation for each specific API to see what is supported.
@@ -3382,6 +3416,7 @@ def get_reservation_utilization(params = {}, options = {})
33823416
# * The corresponding `Expression` for this example is as follows:
33833417
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
33843418
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
3419+
#
33853420
# * Compound `Expression` types with logical operations.
33863421
#
33873422
# * You can use multiple `Expression` types and the logical operators
@@ -3397,6 +3432,7 @@ def get_reservation_utilization(params = {}, options = {})
33973432
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
33983433
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
33993434
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
3435+
#
34003436
# <note markdown="1"> Because each `Expression` can have only one operator, the service
34013437
# returns an error if more than one is specified. The following
34023438
# example shows an `Expression` object that creates an error: ` {
@@ -3454,6 +3490,8 @@ def get_reservation_utilization(params = {}, options = {})
34543490
# * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String
34553491
# * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration
34563492
#
3493+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3494+
#
34573495
# @example Request syntax with placeholder values
34583496
#
34593497
# resp = client.get_rightsizing_recommendation({
@@ -3887,6 +3925,8 @@ def get_savings_plans_coverage(params = {}, options = {})
38873925
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#savings_plans_purchase_recommendation #savings_plans_purchase_recommendation} => Types::SavingsPlansPurchaseRecommendation
38883926
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#next_page_token #next_page_token} => String
38893927
#
3928+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3929+
#
38903930
# @example Request syntax with placeholder values
38913931
#
38923932
# resp = client.get_savings_plans_purchase_recommendation({
@@ -4332,6 +4372,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43324372
#
43334373
# * Specify the `Dimensions` field to define a filter that acts on
43344374
# the [ `DimensionValues` ][1].
4375+
#
43354376
# * For each filter type, you can set the dimension name and values
43364377
# for the filters that you plan to use.
43374378
#
@@ -4346,6 +4387,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43464387
#
43474388
# * As shown in the previous example, lists of dimension values are
43484389
# combined with `OR` when applying the filter.
4390+
#
43494391
# * You can also set different match options to further control how
43504392
# the filter behaves. Not all APIs support match options. Refer to
43514393
# the documentation for each specific API to see what is supported.
@@ -4356,6 +4398,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43564398
# * The corresponding `Expression` for this example is as follows:
43574399
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
43584400
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
4401+
#
43594402
# * Compound `Expression` types with logical operations.
43604403
#
43614404
# * You can use multiple `Expression` types and the logical operators
@@ -4371,6 +4414,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43714414
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
43724415
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
43734416
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
4417+
#
43744418
# <note markdown="1"> Because each `Expression` can have only one operator, the service
43754419
# returns an error if more than one is specified. The following
43764420
# example shows an `Expression` object that creates an error: ` {
@@ -4453,6 +4497,8 @@ def get_savings_plans_utilization_details(params = {}, options = {})
44534497
# * {Types::GetTagsResponse#return_size #return_size} => Integer
44544498
# * {Types::GetTagsResponse#total_size #total_size} => Integer
44554499
#
4500+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4501+
#
44564502
# @example Request syntax with placeholder values
44574503
#
44584504
# resp = client.get_tags({
@@ -4937,6 +4983,8 @@ def list_cost_category_definitions(params = {}, options = {})
49374983
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#generation_summary_list #generation_summary_list} => Array&lt;Types::GenerationSummary&gt;
49384984
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#next_page_token #next_page_token} => String
49394985
#
4986+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4987+
#
49404988
# @example Request syntax with placeholder values
49414989
#
49424990
# resp = client.list_savings_plans_purchase_recommendation_generation({

0 commit comments

Comments
 (0)