Skip to content

Commit a63c98a

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 413104a commit a63c98a

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

Lines changed: 48 additions & 0 deletions
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({
@@ -1434,6 +1440,8 @@ def get_commitment_purchase_analysis(params = {}, options = {})
14341440
# * {Types::GetCostAndUsageResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
14351441
# * {Types::GetCostAndUsageResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
14361442
#
1443+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1444+
#
14371445
# @example Request syntax with placeholder values
14381446
#
14391447
# resp = client.get_cost_and_usage({
@@ -1617,6 +1625,8 @@ def get_cost_and_usage(params = {}, options = {})
16171625
# * {Types::GetCostAndUsageWithResourcesResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
16181626
# * {Types::GetCostAndUsageWithResourcesResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
16191627
#
1628+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1629+
#
16201630
# @example Request syntax with placeholder values
16211631
#
16221632
# resp = client.get_cost_and_usage_with_resources({
@@ -1740,6 +1750,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17401750
#
17411751
# * Specify the `Dimensions` field to define a filter that acts on
17421752
# the [ `DimensionValues` ][1].
1753+
#
17431754
# * For each filter type, you can set the dimension name and values
17441755
# for the filters that you plan to use.
17451756
#
@@ -1754,6 +1765,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17541765
#
17551766
# * As shown in the previous example, lists of dimension values are
17561767
# combined with `OR` when applying the filter.
1768+
#
17571769
# * You can also set different match options to further control how
17581770
# the filter behaves. Not all APIs support match options. Refer to
17591771
# the documentation for each specific API to see what is supported.
@@ -1764,6 +1776,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17641776
# * The corresponding `Expression` for this example is as follows:
17651777
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
17661778
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
1779+
#
17671780
# * Compound `Expression` types with logical operations.
17681781
#
17691782
# * You can use multiple `Expression` types and the logical operators
@@ -1779,6 +1792,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17791792
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
17801793
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
17811794
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
1795+
#
17821796
# <note markdown="1"> Because each `Expression` can have only one operator, the service
17831797
# returns an error if more than one is specified. The following
17841798
# example shows an `Expression` object that creates an error: ` {
@@ -1858,6 +1872,8 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
18581872
# * {Types::GetCostCategoriesResponse#return_size #return_size} => Integer
18591873
# * {Types::GetCostCategoriesResponse#total_size #total_size} => Integer
18601874
#
1875+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1876+
#
18611877
# @example Request syntax with placeholder values
18621878
#
18631879
# resp = client.get_cost_categories({
@@ -2282,6 +2298,7 @@ def get_cost_forecast(params = {}, options = {})
22822298
#
22832299
# * Specify the `Dimensions` field to define a filter that acts on
22842300
# the [ `DimensionValues` ][1].
2301+
#
22852302
# * For each filter type, you can set the dimension name and values
22862303
# for the filters that you plan to use.
22872304
#
@@ -2296,6 +2313,7 @@ def get_cost_forecast(params = {}, options = {})
22962313
#
22972314
# * As shown in the previous example, lists of dimension values are
22982315
# combined with `OR` when applying the filter.
2316+
#
22992317
# * You can also set different match options to further control how
23002318
# the filter behaves. Not all APIs support match options. Refer to
23012319
# the documentation for each specific API to see what is supported.
@@ -2306,6 +2324,7 @@ def get_cost_forecast(params = {}, options = {})
23062324
# * The corresponding `Expression` for this example is as follows:
23072325
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
23082326
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2327+
#
23092328
# * Compound `Expression` types with logical operations.
23102329
#
23112330
# * You can use multiple `Expression` types and the logical operators
@@ -2321,6 +2340,7 @@ def get_cost_forecast(params = {}, options = {})
23212340
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
23222341
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
23232342
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2343+
#
23242344
# <note markdown="1"> Because each `Expression` can have only one operator, the service
23252345
# returns an error if more than one is specified. The following
23262346
# example shows an `Expression` object that creates an error: ` {
@@ -2397,6 +2417,8 @@ def get_cost_forecast(params = {}, options = {})
23972417
# * {Types::GetDimensionValuesResponse#total_size #total_size} => Integer
23982418
# * {Types::GetDimensionValuesResponse#next_page_token #next_page_token} => String
23992419
#
2420+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2421+
#
24002422
# @example Request syntax with placeholder values
24012423
#
24022424
# resp = client.get_dimension_values({
@@ -2639,6 +2661,8 @@ def get_dimension_values(params = {}, options = {})
26392661
# * {Types::GetReservationCoverageResponse#total #total} => Types::Coverage
26402662
# * {Types::GetReservationCoverageResponse#next_page_token #next_page_token} => String
26412663
#
2664+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2665+
#
26422666
# @example Request syntax with placeholder values
26432667
#
26442668
# resp = client.get_reservation_coverage({
@@ -2788,6 +2812,7 @@ def get_reservation_coverage(params = {}, options = {})
27882812
#
27892813
# * Specify the `Dimensions` field to define a filter that acts on
27902814
# the [ `DimensionValues` ][1].
2815+
#
27912816
# * For each filter type, you can set the dimension name and values
27922817
# for the filters that you plan to use.
27932818
#
@@ -2802,6 +2827,7 @@ def get_reservation_coverage(params = {}, options = {})
28022827
#
28032828
# * As shown in the previous example, lists of dimension values are
28042829
# combined with `OR` when applying the filter.
2830+
#
28052831
# * You can also set different match options to further control how
28062832
# the filter behaves. Not all APIs support match options. Refer to
28072833
# the documentation for each specific API to see what is supported.
@@ -2812,6 +2838,7 @@ def get_reservation_coverage(params = {}, options = {})
28122838
# * The corresponding `Expression` for this example is as follows:
28132839
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
28142840
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2841+
#
28152842
# * Compound `Expression` types with logical operations.
28162843
#
28172844
# * You can use multiple `Expression` types and the logical operators
@@ -2827,6 +2854,7 @@ def get_reservation_coverage(params = {}, options = {})
28272854
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
28282855
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
28292856
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2857+
#
28302858
# <note markdown="1"> Because each `Expression` can have only one operator, the service
28312859
# returns an error if more than one is specified. The following
28322860
# example shows an `Expression` object that creates an error: ` {
@@ -2892,6 +2920,8 @@ def get_reservation_coverage(params = {}, options = {})
28922920
# * {Types::GetReservationPurchaseRecommendationResponse#recommendations #recommendations} => Array&lt;Types::ReservationPurchaseRecommendation&gt;
28932921
# * {Types::GetReservationPurchaseRecommendationResponse#next_page_token #next_page_token} => String
28942922
#
2923+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2924+
#
28952925
# @example Request syntax with placeholder values
28962926
#
28972927
# resp = client.get_reservation_purchase_recommendation({
@@ -3155,6 +3185,8 @@ def get_reservation_purchase_recommendation(params = {}, options = {})
31553185
# * {Types::GetReservationUtilizationResponse#total #total} => Types::ReservationAggregates
31563186
# * {Types::GetReservationUtilizationResponse#next_page_token #next_page_token} => String
31573187
#
3188+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3189+
#
31583190
# @example Request syntax with placeholder values
31593191
#
31603192
# resp = client.get_reservation_utilization({
@@ -3313,6 +3345,7 @@ def get_reservation_utilization(params = {}, options = {})
33133345
#
33143346
# * Specify the `Dimensions` field to define a filter that acts on
33153347
# the [ `DimensionValues` ][1].
3348+
#
33163349
# * For each filter type, you can set the dimension name and values
33173350
# for the filters that you plan to use.
33183351
#
@@ -3327,6 +3360,7 @@ def get_reservation_utilization(params = {}, options = {})
33273360
#
33283361
# * As shown in the previous example, lists of dimension values are
33293362
# combined with `OR` when applying the filter.
3363+
#
33303364
# * You can also set different match options to further control how
33313365
# the filter behaves. Not all APIs support match options. Refer to
33323366
# the documentation for each specific API to see what is supported.
@@ -3337,6 +3371,7 @@ def get_reservation_utilization(params = {}, options = {})
33373371
# * The corresponding `Expression` for this example is as follows:
33383372
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
33393373
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
3374+
#
33403375
# * Compound `Expression` types with logical operations.
33413376
#
33423377
# * You can use multiple `Expression` types and the logical operators
@@ -3352,6 +3387,7 @@ def get_reservation_utilization(params = {}, options = {})
33523387
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
33533388
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
33543389
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
3390+
#
33553391
# <note markdown="1"> Because each `Expression` can have only one operator, the service
33563392
# returns an error if more than one is specified. The following
33573393
# example shows an `Expression` object that creates an error: ` {
@@ -3409,6 +3445,8 @@ def get_reservation_utilization(params = {}, options = {})
34093445
# * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String
34103446
# * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration
34113447
#
3448+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3449+
#
34123450
# @example Request syntax with placeholder values
34133451
#
34143452
# resp = client.get_rightsizing_recommendation({
@@ -3842,6 +3880,8 @@ def get_savings_plans_coverage(params = {}, options = {})
38423880
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#savings_plans_purchase_recommendation #savings_plans_purchase_recommendation} => Types::SavingsPlansPurchaseRecommendation
38433881
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#next_page_token #next_page_token} => String
38443882
#
3883+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3884+
#
38453885
# @example Request syntax with placeholder values
38463886
#
38473887
# resp = client.get_savings_plans_purchase_recommendation({
@@ -4287,6 +4327,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
42874327
#
42884328
# * Specify the `Dimensions` field to define a filter that acts on
42894329
# the [ `DimensionValues` ][1].
4330+
#
42904331
# * For each filter type, you can set the dimension name and values
42914332
# for the filters that you plan to use.
42924333
#
@@ -4301,6 +4342,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43014342
#
43024343
# * As shown in the previous example, lists of dimension values are
43034344
# combined with `OR` when applying the filter.
4345+
#
43044346
# * You can also set different match options to further control how
43054347
# the filter behaves. Not all APIs support match options. Refer to
43064348
# the documentation for each specific API to see what is supported.
@@ -4311,6 +4353,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43114353
# * The corresponding `Expression` for this example is as follows:
43124354
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
43134355
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
4356+
#
43144357
# * Compound `Expression` types with logical operations.
43154358
#
43164359
# * You can use multiple `Expression` types and the logical operators
@@ -4326,6 +4369,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43264369
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
43274370
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
43284371
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
4372+
#
43294373
# <note markdown="1"> Because each `Expression` can have only one operator, the service
43304374
# returns an error if more than one is specified. The following
43314375
# example shows an `Expression` object that creates an error: ` {
@@ -4400,6 +4444,8 @@ def get_savings_plans_utilization_details(params = {}, options = {})
44004444
# * {Types::GetTagsResponse#return_size #return_size} => Integer
44014445
# * {Types::GetTagsResponse#total_size #total_size} => Integer
44024446
#
4447+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4448+
#
44034449
# @example Request syntax with placeholder values
44044450
#
44054451
# resp = client.get_tags({
@@ -4874,6 +4920,8 @@ def list_cost_category_definitions(params = {}, options = {})
48744920
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#generation_summary_list #generation_summary_list} => Array&lt;Types::GenerationSummary&gt;
48754921
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#next_page_token #next_page_token} => String
48764922
#
4923+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4924+
#
48774925
# @example Request syntax with placeholder values
48784926
#
48794927
# resp = client.list_savings_plans_purchase_recommendation_generation({

0 commit comments

Comments
 (0)