Class: Aws::CostExplorer::Types::CostCategoryValues

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb

Overview

Note:

When making an API call, you may pass CostCategoryValues data as a hash:

{
  key: "CostCategoryName",
  values: ["Value"],
  match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
}

The Cost Categories values used for filtering the costs.

If Values and Key are not specified, the ABSENT MatchOption is applied to all Cost Categories. That is, it filters on resources that aren't mapped to any Cost Categories.

If Values is provided and Key isn't specified, the ABSENT MatchOption is applied to the Cost Categories Key only. That is, it filters on resources without the given Cost Categories key.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The unique name of the Cost Category.

Returns:

  • (String)


741
742
743
744
745
746
747
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 741

class CostCategoryValues < Struct.new(
  :key,
  :values,
  :match_options)
  SENSITIVE = []
  include Aws::Structure
end

#match_optionsArray<String>

The match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE.

Returns:

  • (Array<String>)


741
742
743
744
745
746
747
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 741

class CostCategoryValues < Struct.new(
  :key,
  :values,
  :match_options)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The specific value of the Cost Category.

Returns:

  • (Array<String>)


741
742
743
744
745
746
747
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 741

class CostCategoryValues < Struct.new(
  :key,
  :values,
  :match_options)
  SENSITIVE = []
  include Aws::Structure
end