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 are not specified, the ABSENT MatchOption is applied to all tags. That is, filtering on resources with no tags.

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


6527
6528
6529
6530
6531
6532
6533
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6527

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


6527
6528
6529
6530
6531
6532
6533
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6527

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

#valuesArray<String>

The specific value of the tag.

Returns:

  • (Array<String>)


6527
6528
6529
6530
6531
6532
6533
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6527

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