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.

Provides information about the execution process for different types of invocations, such as model invocation, knowledge base invocation, agent collaborator invocation, guardrail invocation, and code interpreter Invocation.

Inheritance Hierarchy

System.Object
  Amazon.BedrockAgentRuntime.Model.Metadata

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

Syntax

C#
public class Metadata

The Metadata type exposes the following members

Constructors

NameDescription
Public Method Metadata()

Properties

NameTypeDescription
Public Property ClientRequestId System.String

Gets and sets the property ClientRequestId.

A unique identifier associated with the downstream invocation. This ID can be used for tracing, debugging, and identifying specific invocations in customer logs or systems.

Public Property EndTime System.DateTime

Gets and sets the property EndTime.

In the final response, endTime is the end time of the agent invocation operation.

Public Property OperationTotalTimeMs System.Int64

Gets and sets the property OperationTotalTimeMs.

The total time it took for the agent to complete execution. This field is only set for the final response.

Public Property StartTime System.DateTime

Gets and sets the property StartTime.

In the final response, startTime is the start time of the agent invocation operation.

Public Property TotalTimeMs System.Int64

Gets and sets the property TotalTimeMs.

The total execution time for the specific invocation being processed (model, knowledge base, guardrail, agent collaborator, or code interpreter). It represents how long the individual invocation took.

Public Property Usage Amazon.BedrockAgentRuntime.Model.Usage

Gets and sets the property Usage.

Specific to model invocation and contains details about the usage of a foundation model.

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