Class Sns2ClientIAMProfileOptimized
java.lang.Object
org.apache.camel.component.aws2.sns.client.impl.Sns2ClientIAMProfileOptimized
- All Implemented Interfaces:
Sns2InternalClient
Manage an AWS SNS client for all users to use. This implementation is for remote instances to manage the credentials
on their own (eliminating credential rotations)
-
Constructor Summary
ConstructorsConstructorDescriptionSns2ClientIAMProfileOptimized
(Sns2Configuration configuration) Constructor that uses the config file. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.sns.SnsClient
Getting the SNS AWS client that is used.
-
Constructor Details
-
Sns2ClientIAMProfileOptimized
Constructor that uses the config file.
-
-
Method Details
-
getSNSClient
public software.amazon.awssdk.services.sns.SnsClient getSNSClient()Getting the SNS AWS client that is used.- Specified by:
getSNSClient
in interfaceSns2InternalClient
- Returns:
- Amazon SNS Client.
-