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.
Namespace: Amazon.BedrockAgentRuntime.Model
Assembly: AWSSDK.BedrockAgentRuntime.dll
Version: 3.x.y.z
public class Metadata
The Metadata type exposes the following members
| Name | Description | |
|---|---|---|
|
Metadata() |
| Name | Type | Description | |
|---|---|---|---|
|
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. |
|
EndTime | System.DateTime |
Gets and sets the property EndTime.
In the final response, |
|
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. |
|
StartTime | System.DateTime |
Gets and sets the property StartTime.
In the final response, |
|
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. |
|
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. |
.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