Class Translate2ClientIAMOptimized
java.lang.Object
org.apache.camel.component.aws2.translate.client.impl.Translate2ClientIAMOptimized
- All Implemented Interfaces:
Translate2InternalClient
Manage an AWS Translate client for all users to use. This implementation is for remote instances to manage the
credentials on their own (eliminating credential rotations)
-
Constructor Summary
ConstructorsConstructorDescriptionTranslate2ClientIAMOptimized(Translate2Configuration configuration) Constructor that uses the config file. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.translate.TranslateClientGetting the Translate aws client that is used.
-
Constructor Details
-
Translate2ClientIAMOptimized
Constructor that uses the config file.
-
-
Method Details
-
getTranslateClient
public software.amazon.awssdk.services.translate.TranslateClient getTranslateClient()Getting the Translate aws client that is used.- Specified by:
getTranslateClientin interfaceTranslate2InternalClient- Returns:
- Amazon Translate Client.
-