Class Athena2ClientIAMOptimizedImpl
java.lang.Object
org.apache.camel.component.aws2.athena.client.impl.Athena2ClientIAMOptimizedImpl
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionAthena2ClientIAMOptimizedImpl(Athena2Configuration configuration) Constructor that uses the config file. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.athena.AthenaClientGetting the s3 aws client that is used.
-
Constructor Details
-
Athena2ClientIAMOptimizedImpl
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:
getAthenaClientin interfaceAthena2InternalClient- Returns:
- Amazon S3 Client.
-