Class BedrockAgentClientIAMOptimizedImpl
java.lang.Object
org.apache.camel.component.aws2.bedrock.agent.client.impl.BedrockAgentClientIAMOptimizedImpl
- All Implemented Interfaces:
BedrockAgentInternalClient
public class BedrockAgentClientIAMOptimizedImpl
extends Object
implements BedrockAgentInternalClient
Manage an AWS Bedrock Agent 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
ConstructorsConstructorDescriptionBedrockAgentClientIAMOptimizedImpl(BedrockAgentConfiguration configuration) Constructor that uses the config file. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.bedrockagent.BedrockAgentClientGetting the Bedrock Agent aws client that is used.
-
Constructor Details
-
BedrockAgentClientIAMOptimizedImpl
Constructor that uses the config file.
-
-
Method Details
-
getBedrockAgentClient
public software.amazon.awssdk.services.bedrockagent.BedrockAgentClient getBedrockAgentClient()Getting the Bedrock Agent aws client that is used.- Specified by:
getBedrockAgentClientin interfaceBedrockAgentInternalClient- Returns:
- BedrockAgentClient Client.
-