Class Athena2ClientIAMOptimizedImpl

java.lang.Object
org.apache.camel.component.aws2.athena.client.impl.Athena2ClientIAMOptimizedImpl
All Implemented Interfaces:
Athena2InternalClient

public class Athena2ClientIAMOptimizedImpl extends Object implements Athena2InternalClient
Manage an AWS Athena 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

    • Athena2ClientIAMOptimizedImpl

      public Athena2ClientIAMOptimizedImpl(Athena2Configuration configuration)
      Constructor that uses the config file.
  • Method Details

    • getAthenaClient

      public software.amazon.awssdk.services.athena.AthenaClient getAthenaClient()
      Getting the s3 aws client that is used.
      Specified by:
      getAthenaClient in interface Athena2InternalClient
      Returns:
      Amazon S3 Client.