AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains information of the usage of the foundation model.

Inheritance Hierarchy

System.Object
  Amazon.BedrockAgentRuntime.Model.Usage

Namespace: Amazon.BedrockAgentRuntime.Model
Assembly: AWSSDK.BedrockAgentRuntime.dll
Version: 3.x.y.z

Syntax

C#
public class Usage

The Usage type exposes the following members

Constructors

NameDescription
Public Method Usage()

Properties

NameTypeDescription
Public Property InputTokens System.Int32

Gets and sets the property InputTokens.

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

Public Property OutputTokens System.Int32

Gets and sets the property OutputTokens.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5