/*
* Copyright 2010-2014 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.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 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
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// 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
///
/// Initiates the asynchronous execution of the CloneReceiptRuleSet operation.
///
///
/// Container for the necessary parameters to execute the CloneReceiptRuleSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CloneReceiptRuleSet Operation
public virtual void CloneReceiptRuleSetAsync(CloneReceiptRuleSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CloneReceiptRuleSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CloneReceiptRuleSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CloneReceiptRuleSetRequest)req, (CloneReceiptRuleSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region CreateConfigurationSet
///
/// Initiates the asynchronous execution of the CreateConfigurationSet operation.
///
///
/// Container for the necessary parameters to execute the CreateConfigurationSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CreateConfigurationSet Operation
public virtual void CreateConfigurationSetAsync(CreateConfigurationSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CreateConfigurationSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CreateConfigurationSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CreateConfigurationSetRequest)req, (CreateConfigurationSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region CreateConfigurationSetEventDestination
///
/// Initiates the asynchronous execution of the CreateConfigurationSetEventDestination operation.
///
///
/// Container for the necessary parameters to execute the CreateConfigurationSetEventDestination operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CreateConfigurationSetEventDestination Operation
public virtual void CreateConfigurationSetEventDestinationAsync(CreateConfigurationSetEventDestinationRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CreateConfigurationSetEventDestinationRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CreateConfigurationSetEventDestinationResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CreateConfigurationSetEventDestinationRequest)req, (CreateConfigurationSetEventDestinationResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region CreateConfigurationSetTrackingOptions
///
/// Initiates the asynchronous execution of the CreateConfigurationSetTrackingOptions operation.
///
///
/// Container for the necessary parameters to execute the CreateConfigurationSetTrackingOptions operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CreateConfigurationSetTrackingOptions Operation
public virtual void CreateConfigurationSetTrackingOptionsAsync(CreateConfigurationSetTrackingOptionsRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CreateConfigurationSetTrackingOptionsRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CreateConfigurationSetTrackingOptionsResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CreateConfigurationSetTrackingOptionsRequest)req, (CreateConfigurationSetTrackingOptionsResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region CreateCustomVerificationEmailTemplate
///
/// Initiates the asynchronous execution of the CreateCustomVerificationEmailTemplate operation.
///
///
/// Container for the necessary parameters to execute the CreateCustomVerificationEmailTemplate operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CreateCustomVerificationEmailTemplate Operation
public virtual void CreateCustomVerificationEmailTemplateAsync(CreateCustomVerificationEmailTemplateRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CreateCustomVerificationEmailTemplateRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CreateCustomVerificationEmailTemplateResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CreateCustomVerificationEmailTemplateRequest)req, (CreateCustomVerificationEmailTemplateResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region CreateReceiptFilter
///
/// Initiates the asynchronous execution of the CreateReceiptFilter operation.
///
///
/// Container for the necessary parameters to execute the CreateReceiptFilter operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CreateReceiptFilter Operation
public virtual void CreateReceiptFilterAsync(CreateReceiptFilterRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CreateReceiptFilterRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CreateReceiptFilterResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CreateReceiptFilterRequest)req, (CreateReceiptFilterResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region CreateReceiptRule
///
/// Initiates the asynchronous execution of the CreateReceiptRule operation.
///
///
/// Container for the necessary parameters to execute the CreateReceiptRule operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CreateReceiptRule Operation
public virtual void CreateReceiptRuleAsync(CreateReceiptRuleRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CreateReceiptRuleRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CreateReceiptRuleResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CreateReceiptRuleRequest)req, (CreateReceiptRuleResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region CreateReceiptRuleSet
///
/// Initiates the asynchronous execution of the CreateReceiptRuleSet operation.
///
///
/// Container for the necessary parameters to execute the CreateReceiptRuleSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CreateReceiptRuleSet Operation
public virtual void CreateReceiptRuleSetAsync(CreateReceiptRuleSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CreateReceiptRuleSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CreateReceiptRuleSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CreateReceiptRuleSetRequest)req, (CreateReceiptRuleSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region CreateTemplate
///
/// Initiates the asynchronous execution of the CreateTemplate operation.
///
///
/// Container for the necessary parameters to execute the CreateTemplate operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for CreateTemplate Operation
public virtual void CreateTemplateAsync(CreateTemplateRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = CreateTemplateRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = CreateTemplateResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((CreateTemplateRequest)req, (CreateTemplateResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteConfigurationSet
///
/// Initiates the asynchronous execution of the DeleteConfigurationSet operation.
///
///
/// Container for the necessary parameters to execute the DeleteConfigurationSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteConfigurationSet Operation
public virtual void DeleteConfigurationSetAsync(DeleteConfigurationSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteConfigurationSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteConfigurationSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteConfigurationSetRequest)req, (DeleteConfigurationSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteConfigurationSetEventDestination
///
/// Initiates the asynchronous execution of the DeleteConfigurationSetEventDestination operation.
///
///
/// Container for the necessary parameters to execute the DeleteConfigurationSetEventDestination operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteConfigurationSetEventDestination Operation
public virtual void DeleteConfigurationSetEventDestinationAsync(DeleteConfigurationSetEventDestinationRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteConfigurationSetEventDestinationRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteConfigurationSetEventDestinationResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteConfigurationSetEventDestinationRequest)req, (DeleteConfigurationSetEventDestinationResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteConfigurationSetTrackingOptions
///
/// Initiates the asynchronous execution of the DeleteConfigurationSetTrackingOptions operation.
///
///
/// Container for the necessary parameters to execute the DeleteConfigurationSetTrackingOptions operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteConfigurationSetTrackingOptions Operation
public virtual void DeleteConfigurationSetTrackingOptionsAsync(DeleteConfigurationSetTrackingOptionsRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteConfigurationSetTrackingOptionsRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteConfigurationSetTrackingOptionsResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteConfigurationSetTrackingOptionsRequest)req, (DeleteConfigurationSetTrackingOptionsResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteCustomVerificationEmailTemplate
///
/// Initiates the asynchronous execution of the DeleteCustomVerificationEmailTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteCustomVerificationEmailTemplate operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteCustomVerificationEmailTemplate Operation
public virtual void DeleteCustomVerificationEmailTemplateAsync(DeleteCustomVerificationEmailTemplateRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteCustomVerificationEmailTemplateRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteCustomVerificationEmailTemplateResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteCustomVerificationEmailTemplateRequest)req, (DeleteCustomVerificationEmailTemplateResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteIdentity
///
/// Initiates the asynchronous execution of the DeleteIdentity operation.
///
///
/// Container for the necessary parameters to execute the DeleteIdentity operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteIdentity Operation
public virtual void DeleteIdentityAsync(DeleteIdentityRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteIdentityRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteIdentityResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteIdentityRequest)req, (DeleteIdentityResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteIdentityPolicy
///
/// Initiates the asynchronous execution of the DeleteIdentityPolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteIdentityPolicy operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteIdentityPolicy Operation
public virtual void DeleteIdentityPolicyAsync(DeleteIdentityPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteIdentityPolicyRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteIdentityPolicyResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteIdentityPolicyRequest)req, (DeleteIdentityPolicyResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteReceiptFilter
///
/// Initiates the asynchronous execution of the DeleteReceiptFilter operation.
///
///
/// Container for the necessary parameters to execute the DeleteReceiptFilter operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteReceiptFilter Operation
public virtual void DeleteReceiptFilterAsync(DeleteReceiptFilterRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteReceiptFilterRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteReceiptFilterResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteReceiptFilterRequest)req, (DeleteReceiptFilterResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteReceiptRule
///
/// Initiates the asynchronous execution of the DeleteReceiptRule operation.
///
///
/// Container for the necessary parameters to execute the DeleteReceiptRule operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteReceiptRule Operation
public virtual void DeleteReceiptRuleAsync(DeleteReceiptRuleRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteReceiptRuleRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteReceiptRuleResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteReceiptRuleRequest)req, (DeleteReceiptRuleResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteReceiptRuleSet
///
/// Initiates the asynchronous execution of the DeleteReceiptRuleSet operation.
///
///
/// Container for the necessary parameters to execute the DeleteReceiptRuleSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteReceiptRuleSet Operation
public virtual void DeleteReceiptRuleSetAsync(DeleteReceiptRuleSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteReceiptRuleSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteReceiptRuleSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteReceiptRuleSetRequest)req, (DeleteReceiptRuleSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteTemplate
///
/// Initiates the asynchronous execution of the DeleteTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteTemplate operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteTemplate Operation
public virtual void DeleteTemplateAsync(DeleteTemplateRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteTemplateRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteTemplateResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteTemplateRequest)req, (DeleteTemplateResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DeleteVerifiedEmailAddress
///
/// Initiates the asynchronous execution of the DeleteVerifiedEmailAddress operation.
///
///
/// Container for the necessary parameters to execute the DeleteVerifiedEmailAddress operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DeleteVerifiedEmailAddress Operation
public virtual void DeleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DeleteVerifiedEmailAddressRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DeleteVerifiedEmailAddressRequest)req, (DeleteVerifiedEmailAddressResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DescribeActiveReceiptRuleSet
///
/// Initiates the asynchronous execution of the DescribeActiveReceiptRuleSet operation.
///
///
/// Container for the necessary parameters to execute the DescribeActiveReceiptRuleSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DescribeActiveReceiptRuleSet Operation
public virtual void DescribeActiveReceiptRuleSetAsync(DescribeActiveReceiptRuleSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DescribeActiveReceiptRuleSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DescribeActiveReceiptRuleSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DescribeActiveReceiptRuleSetRequest)req, (DescribeActiveReceiptRuleSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DescribeConfigurationSet
///
/// Initiates the asynchronous execution of the DescribeConfigurationSet operation.
///
///
/// Container for the necessary parameters to execute the DescribeConfigurationSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DescribeConfigurationSet Operation
public virtual void DescribeConfigurationSetAsync(DescribeConfigurationSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DescribeConfigurationSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DescribeConfigurationSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DescribeConfigurationSetRequest)req, (DescribeConfigurationSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DescribeReceiptRule
///
/// Initiates the asynchronous execution of the DescribeReceiptRule operation.
///
///
/// Container for the necessary parameters to execute the DescribeReceiptRule operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DescribeReceiptRule Operation
public virtual void DescribeReceiptRuleAsync(DescribeReceiptRuleRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DescribeReceiptRuleRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DescribeReceiptRuleResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DescribeReceiptRuleRequest)req, (DescribeReceiptRuleResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region DescribeReceiptRuleSet
///
/// Initiates the asynchronous execution of the DescribeReceiptRuleSet operation.
///
///
/// Container for the necessary parameters to execute the DescribeReceiptRuleSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for DescribeReceiptRuleSet Operation
public virtual void DescribeReceiptRuleSetAsync(DescribeReceiptRuleSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = DescribeReceiptRuleSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = DescribeReceiptRuleSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((DescribeReceiptRuleSetRequest)req, (DescribeReceiptRuleSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetAccountSendingEnabled
///
/// Initiates the asynchronous execution of the GetAccountSendingEnabled operation.
///
///
/// Container for the necessary parameters to execute the GetAccountSendingEnabled operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetAccountSendingEnabled Operation
public virtual void GetAccountSendingEnabledAsync(GetAccountSendingEnabledRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetAccountSendingEnabledRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetAccountSendingEnabledResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetAccountSendingEnabledRequest)req, (GetAccountSendingEnabledResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetCustomVerificationEmailTemplate
///
/// Initiates the asynchronous execution of the GetCustomVerificationEmailTemplate operation.
///
///
/// Container for the necessary parameters to execute the GetCustomVerificationEmailTemplate operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetCustomVerificationEmailTemplate Operation
public virtual void GetCustomVerificationEmailTemplateAsync(GetCustomVerificationEmailTemplateRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetCustomVerificationEmailTemplateRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetCustomVerificationEmailTemplateResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetCustomVerificationEmailTemplateRequest)req, (GetCustomVerificationEmailTemplateResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetIdentityDkimAttributes
///
/// Initiates the asynchronous execution of the GetIdentityDkimAttributes operation.
///
///
/// Container for the necessary parameters to execute the GetIdentityDkimAttributes operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetIdentityDkimAttributes Operation
public virtual void GetIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetIdentityDkimAttributesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetIdentityDkimAttributesRequest)req, (GetIdentityDkimAttributesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetIdentityMailFromDomainAttributes
///
/// Initiates the asynchronous execution of the GetIdentityMailFromDomainAttributes operation.
///
///
/// Container for the necessary parameters to execute the GetIdentityMailFromDomainAttributes operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetIdentityMailFromDomainAttributes Operation
public virtual void GetIdentityMailFromDomainAttributesAsync(GetIdentityMailFromDomainAttributesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetIdentityMailFromDomainAttributesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetIdentityMailFromDomainAttributesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetIdentityMailFromDomainAttributesRequest)req, (GetIdentityMailFromDomainAttributesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetIdentityNotificationAttributes
///
/// Initiates the asynchronous execution of the GetIdentityNotificationAttributes operation.
///
///
/// Container for the necessary parameters to execute the GetIdentityNotificationAttributes operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetIdentityNotificationAttributes Operation
public virtual void GetIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetIdentityNotificationAttributesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetIdentityNotificationAttributesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetIdentityNotificationAttributesRequest)req, (GetIdentityNotificationAttributesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetIdentityPolicies
///
/// Initiates the asynchronous execution of the GetIdentityPolicies operation.
///
///
/// Container for the necessary parameters to execute the GetIdentityPolicies operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetIdentityPolicies Operation
public virtual void GetIdentityPoliciesAsync(GetIdentityPoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetIdentityPoliciesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetIdentityPoliciesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetIdentityPoliciesRequest)req, (GetIdentityPoliciesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetIdentityVerificationAttributes
///
/// Initiates the asynchronous execution of the GetIdentityVerificationAttributes operation.
///
///
/// Container for the necessary parameters to execute the GetIdentityVerificationAttributes operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetIdentityVerificationAttributes Operation
public virtual void GetIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetIdentityVerificationAttributesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetIdentityVerificationAttributesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetIdentityVerificationAttributesRequest)req, (GetIdentityVerificationAttributesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetSendQuota
///
/// Provides the sending limits for the Amazon SES account.
///
///
///
/// You can execute this operation no more than once per second.
///
///
/// An Action delegate that is invoked when the operation completes.
///
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
///
/// The response from the GetSendQuota service method, as returned by SimpleEmailService.
/// REST API Reference for GetSendQuota Operation
public virtual void GetSendQuotaAsync(AmazonServiceCallback callback, AsyncOptions options = null)
{
GetSendQuotaAsync(new GetSendQuotaRequest(), callback, options);
}
///
/// Initiates the asynchronous execution of the GetSendQuota operation.
///
///
/// Container for the necessary parameters to execute the GetSendQuota operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetSendQuota Operation
public virtual void GetSendQuotaAsync(GetSendQuotaRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetSendQuotaRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetSendQuotaResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetSendQuotaRequest)req, (GetSendQuotaResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetSendStatistics
///
/// 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.
///
///
/// An Action delegate that is invoked when the operation completes.
///
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
///
/// The response from the GetSendStatistics service method, as returned by SimpleEmailService.
/// REST API Reference for GetSendStatistics Operation
public virtual void GetSendStatisticsAsync(AmazonServiceCallback callback, AsyncOptions options = null)
{
GetSendStatisticsAsync(new GetSendStatisticsRequest(), callback, options);
}
///
/// Initiates the asynchronous execution of the GetSendStatistics operation.
///
///
/// Container for the necessary parameters to execute the GetSendStatistics operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetSendStatistics Operation
public virtual void GetSendStatisticsAsync(GetSendStatisticsRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetSendStatisticsRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetSendStatisticsResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetSendStatisticsRequest)req, (GetSendStatisticsResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region GetTemplate
///
/// Initiates the asynchronous execution of the GetTemplate operation.
///
///
/// Container for the necessary parameters to execute the GetTemplate operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for GetTemplate Operation
public virtual void GetTemplateAsync(GetTemplateRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = GetTemplateRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((GetTemplateRequest)req, (GetTemplateResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ListConfigurationSets
///
/// Initiates the asynchronous execution of the ListConfigurationSets operation.
///
///
/// Container for the necessary parameters to execute the ListConfigurationSets operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ListConfigurationSets Operation
public virtual void ListConfigurationSetsAsync(ListConfigurationSetsRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ListConfigurationSetsRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ListConfigurationSetsResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ListConfigurationSetsRequest)req, (ListConfigurationSetsResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ListCustomVerificationEmailTemplates
///
/// Initiates the asynchronous execution of the ListCustomVerificationEmailTemplates operation.
///
///
/// Container for the necessary parameters to execute the ListCustomVerificationEmailTemplates operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ListCustomVerificationEmailTemplates Operation
public virtual void ListCustomVerificationEmailTemplatesAsync(ListCustomVerificationEmailTemplatesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ListCustomVerificationEmailTemplatesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ListCustomVerificationEmailTemplatesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ListCustomVerificationEmailTemplatesRequest)req, (ListCustomVerificationEmailTemplatesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ListIdentities
///
/// 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.
///
///
/// An Action delegate that is invoked when the operation completes.
///
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
///
/// The response from the ListIdentities service method, as returned by SimpleEmailService.
/// REST API Reference for ListIdentities Operation
public virtual void ListIdentitiesAsync(AmazonServiceCallback callback, AsyncOptions options = null)
{
ListIdentitiesAsync(new ListIdentitiesRequest(), callback, options);
}
///
/// Initiates the asynchronous execution of the ListIdentities operation.
///
///
/// Container for the necessary parameters to execute the ListIdentities operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ListIdentities Operation
public virtual void ListIdentitiesAsync(ListIdentitiesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ListIdentitiesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ListIdentitiesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ListIdentitiesRequest)req, (ListIdentitiesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ListIdentityPolicies
///
/// Initiates the asynchronous execution of the ListIdentityPolicies operation.
///
///
/// Container for the necessary parameters to execute the ListIdentityPolicies operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ListIdentityPolicies Operation
public virtual void ListIdentityPoliciesAsync(ListIdentityPoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ListIdentityPoliciesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ListIdentityPoliciesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ListIdentityPoliciesRequest)req, (ListIdentityPoliciesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ListReceiptFilters
///
/// Initiates the asynchronous execution of the ListReceiptFilters operation.
///
///
/// Container for the necessary parameters to execute the ListReceiptFilters operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ListReceiptFilters Operation
public virtual void ListReceiptFiltersAsync(ListReceiptFiltersRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ListReceiptFiltersRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ListReceiptFiltersResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ListReceiptFiltersRequest)req, (ListReceiptFiltersResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ListReceiptRuleSets
///
/// Initiates the asynchronous execution of the ListReceiptRuleSets operation.
///
///
/// Container for the necessary parameters to execute the ListReceiptRuleSets operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ListReceiptRuleSets Operation
public virtual void ListReceiptRuleSetsAsync(ListReceiptRuleSetsRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ListReceiptRuleSetsRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ListReceiptRuleSetsResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ListReceiptRuleSetsRequest)req, (ListReceiptRuleSetsResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ListTemplates
///
/// Initiates the asynchronous execution of the ListTemplates operation.
///
///
/// Container for the necessary parameters to execute the ListTemplates operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ListTemplates Operation
public virtual void ListTemplatesAsync(ListTemplatesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ListTemplatesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ListTemplatesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ListTemplatesRequest)req, (ListTemplatesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ListVerifiedEmailAddresses
///
/// Deprecated. Use the ListIdentities
operation to list the email addresses
/// and domains associated with your account.
///
/// An Action delegate that is invoked when the operation completes.
///
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
///
/// The response from the ListVerifiedEmailAddresses service method, as returned by SimpleEmailService.
/// REST API Reference for ListVerifiedEmailAddresses Operation
public virtual void ListVerifiedEmailAddressesAsync(AmazonServiceCallback callback, AsyncOptions options = null)
{
ListVerifiedEmailAddressesAsync(new ListVerifiedEmailAddressesRequest(), callback, options);
}
///
/// Initiates the asynchronous execution of the ListVerifiedEmailAddresses operation.
///
///
/// Container for the necessary parameters to execute the ListVerifiedEmailAddresses operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ListVerifiedEmailAddresses Operation
public virtual void ListVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ListVerifiedEmailAddressesRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ListVerifiedEmailAddressesResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ListVerifiedEmailAddressesRequest)req, (ListVerifiedEmailAddressesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region PutConfigurationSetDeliveryOptions
///
/// Initiates the asynchronous execution of the PutConfigurationSetDeliveryOptions operation.
///
///
/// Container for the necessary parameters to execute the PutConfigurationSetDeliveryOptions operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for PutConfigurationSetDeliveryOptions Operation
public virtual void PutConfigurationSetDeliveryOptionsAsync(PutConfigurationSetDeliveryOptionsRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = PutConfigurationSetDeliveryOptionsRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = PutConfigurationSetDeliveryOptionsResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((PutConfigurationSetDeliveryOptionsRequest)req, (PutConfigurationSetDeliveryOptionsResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region PutIdentityPolicy
///
/// Initiates the asynchronous execution of the PutIdentityPolicy operation.
///
///
/// Container for the necessary parameters to execute the PutIdentityPolicy operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for PutIdentityPolicy Operation
public virtual void PutIdentityPolicyAsync(PutIdentityPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = PutIdentityPolicyRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = PutIdentityPolicyResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((PutIdentityPolicyRequest)req, (PutIdentityPolicyResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region ReorderReceiptRuleSet
///
/// Initiates the asynchronous execution of the ReorderReceiptRuleSet operation.
///
///
/// Container for the necessary parameters to execute the ReorderReceiptRuleSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for ReorderReceiptRuleSet Operation
public virtual void ReorderReceiptRuleSetAsync(ReorderReceiptRuleSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = ReorderReceiptRuleSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = ReorderReceiptRuleSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((ReorderReceiptRuleSetRequest)req, (ReorderReceiptRuleSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SendBounce
///
/// Initiates the asynchronous execution of the SendBounce operation.
///
///
/// Container for the necessary parameters to execute the SendBounce operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SendBounce Operation
public virtual void SendBounceAsync(SendBounceRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SendBounceRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SendBounceResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SendBounceRequest)req, (SendBounceResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SendBulkTemplatedEmail
///
/// Initiates the asynchronous execution of the SendBulkTemplatedEmail operation.
///
///
/// Container for the necessary parameters to execute the SendBulkTemplatedEmail operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SendBulkTemplatedEmail Operation
public virtual void SendBulkTemplatedEmailAsync(SendBulkTemplatedEmailRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SendBulkTemplatedEmailRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SendBulkTemplatedEmailResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SendBulkTemplatedEmailRequest)req, (SendBulkTemplatedEmailResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SendCustomVerificationEmail
///
/// Initiates the asynchronous execution of the SendCustomVerificationEmail operation.
///
///
/// Container for the necessary parameters to execute the SendCustomVerificationEmail operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SendCustomVerificationEmail Operation
public virtual void SendCustomVerificationEmailAsync(SendCustomVerificationEmailRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SendCustomVerificationEmailRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SendCustomVerificationEmailResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SendCustomVerificationEmailRequest)req, (SendCustomVerificationEmailResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SendEmail
///
/// Initiates the asynchronous execution of the SendEmail operation.
///
///
/// Container for the necessary parameters to execute the SendEmail operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SendEmail Operation
public virtual void SendEmailAsync(SendEmailRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SendEmailRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SendEmailResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SendEmailRequest)req, (SendEmailResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SendRawEmail
///
/// Initiates the asynchronous execution of the SendRawEmail operation.
///
///
/// Container for the necessary parameters to execute the SendRawEmail operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SendRawEmail Operation
public virtual void SendRawEmailAsync(SendRawEmailRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SendRawEmailRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SendRawEmailResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SendRawEmailRequest)req, (SendRawEmailResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SendTemplatedEmail
///
/// Initiates the asynchronous execution of the SendTemplatedEmail operation.
///
///
/// Container for the necessary parameters to execute the SendTemplatedEmail operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SendTemplatedEmail Operation
public virtual void SendTemplatedEmailAsync(SendTemplatedEmailRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SendTemplatedEmailRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SendTemplatedEmailResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SendTemplatedEmailRequest)req, (SendTemplatedEmailResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SetActiveReceiptRuleSet
///
/// Initiates the asynchronous execution of the SetActiveReceiptRuleSet operation.
///
///
/// Container for the necessary parameters to execute the SetActiveReceiptRuleSet operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SetActiveReceiptRuleSet Operation
public virtual void SetActiveReceiptRuleSetAsync(SetActiveReceiptRuleSetRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SetActiveReceiptRuleSetRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SetActiveReceiptRuleSetResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SetActiveReceiptRuleSetRequest)req, (SetActiveReceiptRuleSetResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SetIdentityDkimEnabled
///
/// Initiates the asynchronous execution of the SetIdentityDkimEnabled operation.
///
///
/// Container for the necessary parameters to execute the SetIdentityDkimEnabled operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SetIdentityDkimEnabled Operation
public virtual void SetIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SetIdentityDkimEnabledRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SetIdentityDkimEnabledResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SetIdentityDkimEnabledRequest)req, (SetIdentityDkimEnabledResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SetIdentityFeedbackForwardingEnabled
///
/// Initiates the asynchronous execution of the SetIdentityFeedbackForwardingEnabled operation.
///
///
/// Container for the necessary parameters to execute the SetIdentityFeedbackForwardingEnabled operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SetIdentityFeedbackForwardingEnabled Operation
public virtual void SetIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SetIdentityFeedbackForwardingEnabledRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SetIdentityFeedbackForwardingEnabledResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SetIdentityFeedbackForwardingEnabledRequest)req, (SetIdentityFeedbackForwardingEnabledResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SetIdentityHeadersInNotificationsEnabled
///
/// Initiates the asynchronous execution of the SetIdentityHeadersInNotificationsEnabled operation.
///
///
/// Container for the necessary parameters to execute the SetIdentityHeadersInNotificationsEnabled operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SetIdentityHeadersInNotificationsEnabled Operation
public virtual void SetIdentityHeadersInNotificationsEnabledAsync(SetIdentityHeadersInNotificationsEnabledRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SetIdentityHeadersInNotificationsEnabledRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SetIdentityHeadersInNotificationsEnabledResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SetIdentityHeadersInNotificationsEnabledRequest)req, (SetIdentityHeadersInNotificationsEnabledResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SetIdentityMailFromDomain
///
/// Initiates the asynchronous execution of the SetIdentityMailFromDomain operation.
///
///
/// Container for the necessary parameters to execute the SetIdentityMailFromDomain operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SetIdentityMailFromDomain Operation
public virtual void SetIdentityMailFromDomainAsync(SetIdentityMailFromDomainRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SetIdentityMailFromDomainRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SetIdentityMailFromDomainResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SetIdentityMailFromDomainRequest)req, (SetIdentityMailFromDomainResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SetIdentityNotificationTopic
///
/// Initiates the asynchronous execution of the SetIdentityNotificationTopic operation.
///
///
/// Container for the necessary parameters to execute the SetIdentityNotificationTopic operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SetIdentityNotificationTopic Operation
public virtual void SetIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SetIdentityNotificationTopicRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SetIdentityNotificationTopicResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SetIdentityNotificationTopicRequest)req, (SetIdentityNotificationTopicResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region SetReceiptRulePosition
///
/// Initiates the asynchronous execution of the SetReceiptRulePosition operation.
///
///
/// Container for the necessary parameters to execute the SetReceiptRulePosition operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for SetReceiptRulePosition Operation
public virtual void SetReceiptRulePositionAsync(SetReceiptRulePositionRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = SetReceiptRulePositionRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = SetReceiptRulePositionResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((SetReceiptRulePositionRequest)req, (SetReceiptRulePositionResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region TestRenderTemplate
///
/// Initiates the asynchronous execution of the TestRenderTemplate operation.
///
///
/// Container for the necessary parameters to execute the TestRenderTemplate operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for TestRenderTemplate Operation
public virtual void TestRenderTemplateAsync(TestRenderTemplateRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = TestRenderTemplateRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = TestRenderTemplateResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((TestRenderTemplateRequest)req, (TestRenderTemplateResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region UpdateAccountSendingEnabled
///
/// Initiates the asynchronous execution of the UpdateAccountSendingEnabled operation.
///
///
/// Container for the necessary parameters to execute the UpdateAccountSendingEnabled operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for UpdateAccountSendingEnabled Operation
public virtual void UpdateAccountSendingEnabledAsync(UpdateAccountSendingEnabledRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = UpdateAccountSendingEnabledRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = UpdateAccountSendingEnabledResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((UpdateAccountSendingEnabledRequest)req, (UpdateAccountSendingEnabledResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region UpdateConfigurationSetEventDestination
///
/// Initiates the asynchronous execution of the UpdateConfigurationSetEventDestination operation.
///
///
/// Container for the necessary parameters to execute the UpdateConfigurationSetEventDestination operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for UpdateConfigurationSetEventDestination Operation
public virtual void UpdateConfigurationSetEventDestinationAsync(UpdateConfigurationSetEventDestinationRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = UpdateConfigurationSetEventDestinationRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = UpdateConfigurationSetEventDestinationResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((UpdateConfigurationSetEventDestinationRequest)req, (UpdateConfigurationSetEventDestinationResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region UpdateConfigurationSetReputationMetricsEnabled
///
/// Initiates the asynchronous execution of the UpdateConfigurationSetReputationMetricsEnabled operation.
///
///
/// Container for the necessary parameters to execute the UpdateConfigurationSetReputationMetricsEnabled operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for UpdateConfigurationSetReputationMetricsEnabled Operation
public virtual void UpdateConfigurationSetReputationMetricsEnabledAsync(UpdateConfigurationSetReputationMetricsEnabledRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = UpdateConfigurationSetReputationMetricsEnabledRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = UpdateConfigurationSetReputationMetricsEnabledResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult responseObject
= new AmazonServiceResult((UpdateConfigurationSetReputationMetricsEnabledRequest)req, (UpdateConfigurationSetReputationMetricsEnabledResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke(request, invokeOptions, options, callbackHelper);
}
#endregion
#region UpdateConfigurationSetSendingEnabled
///
/// Initiates the asynchronous execution of the UpdateConfigurationSetSendingEnabled operation.
///
///
/// Container for the necessary parameters to execute the UpdateConfigurationSetSendingEnabled operation on AmazonSimpleEmailServiceClient.
/// An Action delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// REST API Reference for UpdateConfigurationSetSendingEnabled Operation
public virtual void UpdateConfigurationSetSendingEnabledAsync(UpdateConfigurationSetSendingEnabledRequest request, AmazonServiceCallback callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var invokeOptions = new InvokeOptions();
invokeOptions.RequestMarshaller = UpdateConfigurationSetSendingEnabledRequestMarshaller.Instance;
invokeOptions.ResponseUnmarshaller = UpdateConfigurationSetSendingEnabledResponseUnmarshaller.Instance;
Action callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult