Class BedrockAgentClientIAMProfileOptimizedImpl

java.lang.Object
org.apache.camel.component.aws2.bedrock.agent.client.impl.BedrockAgentClientIAMProfileOptimizedImpl
All Implemented Interfaces:
BedrockAgentInternalClient

public class BedrockAgentClientIAMProfileOptimizedImpl extends Object implements BedrockAgentInternalClient
Manage an AWS Bedrock Agent 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 Details

    • BedrockAgentClientIAMProfileOptimizedImpl

      public BedrockAgentClientIAMProfileOptimizedImpl(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:
      Bedrock Agent Client.