Skip to content

Commit 2f0b1b5

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 630a1ea commit 2f0b1b5

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,6 +1470,8 @@ def get_commitment_purchase_analysis(params = {}, options = {})
14701470
# * {Types::GetCostAndUsageResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
14711471
# * {Types::GetCostAndUsageResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
14721472
#
1473+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1474+
#
14731475
# @example Request syntax with placeholder values
14741476
#
14751477
# resp = client.get_cost_and_usage({
@@ -1892,6 +1894,8 @@ def get_cost_and_usage_comparisons(params = {}, options = {})
18921894
# * {Types::GetCostAndUsageWithResourcesResponse#results_by_time #results_by_time} => Array<Types::ResultByTime>
18931895
# * {Types::GetCostAndUsageWithResourcesResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes>
18941896
#
1897+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1898+
#
18951899
# @example Request syntax with placeholder values
18961900
#
18971901
# resp = client.get_cost_and_usage_with_resources({
@@ -2016,6 +2020,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
20162020
#
20172021
# * Specify the `Dimensions` field to define a filter that acts on
20182022
# the [ `DimensionValues` ][1].
2023+
#
20192024
# * For each filter type, you can set the dimension name and values
20202025
# for the filters that you plan to use.
20212026
#
@@ -2030,6 +2035,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
20302035
#
20312036
# * As shown in the previous example, lists of dimension values are
20322037
# combined with `OR` when applying the filter.
2038+
#
20332039
# * You can also set different match options to further control how
20342040
# the filter behaves. Not all APIs support match options. Refer to
20352041
# the documentation for each specific API to see what is supported.
@@ -2040,6 +2046,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
20402046
# * The corresponding `Expression` for this example is as follows:
20412047
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
20422048
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2049+
#
20432050
# * Compound `Expression` types with logical operations.
20442051
#
20452052
# * You can use multiple `Expression` types and the logical operators
@@ -2055,6 +2062,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
20552062
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
20562063
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
20572064
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2065+
#
20582066
# <note markdown="1"> Because each `Expression` can have only one operator, the service
20592067
# returns an error if more than one is specified. The following
20602068
# example shows an `Expression` object that creates an error: ` {
@@ -2142,6 +2150,8 @@ def get_cost_and_usage_with_resources(params = {}, options = {})
21422150
# * {Types::GetCostCategoriesResponse#return_size #return_size} => Integer
21432151
# * {Types::GetCostCategoriesResponse#total_size #total_size} => Integer
21442152
#
2153+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2154+
#
21452155
# @example Request syntax with placeholder values
21462156
#
21472157
# resp = client.get_cost_categories({
@@ -2812,6 +2822,7 @@ def get_cost_forecast(params = {}, options = {})
28122822
#
28132823
# * Specify the `Dimensions` field to define a filter that acts on
28142824
# the [ `DimensionValues` ][1].
2825+
#
28152826
# * For each filter type, you can set the dimension name and values
28162827
# for the filters that you plan to use.
28172828
#
@@ -2826,6 +2837,7 @@ def get_cost_forecast(params = {}, options = {})
28262837
#
28272838
# * As shown in the previous example, lists of dimension values are
28282839
# combined with `OR` when applying the filter.
2840+
#
28292841
# * You can also set different match options to further control how
28302842
# the filter behaves. Not all APIs support match options. Refer to
28312843
# the documentation for each specific API to see what is supported.
@@ -2836,6 +2848,7 @@ def get_cost_forecast(params = {}, options = {})
28362848
# * The corresponding `Expression` for this example is as follows:
28372849
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
28382850
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2851+
#
28392852
# * Compound `Expression` types with logical operations.
28402853
#
28412854
# * You can use multiple `Expression` types and the logical operators
@@ -2851,6 +2864,7 @@ def get_cost_forecast(params = {}, options = {})
28512864
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
28522865
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
28532866
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2867+
#
28542868
# <note markdown="1"> Because each `Expression` can have only one operator, the service
28552869
# returns an error if more than one is specified. The following
28562870
# example shows an `Expression` object that creates an error: ` {
@@ -2935,6 +2949,8 @@ def get_cost_forecast(params = {}, options = {})
29352949
# * {Types::GetDimensionValuesResponse#total_size #total_size} => Integer
29362950
# * {Types::GetDimensionValuesResponse#next_page_token #next_page_token} => String
29372951
#
2952+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2953+
#
29382954
# @example Request syntax with placeholder values
29392955
#
29402956
# resp = client.get_dimension_values({
@@ -3178,6 +3194,8 @@ def get_dimension_values(params = {}, options = {})
31783194
# * {Types::GetReservationCoverageResponse#total #total} => Types::Coverage
31793195
# * {Types::GetReservationCoverageResponse#next_page_token #next_page_token} => String
31803196
#
3197+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3198+
#
31813199
# @example Request syntax with placeholder values
31823200
#
31833201
# resp = client.get_reservation_coverage({
@@ -3327,6 +3345,7 @@ def get_reservation_coverage(params = {}, options = {})
33273345
#
33283346
# * Specify the `Dimensions` field to define a filter that acts on
33293347
# the [ `DimensionValues` ][1].
3348+
#
33303349
# * For each filter type, you can set the dimension name and values
33313350
# for the filters that you plan to use.
33323351
#
@@ -3341,6 +3360,7 @@ def get_reservation_coverage(params = {}, options = {})
33413360
#
33423361
# * As shown in the previous example, lists of dimension values are
33433362
# combined with `OR` when applying the filter.
3363+
#
33443364
# * You can also set different match options to further control how
33453365
# the filter behaves. Not all APIs support match options. Refer to
33463366
# the documentation for each specific API to see what is supported.
@@ -3351,6 +3371,7 @@ def get_reservation_coverage(params = {}, options = {})
33513371
# * The corresponding `Expression` for this example is as follows:
33523372
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
33533373
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
3374+
#
33543375
# * Compound `Expression` types with logical operations.
33553376
#
33563377
# * You can use multiple `Expression` types and the logical operators
@@ -3366,6 +3387,7 @@ def get_reservation_coverage(params = {}, options = {})
33663387
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
33673388
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
33683389
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
3390+
#
33693391
# <note markdown="1"> Because each `Expression` can have only one operator, the service
33703392
# returns an error if more than one is specified. The following
33713393
# example shows an `Expression` object that creates an error: ` {
@@ -3431,6 +3453,8 @@ def get_reservation_coverage(params = {}, options = {})
34313453
# * {Types::GetReservationPurchaseRecommendationResponse#recommendations #recommendations} => Array&lt;Types::ReservationPurchaseRecommendation&gt;
34323454
# * {Types::GetReservationPurchaseRecommendationResponse#next_page_token #next_page_token} => String
34333455
#
3456+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3457+
#
34343458
# @example Request syntax with placeholder values
34353459
#
34363460
# resp = client.get_reservation_purchase_recommendation({
@@ -3694,6 +3718,8 @@ def get_reservation_purchase_recommendation(params = {}, options = {})
36943718
# * {Types::GetReservationUtilizationResponse#total #total} => Types::ReservationAggregates
36953719
# * {Types::GetReservationUtilizationResponse#next_page_token #next_page_token} => String
36963720
#
3721+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3722+
#
36973723
# @example Request syntax with placeholder values
36983724
#
36993725
# resp = client.get_reservation_utilization({
@@ -3852,6 +3878,7 @@ def get_reservation_utilization(params = {}, options = {})
38523878
#
38533879
# * Specify the `Dimensions` field to define a filter that acts on
38543880
# the [ `DimensionValues` ][1].
3881+
#
38553882
# * For each filter type, you can set the dimension name and values
38563883
# for the filters that you plan to use.
38573884
#
@@ -3866,6 +3893,7 @@ def get_reservation_utilization(params = {}, options = {})
38663893
#
38673894
# * As shown in the previous example, lists of dimension values are
38683895
# combined with `OR` when applying the filter.
3896+
#
38693897
# * You can also set different match options to further control how
38703898
# the filter behaves. Not all APIs support match options. Refer to
38713899
# the documentation for each specific API to see what is supported.
@@ -3876,6 +3904,7 @@ def get_reservation_utilization(params = {}, options = {})
38763904
# * The corresponding `Expression` for this example is as follows:
38773905
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
38783906
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
3907+
#
38793908
# * Compound `Expression` types with logical operations.
38803909
#
38813910
# * You can use multiple `Expression` types and the logical operators
@@ -3891,6 +3920,7 @@ def get_reservation_utilization(params = {}, options = {})
38913920
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
38923921
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
38933922
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
3923+
#
38943924
# <note markdown="1"> Because each `Expression` can have only one operator, the service
38953925
# returns an error if more than one is specified. The following
38963926
# example shows an `Expression` object that creates an error: ` {
@@ -3948,6 +3978,8 @@ def get_reservation_utilization(params = {}, options = {})
39483978
# * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String
39493979
# * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration
39503980
#
3981+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3982+
#
39513983
# @example Request syntax with placeholder values
39523984
#
39533985
# resp = client.get_rightsizing_recommendation({
@@ -4381,6 +4413,8 @@ def get_savings_plans_coverage(params = {}, options = {})
43814413
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#savings_plans_purchase_recommendation #savings_plans_purchase_recommendation} => Types::SavingsPlansPurchaseRecommendation
43824414
# * {Types::GetSavingsPlansPurchaseRecommendationResponse#next_page_token #next_page_token} => String
43834415
#
4416+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4417+
#
43844418
# @example Request syntax with placeholder values
43854419
#
43864420
# resp = client.get_savings_plans_purchase_recommendation({
@@ -4826,6 +4860,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
48264860
#
48274861
# * Specify the `Dimensions` field to define a filter that acts on
48284862
# the [ `DimensionValues` ][1].
4863+
#
48294864
# * For each filter type, you can set the dimension name and values
48304865
# for the filters that you plan to use.
48314866
#
@@ -4840,6 +4875,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
48404875
#
48414876
# * As shown in the previous example, lists of dimension values are
48424877
# combined with `OR` when applying the filter.
4878+
#
48434879
# * You can also set different match options to further control how
48444880
# the filter behaves. Not all APIs support match options. Refer to
48454881
# the documentation for each specific API to see what is supported.
@@ -4850,6 +4886,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
48504886
# * The corresponding `Expression` for this example is as follows:
48514887
# `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
48524888
# [ "STARTS_WITH" ], "Values": [ "a" ] } }`
4889+
#
48534890
# * Compound `Expression` types with logical operations.
48544891
#
48554892
# * You can use multiple `Expression` types and the logical operators
@@ -4865,6 +4902,7 @@ def get_savings_plans_utilization_details(params = {}, options = {})
48654902
# "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
48664903
# "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
48674904
# "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
4905+
#
48684906
# <note markdown="1"> Because each `Expression` can have only one operator, the service
48694907
# returns an error if more than one is specified. The following
48704908
# example shows an `Expression` object that creates an error: ` {
@@ -4947,6 +4985,8 @@ def get_savings_plans_utilization_details(params = {}, options = {})
49474985
# * {Types::GetTagsResponse#return_size #return_size} => Integer
49484986
# * {Types::GetTagsResponse#total_size #total_size} => Integer
49494987
#
4988+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4989+
#
49504990
# @example Request syntax with placeholder values
49514991
#
49524992
# resp = client.get_tags({
@@ -5431,6 +5471,8 @@ def list_cost_category_definitions(params = {}, options = {})
54315471
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#generation_summary_list #generation_summary_list} => Array&lt;Types::GenerationSummary&gt;
54325472
# * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#next_page_token #next_page_token} => String
54335473
#
5474+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5475+
#
54345476
# @example Request syntax with placeholder values
54355477
#
54365478
# resp = client.list_savings_plans_purchase_recommendation_generation({

0 commit comments

Comments
 (0)