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, filtering on resources that are not mapped to any Cost Categories.

If Values is provided and Key is not specified, the ABSENT MatchOption is applied to the Cost Categories Key only. That is, filtering 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)


648
649
650
651
652
653
654
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 648

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>)


648
649
650
651
652
653
654
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 648

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>)


648
649
650
651
652
653
654
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 648

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