Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class SmsNotificationHandler

    SMS notification handler using Amazon Simple Notification Service (SNS).

    Inheritance
    object
    AwsBaseService
    SmsNotificationHandler
    Implements
    IDisposable
    INotificationHandler
    Inherited Members
    AwsBaseService.Configuration
    AwsBaseService.ExponentialBackoffInSeconds
    AwsBaseService.Logger
    AwsBaseService.Dispose()
    AwsBaseService.GetServiceRegionEndPoint()
    AwsBaseService.CreateService<T>()
    AwsBaseService.CreateDefaultRetryAsyncPolicy()
    AwsBaseService.CreateDefaultRetryPolicy()
    AwsBaseService.CreateRetryAsyncPolicy<T>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2, T3>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2, T3, T4>()
    AwsBaseService.CreateCircuitBreaker<T, T1>()
    AwsBaseService.Dispose(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Cloud.AWS.Notification
    Assembly: Innovt.Cloud.AWS.Notification.dll
    Syntax
    public class SmsNotificationHandler : AwsBaseService, IDisposable, INotificationHandler

    Constructors

    | Edit this page View Source

    SmsNotificationHandler(ILogger, IAwsConfiguration)

    Initializes a new instance of the SmsNotificationHandler class.

    Declaration
    public SmsNotificationHandler(ILogger logger, IAwsConfiguration configuration)
    Parameters
    Type Name Description
    ILogger logger

    The logger.

    IAwsConfiguration configuration

    The AWS configuration.

    | Edit this page View Source

    SmsNotificationHandler(ILogger, IAwsConfiguration, string)

    Initializes a new instance of the SmsNotificationHandler class with a specific AWS region.

    Declaration
    public SmsNotificationHandler(ILogger logger, IAwsConfiguration configuration, string region)
    Parameters
    Type Name Description
    ILogger logger

    The logger.

    IAwsConfiguration configuration

    The AWS configuration.

    string region

    The AWS region.

    Methods

    | Edit this page View Source

    DisposeServices()

    Disposes the resources used by the SMS notification handler.

    Declaration
    protected override void DisposeServices()
    Overrides
    AwsBaseService.DisposeServices()
    | Edit this page View Source

    SendAsync(NotificationMessage, CancellationToken)

    Sends an SMS notification asynchronously.

    Declaration
    public Task<dynamic> SendAsync(NotificationMessage message, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    NotificationMessage message

    The notification message.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<dynamic>

    A dynamic result representing the delivery status of the SMS.

    Implements

    IDisposable
    INotificationHandler

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX