/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the email-2010-12-01.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.SimpleEmail.Model; using Amazon.SimpleEmail.Model.Internal.MarshallTransformations; using Amazon.SimpleEmail.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.SimpleEmail { /// /// Implementation for accessing SimpleEmailService /// /// Amazon Simple Email Service /// /// This document contains reference information for the Amazon /// Simple Email Service (Amazon SES) API, version 2010-12-01. This document is best /// used in conjunction with the Amazon /// SES Developer Guide. /// /// /// /// For a list of Amazon SES endpoints to use in service requests, see Regions /// and Amazon SES in the Amazon /// SES Developer Guide. /// /// /// public partial class AmazonSimpleEmailServiceClient : AmazonServiceClient, IAmazonSimpleEmailService { private static IServiceMetadata serviceMetadata = new AmazonSimpleEmailServiceMetadata(); #region Constructors /// /// Constructs AmazonSimpleEmailServiceClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonSimpleEmailServiceClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSimpleEmailServiceConfig()) { } /// /// Constructs AmazonSimpleEmailServiceClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonSimpleEmailServiceClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSimpleEmailServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSimpleEmailServiceClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonSimpleEmailServiceClient Configuration Object public AmazonSimpleEmailServiceClient(AmazonSimpleEmailServiceConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonSimpleEmailServiceClient with AWS Credentials /// /// AWS Credentials public AmazonSimpleEmailServiceClient(AWSCredentials credentials) : this(credentials, new AmazonSimpleEmailServiceConfig()) { } /// /// Constructs AmazonSimpleEmailServiceClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonSimpleEmailServiceClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonSimpleEmailServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSimpleEmailServiceClient with AWS Credentials and an /// AmazonSimpleEmailServiceClient Configuration object. /// /// AWS Credentials /// The AmazonSimpleEmailServiceClient Configuration Object public AmazonSimpleEmailServiceClient(AWSCredentials credentials, AmazonSimpleEmailServiceConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonSimpleEmailServiceClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSimpleEmailServiceConfig()) { } /// /// Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonSimpleEmailServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSimpleEmailServiceConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSimpleEmailServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonSimpleEmailServiceClient Configuration Object public AmazonSimpleEmailServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSimpleEmailServiceConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonSimpleEmailServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSimpleEmailServiceConfig()) { } /// /// Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonSimpleEmailServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSimpleEmailServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSimpleEmailServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSimpleEmailServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonSimpleEmailServiceClient Configuration Object public AmazonSimpleEmailServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSimpleEmailServiceConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private ISimpleEmailPaginatorFactory _paginators; /// /// Paginators for the service /// public ISimpleEmailPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new SimpleEmailPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonSimpleEmailServiceEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CloneReceiptRuleSet internal virtual CloneReceiptRuleSetResponse CloneReceiptRuleSet(CloneReceiptRuleSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CloneReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CloneReceiptRuleSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a receipt rule set by cloning an existing one. All receipt rules and configurations /// are copied to the new receipt rule set and are completely independent of the source /// rule set. /// /// /// /// For information about setting up rule sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the CloneReceiptRuleSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CloneReceiptRuleSet service method, as returned by SimpleEmailService. /// /// Indicates that a resource could not be created because of a naming conflict. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for CloneReceiptRuleSet Operation public virtual Task CloneReceiptRuleSetAsync(CloneReceiptRuleSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CloneReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CloneReceiptRuleSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateConfigurationSet internal virtual CreateConfigurationSetResponse CreateConfigurationSet(CreateConfigurationSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a configuration set. /// /// /// /// Configuration sets enable you to publish email sending events. For information about /// using configuration sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the CreateConfigurationSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateConfigurationSet service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set could not be created because of a naming conflict. /// /// /// Indicates that the configuration set is invalid. See the error message for details. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// REST API Reference for CreateConfigurationSet Operation public virtual Task CreateConfigurationSetAsync(CreateConfigurationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateConfigurationSetEventDestination internal virtual CreateConfigurationSetEventDestinationResponse CreateConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationSetEventDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationSetEventDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a configuration set event destination. /// /// /// /// When you create or update an event destination, you must provide one, and only one, /// destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon /// Simple Notification Service (Amazon SNS). /// /// /// /// An event destination is the AWS service to which Amazon SES publishes the email sending /// events associated with a configuration set. For information about using configuration /// sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the CreateConfigurationSetEventDestination service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateConfigurationSetEventDestination service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that the event destination could not be created because of a naming conflict. /// /// /// Indicates that the Amazon CloudWatch destination is invalid. See the error message /// for details. /// /// /// Indicates that the Amazon Kinesis Firehose destination is invalid. See the error message /// for details. /// /// /// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination is /// invalid. See the error message for details. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// REST API Reference for CreateConfigurationSetEventDestination Operation public virtual Task CreateConfigurationSetEventDestinationAsync(CreateConfigurationSetEventDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationSetEventDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationSetEventDestinationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateConfigurationSetTrackingOptions internal virtual CreateConfigurationSetTrackingOptionsResponse CreateConfigurationSetTrackingOptions(CreateConfigurationSetTrackingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationSetTrackingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationSetTrackingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an association between a configuration set and a custom domain for open and /// click event tracking. /// /// /// /// By default, images and links used for tracking open and click events are hosted on /// domains operated by Amazon SES. You can configure a subdomain of your own to handle /// these events. For information about using custom domains, see the Amazon /// SES Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateConfigurationSetTrackingOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateConfigurationSetTrackingOptions service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that the custom domain to be used for open and click tracking redirects /// is invalid. This error appears most often in the following situations: /// ///
  • /// /// When the tracking domain you specified is not verified in Amazon SES. /// ///
  • /// /// When the tracking domain you specified is not a valid domain or subdomain. /// ///
///
/// /// Indicates that the configuration set you specified already contains a TrackingOptions /// object. /// /// REST API Reference for CreateConfigurationSetTrackingOptions Operation public virtual Task CreateConfigurationSetTrackingOptionsAsync(CreateConfigurationSetTrackingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationSetTrackingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationSetTrackingOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCustomVerificationEmailTemplate internal virtual CreateCustomVerificationEmailTemplateResponse CreateCustomVerificationEmailTemplate(CreateCustomVerificationEmailTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomVerificationEmailTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomVerificationEmailTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new custom verification email template. /// /// /// /// For more information about custom verification email templates, see Using /// Custom Verification Email Templates in the Amazon SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the CreateCustomVerificationEmailTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCustomVerificationEmailTemplate service method, as returned by SimpleEmailService. /// /// Indicates that custom verification email template provided content is invalid. /// /// /// Indicates that a custom verification email template with the name you specified already /// exists. /// /// /// Indicates that the sender address specified for a custom verification email is not /// verified, and is therefore not eligible to send the custom verification email. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// REST API Reference for CreateCustomVerificationEmailTemplate Operation public virtual Task CreateCustomVerificationEmailTemplateAsync(CreateCustomVerificationEmailTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomVerificationEmailTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomVerificationEmailTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReceiptFilter internal virtual CreateReceiptFilterResponse CreateReceiptFilter(CreateReceiptFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReceiptFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReceiptFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new IP address filter. /// /// /// /// For information about setting up IP address filters, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the CreateReceiptFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReceiptFilter service method, as returned by SimpleEmailService. /// /// Indicates that a resource could not be created because of a naming conflict. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// REST API Reference for CreateReceiptFilter Operation public virtual Task CreateReceiptFilterAsync(CreateReceiptFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReceiptFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReceiptFilterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReceiptRule internal virtual CreateReceiptRuleResponse CreateReceiptRule(CreateReceiptRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReceiptRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReceiptRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a receipt rule. /// /// /// /// For information about setting up receipt rules, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the CreateReceiptRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReceiptRule service method, as returned by SimpleEmailService. /// /// Indicates that a resource could not be created because of a naming conflict. /// /// /// Indicates that the provided AWS Lambda function is invalid, or that Amazon SES could /// not execute the provided function, possibly due to permissions issues. For information /// about giving permissions, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is invalid, /// or that Amazon SES could not publish to the bucket, possibly due to permissions issues. /// For information about giving permissions, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES could /// not publish to the topic, possibly due to permissions issues. For information about /// giving permissions, see the Amazon /// SES Developer Guide. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the provided receipt rule does not exist. /// /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for CreateReceiptRule Operation public virtual Task CreateReceiptRuleAsync(CreateReceiptRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReceiptRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReceiptRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReceiptRuleSet internal virtual CreateReceiptRuleSetResponse CreateReceiptRuleSet(CreateReceiptRuleSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReceiptRuleSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an empty receipt rule set. /// /// /// /// For information about setting up receipt rule sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the CreateReceiptRuleSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReceiptRuleSet service method, as returned by SimpleEmailService. /// /// Indicates that a resource could not be created because of a naming conflict. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// REST API Reference for CreateReceiptRuleSet Operation public virtual Task CreateReceiptRuleSetAsync(CreateReceiptRuleSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReceiptRuleSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTemplate internal virtual CreateTemplateResponse CreateTemplate(CreateTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an email template. Email templates enable you to send personalized email to /// one or more destinations in a single API operation. For more information, see the /// Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the CreateTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTemplate service method, as returned by SimpleEmailService. /// /// Indicates that a resource could not be created because of a naming conflict. /// /// /// Indicates that the template that you specified could not be rendered. This issue may /// occur when a template refers to a partial that does not exist. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// REST API Reference for CreateTemplate Operation public virtual Task CreateTemplateAsync(CreateTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteConfigurationSet internal virtual DeleteConfigurationSetResponse DeleteConfigurationSet(DeleteConfigurationSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a configuration set. Configuration sets enable you to publish email sending /// events. For information about using configuration sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteConfigurationSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteConfigurationSet service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// REST API Reference for DeleteConfigurationSet Operation public virtual Task DeleteConfigurationSetAsync(DeleteConfigurationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteConfigurationSetEventDestination internal virtual DeleteConfigurationSetEventDestinationResponse DeleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationSetEventDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationSetEventDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a configuration set event destination. Configuration set event destinations /// are associated with configuration sets, which enable you to publish email sending /// events. For information about using configuration sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteConfigurationSetEventDestination service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteConfigurationSetEventDestination service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that the event destination does not exist. /// /// REST API Reference for DeleteConfigurationSetEventDestination Operation public virtual Task DeleteConfigurationSetEventDestinationAsync(DeleteConfigurationSetEventDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationSetEventDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationSetEventDestinationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteConfigurationSetTrackingOptions internal virtual DeleteConfigurationSetTrackingOptionsResponse DeleteConfigurationSetTrackingOptions(DeleteConfigurationSetTrackingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationSetTrackingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationSetTrackingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an association between a configuration set and a custom domain for open and /// click event tracking. /// /// /// /// By default, images and links used for tracking open and click events are hosted on /// domains operated by Amazon SES. You can configure a subdomain of your own to handle /// these events. For information about using custom domains, see the Amazon /// SES Developer Guide. /// /// /// /// Deleting this kind of association will result in emails sent using the specified configuration /// set to capture open and click events using the standard, Amazon SES-operated domains. /// /// /// /// Container for the necessary parameters to execute the DeleteConfigurationSetTrackingOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteConfigurationSetTrackingOptions service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that the TrackingOptions object you specified does not exist. /// /// REST API Reference for DeleteConfigurationSetTrackingOptions Operation public virtual Task DeleteConfigurationSetTrackingOptionsAsync(DeleteConfigurationSetTrackingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationSetTrackingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationSetTrackingOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCustomVerificationEmailTemplate internal virtual DeleteCustomVerificationEmailTemplateResponse DeleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomVerificationEmailTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomVerificationEmailTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing custom verification email template. /// /// /// /// For more information about custom verification email templates, see Using /// Custom Verification Email Templates in the Amazon SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteCustomVerificationEmailTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCustomVerificationEmailTemplate service method, as returned by SimpleEmailService. /// REST API Reference for DeleteCustomVerificationEmailTemplate Operation public virtual Task DeleteCustomVerificationEmailTemplateAsync(DeleteCustomVerificationEmailTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomVerificationEmailTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomVerificationEmailTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIdentity internal virtual DeleteIdentityResponse DeleteIdentity(DeleteIdentityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIdentityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified identity (an email address or a domain) from the list of verified /// identities. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteIdentity service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIdentity service method, as returned by SimpleEmailService. /// REST API Reference for DeleteIdentity Operation public virtual Task DeleteIdentityAsync(DeleteIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIdentityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIdentityPolicy internal virtual DeleteIdentityPolicyResponse DeleteIdentityPolicy(DeleteIdentityPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIdentityPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIdentityPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified sending authorization policy for the given identity (an email /// address or a domain). This API returns successfully even if a policy with the specified /// name does not exist. /// /// /// /// This API is for the identity owner only. If you have not verified the identity, this /// API will return an error. /// /// /// /// Sending authorization is a feature that enables an identity owner to authorize other /// senders to use its identities. For information about using sending authorization, /// see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteIdentityPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIdentityPolicy service method, as returned by SimpleEmailService. /// REST API Reference for DeleteIdentityPolicy Operation public virtual Task DeleteIdentityPolicyAsync(DeleteIdentityPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIdentityPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIdentityPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReceiptFilter internal virtual DeleteReceiptFilterResponse DeleteReceiptFilter(DeleteReceiptFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReceiptFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReceiptFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified IP address filter. /// /// /// /// For information about managing IP address filters, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteReceiptFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReceiptFilter service method, as returned by SimpleEmailService. /// REST API Reference for DeleteReceiptFilter Operation public virtual Task DeleteReceiptFilterAsync(DeleteReceiptFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReceiptFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReceiptFilterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReceiptRule internal virtual DeleteReceiptRuleResponse DeleteReceiptRule(DeleteReceiptRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReceiptRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReceiptRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified receipt rule. /// /// /// /// For information about managing receipt rules, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteReceiptRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReceiptRule service method, as returned by SimpleEmailService. /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for DeleteReceiptRule Operation public virtual Task DeleteReceiptRuleAsync(DeleteReceiptRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReceiptRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReceiptRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReceiptRuleSet internal virtual DeleteReceiptRuleSetResponse DeleteReceiptRuleSet(DeleteReceiptRuleSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReceiptRuleSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified receipt rule set and all of the receipt rules it contains. /// /// /// /// The currently active rule set cannot be deleted. /// /// /// /// For information about managing receipt rule sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteReceiptRuleSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReceiptRuleSet service method, as returned by SimpleEmailService. /// /// Indicates that the delete operation could not be completed. /// /// REST API Reference for DeleteReceiptRuleSet Operation public virtual Task DeleteReceiptRuleSetAsync(DeleteReceiptRuleSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReceiptRuleSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTemplate internal virtual DeleteTemplateResponse DeleteTemplate(DeleteTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an email template. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DeleteTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTemplate service method, as returned by SimpleEmailService. /// REST API Reference for DeleteTemplate Operation public virtual Task DeleteTemplateAsync(DeleteTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVerifiedEmailAddress internal virtual DeleteVerifiedEmailAddressResponse DeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedEmailAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deprecated. Use the DeleteIdentity operation to delete email addresses /// and domains. /// /// Container for the necessary parameters to execute the DeleteVerifiedEmailAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVerifiedEmailAddress service method, as returned by SimpleEmailService. /// REST API Reference for DeleteVerifiedEmailAddress Operation public virtual Task DeleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedEmailAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeActiveReceiptRuleSet internal virtual DescribeActiveReceiptRuleSetResponse DescribeActiveReceiptRuleSet(DescribeActiveReceiptRuleSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeActiveReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeActiveReceiptRuleSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the metadata and receipt rules for the receipt rule set that is currently /// active. /// /// /// /// For information about setting up receipt rule sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DescribeActiveReceiptRuleSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeActiveReceiptRuleSet service method, as returned by SimpleEmailService. /// REST API Reference for DescribeActiveReceiptRuleSet Operation public virtual Task DescribeActiveReceiptRuleSetAsync(DescribeActiveReceiptRuleSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeActiveReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeActiveReceiptRuleSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeConfigurationSet internal virtual DescribeConfigurationSetResponse DescribeConfigurationSet(DescribeConfigurationSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConfigurationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConfigurationSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the details of the specified configuration set. For information about using /// configuration sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DescribeConfigurationSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeConfigurationSet service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// REST API Reference for DescribeConfigurationSet Operation public virtual Task DescribeConfigurationSetAsync(DescribeConfigurationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConfigurationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConfigurationSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReceiptRule internal virtual DescribeReceiptRuleResponse DescribeReceiptRule(DescribeReceiptRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReceiptRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReceiptRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the details of the specified receipt rule. /// /// /// /// For information about setting up receipt rules, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DescribeReceiptRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReceiptRule service method, as returned by SimpleEmailService. /// /// Indicates that the provided receipt rule does not exist. /// /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for DescribeReceiptRule Operation public virtual Task DescribeReceiptRuleAsync(DescribeReceiptRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReceiptRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReceiptRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReceiptRuleSet internal virtual DescribeReceiptRuleSetResponse DescribeReceiptRuleSet(DescribeReceiptRuleSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReceiptRuleSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the details of the specified receipt rule set. /// /// /// /// For information about managing receipt rule sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the DescribeReceiptRuleSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReceiptRuleSet service method, as returned by SimpleEmailService. /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for DescribeReceiptRuleSet Operation public virtual Task DescribeReceiptRuleSetAsync(DescribeReceiptRuleSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReceiptRuleSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAccountSendingEnabled internal virtual GetAccountSendingEnabledResponse GetAccountSendingEnabled(GetAccountSendingEnabledRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAccountSendingEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAccountSendingEnabledResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the email sending status of the Amazon SES account for the current region. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the GetAccountSendingEnabled service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAccountSendingEnabled service method, as returned by SimpleEmailService. /// REST API Reference for GetAccountSendingEnabled Operation public virtual Task GetAccountSendingEnabledAsync(GetAccountSendingEnabledRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAccountSendingEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAccountSendingEnabledResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCustomVerificationEmailTemplate internal virtual GetCustomVerificationEmailTemplateResponse GetCustomVerificationEmailTemplate(GetCustomVerificationEmailTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCustomVerificationEmailTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCustomVerificationEmailTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the custom email verification template for the template name you specify. /// /// /// /// For more information about custom verification email templates, see Using /// Custom Verification Email Templates in the Amazon SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the GetCustomVerificationEmailTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCustomVerificationEmailTemplate service method, as returned by SimpleEmailService. /// /// Indicates that a custom verification email template with the name you specified does /// not exist. /// /// REST API Reference for GetCustomVerificationEmailTemplate Operation public virtual Task GetCustomVerificationEmailTemplateAsync(GetCustomVerificationEmailTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCustomVerificationEmailTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCustomVerificationEmailTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIdentityDkimAttributes internal virtual GetIdentityDkimAttributesResponse GetIdentityDkimAttributes(GetIdentityDkimAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityDkimAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the current status of Easy DKIM signing for an entity. For domain name identities, /// this operation also returns the DKIM tokens that are required for Easy DKIM signing, /// and whether Amazon SES has successfully verified that these tokens have been published. /// /// /// /// This operation takes a list of identities as input and returns the following information /// for each: /// ///
  • /// /// Whether Easy DKIM signing is enabled or disabled. /// ///
  • /// /// A set of DKIM tokens that represent the identity. If the identity is an email address, /// the tokens represent the domain of that address. /// ///
  • /// /// Whether Amazon SES has successfully verified the DKIM tokens published in the domain's /// DNS. This information is only returned for domain name identities, not for email addresses. /// ///
/// /// This operation is throttled at one request per second and can only get DKIM attributes /// for up to 100 identities at a time. /// /// /// /// For more information about creating DNS records using DKIM tokens, go to the Amazon /// SES Developer Guide. /// ///
/// Container for the necessary parameters to execute the GetIdentityDkimAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIdentityDkimAttributes service method, as returned by SimpleEmailService. /// REST API Reference for GetIdentityDkimAttributes Operation public virtual Task GetIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityDkimAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIdentityMailFromDomainAttributes internal virtual GetIdentityMailFromDomainAttributesResponse GetIdentityMailFromDomainAttributes(GetIdentityMailFromDomainAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityMailFromDomainAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityMailFromDomainAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the custom MAIL FROM attributes for a list of identities (email addresses /// : domains). /// /// /// /// This operation is throttled at one request per second and can only get custom MAIL /// FROM attributes for up to 100 identities at a time. /// /// /// Container for the necessary parameters to execute the GetIdentityMailFromDomainAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIdentityMailFromDomainAttributes service method, as returned by SimpleEmailService. /// REST API Reference for GetIdentityMailFromDomainAttributes Operation public virtual Task GetIdentityMailFromDomainAttributesAsync(GetIdentityMailFromDomainAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityMailFromDomainAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityMailFromDomainAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIdentityNotificationAttributes internal virtual GetIdentityNotificationAttributesResponse GetIdentityNotificationAttributes(GetIdentityNotificationAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityNotificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityNotificationAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Given a list of verified identities (email addresses and/or domains), returns a structure /// describing identity notification attributes. /// /// /// /// This operation is throttled at one request per second and can only get notification /// attributes for up to 100 identities at a time. /// /// /// /// For more information about using notifications with Amazon SES, see the Amazon /// SES Developer Guide. /// /// /// Container for the necessary parameters to execute the GetIdentityNotificationAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIdentityNotificationAttributes service method, as returned by SimpleEmailService. /// REST API Reference for GetIdentityNotificationAttributes Operation public virtual Task GetIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityNotificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityNotificationAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIdentityPolicies internal virtual GetIdentityPoliciesResponse GetIdentityPolicies(GetIdentityPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the requested sending authorization policies for the given identity (an email /// address or a domain). The policies are returned as a map of policy names to policy /// contents. You can retrieve a maximum of 20 policies at a time. /// /// /// /// This API is for the identity owner only. If you have not verified the identity, this /// API will return an error. /// /// /// /// Sending authorization is a feature that enables an identity owner to authorize other /// senders to use its identities. For information about using sending authorization, /// see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the GetIdentityPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIdentityPolicies service method, as returned by SimpleEmailService. /// REST API Reference for GetIdentityPolicies Operation public virtual Task GetIdentityPoliciesAsync(GetIdentityPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityPoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIdentityVerificationAttributes internal virtual GetIdentityVerificationAttributesResponse GetIdentityVerificationAttributes(GetIdentityVerificationAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityVerificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityVerificationAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Given a list of identities (email addresses and/or domains), returns the verification /// status and (for domain identities) the verification token for each identity. /// /// /// /// The verification status of an email address is "Pending" until the email address owner /// clicks the link within the verification email that Amazon SES sent to that address. /// If the email address owner clicks the link within 24 hours, the verification status /// of the email address changes to "Success". If the link is not clicked within 24 hours, /// the verification status changes to "Failed." In that case, if you still want to verify /// the email address, you must restart the verification process from the beginning. /// /// /// /// For domain identities, the domain's verification status is "Pending" as Amazon SES /// searches for the required TXT record in the DNS settings of the domain. When Amazon /// SES detects the record, the domain's verification status changes to "Success". If /// Amazon SES is unable to detect the record within 72 hours, the domain's verification /// status changes to "Failed." In that case, if you still want to verify the domain, /// you must restart the verification process from the beginning. /// /// /// /// This operation is throttled at one request per second and can only get verification /// attributes for up to 100 identities at a time. /// /// /// Container for the necessary parameters to execute the GetIdentityVerificationAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIdentityVerificationAttributes service method, as returned by SimpleEmailService. /// REST API Reference for GetIdentityVerificationAttributes Operation public virtual Task GetIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIdentityVerificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIdentityVerificationAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSendQuota internal virtual GetSendQuotaResponse GetSendQuota() { return GetSendQuota(new GetSendQuotaRequest()); } internal virtual GetSendQuotaResponse GetSendQuota(GetSendQuotaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSendQuotaRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSendQuotaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides the sending limits for the Amazon SES account. /// /// /// /// You can execute this operation no more than once per second. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSendQuota service method, as returned by SimpleEmailService. /// REST API Reference for GetSendQuota Operation public virtual Task GetSendQuotaAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return GetSendQuotaAsync(new GetSendQuotaRequest(), cancellationToken); } /// /// Provides the sending limits for the Amazon SES account. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the GetSendQuota service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSendQuota service method, as returned by SimpleEmailService. /// REST API Reference for GetSendQuota Operation public virtual Task GetSendQuotaAsync(GetSendQuotaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSendQuotaRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSendQuotaResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSendStatistics internal virtual GetSendStatisticsResponse GetSendStatistics() { return GetSendStatistics(new GetSendStatisticsRequest()); } internal virtual GetSendStatisticsResponse GetSendStatistics(GetSendStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSendStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSendStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides sending statistics for the current AWS Region. The result is a list of data /// points, representing the last two weeks of sending activity. Each data point in the /// list contains statistics for a 15-minute period of time. /// /// /// /// You can execute this operation no more than once per second. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSendStatistics service method, as returned by SimpleEmailService. /// REST API Reference for GetSendStatistics Operation public virtual Task GetSendStatisticsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return GetSendStatisticsAsync(new GetSendStatisticsRequest(), cancellationToken); } /// /// Provides sending statistics for the current AWS Region. The result is a list of data /// points, representing the last two weeks of sending activity. Each data point in the /// list contains statistics for a 15-minute period of time. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the GetSendStatistics service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSendStatistics service method, as returned by SimpleEmailService. /// REST API Reference for GetSendStatistics Operation public virtual Task GetSendStatisticsAsync(GetSendStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSendStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSendStatisticsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTemplate internal virtual GetTemplateResponse GetTemplate(GetTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Displays the template object (which includes the Subject line, HTML part and text /// part) for the template you specify. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the GetTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTemplate service method, as returned by SimpleEmailService. /// /// Indicates that the Template object you specified does not exist in your Amazon SES /// account. /// /// REST API Reference for GetTemplate Operation public virtual Task GetTemplateAsync(GetTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListConfigurationSets internal virtual ListConfigurationSetsResponse ListConfigurationSets(ListConfigurationSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConfigurationSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConfigurationSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides a list of the configuration sets associated with your Amazon SES account /// in the current AWS Region. For information about using configuration sets, see Monitoring /// Your Amazon SES Sending Activity in the Amazon SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. This operation will return /// up to 1,000 configuration sets each time it is run. If your Amazon SES account has /// more than 1,000 configuration sets, this operation will also return a NextToken element. /// You can then execute the ListConfigurationSets operation again, passing /// the NextToken parameter and the value of the NextToken element to retrieve /// additional results. /// /// /// Container for the necessary parameters to execute the ListConfigurationSets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListConfigurationSets service method, as returned by SimpleEmailService. /// REST API Reference for ListConfigurationSets Operation public virtual Task ListConfigurationSetsAsync(ListConfigurationSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListConfigurationSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConfigurationSetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCustomVerificationEmailTemplates internal virtual ListCustomVerificationEmailTemplatesResponse ListCustomVerificationEmailTemplates(ListCustomVerificationEmailTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomVerificationEmailTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomVerificationEmailTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the existing custom verification email templates for your account in the current /// AWS Region. /// /// /// /// For more information about custom verification email templates, see Using /// Custom Verification Email Templates in the Amazon SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the ListCustomVerificationEmailTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCustomVerificationEmailTemplates service method, as returned by SimpleEmailService. /// REST API Reference for ListCustomVerificationEmailTemplates Operation public virtual Task ListCustomVerificationEmailTemplatesAsync(ListCustomVerificationEmailTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomVerificationEmailTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomVerificationEmailTemplatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListIdentities internal virtual ListIdentitiesResponse ListIdentities() { return ListIdentities(new ListIdentitiesRequest()); } internal virtual ListIdentitiesResponse ListIdentities(ListIdentitiesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListIdentitiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIdentitiesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list containing all of the identities (email addresses and domains) for /// your AWS account in the current AWS Region, regardless of verification status. /// /// /// /// You can execute this operation no more than once per second. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListIdentities service method, as returned by SimpleEmailService. /// REST API Reference for ListIdentities Operation public virtual Task ListIdentitiesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ListIdentitiesAsync(new ListIdentitiesRequest(), cancellationToken); } /// /// Returns a list containing all of the identities (email addresses and domains) for /// your AWS account in the current AWS Region, regardless of verification status. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the ListIdentities service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListIdentities service method, as returned by SimpleEmailService. /// REST API Reference for ListIdentities Operation public virtual Task ListIdentitiesAsync(ListIdentitiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListIdentitiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIdentitiesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListIdentityPolicies internal virtual ListIdentityPoliciesResponse ListIdentityPolicies(ListIdentityPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListIdentityPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIdentityPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of sending authorization policies that are attached to the given identity /// (an email address or a domain). This API returns only a list. If you want the actual /// policy content, you can use GetIdentityPolicies. /// /// /// /// This API is for the identity owner only. If you have not verified the identity, this /// API will return an error. /// /// /// /// Sending authorization is a feature that enables an identity owner to authorize other /// senders to use its identities. For information about using sending authorization, /// see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the ListIdentityPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListIdentityPolicies service method, as returned by SimpleEmailService. /// REST API Reference for ListIdentityPolicies Operation public virtual Task ListIdentityPoliciesAsync(ListIdentityPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListIdentityPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIdentityPoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListReceiptFilters internal virtual ListReceiptFiltersResponse ListReceiptFilters(ListReceiptFiltersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReceiptFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReceiptFiltersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the IP address filters associated with your AWS account in the current AWS Region. /// /// /// /// For information about managing IP address filters, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the ListReceiptFilters service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReceiptFilters service method, as returned by SimpleEmailService. /// REST API Reference for ListReceiptFilters Operation public virtual Task ListReceiptFiltersAsync(ListReceiptFiltersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListReceiptFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReceiptFiltersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListReceiptRuleSets internal virtual ListReceiptRuleSetsResponse ListReceiptRuleSets(ListReceiptRuleSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReceiptRuleSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReceiptRuleSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the receipt rule sets that exist under your AWS account in the current AWS Region. /// If there are additional receipt rule sets to be retrieved, you will receive a NextToken /// that you can provide to the next call to ListReceiptRuleSets to retrieve /// the additional entries. /// /// /// /// For information about managing receipt rule sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the ListReceiptRuleSets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReceiptRuleSets service method, as returned by SimpleEmailService. /// REST API Reference for ListReceiptRuleSets Operation public virtual Task ListReceiptRuleSetsAsync(ListReceiptRuleSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListReceiptRuleSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReceiptRuleSetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTemplates internal virtual ListTemplatesResponse ListTemplates(ListTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the email templates present in your Amazon SES account in the current AWS Region. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the ListTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTemplates service method, as returned by SimpleEmailService. /// REST API Reference for ListTemplates Operation public virtual Task ListTemplatesAsync(ListTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTemplatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListVerifiedEmailAddresses internal virtual ListVerifiedEmailAddressesResponse ListVerifiedEmailAddresses() { return ListVerifiedEmailAddresses(new ListVerifiedEmailAddressesRequest()); } internal virtual ListVerifiedEmailAddressesResponse ListVerifiedEmailAddresses(ListVerifiedEmailAddressesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVerifiedEmailAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVerifiedEmailAddressesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deprecated. Use the ListIdentities operation to list the email addresses /// and domains associated with your account. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListVerifiedEmailAddresses service method, as returned by SimpleEmailService. /// REST API Reference for ListVerifiedEmailAddresses Operation public virtual Task ListVerifiedEmailAddressesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ListVerifiedEmailAddressesAsync(new ListVerifiedEmailAddressesRequest(), cancellationToken); } /// /// Deprecated. Use the ListIdentities operation to list the email addresses /// and domains associated with your account. /// /// Container for the necessary parameters to execute the ListVerifiedEmailAddresses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListVerifiedEmailAddresses service method, as returned by SimpleEmailService. /// REST API Reference for ListVerifiedEmailAddresses Operation public virtual Task ListVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVerifiedEmailAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVerifiedEmailAddressesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutConfigurationSetDeliveryOptions internal virtual PutConfigurationSetDeliveryOptionsResponse PutConfigurationSetDeliveryOptions(PutConfigurationSetDeliveryOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutConfigurationSetDeliveryOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutConfigurationSetDeliveryOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds or updates the delivery options for a configuration set. /// /// Container for the necessary parameters to execute the PutConfigurationSetDeliveryOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutConfigurationSetDeliveryOptions service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that provided delivery option is invalid. /// /// REST API Reference for PutConfigurationSetDeliveryOptions Operation public virtual Task PutConfigurationSetDeliveryOptionsAsync(PutConfigurationSetDeliveryOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutConfigurationSetDeliveryOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutConfigurationSetDeliveryOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutIdentityPolicy internal virtual PutIdentityPolicyResponse PutIdentityPolicy(PutIdentityPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutIdentityPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutIdentityPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds or updates a sending authorization policy for the specified identity (an email /// address or a domain). /// /// /// /// This API is for the identity owner only. If you have not verified the identity, this /// API will return an error. /// /// /// /// Sending authorization is a feature that enables an identity owner to authorize other /// senders to use its identities. For information about using sending authorization, /// see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the PutIdentityPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutIdentityPolicy service method, as returned by SimpleEmailService. /// /// Indicates that the provided policy is invalid. Check the error stack for more information /// about what caused the error. /// /// REST API Reference for PutIdentityPolicy Operation public virtual Task PutIdentityPolicyAsync(PutIdentityPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutIdentityPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutIdentityPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReorderReceiptRuleSet internal virtual ReorderReceiptRuleSetResponse ReorderReceiptRuleSet(ReorderReceiptRuleSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReorderReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ReorderReceiptRuleSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Reorders the receipt rules within a receipt rule set. /// /// /// /// All of the rules in the rule set must be represented in this request. That is, this /// API will return an error if the reorder request doesn't explicitly position all of /// the rules. /// /// /// /// For information about managing receipt rule sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the ReorderReceiptRuleSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReorderReceiptRuleSet service method, as returned by SimpleEmailService. /// /// Indicates that the provided receipt rule does not exist. /// /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for ReorderReceiptRuleSet Operation public virtual Task ReorderReceiptRuleSetAsync(ReorderReceiptRuleSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReorderReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ReorderReceiptRuleSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendBounce internal virtual SendBounceResponse SendBounce(SendBounceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendBounceRequestMarshaller.Instance; options.ResponseUnmarshaller = SendBounceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Generates and sends a bounce message to the sender of an email you received through /// Amazon SES. You can only use this API on an email up to 24 hours after you receive /// it. /// /// /// /// You cannot use this API to send generic bounces for mail that was not received by /// Amazon SES. /// /// /// /// For information about receiving email through Amazon SES, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the SendBounce service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendBounce service method, as returned by SimpleEmailService. /// /// Indicates that the action failed, and the message could not be sent. Check the error /// stack for more information about what caused the error. /// /// REST API Reference for SendBounce Operation public virtual Task SendBounceAsync(SendBounceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendBounceRequestMarshaller.Instance; options.ResponseUnmarshaller = SendBounceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendBulkTemplatedEmail internal virtual SendBulkTemplatedEmailResponse SendBulkTemplatedEmail(SendBulkTemplatedEmailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendBulkTemplatedEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendBulkTemplatedEmailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Composes an email message to multiple destinations. The message body is created using /// an email template. /// /// /// /// In order to send email using the SendBulkTemplatedEmail operation, your /// call to the API must meet the following requirements: /// ///
  • /// /// The call must refer to an existing email template. You can create email templates /// using the CreateTemplate operation. /// ///
  • /// /// The message must be sent from a verified email address or domain. /// ///
  • /// /// If your account is still in the Amazon SES sandbox, you may only send to verified /// addresses or domains, or to email addresses associated with the Amazon SES Mailbox /// Simulator. For more information, see Verifying /// Email Addresses and Domains in the Amazon SES Developer Guide. /// ///
  • /// /// The maximum message size is 10 MB. /// ///
  • /// /// Each Destination parameter must include at least one recipient email /// address. The recipient address can be a To: address, a CC: address, or a BCC: address. /// If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), /// the entire message will be rejected, even if the message contains other recipients /// that are valid. /// ///
  • /// /// The message may not include more than 50 recipients, across the To:, CC: and BCC: /// fields. If you need to send an email message to a larger audience, you can divide /// your recipient list into groups of 50 or fewer, and then call the SendBulkTemplatedEmail /// operation several times to send the message to each group. /// ///
  • /// /// The number of destinations you can contact in a single call to the API may be limited /// by your account's maximum sending rate. /// ///
///
/// Container for the necessary parameters to execute the SendBulkTemplatedEmail service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendBulkTemplatedEmail service method, as returned by SimpleEmailService. /// /// Indicates that email sending is disabled for your entire Amazon SES account. /// /// /// /// You can enable or disable email sending for your Amazon SES account using UpdateAccountSendingEnabled. /// /// /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that email sending is disabled for the configuration set. /// /// /// /// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. /// /// /// /// Indicates that the message could not be sent because Amazon SES could not read the /// MX record required to use the specified MAIL FROM domain. For information about editing /// the custom MAIL FROM domain settings for an identity, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the action failed, and the message could not be sent. Check the error /// stack for more information about what caused the error. /// /// /// Indicates that the Template object you specified does not exist in your Amazon SES /// account. /// /// REST API Reference for SendBulkTemplatedEmail Operation public virtual Task SendBulkTemplatedEmailAsync(SendBulkTemplatedEmailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendBulkTemplatedEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendBulkTemplatedEmailResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendCustomVerificationEmail internal virtual SendCustomVerificationEmailResponse SendCustomVerificationEmail(SendCustomVerificationEmailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendCustomVerificationEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendCustomVerificationEmailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds an email address to the list of identities for your Amazon SES account in the /// current AWS Region and attempts to verify it. As a result of executing this operation, /// a customized verification email is sent to the specified address. /// /// /// /// To use this operation, you must first create a custom verification email template. /// For more information about creating and using custom verification email templates, /// see Using /// Custom Verification Email Templates in the Amazon SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the SendCustomVerificationEmail service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendCustomVerificationEmail service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that a custom verification email template with the name you specified does /// not exist. /// /// /// Indicates that the sender address specified for a custom verification email is not /// verified, and is therefore not eligible to send the custom verification email. /// /// /// Indicates that the action failed, and the message could not be sent. Check the error /// stack for more information about what caused the error. /// /// /// Indicates that the account has not been granted production access. /// /// REST API Reference for SendCustomVerificationEmail Operation public virtual Task SendCustomVerificationEmailAsync(SendCustomVerificationEmailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendCustomVerificationEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendCustomVerificationEmailResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendEmail internal virtual SendEmailResponse SendEmail(SendEmailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendEmailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Composes an email message and immediately queues it for sending. In order to send /// email using the SendEmail operation, your message must meet the following /// requirements: /// ///
  • /// /// The message must be sent from a verified email address or domain. If you attempt to /// send email using a non-verified address or domain, the operation will result in an /// "Email address not verified" error. /// ///
  • /// /// If your account is still in the Amazon SES sandbox, you may only send to verified /// addresses or domains, or to email addresses associated with the Amazon SES Mailbox /// Simulator. For more information, see Verifying /// Email Addresses and Domains in the Amazon SES Developer Guide. /// ///
  • /// /// The maximum message size is 10 MB. /// ///
  • /// /// The message must include at least one recipient email address. The recipient address /// can be a To: address, a CC: address, or a BCC: address. If a recipient email address /// is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), /// the entire message will be rejected, even if the message contains other recipients /// that are valid. /// ///
  • /// /// The message may not include more than 50 recipients, across the To:, CC: and BCC: /// fields. If you need to send an email message to a larger audience, you can divide /// your recipient list into groups of 50 or fewer, and then call the SendEmail /// operation several times to send the message to each group. /// ///
/// /// For every message that you send, the total number of recipients (including each recipient /// in the To:, CC: and BCC: fields) is counted against the maximum number of emails you /// can send in a 24-hour period (your sending quota). For more information about /// sending quotas in Amazon SES, see Managing /// Your Amazon SES Sending Limits in the Amazon SES Developer Guide. /// /// ///
/// Container for the necessary parameters to execute the SendEmail service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendEmail service method, as returned by SimpleEmailService. /// /// Indicates that email sending is disabled for your entire Amazon SES account. /// /// /// /// You can enable or disable email sending for your Amazon SES account using UpdateAccountSendingEnabled. /// /// /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that email sending is disabled for the configuration set. /// /// /// /// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. /// /// /// /// Indicates that the message could not be sent because Amazon SES could not read the /// MX record required to use the specified MAIL FROM domain. For information about editing /// the custom MAIL FROM domain settings for an identity, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the action failed, and the message could not be sent. Check the error /// stack for more information about what caused the error. /// /// REST API Reference for SendEmail Operation public virtual Task SendEmailAsync(SendEmailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendEmailResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendRawEmail internal virtual SendRawEmailResponse SendRawEmail(SendRawEmailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendRawEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendRawEmailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Composes an email message and immediately queues it for sending. /// /// /// /// This operation is more flexible than the SendEmail API operation. When /// you use the SendRawEmail operation, you can specify the headers of the /// message as well as its content. This flexibility is useful, for example, when you /// want to send a multipart MIME email (such a message that contains both a text and /// an HTML version). You can also use this operation to send messages that include attachments. /// /// /// /// The SendRawEmail operation has the following requirements: /// ///
  • /// /// You can only send email from verified /// email addresses or domains. If you try to send email from an address that isn't /// verified, the operation results in an "Email address not verified" error. /// ///
  • /// /// If your account is still in the Amazon /// SES sandbox, you can only send email to other verified addresses in your account, /// or to addresses that are associated with the Amazon /// SES mailbox simulator. /// ///
  • /// /// The maximum message size, including attachments, is 10 MB. /// ///
  • /// /// Each message has to include at least one recipient address. A recipient address includes /// any address on the To:, CC:, or BCC: lines. /// ///
  • /// /// If you send a single message to more than one recipient address, and one of the recipient /// addresses isn't in a valid format (that is, it's not in the format UserName@[SubDomain.]Domain.TopLevelDomain), /// Amazon SES rejects the entire message, even if the other addresses are valid. /// ///
  • /// /// Each message can include up to 50 recipient addresses across the To:, CC:, or BCC: /// lines. If you need to send a single message to more than 50 recipients, you have to /// split the list of recipient addresses into groups of less than 50 recipients, and /// send separate messages to each group. /// ///
  • /// /// Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message /// parts. However, if Amazon SES has to modify the contents of your message (for example, /// if you use open and click tracking), 8-bit content isn't preserved. For this reason, /// we highly recommend that you encode all content that isn't 7-bit ASCII. For more information, /// see MIME /// Encoding in the Amazon SES Developer Guide. /// ///
/// /// Additionally, keep the following considerations in mind when using the SendRawEmail /// operation: /// ///
  • /// /// Although you can customize the message headers when using the SendRawEmail /// operation, Amazon SES will automatically apply its own Message-ID and /// Date headers; if you passed these headers when creating the message, /// they will be overwritten by the values that Amazon SES provides. /// ///
  • /// /// If you are using sending authorization to send on behalf of another user, SendRawEmail /// enables you to specify the cross-account identity for the email's Source, From, and /// Return-Path parameters in one of two ways: you can pass optional parameters SourceArn, /// FromArn, and/or ReturnPathArn to the API, or you can include /// the following X-headers in the header of your raw email: /// ///
    • /// /// X-SES-SOURCE-ARN /// ///
    • /// /// X-SES-FROM-ARN /// ///
    • /// /// X-SES-RETURN-PATH-ARN /// ///
    /// /// Don't include these X-headers in the DKIM signature. Amazon SES removes these before /// it sends the email. /// /// /// /// If you only specify the SourceIdentityArn parameter, Amazon SES sets /// the From and Return-Path addresses to the same identity that you specified. /// /// /// /// For more information about sending authorization, see the Using /// Sending Authorization with Amazon SES in the Amazon SES Developer Guide. /// /// ///
  • /// /// For every message that you send, the total number of recipients (including each recipient /// in the To:, CC: and BCC: fields) is counted against the maximum number of emails you /// can send in a 24-hour period (your sending quota). For more information about /// sending quotas in Amazon SES, see Managing /// Your Amazon SES Sending Limits in the Amazon SES Developer Guide. /// ///
///
/// Container for the necessary parameters to execute the SendRawEmail service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendRawEmail service method, as returned by SimpleEmailService. /// /// Indicates that email sending is disabled for your entire Amazon SES account. /// /// /// /// You can enable or disable email sending for your Amazon SES account using UpdateAccountSendingEnabled. /// /// /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that email sending is disabled for the configuration set. /// /// /// /// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. /// /// /// /// Indicates that the message could not be sent because Amazon SES could not read the /// MX record required to use the specified MAIL FROM domain. For information about editing /// the custom MAIL FROM domain settings for an identity, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the action failed, and the message could not be sent. Check the error /// stack for more information about what caused the error. /// /// REST API Reference for SendRawEmail Operation public virtual Task SendRawEmailAsync(SendRawEmailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendRawEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendRawEmailResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendTemplatedEmail internal virtual SendTemplatedEmailResponse SendTemplatedEmail(SendTemplatedEmailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendTemplatedEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendTemplatedEmailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Composes an email message using an email template and immediately queues it for sending. /// /// /// /// In order to send email using the SendTemplatedEmail operation, your call /// to the API must meet the following requirements: /// ///
  • /// /// The call must refer to an existing email template. You can create email templates /// using the CreateTemplate operation. /// ///
  • /// /// The message must be sent from a verified email address or domain. /// ///
  • /// /// If your account is still in the Amazon SES sandbox, you may only send to verified /// addresses or domains, or to email addresses associated with the Amazon SES Mailbox /// Simulator. For more information, see Verifying /// Email Addresses and Domains in the Amazon SES Developer Guide. /// ///
  • /// /// The maximum message size is 10 MB. /// ///
  • /// /// Calls to the SendTemplatedEmail operation may only include one Destination /// parameter. A destination is a set of recipients who will receive the same version /// of the email. The Destination parameter can include up to 50 recipients, /// across the To:, CC: and BCC: fields. /// ///
  • /// /// The Destination parameter must include at least one recipient email address. /// The recipient address can be a To: address, a CC: address, or a BCC: address. If a /// recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), /// the entire message will be rejected, even if the message contains other recipients /// that are valid. /// ///
/// /// If your call to the SendTemplatedEmail operation includes all of the /// required parameters, Amazon SES accepts it and returns a Message ID. However, if Amazon /// SES can't render the email because the template contains errors, it doesn't send the /// email. Additionally, because it already accepted the message, Amazon SES doesn't return /// a message stating that it was unable to send the email. /// /// /// /// For these reasons, we highly recommend that you set up Amazon SES to send you notifications /// when Rendering Failure events occur. For more information, see Sending /// Personalized Email Using the Amazon SES API in the Amazon Simple Email Service /// Developer Guide. /// /// ///
/// Container for the necessary parameters to execute the SendTemplatedEmail service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendTemplatedEmail service method, as returned by SimpleEmailService. /// /// Indicates that email sending is disabled for your entire Amazon SES account. /// /// /// /// You can enable or disable email sending for your Amazon SES account using UpdateAccountSendingEnabled. /// /// /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that email sending is disabled for the configuration set. /// /// /// /// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. /// /// /// /// Indicates that the message could not be sent because Amazon SES could not read the /// MX record required to use the specified MAIL FROM domain. For information about editing /// the custom MAIL FROM domain settings for an identity, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the action failed, and the message could not be sent. Check the error /// stack for more information about what caused the error. /// /// /// Indicates that the Template object you specified does not exist in your Amazon SES /// account. /// /// REST API Reference for SendTemplatedEmail Operation public virtual Task SendTemplatedEmailAsync(SendTemplatedEmailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendTemplatedEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = SendTemplatedEmailResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetActiveReceiptRuleSet internal virtual SetActiveReceiptRuleSetResponse SetActiveReceiptRuleSet(SetActiveReceiptRuleSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetActiveReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = SetActiveReceiptRuleSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets the specified receipt rule set as the active receipt rule set. /// /// /// /// To disable your email-receiving through Amazon SES completely, you can call this API /// with RuleSetName set to null. /// /// /// /// For information about managing receipt rule sets, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the SetActiveReceiptRuleSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetActiveReceiptRuleSet service method, as returned by SimpleEmailService. /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for SetActiveReceiptRuleSet Operation public virtual Task SetActiveReceiptRuleSetAsync(SetActiveReceiptRuleSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetActiveReceiptRuleSetRequestMarshaller.Instance; options.ResponseUnmarshaller = SetActiveReceiptRuleSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetIdentityDkimEnabled internal virtual SetIdentityDkimEnabledResponse SetIdentityDkimEnabled(SetIdentityDkimEnabledRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityDkimEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityDkimEnabledResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM /// signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that /// it sends from addresses on that domain. If Easy DKIM signing is enabled for an email /// address, then Amazon SES uses DKIM to sign all email it sends from that address. /// /// /// /// For email addresses (for example, user@example.com), you can only enable /// DKIM signing if the corresponding domain (in this case, example.com) /// has been set up to use Easy DKIM. /// /// /// /// You can enable DKIM signing for an identity at any time after you start the verification /// process for the identity, even if the verification process isn't complete. /// /// /// /// You can execute this operation no more than once per second. /// /// /// /// For more information about Easy DKIM signing, go to the Amazon /// SES Developer Guide. /// /// /// Container for the necessary parameters to execute the SetIdentityDkimEnabled service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetIdentityDkimEnabled service method, as returned by SimpleEmailService. /// REST API Reference for SetIdentityDkimEnabled Operation public virtual Task SetIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityDkimEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityDkimEnabledResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetIdentityFeedbackForwardingEnabled internal virtual SetIdentityFeedbackForwardingEnabledResponse SetIdentityFeedbackForwardingEnabled(SetIdentityFeedbackForwardingEnabledRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityFeedbackForwardingEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityFeedbackForwardingEnabledResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Given an identity (an email address or a domain), enables or disables whether Amazon /// SES forwards bounce and complaint notifications as email. Feedback forwarding can /// only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified /// for both bounces and complaints. /// /// /// /// Feedback forwarding does not apply to delivery notifications. Delivery notifications /// are only available through Amazon SNS. /// /// /// /// You can execute this operation no more than once per second. /// /// /// /// For more information about using notifications with Amazon SES, see the Amazon /// SES Developer Guide. /// /// /// Container for the necessary parameters to execute the SetIdentityFeedbackForwardingEnabled service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetIdentityFeedbackForwardingEnabled service method, as returned by SimpleEmailService. /// REST API Reference for SetIdentityFeedbackForwardingEnabled Operation public virtual Task SetIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityFeedbackForwardingEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityFeedbackForwardingEnabledResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetIdentityHeadersInNotificationsEnabled internal virtual SetIdentityHeadersInNotificationsEnabledResponse SetIdentityHeadersInNotificationsEnabled(SetIdentityHeadersInNotificationsEnabledRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityHeadersInNotificationsEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityHeadersInNotificationsEnabledResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Given an identity (an email address or a domain), sets whether Amazon SES includes /// the original email headers in the Amazon Simple Notification Service (Amazon SNS) /// notifications of a specified type. /// /// /// /// You can execute this operation no more than once per second. /// /// /// /// For more information about using notifications with Amazon SES, see the Amazon /// SES Developer Guide. /// /// /// Container for the necessary parameters to execute the SetIdentityHeadersInNotificationsEnabled service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetIdentityHeadersInNotificationsEnabled service method, as returned by SimpleEmailService. /// REST API Reference for SetIdentityHeadersInNotificationsEnabled Operation public virtual Task SetIdentityHeadersInNotificationsEnabledAsync(SetIdentityHeadersInNotificationsEnabledRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityHeadersInNotificationsEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityHeadersInNotificationsEnabledResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetIdentityMailFromDomain internal virtual SetIdentityMailFromDomainResponse SetIdentityMailFromDomain(SetIdentityMailFromDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityMailFromDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityMailFromDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables or disables the custom MAIL FROM domain setup for a verified identity (an /// email address or a domain). /// /// /// /// To send emails using the specified MAIL FROM domain, you must add an MX record to /// your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy /// Framework (SPF) checks, you must also add or update an SPF record. For more information, /// see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the SetIdentityMailFromDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetIdentityMailFromDomain service method, as returned by SimpleEmailService. /// REST API Reference for SetIdentityMailFromDomain Operation public virtual Task SetIdentityMailFromDomainAsync(SetIdentityMailFromDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityMailFromDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityMailFromDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetIdentityNotificationTopic internal virtual SetIdentityNotificationTopicResponse SetIdentityNotificationTopic(SetIdentityNotificationTopicRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityNotificationTopicRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityNotificationTopicResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering /// notifications. When you use this operation, you specify a verified identity, such /// as an email address or domain. When you send an email that uses the chosen identity /// in the Source field, Amazon SES sends notifications to the topic you specified. You /// can send bounce, complaint, or delivery notifications (or any combination of the three) /// to the Amazon SNS topic that you specify. /// /// /// /// You can execute this operation no more than once per second. /// /// /// /// For more information about feedback notification, see the Amazon /// SES Developer Guide. /// /// /// Container for the necessary parameters to execute the SetIdentityNotificationTopic service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetIdentityNotificationTopic service method, as returned by SimpleEmailService. /// REST API Reference for SetIdentityNotificationTopic Operation public virtual Task SetIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetIdentityNotificationTopicRequestMarshaller.Instance; options.ResponseUnmarshaller = SetIdentityNotificationTopicResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetReceiptRulePosition internal virtual SetReceiptRulePositionResponse SetReceiptRulePosition(SetReceiptRulePositionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetReceiptRulePositionRequestMarshaller.Instance; options.ResponseUnmarshaller = SetReceiptRulePositionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets the position of the specified receipt rule in the receipt rule set. /// /// /// /// For information about managing receipt rules, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the SetReceiptRulePosition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetReceiptRulePosition service method, as returned by SimpleEmailService. /// /// Indicates that the provided receipt rule does not exist. /// /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for SetReceiptRulePosition Operation public virtual Task SetReceiptRulePositionAsync(SetReceiptRulePositionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetReceiptRulePositionRequestMarshaller.Instance; options.ResponseUnmarshaller = SetReceiptRulePositionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TestRenderTemplate internal virtual TestRenderTemplateResponse TestRenderTemplate(TestRenderTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestRenderTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = TestRenderTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a preview of the MIME content of an email when provided with a template and /// a set of replacement data. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the TestRenderTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TestRenderTemplate service method, as returned by SimpleEmailService. /// /// Indicates that one or more of the replacement values you provided is invalid. This /// error may occur when the TemplateData object contains invalid JSON. /// /// /// Indicates that one or more of the replacement values for the specified template was /// not specified. Ensure that the TemplateData object contains references to all of the /// replacement tags in the specified template. /// /// /// Indicates that the Template object you specified does not exist in your Amazon SES /// account. /// /// REST API Reference for TestRenderTemplate Operation public virtual Task TestRenderTemplateAsync(TestRenderTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TestRenderTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = TestRenderTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAccountSendingEnabled internal virtual UpdateAccountSendingEnabledResponse UpdateAccountSendingEnabled(UpdateAccountSendingEnabledRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAccountSendingEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAccountSendingEnabledResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables or disables email sending across your entire Amazon SES account in the current /// AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms /// to temporarily pause email sending across your Amazon SES account in a given AWS Region /// when reputation metrics (such as your bounce or complaint rates) reach certain thresholds. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the UpdateAccountSendingEnabled service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAccountSendingEnabled service method, as returned by SimpleEmailService. /// REST API Reference for UpdateAccountSendingEnabled Operation public virtual Task UpdateAccountSendingEnabledAsync(UpdateAccountSendingEnabledRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAccountSendingEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAccountSendingEnabledResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateConfigurationSetEventDestination internal virtual UpdateConfigurationSetEventDestinationResponse UpdateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationSetEventDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationSetEventDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the event destination of a configuration set. Event destinations are associated /// with configuration sets, which enable you to publish email sending events to Amazon /// CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon /// SNS). For information about using configuration sets, see Monitoring /// Your Amazon SES Sending Activity in the Amazon SES Developer Guide. /// /// /// /// When you create or update an event destination, you must provide one, and only one, /// destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose, or /// Amazon Simple Notification Service (Amazon SNS). /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the UpdateConfigurationSetEventDestination service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateConfigurationSetEventDestination service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that the event destination does not exist. /// /// /// Indicates that the Amazon CloudWatch destination is invalid. See the error message /// for details. /// /// /// Indicates that the Amazon Kinesis Firehose destination is invalid. See the error message /// for details. /// /// /// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination is /// invalid. See the error message for details. /// /// REST API Reference for UpdateConfigurationSetEventDestination Operation public virtual Task UpdateConfigurationSetEventDestinationAsync(UpdateConfigurationSetEventDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationSetEventDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationSetEventDestinationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateConfigurationSetReputationMetricsEnabled internal virtual UpdateConfigurationSetReputationMetricsEnabledResponse UpdateConfigurationSetReputationMetricsEnabled(UpdateConfigurationSetReputationMetricsEnabledRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationSetReputationMetricsEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationSetReputationMetricsEnabledResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables or disables the publishing of reputation metrics for emails sent using a specific /// configuration set in a given AWS Region. Reputation metrics include bounce and complaint /// rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you /// can create alarms when bounce or complaint rates exceed certain thresholds. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the UpdateConfigurationSetReputationMetricsEnabled service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateConfigurationSetReputationMetricsEnabled service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// REST API Reference for UpdateConfigurationSetReputationMetricsEnabled Operation public virtual Task UpdateConfigurationSetReputationMetricsEnabledAsync(UpdateConfigurationSetReputationMetricsEnabledRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationSetReputationMetricsEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationSetReputationMetricsEnabledResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateConfigurationSetSendingEnabled internal virtual UpdateConfigurationSetSendingEnabledResponse UpdateConfigurationSetSendingEnabled(UpdateConfigurationSetSendingEnabledRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationSetSendingEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationSetSendingEnabledResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables or disables email sending for messages sent using a specific configuration /// set in a given AWS Region. You can use this operation in conjunction with Amazon CloudWatch /// alarms to temporarily pause email sending for a configuration set when the reputation /// metrics for that configuration set (such as your bounce on complaint rate) exceed /// certain thresholds. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the UpdateConfigurationSetSendingEnabled service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateConfigurationSetSendingEnabled service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// REST API Reference for UpdateConfigurationSetSendingEnabled Operation public virtual Task UpdateConfigurationSetSendingEnabledAsync(UpdateConfigurationSetSendingEnabledRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationSetSendingEnabledRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationSetSendingEnabledResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateConfigurationSetTrackingOptions internal virtual UpdateConfigurationSetTrackingOptionsResponse UpdateConfigurationSetTrackingOptions(UpdateConfigurationSetTrackingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationSetTrackingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationSetTrackingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies an association between a configuration set and a custom domain for open and /// click event tracking. /// /// /// /// By default, images and links used for tracking open and click events are hosted on /// domains operated by Amazon SES. You can configure a subdomain of your own to handle /// these events. For information about using custom domains, see the Amazon /// SES Developer Guide. /// /// /// Container for the necessary parameters to execute the UpdateConfigurationSetTrackingOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateConfigurationSetTrackingOptions service method, as returned by SimpleEmailService. /// /// Indicates that the configuration set does not exist. /// /// /// Indicates that the custom domain to be used for open and click tracking redirects /// is invalid. This error appears most often in the following situations: /// ///
  • /// /// When the tracking domain you specified is not verified in Amazon SES. /// ///
  • /// /// When the tracking domain you specified is not a valid domain or subdomain. /// ///
///
/// /// Indicates that the TrackingOptions object you specified does not exist. /// /// REST API Reference for UpdateConfigurationSetTrackingOptions Operation public virtual Task UpdateConfigurationSetTrackingOptionsAsync(UpdateConfigurationSetTrackingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationSetTrackingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationSetTrackingOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateCustomVerificationEmailTemplate internal virtual UpdateCustomVerificationEmailTemplateResponse UpdateCustomVerificationEmailTemplate(UpdateCustomVerificationEmailTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCustomVerificationEmailTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCustomVerificationEmailTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing custom verification email template. /// /// /// /// For more information about custom verification email templates, see Using /// Custom Verification Email Templates in the Amazon SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the UpdateCustomVerificationEmailTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateCustomVerificationEmailTemplate service method, as returned by SimpleEmailService. /// /// Indicates that custom verification email template provided content is invalid. /// /// /// Indicates that a custom verification email template with the name you specified does /// not exist. /// /// /// Indicates that the sender address specified for a custom verification email is not /// verified, and is therefore not eligible to send the custom verification email. /// /// REST API Reference for UpdateCustomVerificationEmailTemplate Operation public virtual Task UpdateCustomVerificationEmailTemplateAsync(UpdateCustomVerificationEmailTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCustomVerificationEmailTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCustomVerificationEmailTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateReceiptRule internal virtual UpdateReceiptRuleResponse UpdateReceiptRule(UpdateReceiptRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReceiptRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReceiptRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a receipt rule. /// /// /// /// For information about managing receipt rules, see the Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the UpdateReceiptRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateReceiptRule service method, as returned by SimpleEmailService. /// /// Indicates that the provided AWS Lambda function is invalid, or that Amazon SES could /// not execute the provided function, possibly due to permissions issues. For information /// about giving permissions, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is invalid, /// or that Amazon SES could not publish to the bucket, possibly due to permissions issues. /// For information about giving permissions, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES could /// not publish to the topic, possibly due to permissions issues. For information about /// giving permissions, see the Amazon /// SES Developer Guide. /// /// /// Indicates that a resource could not be created because of service limits. For a list /// of Amazon SES limits, see the Amazon /// SES Developer Guide. /// /// /// Indicates that the provided receipt rule does not exist. /// /// /// Indicates that the provided receipt rule set does not exist. /// /// REST API Reference for UpdateReceiptRule Operation public virtual Task UpdateReceiptRuleAsync(UpdateReceiptRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReceiptRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReceiptRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateTemplate internal virtual UpdateTemplateResponse UpdateTemplate(UpdateTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an email template. Email templates enable you to send personalized email to /// one or more destinations in a single API operation. For more information, see the /// Amazon /// SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the UpdateTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTemplate service method, as returned by SimpleEmailService. /// /// Indicates that the template that you specified could not be rendered. This issue may /// occur when a template refers to a partial that does not exist. /// /// /// Indicates that the Template object you specified does not exist in your Amazon SES /// account. /// /// REST API Reference for UpdateTemplate Operation public virtual Task UpdateTemplateAsync(UpdateTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region VerifyDomainDkim internal virtual VerifyDomainDkimResponse VerifyDomainDkim(VerifyDomainDkimRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = VerifyDomainDkimRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifyDomainDkimResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a set of DKIM tokens for a domain identity. /// /// /// /// When you execute the VerifyDomainDkim operation, the domain that you /// specify is added to the list of identities that are associated with your account. /// This is true even if you haven't already associated the domain with your account by /// using the VerifyDomainIdentity operation. However, you can't send email /// from the domain until you either successfully verify /// it or you successfully set /// up DKIM for it. /// /// /// /// You use the tokens that are generated by this operation to create CNAME records. When /// Amazon SES detects that you've added these records to the DNS configuration for a /// domain, you can start sending email from that domain. You can start sending email /// even if you haven't added the TXT record provided by the VerifyDomainIdentity operation /// to the DNS configuration for your domain. All email that you send from the domain /// is authenticated using DKIM. /// /// /// /// To create the CNAME records for DKIM authentication, use the following values: /// ///
  • /// /// Name: token._domainkey.example.com /// ///
  • /// /// Type: CNAME /// ///
  • /// /// Value: token.dkim.amazonses.com /// ///
/// /// In the preceding example, replace token with one of the tokens that are generated /// when you execute this operation. Replace example.com with your domain. Repeat /// this process for each token that's generated by this operation. /// /// /// /// You can execute this operation no more than once per second. /// ///
/// Container for the necessary parameters to execute the VerifyDomainDkim service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the VerifyDomainDkim service method, as returned by SimpleEmailService. /// REST API Reference for VerifyDomainDkim Operation public virtual Task VerifyDomainDkimAsync(VerifyDomainDkimRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = VerifyDomainDkimRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifyDomainDkimResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region VerifyDomainIdentity internal virtual VerifyDomainIdentityResponse VerifyDomainIdentity(VerifyDomainIdentityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = VerifyDomainIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifyDomainIdentityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds a domain to the list of identities for your Amazon SES account in the current /// AWS Region and attempts to verify it. For more information about verifying domains, /// see Verifying /// Email Addresses and Domains in the Amazon SES Developer Guide. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the VerifyDomainIdentity service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the VerifyDomainIdentity service method, as returned by SimpleEmailService. /// REST API Reference for VerifyDomainIdentity Operation public virtual Task VerifyDomainIdentityAsync(VerifyDomainIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = VerifyDomainIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifyDomainIdentityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region VerifyEmailAddress internal virtual VerifyEmailAddressResponse VerifyEmailAddress(VerifyEmailAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = VerifyEmailAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifyEmailAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deprecated. Use the VerifyEmailIdentity operation to verify a new email /// address. /// /// Container for the necessary parameters to execute the VerifyEmailAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the VerifyEmailAddress service method, as returned by SimpleEmailService. /// REST API Reference for VerifyEmailAddress Operation public virtual Task VerifyEmailAddressAsync(VerifyEmailAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = VerifyEmailAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifyEmailAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region VerifyEmailIdentity internal virtual VerifyEmailIdentityResponse VerifyEmailIdentity(VerifyEmailIdentityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = VerifyEmailIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifyEmailIdentityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds an email address to the list of identities for your Amazon SES account in the /// current AWS region and attempts to verify it. As a result of executing this operation, /// a verification email is sent to the specified address. /// /// /// /// You can execute this operation no more than once per second. /// /// /// Container for the necessary parameters to execute the VerifyEmailIdentity service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the VerifyEmailIdentity service method, as returned by SimpleEmailService. /// REST API Reference for VerifyEmailIdentity Operation public virtual Task VerifyEmailIdentityAsync(VerifyEmailIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = VerifyEmailIdentityRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifyEmailIdentityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }