Class: Aws::BedrockAgentRuntime::Types::Usage

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

Overview

Contains information of the usage of the foundation model.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#input_tokensInteger

Contains information about the input tokens from the foundation model usage.

Returns:

  • (Integer)


4952
4953
4954
4955
4956
4957
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4952

class Usage < Struct.new(
  :input_tokens,
  :output_tokens)
  SENSITIVE = []
  include Aws::Structure
end

#output_tokensInteger

Contains information about the output tokens from the foundation model usage.

Returns:

  • (Integer)


4952
4953
4954
4955
4956
4957
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4952

class Usage < Struct.new(
  :input_tokens,
  :output_tokens)
  SENSITIVE = []
  include Aws::Structure
end