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 Details

    • BedrockAgentClientIAMOptimizedImpl

      public BedrockAgentClientIAMOptimizedImpl(BedrockAgentConfiguration configuration)
      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:
      getBedrockAgentClient in interface BedrockAgentInternalClient
      Returns:
      BedrockAgentClient Client.