Class SnsSmsSender
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.sms.SnsSmsSender
- All Implemented Interfaces:
SmsSender
SmsSender that publishes directly to a phone number through Amazon SNS. Every failure becomes a
SmsDeliveryException without the recipient or the text.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final software.amazon.awssdk.services.sns.SnsClientSNS client.(package private) static final StringGeneric failure description. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FAILURE_MESSAGE
Generic failure description.- See Also:
-
client
private final software.amazon.awssdk.services.sns.SnsClient clientSNS client.
-
-
Constructor Details
-
SnsSmsSender
public SnsSmsSender()
-
-
Method Details