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.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.
-