Class: Aws::Budgets::Types::ProductAttributeValues
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::ProductAttributeValues
- Defined in:
- gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb
Overview
The product attribute values used for filtering the costs by key and value pairs. Product attributes are supported for Amazon Bedrock only.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
The name of the product attribute to filter on.
-
#match_options ⇒ Array<String>
The match options for the
ProductAttributesfilter. -
#values ⇒ Array<String>
The specific values of the product attribute, such as
Claude Sonnet 5for themodelkey.
Instance Attribute Details
#key ⇒ String
The name of the product attribute to filter on. Valid values are the following:
feature– The feature that was used, such asOn-demand Inference.inferenceType– The type of inference usage, such asInput tokensorOutput tokens.model– The model, such asClaude Sonnet 5orClaude Haiku 4.5.provider– The model provider, such asAnthropic,Cohere, orAmazon.
Keys are case-sensitive.
1923 1924 1925 1926 1927 1928 1929 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1923 class ProductAttributeValues < Struct.new( :key, :values, :match_options) SENSITIVE = [] include Aws::Structure end |
#match_options ⇒ Array<String>
The match options for the ProductAttributes filter. Valid values:
ABSENT– Matches costs that have no value for the attribute.CASE_SENSITIVE– Requires an exact case match.EQUALS– Matches costs where the attribute equals the specified value.
Specify either EQUALS or ABSENT. You can add CASE_SENSITIVE to
EQUALS, but you can't use it by itself or with ABSENT.
1923 1924 1925 1926 1927 1928 1929 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1923 class ProductAttributeValues < Struct.new( :key, :values, :match_options) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<String>
The specific values of the product attribute, such as Claude Sonnet
5 for the model key. Values are matched exactly.
Values is required unless MatchOptions is ABSENT. To match
costs that have no value for the key, set MatchOptions to ABSENT
and omit Values.
1923 1924 1925 1926 1927 1928 1929 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1923 class ProductAttributeValues < Struct.new( :key, :values, :match_options) SENSITIVE = [] include Aws::Structure end |