Class BedrockRuntimeClientIAMOptimizedImpl
java.lang.Object
org.apache.camel.component.aws2.bedrock.runtime.client.impl.BedrockRuntimeClientIAMOptimizedImpl
- All Implemented Interfaces:
BedrockRuntimeInternalClient
public class BedrockRuntimeClientIAMOptimizedImpl
extends Object
implements BedrockRuntimeInternalClient
Manage an AWS Bedrock Runtime client for all users to use (enabling temporary creds). This implementation is for
remote instances to manage the credentials on their own (eliminating credential rotations)
-
Constructor Summary
ConstructorsConstructorDescriptionBedrockRuntimeClientIAMOptimizedImpl(BedrockConfiguration configuration) Constructor that uses the config file. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClientReturns an Bedrock Runtime async client for streaming operations.software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClientGetting the Bedrock aws client that is used.
-
Constructor Details
-
BedrockRuntimeClientIAMOptimizedImpl
Constructor that uses the config file.
-
-
Method Details
-
getBedrockRuntimeClient
public software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient getBedrockRuntimeClient()Getting the Bedrock aws client that is used.- Specified by:
getBedrockRuntimeClientin interfaceBedrockRuntimeInternalClient- Returns:
- BedrockRuntimeClient Client.
-
getBedrockRuntimeAsyncClient
public software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient getBedrockRuntimeAsyncClient()Description copied from interface:BedrockRuntimeInternalClientReturns an Bedrock Runtime async client for streaming operations.- Specified by:
getBedrockRuntimeAsyncClientin interfaceBedrockRuntimeInternalClient- Returns:
- BedrockRuntimeAsyncClient BedrockRuntimeAsyncClient
-