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.
Implementation for accessing BedrockAgentRuntime
Contains APIs related to model invocation and querying of knowledge bases.Namespace: Amazon.BedrockAgentRuntime
Assembly: AWSSDK.BedrockAgentRuntime.dll
Version: 3.x.y.z
public class AmazonBedrockAgentRuntimeClient : AmazonServiceClient IAmazonBedrockAgentRuntime, IAmazonService, IDisposable
The AmazonBedrockAgentRuntimeClient type exposes the following members
Name | Description | |
---|---|---|
![]() |
AmazonBedrockAgentRuntimeClient() |
Constructs AmazonBedrockAgentRuntimeClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
![]() |
AmazonBedrockAgentRuntimeClient(RegionEndpoint) |
Constructs AmazonBedrockAgentRuntimeClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
![]() |
AmazonBedrockAgentRuntimeClient(AmazonBedrockAgentRuntimeConfig) |
Constructs AmazonBedrockAgentRuntimeClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
![]() |
AmazonBedrockAgentRuntimeClient(AWSCredentials) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Credentials |
![]() |
AmazonBedrockAgentRuntimeClient(AWSCredentials, RegionEndpoint) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Credentials |
![]() |
AmazonBedrockAgentRuntimeClient(AWSCredentials, AmazonBedrockAgentRuntimeConfig) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Credentials and an AmazonBedrockAgentRuntimeClient Configuration object. |
![]() |
AmazonBedrockAgentRuntimeClient(string, string) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonBedrockAgentRuntimeClient(string, string, RegionEndpoint) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonBedrockAgentRuntimeClient(string, string, AmazonBedrockAgentRuntimeConfig) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Access Key ID, AWS Secret Key and an AmazonBedrockAgentRuntimeClient Configuration object. |
![]() |
AmazonBedrockAgentRuntimeClient(string, string, string) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonBedrockAgentRuntimeClient(string, string, string, RegionEndpoint) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonBedrockAgentRuntimeClient(string, string, string, AmazonBedrockAgentRuntimeConfig) |
Constructs AmazonBedrockAgentRuntimeClient with AWS Access Key ID, AWS Secret Key and an AmazonBedrockAgentRuntimeClient Configuration object. |
Name | Type | Description | |
---|---|---|---|
![]() |
Config | Amazon.Runtime.IClientConfig | Inherited from Amazon.Runtime.AmazonServiceClient. |
![]() |
Paginators | Amazon.BedrockAgentRuntime.Model.IBedrockAgentRuntimePaginatorFactory |
Paginators for the service |
Name | Description | |
---|---|---|
![]() |
DetermineServiceOperationEndpoint(AmazonWebServiceRequest) |
Returns the endpoint that will be used for a particular request. |
![]() |
Dispose() | Inherited from Amazon.Runtime.AmazonServiceClient. |
![]() |
InvokeAgent(InvokeAgentRequest) |
The CLI doesn't support Sends a prompt for the agent to process and respond to. Note the following fields for the request:
The response is returned in the
|
![]() |
InvokeAgentAsync(InvokeAgentRequest, CancellationToken) |
The CLI doesn't support Sends a prompt for the agent to process and respond to. Note the following fields for the request:
The response is returned in the
|
![]() |
Retrieve(RetrieveRequest) |
Queries a knowledge base and retrieves information from it. |
![]() |
RetrieveAndGenerate(RetrieveAndGenerateRequest) |
Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query. |
![]() |
RetrieveAndGenerateAsync(RetrieveAndGenerateRequest, CancellationToken) |
Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query. |
![]() |
RetrieveAsync(RetrieveRequest, CancellationToken) |
Queries a knowledge base and retrieves information from it. |
Name | Description | |
---|---|---|
![]() |
AfterResponseEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
![]() |
BeforeRequestEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
![]() |
ExceptionEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
.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