Skip to content

Commit b198239

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 69ec387 commit b198239

File tree

3 files changed

+134
-0
lines changed

3 files changed

+134
-0
lines changed

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

+42
Original file line numberDiff line numberDiff line change
@@ -1471,6 +1471,8 @@ def get_commitment_purchase_analysis(params = {}, options = {})
14711471
# * {Types::GetCostAndUsageResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
14721472
# * {Types::GetCostAndUsageResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
14731473
#
1474+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1475+
#
14741476
# @example Request syntax with placeholder values
14751477
#
14761478
# resp = client.get_cost_and_usage({
@@ -1659,6 +1661,8 @@ def get_cost_and_usage(params = {}, options = {})
16591661
# * {Types::GetCostAndUsageWithResourcesResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
16601662
# * {Types::GetCostAndUsageWithResourcesResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
16611663
#
1664+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1665+
#
16621666
# @example Request syntax with placeholder values
16631667
#
16641668
# resp = client.get_cost_and_usage_with_resources({
@@ -1783,6 +1787,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17831787
#
17841788
# * Specify the `Dimensions` field to define a filter that acts on
17851789
# the [ `DimensionValues` ][1].
1790+
#
17861791
# * For each filter type, you can set the dimension name and values
17871792
# for the filters that you plan to use.
17881793
#
@@ -1797,6 +1802,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
17971802
#
17981803
# * As shown in the previous example, lists of dimension values are
17991804
# combined with `OR` when applying the filter.
1805+
#
18001806
# * You can also set different match options to further control how
18011807
# the filter behaves. Not all APIs support match options. Refer to
18021808
# the documentation for each specific API to see what is supported.
@@ -1807,6 +1813,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
18071813
# * The corresponding `Expression` for this example is as follows:
18081814
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
18091815
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
1816+
#
18101817
# * Compound `Expression` types with logical operations.
18111818
#
18121819
# * You can use multiple `Expression` types and the logical operators
@@ -1822,6 +1829,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
18221829
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
18231830
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
18241831
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
1832+
#
18251833
# <note markdown="1"> Because each `Expression` can have only one operator, the service
18261834
# returns an error if more than one is specified. The following
18271835
# example shows an `Expression` object that creates an error: ` {
@@ -1909,6 +1917,8 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
19091917
# * {Types::GetCostCategoriesResponse#return_size #return_size} => Integer
19101918
# * {Types::GetCostCategoriesResponse#total_size #total_size} => Integer
19111919
#
1920+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1921+
#
19121922
# @example Request syntax with placeholder values
19131923
#
19141924
# resp = client.get_cost_categories({
@@ -2341,6 +2351,7 @@ def get_cost_forecast(params = {}, options = {})
23412351
#
23422352
# * Specify the `Dimensions` field to define a filter that acts on
23432353
# the [ `DimensionValues` ][1].
2354+
#
23442355
# * For each filter type, you can set the dimension name and values
23452356
# for the filters that you plan to use.
23462357
#
@@ -2355,6 +2366,7 @@ def get_cost_forecast(params = {}, options = {})
23552366
#
23562367
# * As shown in the previous example, lists of dimension values are
23572368
# combined with `OR` when applying the filter.
2369+
#
23582370
# * You can also set different match options to further control how
23592371
# the filter behaves. Not all APIs support match options. Refer to
23602372
# the documentation for each specific API to see what is supported.
@@ -2365,6 +2377,7 @@ def get_cost_forecast(params = {}, options = {})
23652377
# * The corresponding `Expression` for this example is as follows:
23662378
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
23672379
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2380+
#
23682381
# * Compound `Expression` types with logical operations.
23692382
#
23702383
# * You can use multiple `Expression` types and the logical operators
@@ -2380,6 +2393,7 @@ def get_cost_forecast(params = {}, options = {})
23802393
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
23812394
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
23822395
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2396+
#
23832397
# <note markdown="1"> Because each `Expression` can have only one operator, the service
23842398
# returns an error if more than one is specified. The following
23852399
# example shows an `Expression` object that creates an error: ` {
@@ -2464,6 +2478,8 @@ def get_cost_forecast(params = {}, options = {})
24642478
# * {Types::GetDimensionValuesResponse#total_size #total_size} => Integer
24652479
# * {Types::GetDimensionValuesResponse#next_page_token #next_page_token} => String
24662480
#
2481+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2482+
#
24672483
# @example Request syntax with placeholder values
24682484
#
24692485
# resp = client.get_dimension_values({
@@ -2707,6 +2723,8 @@ def get_dimension_values(params = {}, options = {})
27072723
# * {Types::GetReservationCoverageResponse#total #total} => Types::Coverage
27082724
# * {Types::GetReservationCoverageResponse#next_page_token #next_page_token} => String
27092725
#
2726+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2727+
#
27102728
# @example Request syntax with placeholder values
27112729
#
27122730
# resp = client.get_reservation_coverage({
@@ -2856,6 +2874,7 @@ def get_reservation_coverage(params = {}, options = {})
28562874
#
28572875
# * Specify the `Dimensions` field to define a filter that acts on
28582876
# the [ `DimensionValues` ][1].
2877+
#
28592878
# * For each filter type, you can set the dimension name and values
28602879
# for the filters that you plan to use.
28612880
#
@@ -2870,6 +2889,7 @@ def get_reservation_coverage(params = {}, options = {})
28702889
#
28712890
# * As shown in the previous example, lists of dimension values are
28722891
# combined with `OR` when applying the filter.
2892+
#
28732893
# * You can also set different match options to further control how
28742894
# the filter behaves. Not all APIs support match options. Refer to
28752895
# the documentation for each specific API to see what is supported.
@@ -2880,6 +2900,7 @@ def get_reservation_coverage(params = {}, options = {})
28802900
# * The corresponding `Expression` for this example is as follows:
28812901
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
28822902
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2903+
#
28832904
# * Compound `Expression` types with logical operations.
28842905
#
28852906
# * You can use multiple `Expression` types and the logical operators
@@ -2895,6 +2916,7 @@ def get_reservation_coverage(params = {}, options = {})
28952916
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
28962917
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
28972918
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2919+
#
28982920
# <note markdown="1"> Because each `Expression` can have only one operator, the service
28992921
# returns an error if more than one is specified. The following
29002922
# example shows an `Expression` object that creates an error: ` {
@@ -2960,6 +2982,8 @@ def get_reservation_coverage(params = {}, options = {})
29602982
# * {Types::GetReservationPurchaseRecommendationResponse#recommendations #recommendations} => Array&lt;Types::ReservationPurchaseRecommendation&gt;
29612983
# * {Types::GetReservationPurchaseRecommendationResponse#next_page_token #next_page_token} => String
29622984
#
2985+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2986+
#
29632987
# @example Request syntax with placeholder values
29642988
#
29652989
# resp = client.get_reservation_purchase_recommendation({
@@ -3223,6 +3247,8 @@ def get_reservation_purchase_recommendation(params = {}, options = {})
32233247
# * {Types::GetReservationUtilizationResponse#total #total} => Types::ReservationAggregates
32243248
# * {Types::GetReservationUtilizationResponse#next_page_token #next_page_token} => String
32253249
#
3250+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3251+
#
32263252
# @example Request syntax with placeholder values
32273253
#
32283254
# resp = client.get_reservation_utilization({
@@ -3381,6 +3407,7 @@ def get_reservation_utilization(params = {}, options = {})
33813407
#
33823408
# * Specify the `Dimensions` field to define a filter that acts on
33833409
# the [ `DimensionValues` ][1].
3410+
#
33843411
# * For each filter type, you can set the dimension name and values
33853412
# for the filters that you plan to use.
33863413
#
@@ -3395,6 +3422,7 @@ def get_reservation_utilization(params = {}, options = {})
33953422
#
33963423
# * As shown in the previous example, lists of dimension values are
33973424
# combined with `OR` when applying the filter.
3425+
#
33983426
# * You can also set different match options to further control how
33993427
# the filter behaves. Not all APIs support match options. Refer to
34003428
# the documentation for each specific API to see what is supported.
@@ -3405,6 +3433,7 @@ def get_reservation_utilization(params = {}, options = {})
34053433
# * The corresponding `Expression` for this example is as follows:
34063434
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
34073435
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
3436+
#
34083437
# * Compound `Expression` types with logical operations.
34093438
#
34103439
# * You can use multiple `Expression` types and the logical operators
@@ -3420,6 +3449,7 @@ def get_reservation_utilization(params = {}, options = {})
34203449
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
34213450
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
34223451
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
3452+
#
34233453
# <note markdown="1"> Because each `Expression` can have only one operator, the service
34243454
# returns an error if more than one is specified. The following
34253455
# example shows an `Expression` object that creates an error: ` {
@@ -3477,6 +3507,8 @@ def get_reservation_utilization(params = {}, options = {})
34773507
# * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String
34783508
# * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration
34793509
#
3510+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3511+
#
34803512
# @example Request syntax with placeholder values
34813513
#
34823514
# resp = client.get_rightsizing_recommendation({
@@ -3910,6 +3942,8 @@ def get_savings_plans_coverage(params = {}, options = {})
39103942
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#savings_plans_purchase_recommendation #savings_plans_purchase_recommendation} => Types::SavingsPlansPurchaseRecommendation
39113943
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#next_page_token #next_page_token} => String
39123944
#
3945+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3946+
#
39133947
# @example Request syntax with placeholder values
39143948
#
39153949
# resp = client.get_savings_plans_purchase_recommendation({
@@ -4355,6 +4389,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43554389
#
43564390
# * Specify the `Dimensions` field to define a filter that acts on
43574391
# the [ `DimensionValues` ][1].
4392+
#
43584393
# * For each filter type, you can set the dimension name and values
43594394
# for the filters that you plan to use.
43604395
#
@@ -4369,6 +4404,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43694404
#
43704405
# * As shown in the previous example, lists of dimension values are
43714406
# combined with `OR` when applying the filter.
4407+
#
43724408
# * You can also set different match options to further control how
43734409
# the filter behaves. Not all APIs support match options. Refer to
43744410
# the documentation for each specific API to see what is supported.
@@ -4379,6 +4415,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43794415
# * The corresponding `Expression` for this example is as follows:
43804416
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
43814417
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
4418+
#
43824419
# * Compound `Expression` types with logical operations.
43834420
#
43844421
# * You can use multiple `Expression` types and the logical operators
@@ -4394,6 +4431,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
43944431
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
43954432
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
43964433
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
4434+
#
43974435
# <note markdown="1"> Because each `Expression` can have only one operator, the service
43984436
# returns an error if more than one is specified. The following
43994437
# example shows an `Expression` object that creates an error: ` {
@@ -4476,6 +4514,8 @@ def get_savings_plans_utilization_details(params = {}, options = {})
44764514
# * {Types::GetTagsResponse#return_size #return_size} => Integer
44774515
# * {Types::GetTagsResponse#total_size #total_size} => Integer
44784516
#
4517+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4518+
#
44794519
# @example Request syntax with placeholder values
44804520
#
44814521
# resp = client.get_tags({
@@ -4960,6 +5000,8 @@ def list_cost_category_definitions(params = {}, options = {})
49605000
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#generation_summary_list #generation_summary_list} => Array&lt;Types::GenerationSummary&gt;
49615001
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#next_page_token #next_page_token} => String
49625002
#
5003+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5004+
#
49635005
# @example Request syntax with placeholder values
49645006
#
49655007
# resp = client.list_savings_plans_purchase_recommendation_generation({

0 commit comments

Comments
 (0)