Skip to content

Class AmazonSesSnsSubscriptionConfirmationResult

Namespace: Cephalon.MultiTenancy.Governance.AmazonSesDelivery.AspNetCore.Services
Assembly: Cephalon.MultiTenancy.Governance.AmazonSesDelivery.AspNetCore.dll

Represents the result of confirming an Amazon SNS subscription for Amazon SES callbacks.

public sealed class AmazonSesSnsSubscriptionConfirmationResult

object ← AmazonSesSnsSubscriptionConfirmationResult

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

AmazonSesSnsSubscriptionConfirmationResult(bool, string, string, int?, IReadOnlyDictionary<string, string>?)

Section titled “ AmazonSesSnsSubscriptionConfirmationResult(bool, string, string, int?, IReadOnlyDictionary<string, string>?)”

Initializes a new instance of the class.

public AmazonSesSnsSubscriptionConfirmationResult(bool succeeded, string outcome, string reason, int? statusCode = null, IReadOnlyDictionary<string, string>? metadata = null)

succeeded bool

A value indicating whether the subscription confirmation succeeded.

outcome string

The stable confirmation outcome.

reason string

A human-readable reason for the confirmation result.

statusCode int?

The provider HTTP status code, when one was observed.

metadata IReadOnlyDictionary<string, string>?

Safe provider metadata for operator reporting.

Gets safe provider metadata for operator reporting.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the stable confirmation outcome.

public string Outcome { get; }

string

Gets a human-readable reason for the confirmation result.

public string Reason { get; }

string

Gets the provider HTTP status code, when one was observed.

public int? StatusCode { get; }

int?

Gets a value indicating whether the subscription confirmation succeeded.

public bool Succeeded { get; }

bool

Confirmed(int?, IReadOnlyDictionary<string, string>?)

Section titled “ Confirmed(int?, IReadOnlyDictionary<string, string>?)”

Creates a successful SNS subscription-confirmation result.

public static AmazonSesSnsSubscriptionConfirmationResult Confirmed(int? statusCode = null, IReadOnlyDictionary<string, string>? metadata = null)

statusCode int?

The observed provider status code.

metadata IReadOnlyDictionary<string, string>?

Safe provider metadata for operator reporting.

AmazonSesSnsSubscriptionConfirmationResult

A successful confirmation result.