diff --git a/apis/ce/2017-10-25/paginators-1.json b/apis/ce/2017-10-25/paginators-1.json index 5f4362b57f3..b0d178d7841 100644 --- a/apis/ce/2017-10-25/paginators-1.json +++ b/apis/ce/2017-10-25/paginators-1.json @@ -18,16 +18,64 @@ "limit_key": "MaxResults", "result_key": "AnomalySubscriptions" }, + "GetCostAndUsage": { + "input_token": "NextPageToken", + "output_token": "NextPageToken" + }, + "GetCostAndUsageWithResources": { + "input_token": "NextPageToken", + "output_token": "NextPageToken" + }, + "GetCostCategories": { + "input_token": "NextPageToken", + "output_token": "NextPageToken", + "limit_key": "MaxResults" + }, + "GetDimensionValues": { + "input_token": "NextPageToken", + "output_token": "NextPageToken", + "limit_key": "MaxResults" + }, + "GetReservationCoverage": { + "input_token": "NextPageToken", + "output_token": "NextPageToken", + "limit_key": "MaxResults" + }, + "GetReservationPurchaseRecommendation": { + "input_token": "NextPageToken", + "output_token": "NextPageToken", + "limit_key": "PageSize" + }, + "GetReservationUtilization": { + "input_token": "NextPageToken", + "output_token": "NextPageToken", + "limit_key": "MaxResults" + }, + "GetRightsizingRecommendation": { + "input_token": "NextPageToken", + "output_token": "NextPageToken", + "limit_key": "PageSize" + }, "GetSavingsPlansCoverage": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, + "GetSavingsPlansPurchaseRecommendation": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "PageSize" + }, "GetSavingsPlansUtilizationDetails": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, + "GetTags": { + "input_token": "NextPageToken", + "output_token": "NextPageToken", + "limit_key": "MaxResults" + }, "ListCostAllocationTagBackfillHistory": { "input_token": "NextToken", "output_token": "NextToken", @@ -42,6 +90,11 @@ "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" + }, + "ListSavingsPlansPurchaseRecommendationGeneration": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "PageSize" } } } diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb index e38d67ce903..5c4d38b7336 100644 --- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb +++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb @@ -1471,6 +1471,8 @@ def get_commitment_purchase_analysis(params = {}, options = {}) # * {Types::GetCostAndUsageResponse#results_by_time #results_by_time} => Array<Types::ResultByTime> # * {Types::GetCostAndUsageResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes> # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_cost_and_usage({ @@ -1659,6 +1661,8 @@ def get_cost_and_usage(params = {}, options = {}) # * {Types::GetCostAndUsageWithResourcesResponse#results_by_time #results_by_time} => Array<Types::ResultByTime> # * {Types::GetCostAndUsageWithResourcesResponse#dimension_value_attributes #dimension_value_attributes} => Array<Types::DimensionValuesWithAttributes> # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_cost_and_usage_with_resources({ @@ -1783,6 +1787,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {}) # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -1797,6 +1802,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {}) # # * As shown in the previous example, lists of dimension values are # combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is supported. @@ -1807,6 +1813,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {}) # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions": # [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical operators @@ -1822,6 +1829,7 @@ def get_cost_and_usage_with_resources(params = {}, options = {}) # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -1909,6 +1917,8 @@ def get_cost_and_usage_with_resources(params = {}, options = {}) # * {Types::GetCostCategoriesResponse#return_size #return_size} => Integer # * {Types::GetCostCategoriesResponse#total_size #total_size} => Integer # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_cost_categories({ @@ -2341,6 +2351,7 @@ def get_cost_forecast(params = {}, options = {}) # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -2355,6 +2366,7 @@ def get_cost_forecast(params = {}, options = {}) # # * As shown in the previous example, lists of dimension values are # combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is supported. @@ -2365,6 +2377,7 @@ def get_cost_forecast(params = {}, options = {}) # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions": # [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical operators @@ -2380,6 +2393,7 @@ def get_cost_forecast(params = {}, options = {}) # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -2464,6 +2478,8 @@ def get_cost_forecast(params = {}, options = {}) # * {Types::GetDimensionValuesResponse#total_size #total_size} => Integer # * {Types::GetDimensionValuesResponse#next_page_token #next_page_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_dimension_values({ @@ -2707,6 +2723,8 @@ def get_dimension_values(params = {}, options = {}) # * {Types::GetReservationCoverageResponse#total #total} => Types::Coverage # * {Types::GetReservationCoverageResponse#next_page_token #next_page_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_reservation_coverage({ @@ -2856,6 +2874,7 @@ def get_reservation_coverage(params = {}, options = {}) # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -2870,6 +2889,7 @@ def get_reservation_coverage(params = {}, options = {}) # # * As shown in the previous example, lists of dimension values are # combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is supported. @@ -2880,6 +2900,7 @@ def get_reservation_coverage(params = {}, options = {}) # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions": # [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical operators @@ -2895,6 +2916,7 @@ def get_reservation_coverage(params = {}, options = {}) # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -2960,6 +2982,8 @@ def get_reservation_coverage(params = {}, options = {}) # * {Types::GetReservationPurchaseRecommendationResponse#recommendations #recommendations} => Array<Types::ReservationPurchaseRecommendation> # * {Types::GetReservationPurchaseRecommendationResponse#next_page_token #next_page_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_reservation_purchase_recommendation({ @@ -3223,6 +3247,8 @@ def get_reservation_purchase_recommendation(params = {}, options = {}) # * {Types::GetReservationUtilizationResponse#total #total} => Types::ReservationAggregates # * {Types::GetReservationUtilizationResponse#next_page_token #next_page_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_reservation_utilization({ @@ -3381,6 +3407,7 @@ def get_reservation_utilization(params = {}, options = {}) # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -3395,6 +3422,7 @@ def get_reservation_utilization(params = {}, options = {}) # # * As shown in the previous example, lists of dimension values are # combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is supported. @@ -3405,6 +3433,7 @@ def get_reservation_utilization(params = {}, options = {}) # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions": # [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical operators @@ -3420,6 +3449,7 @@ def get_reservation_utilization(params = {}, options = {}) # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -3477,6 +3507,8 @@ def get_reservation_utilization(params = {}, options = {}) # * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String # * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_rightsizing_recommendation({ @@ -3910,6 +3942,8 @@ def get_savings_plans_coverage(params = {}, options = {}) # * {Types::GetSavingsPlansPurchaseRecommendationResponse#savings_plans_purchase_recommendation #savings_plans_purchase_recommendation} => Types::SavingsPlansPurchaseRecommendation # * {Types::GetSavingsPlansPurchaseRecommendationResponse#next_page_token #next_page_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_savings_plans_purchase_recommendation({ @@ -4355,6 +4389,7 @@ def get_savings_plans_utilization_details(params = {}, options = {}) # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -4369,6 +4404,7 @@ def get_savings_plans_utilization_details(params = {}, options = {}) # # * As shown in the previous example, lists of dimension values are # combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is supported. @@ -4379,6 +4415,7 @@ def get_savings_plans_utilization_details(params = {}, options = {}) # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions": # [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical operators @@ -4394,6 +4431,7 @@ def get_savings_plans_utilization_details(params = {}, options = {}) # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -4476,6 +4514,8 @@ def get_savings_plans_utilization_details(params = {}, options = {}) # * {Types::GetTagsResponse#return_size #return_size} => Integer # * {Types::GetTagsResponse#total_size #total_size} => Integer # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_tags({ @@ -4960,6 +5000,8 @@ def list_cost_category_definitions(params = {}, options = {}) # * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#generation_summary_list #generation_summary_list} => Array<Types::GenerationSummary> # * {Types::ListSavingsPlansPurchaseRecommendationGenerationResponse#next_page_token #next_page_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.list_savings_plans_purchase_recommendation_generation({ diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client_api.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client_api.rb index c7e12f3453e..7663f66fcdb 100644 --- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client_api.rb +++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client_api.rb @@ -1852,6 +1852,11 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) o.errors << Shapes::ShapeRef.new(shape: RequestChangedException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o[:pager] = Aws::Pager.new( + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_cost_and_usage_with_resources, Seahorse::Model::Operation.new.tap do |o| @@ -1866,6 +1871,11 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) o.errors << Shapes::ShapeRef.new(shape: RequestChangedException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o[:pager] = Aws::Pager.new( + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_cost_categories, Seahorse::Model::Operation.new.tap do |o| @@ -1880,6 +1890,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) o.errors << Shapes::ShapeRef.new(shape: RequestChangedException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_cost_forecast, Seahorse::Model::Operation.new.tap do |o| @@ -1905,6 +1921,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) o.errors << Shapes::ShapeRef.new(shape: RequestChangedException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_reservation_coverage, Seahorse::Model::Operation.new.tap do |o| @@ -1916,6 +1938,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException) o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_reservation_purchase_recommendation, Seahorse::Model::Operation.new.tap do |o| @@ -1927,6 +1955,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException) o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) + o[:pager] = Aws::Pager.new( + limit_key: "page_size", + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_reservation_utilization, Seahorse::Model::Operation.new.tap do |o| @@ -1938,6 +1972,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException) o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_rightsizing_recommendation, Seahorse::Model::Operation.new.tap do |o| @@ -1948,6 +1988,12 @@ module ClientApi o.output = Shapes::ShapeRef.new(shape: GetRightsizingRecommendationResponse) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) + o[:pager] = Aws::Pager.new( + limit_key: "page_size", + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_savings_plan_purchase_recommendation_details, Seahorse::Model::Operation.new.tap do |o| @@ -1985,6 +2031,12 @@ module ClientApi o.output = Shapes::ShapeRef.new(shape: GetSavingsPlansPurchaseRecommendationResponse) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) + o[:pager] = Aws::Pager.new( + limit_key: "page_size", + tokens: { + "next_token" => "next_token" + } + ) end) api.add_operation(:get_savings_plans_utilization, Seahorse::Model::Operation.new.tap do |o| @@ -2026,6 +2078,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) o.errors << Shapes::ShapeRef.new(shape: RequestChangedException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_page_token" => "next_page_token" + } + ) end) api.add_operation(:get_usage_forecast, Seahorse::Model::Operation.new.tap do |o| @@ -2107,6 +2165,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException) + o[:pager] = Aws::Pager.new( + limit_key: "page_size", + tokens: { + "next_token" => "next_token" + } + ) end) api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb index b371f30a39b..9e6227271cc 100644 --- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb +++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb @@ -212,6 +212,7 @@ class AnomalyDateInterval < Struct.new( # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -226,6 +227,7 @@ class AnomalyDateInterval < Struct.new( # # * As shown in the previous example, lists of dimension values # are combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is @@ -237,6 +239,7 @@ class AnomalyDateInterval < Struct.new( # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical @@ -253,6 +256,7 @@ class AnomalyDateInterval < Struct.new( # [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -1885,6 +1889,7 @@ class ElastiCacheInstanceDetails < Struct.new( # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -1899,6 +1904,7 @@ class ElastiCacheInstanceDetails < Struct.new( # # * As shown in the previous example, lists of dimension values are # combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is supported. @@ -1909,6 +1915,7 @@ class ElastiCacheInstanceDetails < Struct.new( # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions": # [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical operators @@ -1924,6 +1931,7 @@ class ElastiCacheInstanceDetails < Struct.new( # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -2636,6 +2644,7 @@ class GetCostAndUsageWithResourcesResponse < Struct.new( # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -2650,6 +2659,7 @@ class GetCostAndUsageWithResourcesResponse < Struct.new( # # * As shown in the previous example, lists of dimension values # are combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is @@ -2661,6 +2671,7 @@ class GetCostAndUsageWithResourcesResponse < Struct.new( # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical @@ -2677,6 +2688,7 @@ class GetCostAndUsageWithResourcesResponse < Struct.new( # [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -3146,6 +3158,7 @@ class GetCostForecastResponse < Struct.new( # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -3160,6 +3173,7 @@ class GetCostForecastResponse < Struct.new( # # * As shown in the previous example, lists of dimension values # are combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is @@ -3171,6 +3185,7 @@ class GetCostForecastResponse < Struct.new( # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical @@ -3187,6 +3202,7 @@ class GetCostForecastResponse < Struct.new( # [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -3626,6 +3642,7 @@ class GetReservationCoverageResponse < Struct.new( # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -3640,6 +3657,7 @@ class GetReservationCoverageResponse < Struct.new( # # * As shown in the previous example, lists of dimension values # are combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is @@ -3651,6 +3669,7 @@ class GetReservationCoverageResponse < Struct.new( # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical @@ -3667,6 +3686,7 @@ class GetReservationCoverageResponse < Struct.new( # [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -3958,6 +3978,7 @@ class GetReservationUtilizationResponse < Struct.new( # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -3972,6 +3993,7 @@ class GetReservationUtilizationResponse < Struct.new( # # * As shown in the previous example, lists of dimension values # are combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is @@ -3983,6 +4005,7 @@ class GetReservationUtilizationResponse < Struct.new( # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical @@ -3999,6 +4022,7 @@ class GetReservationUtilizationResponse < Struct.new( # [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` { @@ -4577,6 +4601,7 @@ class GetSavingsPlansUtilizationResponse < Struct.new( # # * Specify the `Dimensions` field to define a filter that acts on # the [ `DimensionValues` ][1]. + # # * For each filter type, you can set the dimension name and values # for the filters that you plan to use. # @@ -4591,6 +4616,7 @@ class GetSavingsPlansUtilizationResponse < Struct.new( # # * As shown in the previous example, lists of dimension values # are combined with `OR` when applying the filter. + # # * You can also set different match options to further control how # the filter behaves. Not all APIs support match options. Refer to # the documentation for each specific API to see what is @@ -4602,6 +4628,7 @@ class GetSavingsPlansUtilizationResponse < Struct.new( # * The corresponding `Expression` for this example is as follows: # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] } }` + # # * Compound `Expression` types with logical operations. # # * You can use multiple `Expression` types and the logical @@ -4618,6 +4645,7 @@ class GetSavingsPlansUtilizationResponse < Struct.new( # [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } ` + # # Because each `Expression` can have only one operator, the service # returns an error if more than one is specified. The following # example shows an `Expression` object that creates an error: ` {