Class Sns2ClientIAMOptimized
- java.lang.Object
-
- org.apache.camel.component.aws2.sns.client.impl.Sns2ClientIAMOptimized
-
- All Implemented Interfaces:
Sns2InternalClient
public class Sns2ClientIAMOptimized extends Object implements 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
Constructors Constructor Description Sns2ClientIAMOptimized(Sns2Configuration configuration)
Constructor that uses the config file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description software.amazon.awssdk.services.sns.SnsClient
getSNSClient()
Getting the SNS AWS client that is used.
-
-
-
Constructor Detail
-
Sns2ClientIAMOptimized
public Sns2ClientIAMOptimized(Sns2Configuration configuration)
Constructor that uses the config file.
-
-
Method Detail
-
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.
-
-