Class: Aws::CostExplorer::Types::TagValues

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 TagValues data as a hash:

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

The values that are available for a tag.

If Values and Key aren't specified, the ABSENT MatchOption is applied to all tags. That is, it's filtered on resources with no tags.

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key for the tag.

Returns:

  • (String)


6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6760

class TagValues < 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 are EQUALS and CASE_SENSITIVE.

Returns:

  • (Array<String>)


6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6760

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

#valuesArray<String>

The specific value of the tag.

Returns:

  • (Array<String>)


6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6760

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