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 AmazonSesSnsSubscriptionConfirmationResultInheritance
Section titled “Inheritance”object ← AmazonSesSnsSubscriptionConfirmationResult
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”AmazonSesSnsSubscriptionConfirmationResult(bool, string, string, int?, IReadOnlyDictionary<string, string>?)
Section titled “ AmazonSesSnsSubscriptionConfirmationResult(bool, string, string, int?, IReadOnlyDictionary<string, string>?)”Initializes a new instance of the
public AmazonSesSnsSubscriptionConfirmationResult(bool succeeded, string outcome, string reason, int? statusCode = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”Metadata
Section titled “ Metadata”Gets safe provider metadata for operator reporting.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Outcome
Section titled “ Outcome”Gets the stable confirmation outcome.
public string Outcome { get; }Property Value
Section titled “Property Value”Reason
Section titled “ Reason”Gets a human-readable reason for the confirmation result.
public string Reason { get; }Property Value
Section titled “Property Value”StatusCode
Section titled “ StatusCode”Gets the provider HTTP status code, when one was observed.
public int? StatusCode { get; }Property Value
Section titled “Property Value”int?
Succeeded
Section titled “ Succeeded”Gets a value indicating whether the subscription confirmation succeeded.
public bool Succeeded { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”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)Parameters
Section titled “Parameters”statusCode int?
The observed provider status code.
metadata IReadOnlyDictionary<string, string>?
Safe provider metadata for operator reporting.
Returns
Section titled “Returns”AmazonSesSnsSubscriptionConfirmationResult
A successful confirmation result.