AWSSES

Objective-C

@interface AWSSES

Swift

class AWSSES

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.

This documentation contains reference information related to the following:

  • The service configuration used to instantiate this service client.

    Warning

    Once the client is instantiated, do not modify the configuration object. It may cause unspecified behaviors.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AWSServiceConfiguration *configuration
  • Returns the singleton service client. If the singleton object does not exist, the SDK instantiates the default service client with defaultServiceConfiguration from [AWSServiceManager defaultServiceManager]. The reference to this object is maintained by the SDK, and you do not need to retain it manually.

    For example, set the default service configuration in - application:didFinishLaunchingWithOptions:

    Swift

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
       let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId")
       let configuration = AWSServiceConfiguration(region: .USEast1, credentialsProvider: credentialProvider)
       AWSServiceManager.default().defaultServiceConfiguration = configuration
    
       return true
    

    }

    Objective-C

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
         AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1
                                                                                                         identityPoolId:@"YourIdentityPoolId"];
         AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1
                                                                              credentialsProvider:credentialsProvider];
         [AWSServiceManager defaultServiceManager].defaultServiceConfiguration = configuration;
    
         return YES;
     }
    

    Then call the following to get the default service client:

    Swift

    let SES = AWSSES.default()
    

    Objective-C

    AWSSES *SES = [AWSSES defaultSES];
    

    Declaration

    Objective-C

    + (nonnull instancetype)defaultSES;

    Swift

    class func `default`() -> Self

    Return Value

    The default service client.

  • Creates a service client with the given service configuration and registers it for the key.

    For example, set the default service configuration in - application:didFinishLaunchingWithOptions:

    Swift

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
       let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId")
       let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider)
       AWSSES.register(with: configuration!, forKey: "USWest2SES")
    
       return true
    

    }

    Objective-C

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
        AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1
                                                                                                        identityPoolId:@"YourIdentityPoolId"];
        AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2
                                                                             credentialsProvider:credentialsProvider];
    
        [AWSSES registerSESWithConfiguration:configuration forKey:@"USWest2SES"];
    
        return YES;
    }
    

    Then call the following to get the service client:

    Swift

    let SES = AWSSES(forKey: "USWest2SES")
    

    Objective-C

    AWSSES *SES = [AWSSES SESForKey:@"USWest2SES"];
    

    Warning

    After calling this method, do not modify the configuration object. It may cause unspecified behaviors.

    Declaration

    Objective-C

    + (void)registerSESWithConfiguration:(id)configuration
                                  forKey:(nonnull NSString *)key;

    Swift

    class func register(withConfiguration configuration: Any!, forKey key: String)

    Parameters

    configuration

    A service configuration object.

    key

    A string to identify the service client.

  • Retrieves the service client associated with the key. You need to call + registerSESWithConfiguration:forKey: before invoking this method.

    For example, set the default service configuration in - application:didFinishLaunchingWithOptions:

    Swift

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
       let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId")
       let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider)
       AWSSES.register(with: configuration!, forKey: "USWest2SES")
    
       return true
    

    }

    Objective-C

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
        AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1
                                                                                                        identityPoolId:@"YourIdentityPoolId"];
        AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2
                                                                             credentialsProvider:credentialsProvider];
    
        [AWSSES registerSESWithConfiguration:configuration forKey:@"USWest2SES"];
    
        return YES;
    }
    

    Then call the following to get the service client:

    Swift

    let SES = AWSSES(forKey: "USWest2SES")
    

    Objective-C

    AWSSES *SES = [AWSSES SESForKey:@"USWest2SES"];
    

    Declaration

    Objective-C

    + (nonnull instancetype)SESForKey:(nonnull NSString *)key;

    Swift

    convenience init(forKey key: String)

    Parameters

    key

    A string to identify the service client.

    Return Value

    An instance of the service client.

  • Removes the service client associated with the key and release it.

    Warning

    Before calling this method, make sure no method is running on this client.

    Declaration

    Objective-C

    + (void)removeSESForKey:(nonnull NSString *)key;

    Swift

    class func remove(forKey key: String)

    Parameters

    key

    A string to identify the service client.

  • Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.

    For information about setting up rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCloneReceiptRuleSetRequest

    See

    AWSSESCloneReceiptRuleSetResponse

    Declaration

    Objective-C

    - (id)cloneReceiptRuleSet:(nonnull AWSSESCloneReceiptRuleSetRequest *)request;

    Swift

    func cloneReceiptRuleSet(_ request: AWSSESCloneReceiptRuleSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CloneReceiptRuleSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESCloneReceiptRuleSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist, AWSSESErrorAlreadyExists, AWSSESErrorLimitExceeded.

  • Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.

    For information about setting up rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCloneReceiptRuleSetRequest

    See

    AWSSESCloneReceiptRuleSetResponse

    Declaration

    Objective-C

    - (void)cloneReceiptRuleSet:(nonnull AWSSESCloneReceiptRuleSetRequest *)request
              completionHandler:
                  (void (^_Nullable)(AWSSESCloneReceiptRuleSetResponse *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func cloneReceiptRuleSet(_ request: AWSSESCloneReceiptRuleSetRequest) async throws -> AWSSESCloneReceiptRuleSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the CloneReceiptRuleSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist, AWSSESErrorAlreadyExists, AWSSESErrorLimitExceeded.

  • Creates a configuration set.

    Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateConfigurationSetRequest

    See

    AWSSESCreateConfigurationSetResponse

    Declaration

    Objective-C

    - (id)createConfigurationSet:
        (nonnull AWSSESCreateConfigurationSetRequest *)request;

    Swift

    func createConfigurationSet(_ request: AWSSESCreateConfigurationSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CreateConfigurationSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESCreateConfigurationSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetAlreadyExists, AWSSESErrorInvalidConfigurationSet, AWSSESErrorLimitExceeded.

  • Creates a configuration set.

    Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateConfigurationSetRequest

    See

    AWSSESCreateConfigurationSetResponse

    Declaration

    Objective-C

    - (void)
        createConfigurationSet:
            (nonnull AWSSESCreateConfigurationSetRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESCreateConfigurationSetResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func createConfigurationSet(_ request: AWSSESCreateConfigurationSetRequest) async throws -> AWSSESCreateConfigurationSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the CreateConfigurationSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetAlreadyExists, AWSSESErrorInvalidConfigurationSet, AWSSESErrorLimitExceeded.

  • Creates a configuration set event destination.

    When you create or update an event destination, you must provide one, and only one, destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

    An event destination is the Amazon Web Services service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateConfigurationSetEventDestinationRequest

    See

    AWSSESCreateConfigurationSetEventDestinationResponse

    Declaration

    Objective-C

    - (id)createConfigurationSetEventDestination:
        (nonnull AWSSESCreateConfigurationSetEventDestinationRequest *)request;

    Swift

    func createConfigurationSetEventDestination(_ request: AWSSESCreateConfigurationSetEventDestinationRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CreateConfigurationSetEventDestination service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESCreateConfigurationSetEventDestinationResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorEventDestinationAlreadyExists, AWSSESErrorInvalidCloudWatchDestination, AWSSESErrorInvalidFirehoseDestination, AWSSESErrorInvalidSNSDestination, AWSSESErrorLimitExceeded.

  • Creates a configuration set event destination.

    When you create or update an event destination, you must provide one, and only one, destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

    An event destination is the Amazon Web Services service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateConfigurationSetEventDestinationRequest

    See

    AWSSESCreateConfigurationSetEventDestinationResponse

    Declaration

    Objective-C

    - (void)
        createConfigurationSetEventDestination:
            (nonnull AWSSESCreateConfigurationSetEventDestinationRequest *)request
                             completionHandler:
                                 (void (^_Nullable)(
                                     AWSSESCreateConfigurationSetEventDestinationResponse
                                         *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func createConfigurationSetEventDestination(_ request: AWSSESCreateConfigurationSetEventDestinationRequest) async throws -> AWSSESCreateConfigurationSetEventDestinationResponse

    Parameters

    request

    A container for the necessary parameters to execute the CreateConfigurationSetEventDestination service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorEventDestinationAlreadyExists, AWSSESErrorInvalidCloudWatchDestination, AWSSESErrorInvalidFirehoseDestination, AWSSESErrorInvalidSNSDestination, AWSSESErrorLimitExceeded.

  • Creates an association between a configuration set and a custom domain for open and click event tracking.

    By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide.

    See

    AWSSESCreateConfigurationSetTrackingOptionsRequest

    See

    AWSSESCreateConfigurationSetTrackingOptionsResponse

    Declaration

    Objective-C

    - (id)createConfigurationSetTrackingOptions:
        (nonnull AWSSESCreateConfigurationSetTrackingOptionsRequest *)request;

    Swift

    func createConfigurationSetTrackingOptions(_ request: AWSSESCreateConfigurationSetTrackingOptionsRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CreateConfigurationSetTrackingOptions service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESCreateConfigurationSetTrackingOptionsResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTrackingOptionsAlreadyExists, AWSSESErrorInvalidTrackingOptions.

  • Creates an association between a configuration set and a custom domain for open and click event tracking.

    By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide.

    See

    AWSSESCreateConfigurationSetTrackingOptionsRequest

    See

    AWSSESCreateConfigurationSetTrackingOptionsResponse

    Declaration

    Objective-C

    - (void)
        createConfigurationSetTrackingOptions:
            (nonnull AWSSESCreateConfigurationSetTrackingOptionsRequest *)request
                            completionHandler:
                                (void (^_Nullable)(
                                    AWSSESCreateConfigurationSetTrackingOptionsResponse
                                        *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func createConfigurationSetTrackingOptions(_ request: AWSSESCreateConfigurationSetTrackingOptionsRequest) async throws -> AWSSESCreateConfigurationSetTrackingOptionsResponse

    Parameters

    request

    A container for the necessary parameters to execute the CreateConfigurationSetTrackingOptions service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTrackingOptionsAlreadyExists, AWSSESErrorInvalidTrackingOptions.

  • Creates a new custom verification email template.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateCustomVerificationEmailTemplateRequest

    Declaration

    Objective-C

    - (id)createCustomVerificationEmailTemplate:
        (nonnull AWSSESCreateCustomVerificationEmailTemplateRequest *)request;

    Swift

    func createCustomVerificationEmailTemplate(_ request: AWSSESCreateCustomVerificationEmailTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CreateCustomVerificationEmailTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will be nil. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorCustomVerificationEmailTemplateAlreadyExists, AWSSESErrorFromEmailAddressNotVerified, AWSSESErrorCustomVerificationEmailInvalidContent, AWSSESErrorLimitExceeded.

  • Creates a new custom verification email template.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateCustomVerificationEmailTemplateRequest

    Declaration

    Objective-C

    - (void)createCustomVerificationEmailTemplate:
                (nonnull AWSSESCreateCustomVerificationEmailTemplateRequest *)
                    request
                                completionHandler:
                                    (void (^_Nullable)(NSError *_Nullable))
                                        completionHandler;

    Swift

    func createCustomVerificationEmailTemplate(_ request: AWSSESCreateCustomVerificationEmailTemplateRequest) async throws

    Parameters

    request

    A container for the necessary parameters to execute the CreateCustomVerificationEmailTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorCustomVerificationEmailTemplateAlreadyExists, AWSSESErrorFromEmailAddressNotVerified, AWSSESErrorCustomVerificationEmailInvalidContent, AWSSESErrorLimitExceeded.

  • Creates a new IP address filter.

    For information about setting up IP address filters, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateReceiptFilterRequest

    See

    AWSSESCreateReceiptFilterResponse

    Declaration

    Objective-C

    - (id)createReceiptFilter:(nonnull AWSSESCreateReceiptFilterRequest *)request;

    Swift

    func createReceiptFilter(_ request: AWSSESCreateReceiptFilterRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CreateReceiptFilter service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESCreateReceiptFilterResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorLimitExceeded, AWSSESErrorAlreadyExists.

  • Creates a new IP address filter.

    For information about setting up IP address filters, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateReceiptFilterRequest

    See

    AWSSESCreateReceiptFilterResponse

    Declaration

    Objective-C

    - (void)createReceiptFilter:(nonnull AWSSESCreateReceiptFilterRequest *)request
              completionHandler:
                  (void (^_Nullable)(AWSSESCreateReceiptFilterResponse *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func createReceiptFilter(_ request: AWSSESCreateReceiptFilterRequest) async throws -> AWSSESCreateReceiptFilterResponse

    Parameters

    request

    A container for the necessary parameters to execute the CreateReceiptFilter service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorLimitExceeded, AWSSESErrorAlreadyExists.

  • Creates a receipt rule.

    For information about setting up receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateReceiptRuleRequest

    See

    AWSSESCreateReceiptRuleResponse

    Declaration

    Objective-C

    - (id)createReceiptRule:(nonnull AWSSESCreateReceiptRuleRequest *)request;

    Swift

    func createReceiptRule(_ request: AWSSESCreateReceiptRuleRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CreateReceiptRule service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESCreateReceiptRuleResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorInvalidSnsTopic, AWSSESErrorInvalidS3Configuration, AWSSESErrorInvalidLambdaFunction, AWSSESErrorAlreadyExists, AWSSESErrorRuleDoesNotExist, AWSSESErrorRuleSetDoesNotExist, AWSSESErrorLimitExceeded.

  • Creates a receipt rule.

    For information about setting up receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateReceiptRuleRequest

    See

    AWSSESCreateReceiptRuleResponse

    Declaration

    Objective-C

    - (void)createReceiptRule:(nonnull AWSSESCreateReceiptRuleRequest *)request
            completionHandler:
                (void (^_Nullable)(AWSSESCreateReceiptRuleResponse *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func createReceiptRule(_ request: AWSSESCreateReceiptRuleRequest) async throws -> AWSSESCreateReceiptRuleResponse

    Parameters

    request

    A container for the necessary parameters to execute the CreateReceiptRule service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorInvalidSnsTopic, AWSSESErrorInvalidS3Configuration, AWSSESErrorInvalidLambdaFunction, AWSSESErrorAlreadyExists, AWSSESErrorRuleDoesNotExist, AWSSESErrorRuleSetDoesNotExist, AWSSESErrorLimitExceeded.

  • Creates an empty receipt rule set.

    For information about setting up receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateReceiptRuleSetRequest

    See

    AWSSESCreateReceiptRuleSetResponse

    Declaration

    Objective-C

    - (id)createReceiptRuleSet:(nonnull AWSSESCreateReceiptRuleSetRequest *)request;

    Swift

    func createReceiptRuleSet(_ request: AWSSESCreateReceiptRuleSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CreateReceiptRuleSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESCreateReceiptRuleSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorAlreadyExists, AWSSESErrorLimitExceeded.

  • Creates an empty receipt rule set.

    For information about setting up receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateReceiptRuleSetRequest

    See

    AWSSESCreateReceiptRuleSetResponse

    Declaration

    Objective-C

    - (void)createReceiptRuleSet:
                (nonnull AWSSESCreateReceiptRuleSetRequest *)request
               completionHandler:
                   (void (^_Nullable)(AWSSESCreateReceiptRuleSetResponse *_Nullable,
                                      NSError *_Nullable))completionHandler;

    Swift

    func createReceiptRuleSet(_ request: AWSSESCreateReceiptRuleSetRequest) async throws -> AWSSESCreateReceiptRuleSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the CreateReceiptRuleSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorAlreadyExists, AWSSESErrorLimitExceeded.

  • Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single operation. For more information, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateTemplateRequest

    See

    AWSSESCreateTemplateResponse

    Declaration

    Objective-C

    - (id)createTemplate:(nonnull AWSSESCreateTemplateRequest *)request;

    Swift

    func createTemplate(_ request: AWSSESCreateTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the CreateTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESCreateTemplateResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorAlreadyExists, AWSSESErrorInvalidTemplate, AWSSESErrorLimitExceeded.

  • Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single operation. For more information, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESCreateTemplateRequest

    See

    AWSSESCreateTemplateResponse

    Declaration

    Objective-C

    - (void)createTemplate:(nonnull AWSSESCreateTemplateRequest *)request
         completionHandler:
             (void (^_Nullable)(AWSSESCreateTemplateResponse *_Nullable,
                                NSError *_Nullable))completionHandler;

    Swift

    func createTemplate(_ request: AWSSESCreateTemplateRequest) async throws -> AWSSESCreateTemplateResponse

    Parameters

    request

    A container for the necessary parameters to execute the CreateTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorAlreadyExists, AWSSESErrorInvalidTemplate, AWSSESErrorLimitExceeded.

  • Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteConfigurationSetRequest

    See

    AWSSESDeleteConfigurationSetResponse

    Declaration

    Objective-C

    - (id)deleteConfigurationSet:
        (nonnull AWSSESDeleteConfigurationSetRequest *)request;

    Swift

    func deleteConfigurationSet(_ request: AWSSESDeleteConfigurationSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteConfigurationSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteConfigurationSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist.

  • Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteConfigurationSetRequest

    See

    AWSSESDeleteConfigurationSetResponse

    Declaration

    Objective-C

    - (void)
        deleteConfigurationSet:
            (nonnull AWSSESDeleteConfigurationSetRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESDeleteConfigurationSetResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func deleteConfigurationSet(_ request: AWSSESDeleteConfigurationSetRequest) async throws -> AWSSESDeleteConfigurationSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteConfigurationSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist.

  • Deletes a configuration set event destination. Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteConfigurationSetEventDestinationRequest

    See

    AWSSESDeleteConfigurationSetEventDestinationResponse

    Declaration

    Objective-C

    - (id)deleteConfigurationSetEventDestination:
        (nonnull AWSSESDeleteConfigurationSetEventDestinationRequest *)request;

    Swift

    func deleteConfigurationSetEventDestination(_ request: AWSSESDeleteConfigurationSetEventDestinationRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteConfigurationSetEventDestination service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteConfigurationSetEventDestinationResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorEventDestinationDoesNotExist.

  • Deletes a configuration set event destination. Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteConfigurationSetEventDestinationRequest

    See

    AWSSESDeleteConfigurationSetEventDestinationResponse

    Declaration

    Objective-C

    - (void)
        deleteConfigurationSetEventDestination:
            (nonnull AWSSESDeleteConfigurationSetEventDestinationRequest *)request
                             completionHandler:
                                 (void (^_Nullable)(
                                     AWSSESDeleteConfigurationSetEventDestinationResponse
                                         *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func deleteConfigurationSetEventDestination(_ request: AWSSESDeleteConfigurationSetEventDestinationRequest) async throws -> AWSSESDeleteConfigurationSetEventDestinationResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteConfigurationSetEventDestination service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorEventDestinationDoesNotExist.

  • Deletes an association between a configuration set and a custom domain for open and click event tracking.

    By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide.

    Deleting this kind of association results in emails sent using the specified configuration set to capture open and click events using the standard, Amazon SES-operated domains.

    See

    AWSSESDeleteConfigurationSetTrackingOptionsRequest

    See

    AWSSESDeleteConfigurationSetTrackingOptionsResponse

    Declaration

    Objective-C

    - (id)deleteConfigurationSetTrackingOptions:
        (nonnull AWSSESDeleteConfigurationSetTrackingOptionsRequest *)request;

    Swift

    func deleteConfigurationSetTrackingOptions(_ request: AWSSESDeleteConfigurationSetTrackingOptionsRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteConfigurationSetTrackingOptions service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteConfigurationSetTrackingOptionsResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTrackingOptionsDoesNotExist.

  • Deletes an association between a configuration set and a custom domain for open and click event tracking.

    By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide.

    Deleting this kind of association results in emails sent using the specified configuration set to capture open and click events using the standard, Amazon SES-operated domains.

    See

    AWSSESDeleteConfigurationSetTrackingOptionsRequest

    See

    AWSSESDeleteConfigurationSetTrackingOptionsResponse

    Declaration

    Objective-C

    - (void)
        deleteConfigurationSetTrackingOptions:
            (nonnull AWSSESDeleteConfigurationSetTrackingOptionsRequest *)request
                            completionHandler:
                                (void (^_Nullable)(
                                    AWSSESDeleteConfigurationSetTrackingOptionsResponse
                                        *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func deleteConfigurationSetTrackingOptions(_ request: AWSSESDeleteConfigurationSetTrackingOptionsRequest) async throws -> AWSSESDeleteConfigurationSetTrackingOptionsResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteConfigurationSetTrackingOptions service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTrackingOptionsDoesNotExist.

  • Deletes an existing custom verification email template.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteCustomVerificationEmailTemplateRequest

    Declaration

    Objective-C

    - (id)deleteCustomVerificationEmailTemplate:
        (nonnull AWSSESDeleteCustomVerificationEmailTemplateRequest *)request;

    Swift

    func deleteCustomVerificationEmailTemplate(_ request: AWSSESDeleteCustomVerificationEmailTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteCustomVerificationEmailTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will be nil.

  • Deletes an existing custom verification email template.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteCustomVerificationEmailTemplateRequest

    Declaration

    Objective-C

    - (void)deleteCustomVerificationEmailTemplate:
                (nonnull AWSSESDeleteCustomVerificationEmailTemplateRequest *)
                    request
                                completionHandler:
                                    (void (^_Nullable)(NSError *_Nullable))
                                        completionHandler;

    Swift

    func deleteCustomVerificationEmailTemplate(_ request: AWSSESDeleteCustomVerificationEmailTemplateRequest) async throws

    Parameters

    request

    A container for the necessary parameters to execute the DeleteCustomVerificationEmailTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Deletes the specified identity (an email address or a domain) from the list of verified identities.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteIdentityRequest

    See

    AWSSESDeleteIdentityResponse

    Declaration

    Objective-C

    - (id)deleteIdentity:(nonnull AWSSESDeleteIdentityRequest *)request;

    Swift

    func deleteIdentity(_ request: AWSSESDeleteIdentityRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteIdentity service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteIdentityResponse.

  • Deletes the specified identity (an email address or a domain) from the list of verified identities.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteIdentityRequest

    See

    AWSSESDeleteIdentityResponse

    Declaration

    Objective-C

    - (void)deleteIdentity:(nonnull AWSSESDeleteIdentityRequest *)request
         completionHandler:
             (void (^_Nullable)(AWSSESDeleteIdentityResponse *_Nullable,
                                NSError *_Nullable))completionHandler;

    Swift

    func deleteIdentity(_ request: AWSSESDeleteIdentityRequest) async throws -> AWSSESDeleteIdentityResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteIdentity service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Deletes the specified sending authorization policy for the given identity (an email address or a domain). This operation returns successfully even if a policy with the specified name does not exist.

    This operation is for the identity owner only. If you have not verified the identity, it returns an error.

    Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteIdentityPolicyRequest

    See

    AWSSESDeleteIdentityPolicyResponse

    Declaration

    Objective-C

    - (id)deleteIdentityPolicy:(nonnull AWSSESDeleteIdentityPolicyRequest *)request;

    Swift

    func deleteIdentityPolicy(_ request: AWSSESDeleteIdentityPolicyRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteIdentityPolicy service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteIdentityPolicyResponse.

  • Deletes the specified sending authorization policy for the given identity (an email address or a domain). This operation returns successfully even if a policy with the specified name does not exist.

    This operation is for the identity owner only. If you have not verified the identity, it returns an error.

    Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteIdentityPolicyRequest

    See

    AWSSESDeleteIdentityPolicyResponse

    Declaration

    Objective-C

    - (void)deleteIdentityPolicy:
                (nonnull AWSSESDeleteIdentityPolicyRequest *)request
               completionHandler:
                   (void (^_Nullable)(AWSSESDeleteIdentityPolicyResponse *_Nullable,
                                      NSError *_Nullable))completionHandler;

    Swift

    func deleteIdentityPolicy(_ request: AWSSESDeleteIdentityPolicyRequest) async throws -> AWSSESDeleteIdentityPolicyResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteIdentityPolicy service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Deletes the specified IP address filter.

    For information about managing IP address filters, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteReceiptFilterRequest

    See

    AWSSESDeleteReceiptFilterResponse

    Declaration

    Objective-C

    - (id)deleteReceiptFilter:(nonnull AWSSESDeleteReceiptFilterRequest *)request;

    Swift

    func deleteReceiptFilter(_ request: AWSSESDeleteReceiptFilterRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteReceiptFilter service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteReceiptFilterResponse.

  • Deletes the specified IP address filter.

    For information about managing IP address filters, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteReceiptFilterRequest

    See

    AWSSESDeleteReceiptFilterResponse

    Declaration

    Objective-C

    - (void)deleteReceiptFilter:(nonnull AWSSESDeleteReceiptFilterRequest *)request
              completionHandler:
                  (void (^_Nullable)(AWSSESDeleteReceiptFilterResponse *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func deleteReceiptFilter(_ request: AWSSESDeleteReceiptFilterRequest) async throws -> AWSSESDeleteReceiptFilterResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteReceiptFilter service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Deletes the specified receipt rule.

    For information about managing receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteReceiptRuleRequest

    See

    AWSSESDeleteReceiptRuleResponse

    Declaration

    Objective-C

    - (id)deleteReceiptRule:(nonnull AWSSESDeleteReceiptRuleRequest *)request;

    Swift

    func deleteReceiptRule(_ request: AWSSESDeleteReceiptRuleRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteReceiptRule service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteReceiptRuleResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist.

  • Deletes the specified receipt rule.

    For information about managing receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteReceiptRuleRequest

    See

    AWSSESDeleteReceiptRuleResponse

    Declaration

    Objective-C

    - (void)deleteReceiptRule:(nonnull AWSSESDeleteReceiptRuleRequest *)request
            completionHandler:
                (void (^_Nullable)(AWSSESDeleteReceiptRuleResponse *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func deleteReceiptRule(_ request: AWSSESDeleteReceiptRuleRequest) async throws -> AWSSESDeleteReceiptRuleResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteReceiptRule service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist.

  • Deletes the specified receipt rule set and all of the receipt rules it contains.

    The currently active rule set cannot be deleted.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteReceiptRuleSetRequest

    See

    AWSSESDeleteReceiptRuleSetResponse

    Declaration

    Objective-C

    - (id)deleteReceiptRuleSet:(nonnull AWSSESDeleteReceiptRuleSetRequest *)request;

    Swift

    func deleteReceiptRuleSet(_ request: AWSSESDeleteReceiptRuleSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteReceiptRuleSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteReceiptRuleSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorCannotDelete.

  • Deletes the specified receipt rule set and all of the receipt rules it contains.

    The currently active rule set cannot be deleted.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteReceiptRuleSetRequest

    See

    AWSSESDeleteReceiptRuleSetResponse

    Declaration

    Objective-C

    - (void)deleteReceiptRuleSet:
                (nonnull AWSSESDeleteReceiptRuleSetRequest *)request
               completionHandler:
                   (void (^_Nullable)(AWSSESDeleteReceiptRuleSetResponse *_Nullable,
                                      NSError *_Nullable))completionHandler;

    Swift

    func deleteReceiptRuleSet(_ request: AWSSESDeleteReceiptRuleSetRequest) async throws -> AWSSESDeleteReceiptRuleSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteReceiptRuleSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorCannotDelete.

  • Deletes an email template.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteTemplateRequest

    See

    AWSSESDeleteTemplateResponse

    Declaration

    Objective-C

    - (id)deleteTemplate:(nonnull AWSSESDeleteTemplateRequest *)request;

    Swift

    func deleteTemplate(_ request: AWSSESDeleteTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDeleteTemplateResponse.

  • Deletes an email template.

    You can execute this operation no more than once per second.

    See

    AWSSESDeleteTemplateRequest

    See

    AWSSESDeleteTemplateResponse

    Declaration

    Objective-C

    - (void)deleteTemplate:(nonnull AWSSESDeleteTemplateRequest *)request
         completionHandler:
             (void (^_Nullable)(AWSSESDeleteTemplateResponse *_Nullable,
                                NSError *_Nullable))completionHandler;

    Swift

    func deleteTemplate(_ request: AWSSESDeleteTemplateRequest) async throws -> AWSSESDeleteTemplateResponse

    Parameters

    request

    A container for the necessary parameters to execute the DeleteTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Deprecated. Use the DeleteIdentity operation to delete email addresses and domains.

    See

    AWSSESDeleteVerifiedEmailAddressRequest

    Declaration

    Objective-C

    - (id)deleteVerifiedEmailAddress:
        (nonnull AWSSESDeleteVerifiedEmailAddressRequest *)request;

    Swift

    func deleteVerifiedEmailAddress(_ request: AWSSESDeleteVerifiedEmailAddressRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DeleteVerifiedEmailAddress service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will be nil.

  • Deprecated. Use the DeleteIdentity operation to delete email addresses and domains.

    See

    AWSSESDeleteVerifiedEmailAddressRequest

    Declaration

    Objective-C

    - (void)deleteVerifiedEmailAddress:
                (nonnull AWSSESDeleteVerifiedEmailAddressRequest *)request
                     completionHandler:
                         (void (^_Nullable)(NSError *_Nullable))completionHandler;

    Swift

    func deleteVerifiedEmailAddress(_ request: AWSSESDeleteVerifiedEmailAddressRequest) async throws

    Parameters

    request

    A container for the necessary parameters to execute the DeleteVerifiedEmailAddress service method.

    completionHandler

    The completion handler to call when the load request is complete. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Returns the metadata and receipt rules for the receipt rule set that is currently active.

    For information about setting up receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDescribeActiveReceiptRuleSetRequest

    See

    AWSSESDescribeActiveReceiptRuleSetResponse

    Declaration

    Objective-C

    - (id)describeActiveReceiptRuleSet:
        (nonnull AWSSESDescribeActiveReceiptRuleSetRequest *)request;

    Swift

    func describeActiveReceiptRuleSet(_ request: AWSSESDescribeActiveReceiptRuleSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DescribeActiveReceiptRuleSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDescribeActiveReceiptRuleSetResponse.

  • Returns the metadata and receipt rules for the receipt rule set that is currently active.

    For information about setting up receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDescribeActiveReceiptRuleSetRequest

    See

    AWSSESDescribeActiveReceiptRuleSetResponse

    Declaration

    Objective-C

    - (void)
        describeActiveReceiptRuleSet:
            (nonnull AWSSESDescribeActiveReceiptRuleSetRequest *)request
                   completionHandler:
                       (void (^_Nullable)(
                           AWSSESDescribeActiveReceiptRuleSetResponse *_Nullable,
                           NSError *_Nullable))completionHandler;

    Swift

    func describeActiveReceiptRuleSet(_ request: AWSSESDescribeActiveReceiptRuleSetRequest) async throws -> AWSSESDescribeActiveReceiptRuleSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the DescribeActiveReceiptRuleSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Returns the details of the specified configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDescribeConfigurationSetRequest

    See

    AWSSESDescribeConfigurationSetResponse

    Declaration

    Objective-C

    - (id)describeConfigurationSet:
        (nonnull AWSSESDescribeConfigurationSetRequest *)request;

    Swift

    func describeConfigurationSet(_ request: AWSSESDescribeConfigurationSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DescribeConfigurationSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDescribeConfigurationSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist.

  • Returns the details of the specified configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDescribeConfigurationSetRequest

    See

    AWSSESDescribeConfigurationSetResponse

    Declaration

    Objective-C

    - (void)describeConfigurationSet:
                (nonnull AWSSESDescribeConfigurationSetRequest *)request
                   completionHandler:
                       (void (^_Nullable)(
                           AWSSESDescribeConfigurationSetResponse *_Nullable,
                           NSError *_Nullable))completionHandler;

    Swift

    func describeConfigurationSet(_ request: AWSSESDescribeConfigurationSetRequest) async throws -> AWSSESDescribeConfigurationSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the DescribeConfigurationSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist.

  • Returns the details of the specified receipt rule.

    For information about setting up receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDescribeReceiptRuleRequest

    See

    AWSSESDescribeReceiptRuleResponse

    Declaration

    Objective-C

    - (id)describeReceiptRule:(nonnull AWSSESDescribeReceiptRuleRequest *)request;

    Swift

    func describeReceiptRule(_ request: AWSSESDescribeReceiptRuleRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DescribeReceiptRule service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDescribeReceiptRuleResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleDoesNotExist, AWSSESErrorRuleSetDoesNotExist.

  • Returns the details of the specified receipt rule.

    For information about setting up receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDescribeReceiptRuleRequest

    See

    AWSSESDescribeReceiptRuleResponse

    Declaration

    Objective-C

    - (void)describeReceiptRule:(nonnull AWSSESDescribeReceiptRuleRequest *)request
              completionHandler:
                  (void (^_Nullable)(AWSSESDescribeReceiptRuleResponse *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func describeReceiptRule(_ request: AWSSESDescribeReceiptRuleRequest) async throws -> AWSSESDescribeReceiptRuleResponse

    Parameters

    request

    A container for the necessary parameters to execute the DescribeReceiptRule service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleDoesNotExist, AWSSESErrorRuleSetDoesNotExist.

  • Returns the details of the specified receipt rule set.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDescribeReceiptRuleSetRequest

    See

    AWSSESDescribeReceiptRuleSetResponse

    Declaration

    Objective-C

    - (id)describeReceiptRuleSet:
        (nonnull AWSSESDescribeReceiptRuleSetRequest *)request;

    Swift

    func describeReceiptRuleSet(_ request: AWSSESDescribeReceiptRuleSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the DescribeReceiptRuleSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESDescribeReceiptRuleSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist.

  • Returns the details of the specified receipt rule set.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESDescribeReceiptRuleSetRequest

    See

    AWSSESDescribeReceiptRuleSetResponse

    Declaration

    Objective-C

    - (void)
        describeReceiptRuleSet:
            (nonnull AWSSESDescribeReceiptRuleSetRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESDescribeReceiptRuleSetResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func describeReceiptRuleSet(_ request: AWSSESDescribeReceiptRuleSetRequest) async throws -> AWSSESDescribeReceiptRuleSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the DescribeReceiptRuleSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist.

  • Returns the email sending status of the Amazon SES account for the current Region.

    You can execute this operation no more than once per second.

    See

    AWSRequest

    See

    AWSSESGetAccountSendingEnabledResponse

    Declaration

    Objective-C

    - (id)getAccountSendingEnabled:(id)request;

    Swift

    func getAccountSendingEnabled(_ request: Any!) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetAccountSendingEnabled service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetAccountSendingEnabledResponse.

  • Returns the email sending status of the Amazon SES account for the current Region.

    You can execute this operation no more than once per second.

    See

    AWSRequest

    See

    AWSSESGetAccountSendingEnabledResponse

    Declaration

    Objective-C

    - (void)getAccountSendingEnabled:(id)request
                   completionHandler:
                       (void (^_Nullable)(
                           AWSSESGetAccountSendingEnabledResponse *_Nullable,
                           NSError *_Nullable))completionHandler;

    Swift

    func accountSendingEnabled(_ request: Any!) async throws -> AWSSESGetAccountSendingEnabledResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetAccountSendingEnabled service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Returns the custom email verification template for the template name you specify.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESGetCustomVerificationEmailTemplateRequest

    See

    AWSSESGetCustomVerificationEmailTemplateResponse

    Declaration

    Objective-C

    - (id)getCustomVerificationEmailTemplate:
        (nonnull AWSSESGetCustomVerificationEmailTemplateRequest *)request;

    Swift

    func getCustomVerificationEmailTemplate(_ request: AWSSESGetCustomVerificationEmailTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetCustomVerificationEmailTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetCustomVerificationEmailTemplateResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorCustomVerificationEmailTemplateDoesNotExist.

  • Returns the custom email verification template for the template name you specify.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESGetCustomVerificationEmailTemplateRequest

    See

    AWSSESGetCustomVerificationEmailTemplateResponse

    Declaration

    Objective-C

    - (void)
        getCustomVerificationEmailTemplate:
            (nonnull AWSSESGetCustomVerificationEmailTemplateRequest *)request
                         completionHandler:
                             (void (^_Nullable)(
                                 AWSSESGetCustomVerificationEmailTemplateResponse
                                     *_Nullable,
                                 NSError *_Nullable))completionHandler;

    Swift

    func customVerificationEmailTemplate(_ request: AWSSESGetCustomVerificationEmailTemplateRequest) async throws -> AWSSESGetCustomVerificationEmailTemplateResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetCustomVerificationEmailTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorCustomVerificationEmailTemplateDoesNotExist.

  • Returns the current status of Easy DKIM signing for an entity. For domain name identities, this operation also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.

    This operation takes a list of identities as input and returns the following information for each:

    • Whether Easy DKIM signing is enabled or disabled.

    • A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.

    • Whether Amazon SES has successfully verified the DKIM tokens published in the domain’s DNS. This information is only returned for domain name identities, not for email addresses.

    This operation is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.

    For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

    See

    AWSSESGetIdentityDkimAttributesRequest

    See

    AWSSESGetIdentityDkimAttributesResponse

    Declaration

    Objective-C

    - (id)getIdentityDkimAttributes:
        (nonnull AWSSESGetIdentityDkimAttributesRequest *)request;

    Swift

    func getIdentityDkimAttributes(_ request: AWSSESGetIdentityDkimAttributesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityDkimAttributes service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetIdentityDkimAttributesResponse.

  • Returns the current status of Easy DKIM signing for an entity. For domain name identities, this operation also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.

    This operation takes a list of identities as input and returns the following information for each:

    • Whether Easy DKIM signing is enabled or disabled.

    • A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.

    • Whether Amazon SES has successfully verified the DKIM tokens published in the domain’s DNS. This information is only returned for domain name identities, not for email addresses.

    This operation is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.

    For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

    See

    AWSSESGetIdentityDkimAttributesRequest

    See

    AWSSESGetIdentityDkimAttributesResponse

    Declaration

    Objective-C

    - (void)getIdentityDkimAttributes:
                (nonnull AWSSESGetIdentityDkimAttributesRequest *)request
                    completionHandler:
                        (void (^_Nullable)(
                            AWSSESGetIdentityDkimAttributesResponse *_Nullable,
                            NSError *_Nullable))completionHandler;

    Swift

    func identityDkimAttributes(_ request: AWSSESGetIdentityDkimAttributesRequest) async throws -> AWSSESGetIdentityDkimAttributesResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityDkimAttributes service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Returns the custom MAIL FROM attributes for a list of identities (email addresses : domains).

    This operation is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.

    See

    AWSSESGetIdentityMailFromDomainAttributesRequest

    See

    AWSSESGetIdentityMailFromDomainAttributesResponse

    Declaration

    Objective-C

    - (id)getIdentityMailFromDomainAttributes:
        (nonnull AWSSESGetIdentityMailFromDomainAttributesRequest *)request;

    Swift

    func getIdentityMail(fromDomainAttributes request: AWSSESGetIdentityMailFromDomainAttributesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityMailFromDomainAttributes service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetIdentityMailFromDomainAttributesResponse.

  • Returns the custom MAIL FROM attributes for a list of identities (email addresses : domains).

    This operation is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.

    See

    AWSSESGetIdentityMailFromDomainAttributesRequest

    See

    AWSSESGetIdentityMailFromDomainAttributesResponse

    Declaration

    Objective-C

    - (void)
        getIdentityMailFromDomainAttributes:
            (nonnull AWSSESGetIdentityMailFromDomainAttributesRequest *)request
                          completionHandler:
                              (void (^_Nullable)(
                                  AWSSESGetIdentityMailFromDomainAttributesResponse
                                      *_Nullable,
                                  NSError *_Nullable))completionHandler;

    Swift

    func identityMail(fromDomainAttributes request: AWSSESGetIdentityMailFromDomainAttributesRequest) async throws -> AWSSESGetIdentityMailFromDomainAttributesResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityMailFromDomainAttributes service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.

    This operation is throttled at one request per second and can only get notification attributes for up to 100 identities at a time.

    For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

    See

    AWSSESGetIdentityNotificationAttributesRequest

    See

    AWSSESGetIdentityNotificationAttributesResponse

    Declaration

    Objective-C

    - (id)getIdentityNotificationAttributes:
        (nonnull AWSSESGetIdentityNotificationAttributesRequest *)request;

    Swift

    func getIdentityNotificationAttributes(_ request: AWSSESGetIdentityNotificationAttributesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityNotificationAttributes service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetIdentityNotificationAttributesResponse.

  • Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.

    This operation is throttled at one request per second and can only get notification attributes for up to 100 identities at a time.

    For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

    See

    AWSSESGetIdentityNotificationAttributesRequest

    See

    AWSSESGetIdentityNotificationAttributesResponse

    Declaration

    Objective-C

    - (void)getIdentityNotificationAttributes:
                (nonnull AWSSESGetIdentityNotificationAttributesRequest *)request
                            completionHandler:
                                (void (^_Nullable)(
                                    AWSSESGetIdentityNotificationAttributesResponse
                                        *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func identityNotificationAttributes(_ request: AWSSESGetIdentityNotificationAttributesRequest) async throws -> AWSSESGetIdentityNotificationAttributesResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityNotificationAttributes service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.

    This operation is for the identity owner only. If you have not verified the identity, it returns an error.

    Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESGetIdentityPoliciesRequest

    See

    AWSSESGetIdentityPoliciesResponse

    Declaration

    Objective-C

    - (id)getIdentityPolicies:(nonnull AWSSESGetIdentityPoliciesRequest *)request;

    Swift

    func getIdentityPolicies(_ request: AWSSESGetIdentityPoliciesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityPolicies service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetIdentityPoliciesResponse.

  • Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.

    This operation is for the identity owner only. If you have not verified the identity, it returns an error.

    Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESGetIdentityPoliciesRequest

    See

    AWSSESGetIdentityPoliciesResponse

    Declaration

    Objective-C

    - (void)getIdentityPolicies:(nonnull AWSSESGetIdentityPoliciesRequest *)request
              completionHandler:
                  (void (^_Nullable)(AWSSESGetIdentityPoliciesResponse *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func identityPolicies(_ request: AWSSESGetIdentityPoliciesRequest) async throws -> AWSSESGetIdentityPoliciesResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityPolicies service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

    The verification status of an email address is “Pending” until the email address owner clicks the link within the verification email that Amazon SES sent to that address. If the email address owner clicks the link within 24 hours, the verification status of the email address changes to “Success”. If the link is not clicked within 24 hours, the verification status changes to “Failed.” In that case, to verify the email address, you must restart the verification process from the beginning.

    For domain identities, the domain’s verification status is “Pending” as Amazon SES searches for the required TXT record in the DNS settings of the domain. When Amazon SES detects the record, the domain’s verification status changes to “Success”. If Amazon SES is unable to detect the record within 72 hours, the domain’s verification status changes to “Failed.” In that case, to verify the domain, you must restart the verification process from the beginning.

    This operation is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.

    See

    AWSSESGetIdentityVerificationAttributesRequest

    See

    AWSSESGetIdentityVerificationAttributesResponse

    Declaration

    Objective-C

    - (id)getIdentityVerificationAttributes:
        (nonnull AWSSESGetIdentityVerificationAttributesRequest *)request;

    Swift

    func getIdentityVerificationAttributes(_ request: AWSSESGetIdentityVerificationAttributesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityVerificationAttributes service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetIdentityVerificationAttributesResponse.

  • Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

    The verification status of an email address is “Pending” until the email address owner clicks the link within the verification email that Amazon SES sent to that address. If the email address owner clicks the link within 24 hours, the verification status of the email address changes to “Success”. If the link is not clicked within 24 hours, the verification status changes to “Failed.” In that case, to verify the email address, you must restart the verification process from the beginning.

    For domain identities, the domain’s verification status is “Pending” as Amazon SES searches for the required TXT record in the DNS settings of the domain. When Amazon SES detects the record, the domain’s verification status changes to “Success”. If Amazon SES is unable to detect the record within 72 hours, the domain’s verification status changes to “Failed.” In that case, to verify the domain, you must restart the verification process from the beginning.

    This operation is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.

    See

    AWSSESGetIdentityVerificationAttributesRequest

    See

    AWSSESGetIdentityVerificationAttributesResponse

    Declaration

    Objective-C

    - (void)getIdentityVerificationAttributes:
                (nonnull AWSSESGetIdentityVerificationAttributesRequest *)request
                            completionHandler:
                                (void (^_Nullable)(
                                    AWSSESGetIdentityVerificationAttributesResponse
                                        *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func identityVerificationAttributes(_ request: AWSSESGetIdentityVerificationAttributesRequest) async throws -> AWSSESGetIdentityVerificationAttributesResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetIdentityVerificationAttributes service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Provides the sending limits for the Amazon SES account.

    You can execute this operation no more than once per second.

    See

    AWSRequest

    See

    AWSSESGetSendQuotaResponse

    Declaration

    Objective-C

    - (id)getSendQuota:(id)request;

    Swift

    func getSendQuota(_ request: Any!) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetSendQuota service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetSendQuotaResponse.

  • Provides the sending limits for the Amazon SES account.

    You can execute this operation no more than once per second.

    See

    AWSRequest

    See

    AWSSESGetSendQuotaResponse

    Declaration

    Objective-C

    - (void)getSendQuota:(id)request
        completionHandler:(void (^_Nullable)(AWSSESGetSendQuotaResponse *_Nullable,
                                             NSError *_Nullable))completionHandler;

    Swift

    func sendQuota(_ request: Any!) async throws -> AWSSESGetSendQuotaResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetSendQuota service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Provides sending statistics for the current Amazon Web Services 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.

    See

    AWSRequest

    See

    AWSSESGetSendStatisticsResponse

    Declaration

    Objective-C

    - (id)getSendStatistics:(id)request;

    Swift

    func getSendStatistics(_ request: Any!) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetSendStatistics service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetSendStatisticsResponse.

  • Provides sending statistics for the current Amazon Web Services 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.

    See

    AWSRequest

    See

    AWSSESGetSendStatisticsResponse

    Declaration

    Objective-C

    - (void)getSendStatistics:(id)request
            completionHandler:
                (void (^_Nullable)(AWSSESGetSendStatisticsResponse *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func sendStatistics(_ request: Any!) async throws -> AWSSESGetSendStatisticsResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetSendStatistics service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.

    You can execute this operation no more than once per second.

    See

    AWSSESGetTemplateRequest

    See

    AWSSESGetTemplateResponse

    Declaration

    Objective-C

    - (id)getTemplate:(nonnull AWSSESGetTemplateRequest *)request;

    Swift

    func getTemplate(_ request: AWSSESGetTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the GetTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESGetTemplateResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorTemplateDoesNotExist.

  • Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.

    You can execute this operation no more than once per second.

    See

    AWSSESGetTemplateRequest

    See

    AWSSESGetTemplateResponse

    Declaration

    Objective-C

    - (void)getTemplate:(nonnull AWSSESGetTemplateRequest *)request
        completionHandler:(void (^_Nullable)(AWSSESGetTemplateResponse *_Nullable,
                                             NSError *_Nullable))completionHandler;

    Swift

    func template(_ request: AWSSESGetTemplateRequest) async throws -> AWSSESGetTemplateResponse

    Parameters

    request

    A container for the necessary parameters to execute the GetTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorTemplateDoesNotExist.

  • Provides a list of the configuration sets associated with your Amazon SES account in the current Amazon Web Services Region. For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second. This operation returns up to 1,000 configuration sets each time it is run. If your Amazon SES account has more than 1,000 configuration sets, this operation also returns NextToken. You can then execute the ListConfigurationSets operation again, passing the NextToken parameter and the value of the NextToken element to retrieve additional results.

    See

    AWSSESListConfigurationSetsRequest

    See

    AWSSESListConfigurationSetsResponse

    Declaration

    Objective-C

    - (id)listConfigurationSets:
        (nonnull AWSSESListConfigurationSetsRequest *)request;

    Swift

    func listConfigurationSets(_ request: AWSSESListConfigurationSetsRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ListConfigurationSets service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESListConfigurationSetsResponse.

  • Provides a list of the configuration sets associated with your Amazon SES account in the current Amazon Web Services Region. For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second. This operation returns up to 1,000 configuration sets each time it is run. If your Amazon SES account has more than 1,000 configuration sets, this operation also returns NextToken. You can then execute the ListConfigurationSets operation again, passing the NextToken parameter and the value of the NextToken element to retrieve additional results.

    See

    AWSSESListConfigurationSetsRequest

    See

    AWSSESListConfigurationSetsResponse

    Declaration

    Objective-C

    - (void)
        listConfigurationSets:(nonnull AWSSESListConfigurationSetsRequest *)request
            completionHandler:
                (void (^_Nullable)(AWSSESListConfigurationSetsResponse *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func listConfigurationSets(_ request: AWSSESListConfigurationSetsRequest) async throws -> AWSSESListConfigurationSetsResponse

    Parameters

    request

    A container for the necessary parameters to execute the ListConfigurationSets service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESListCustomVerificationEmailTemplatesRequest

    See

    AWSSESListCustomVerificationEmailTemplatesResponse

    Declaration

    Objective-C

    - (id)listCustomVerificationEmailTemplates:
        (nonnull AWSSESListCustomVerificationEmailTemplatesRequest *)request;

    Swift

    func listCustomVerificationEmailTemplates(_ request: AWSSESListCustomVerificationEmailTemplatesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ListCustomVerificationEmailTemplates service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESListCustomVerificationEmailTemplatesResponse.

  • Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESListCustomVerificationEmailTemplatesRequest

    See

    AWSSESListCustomVerificationEmailTemplatesResponse

    Declaration

    Objective-C

    - (void)
        listCustomVerificationEmailTemplates:
            (nonnull AWSSESListCustomVerificationEmailTemplatesRequest *)request
                           completionHandler:
                               (void (^_Nullable)(
                                   AWSSESListCustomVerificationEmailTemplatesResponse
                                       *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func listCustomVerificationEmailTemplates(_ request: AWSSESListCustomVerificationEmailTemplatesRequest) async throws -> AWSSESListCustomVerificationEmailTemplatesResponse

    Parameters

    request

    A container for the necessary parameters to execute the ListCustomVerificationEmailTemplates service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Returns a list containing all of the identities (email addresses and domains) for your Amazon Web Services account in the current Amazon Web Services Region, regardless of verification status.

    You can execute this operation no more than once per second.

    It’s recommended that for successive pagination calls of this API, you continue to the use the same parameter/value pairs as used in the original call, e.g., if you used IdentityType=Domain in the the original call and received a NextToken in the response, you should continue providing the IdentityType=Domain parameter for further NextToken calls; however, if you didn’t provide the IdentityType parameter in the original call, then continue to not provide it for successive pagination calls. Using this protocol will ensure consistent results.

    See

    AWSSESListIdentitiesRequest

    See

    AWSSESListIdentitiesResponse

    Declaration

    Objective-C

    - (id)listIdentities:(nonnull AWSSESListIdentitiesRequest *)request;

    Swift

    func listIdentities(_ request: AWSSESListIdentitiesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ListIdentities service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESListIdentitiesResponse.

  • Returns a list containing all of the identities (email addresses and domains) for your Amazon Web Services account in the current Amazon Web Services Region, regardless of verification status.

    You can execute this operation no more than once per second.

    It’s recommended that for successive pagination calls of this API, you continue to the use the same parameter/value pairs as used in the original call, e.g., if you used IdentityType=Domain in the the original call and received a NextToken in the response, you should continue providing the IdentityType=Domain parameter for further NextToken calls; however, if you didn’t provide the IdentityType parameter in the original call, then continue to not provide it for successive pagination calls. Using this protocol will ensure consistent results.

    See

    AWSSESListIdentitiesRequest

    See

    AWSSESListIdentitiesResponse

    Declaration

    Objective-C

    - (void)listIdentities:(nonnull AWSSESListIdentitiesRequest *)request
         completionHandler:
             (void (^_Nullable)(AWSSESListIdentitiesResponse *_Nullable,
                                NSError *_Nullable))completionHandler;

    Swift

    func listIdentities(_ request: AWSSESListIdentitiesRequest) async throws -> AWSSESListIdentitiesResponse

    Parameters

    request

    A container for the necessary parameters to execute the ListIdentities service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This operation returns only a list. To get the actual policy content, use GetIdentityPolicies.

    This operation is for the identity owner only. If you have not verified the identity, it returns an error.

    Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESListIdentityPoliciesRequest

    See

    AWSSESListIdentityPoliciesResponse

    Declaration

    Objective-C

    - (id)listIdentityPolicies:(nonnull AWSSESListIdentityPoliciesRequest *)request;

    Swift

    func listIdentityPolicies(_ request: AWSSESListIdentityPoliciesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ListIdentityPolicies service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESListIdentityPoliciesResponse.

  • Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This operation returns only a list. To get the actual policy content, use GetIdentityPolicies.

    This operation is for the identity owner only. If you have not verified the identity, it returns an error.

    Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESListIdentityPoliciesRequest

    See

    AWSSESListIdentityPoliciesResponse

    Declaration

    Objective-C

    - (void)listIdentityPolicies:
                (nonnull AWSSESListIdentityPoliciesRequest *)request
               completionHandler:
                   (void (^_Nullable)(AWSSESListIdentityPoliciesResponse *_Nullable,
                                      NSError *_Nullable))completionHandler;

    Swift

    func listIdentityPolicies(_ request: AWSSESListIdentityPoliciesRequest) async throws -> AWSSESListIdentityPoliciesResponse

    Parameters

    request

    A container for the necessary parameters to execute the ListIdentityPolicies service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Lists the IP address filters associated with your Amazon Web Services account in the current Amazon Web Services Region.

    For information about managing IP address filters, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESListReceiptFiltersRequest

    See

    AWSSESListReceiptFiltersResponse

    Declaration

    Objective-C

    - (id)listReceiptFilters:(nonnull AWSSESListReceiptFiltersRequest *)request;

    Swift

    func listReceiptFilters(_ request: AWSSESListReceiptFiltersRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ListReceiptFilters service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESListReceiptFiltersResponse.

  • Lists the IP address filters associated with your Amazon Web Services account in the current Amazon Web Services Region.

    For information about managing IP address filters, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESListReceiptFiltersRequest

    See

    AWSSESListReceiptFiltersResponse

    Declaration

    Objective-C

    - (void)listReceiptFilters:(nonnull AWSSESListReceiptFiltersRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESListReceiptFiltersResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func listReceiptFilters(_ request: AWSSESListReceiptFiltersRequest) async throws -> AWSSESListReceiptFiltersResponse

    Parameters

    request

    A container for the necessary parameters to execute the ListReceiptFilters service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Lists the receipt rule sets that exist under your Amazon Web Services account in the current Amazon Web Services Region. If there are additional receipt rule sets to be retrieved, you receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESListReceiptRuleSetsRequest

    See

    AWSSESListReceiptRuleSetsResponse

    Declaration

    Objective-C

    - (id)listReceiptRuleSets:(nonnull AWSSESListReceiptRuleSetsRequest *)request;

    Swift

    func listReceiptRuleSets(_ request: AWSSESListReceiptRuleSetsRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ListReceiptRuleSets service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESListReceiptRuleSetsResponse.

  • Lists the receipt rule sets that exist under your Amazon Web Services account in the current Amazon Web Services Region. If there are additional receipt rule sets to be retrieved, you receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESListReceiptRuleSetsRequest

    See

    AWSSESListReceiptRuleSetsResponse

    Declaration

    Objective-C

    - (void)listReceiptRuleSets:(nonnull AWSSESListReceiptRuleSetsRequest *)request
              completionHandler:
                  (void (^_Nullable)(AWSSESListReceiptRuleSetsResponse *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func listReceiptRuleSets(_ request: AWSSESListReceiptRuleSetsRequest) async throws -> AWSSESListReceiptRuleSetsResponse

    Parameters

    request

    A container for the necessary parameters to execute the ListReceiptRuleSets service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.

    You can execute this operation no more than once per second.

    See

    AWSSESListTemplatesRequest

    See

    AWSSESListTemplatesResponse

    Declaration

    Objective-C

    - (id)listTemplates:(nonnull AWSSESListTemplatesRequest *)request;

    Swift

    func listTemplates(_ request: AWSSESListTemplatesRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ListTemplates service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESListTemplatesResponse.

  • Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.

    You can execute this operation no more than once per second.

    See

    AWSSESListTemplatesRequest

    See

    AWSSESListTemplatesResponse

    Declaration

    Objective-C

    - (void)listTemplates:(nonnull AWSSESListTemplatesRequest *)request
        completionHandler:(void (^_Nullable)(AWSSESListTemplatesResponse *_Nullable,
                                             NSError *_Nullable))completionHandler;

    Swift

    func listTemplates(_ request: AWSSESListTemplatesRequest) async throws -> AWSSESListTemplatesResponse

    Parameters

    request

    A container for the necessary parameters to execute the ListTemplates service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Deprecated. Use the ListIdentities operation to list the email addresses and domains associated with your account.

    See

    AWSRequest

    See

    AWSSESListVerifiedEmailAddressesResponse

    Declaration

    Objective-C

    - (id)listVerifiedEmailAddresses:(id)request;

    Swift

    func listVerifiedEmailAddresses(_ request: Any!) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ListVerifiedEmailAddresses service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESListVerifiedEmailAddressesResponse.

  • Deprecated. Use the ListIdentities operation to list the email addresses and domains associated with your account.

    See

    AWSRequest

    See

    AWSSESListVerifiedEmailAddressesResponse

    Declaration

    Objective-C

    - (void)listVerifiedEmailAddresses:(id)request
                     completionHandler:
                         (void (^_Nullable)(
                             AWSSESListVerifiedEmailAddressesResponse *_Nullable,
                             NSError *_Nullable))completionHandler;

    Swift

    func listVerifiedEmailAddresses(_ request: Any!) async throws -> AWSSESListVerifiedEmailAddressesResponse

    Parameters

    request

    A container for the necessary parameters to execute the ListVerifiedEmailAddresses service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Adds or updates the delivery options for a configuration set.

    See

    AWSSESPutConfigurationSetDeliveryOptionsRequest

    See

    AWSSESPutConfigurationSetDeliveryOptionsResponse

    Declaration

    Objective-C

    - (id)putConfigurationSetDeliveryOptions:
        (nonnull AWSSESPutConfigurationSetDeliveryOptionsRequest *)request;

    Swift

    func putConfigurationSetDeliveryOptions(_ request: AWSSESPutConfigurationSetDeliveryOptionsRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the PutConfigurationSetDeliveryOptions service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESPutConfigurationSetDeliveryOptionsResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorInvalidDeliveryOptions.

  • Adds or updates the delivery options for a configuration set.

    See

    AWSSESPutConfigurationSetDeliveryOptionsRequest

    See

    AWSSESPutConfigurationSetDeliveryOptionsResponse

    Declaration

    Objective-C

    - (void)
        putConfigurationSetDeliveryOptions:
            (nonnull AWSSESPutConfigurationSetDeliveryOptionsRequest *)request
                         completionHandler:
                             (void (^_Nullable)(
                                 AWSSESPutConfigurationSetDeliveryOptionsResponse
                                     *_Nullable,
                                 NSError *_Nullable))completionHandler;

    Swift

    func putConfigurationSetDeliveryOptions(_ request: AWSSESPutConfigurationSetDeliveryOptionsRequest) async throws -> AWSSESPutConfigurationSetDeliveryOptionsResponse

    Parameters

    request

    A container for the necessary parameters to execute the PutConfigurationSetDeliveryOptions service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorInvalidDeliveryOptions.

  • Adds or updates a sending authorization policy for the specified identity (an email address or a domain).

    This operation is for the identity owner only. If you have not verified the identity, it returns an error.

    Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESPutIdentityPolicyRequest

    See

    AWSSESPutIdentityPolicyResponse

    Declaration

    Objective-C

    - (id)putIdentityPolicy:(nonnull AWSSESPutIdentityPolicyRequest *)request;

    Swift

    func putIdentityPolicy(_ request: AWSSESPutIdentityPolicyRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the PutIdentityPolicy service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESPutIdentityPolicyResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorInvalidPolicy.

  • Adds or updates a sending authorization policy for the specified identity (an email address or a domain).

    This operation is for the identity owner only. If you have not verified the identity, it returns an error.

    Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESPutIdentityPolicyRequest

    See

    AWSSESPutIdentityPolicyResponse

    Declaration

    Objective-C

    - (void)putIdentityPolicy:(nonnull AWSSESPutIdentityPolicyRequest *)request
            completionHandler:
                (void (^_Nullable)(AWSSESPutIdentityPolicyResponse *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func putIdentityPolicy(_ request: AWSSESPutIdentityPolicyRequest) async throws -> AWSSESPutIdentityPolicyResponse

    Parameters

    request

    A container for the necessary parameters to execute the PutIdentityPolicy service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorInvalidPolicy.

  • Reorders the receipt rules within a receipt rule set.

    All of the rules in the rule set must be represented in this request. That is, it is error if the reorder request doesn’t explicitly position all of the rules.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESReorderReceiptRuleSetRequest

    See

    AWSSESReorderReceiptRuleSetResponse

    Declaration

    Objective-C

    - (id)reorderReceiptRuleSet:
        (nonnull AWSSESReorderReceiptRuleSetRequest *)request;

    Swift

    func reorderReceiptRuleSet(_ request: AWSSESReorderReceiptRuleSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the ReorderReceiptRuleSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESReorderReceiptRuleSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist, AWSSESErrorRuleDoesNotExist.

  • Reorders the receipt rules within a receipt rule set.

    All of the rules in the rule set must be represented in this request. That is, it is error if the reorder request doesn’t explicitly position all of the rules.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESReorderReceiptRuleSetRequest

    See

    AWSSESReorderReceiptRuleSetResponse

    Declaration

    Objective-C

    - (void)
        reorderReceiptRuleSet:(nonnull AWSSESReorderReceiptRuleSetRequest *)request
            completionHandler:
                (void (^_Nullable)(AWSSESReorderReceiptRuleSetResponse *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func reorderReceiptRuleSet(_ request: AWSSESReorderReceiptRuleSetRequest) async throws -> AWSSESReorderReceiptRuleSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the ReorderReceiptRuleSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist, AWSSESErrorRuleDoesNotExist.

  • Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this operation on an email up to 24 hours after you receive it.

    You cannot use this operation to send generic bounces for mail that was not received by Amazon SES.

    For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSendBounceRequest

    See

    AWSSESSendBounceResponse

    Declaration

    Objective-C

    - (id)sendBounce:(nonnull AWSSESSendBounceRequest *)request;

    Swift

    func sendBounce(_ request: AWSSESSendBounceRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SendBounce service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSendBounceResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected.

  • Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this operation on an email up to 24 hours after you receive it.

    You cannot use this operation to send generic bounces for mail that was not received by Amazon SES.

    For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSendBounceRequest

    See

    AWSSESSendBounceResponse

    Declaration

    Objective-C

    - (void)sendBounce:(nonnull AWSSESSendBounceRequest *)request
        completionHandler:(void (^_Nullable)(AWSSESSendBounceResponse *_Nullable,
                                             NSError *_Nullable))completionHandler;

    Swift

    func sendBounce(_ request: AWSSESSendBounceRequest) async throws -> AWSSESSendBounceResponse

    Parameters

    request

    A container for the necessary parameters to execute the SendBounce service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected.

  • Composes an email message to multiple destinations. The message body is created using an email template.

    To send email using this operation, your call must meet the following requirements:

    • The call must refer to an existing email template. You can create email templates using CreateTemplate.

    • The message must be sent from a verified email address or domain.

    • If your account is still in the Amazon SES sandbox, you may send only to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

    • The maximum message size is 10 MB.

    • Each Destination parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

    • The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call the SendBulkTemplatedEmail operation several times to send the message to each group.

    • The number of destinations you can contact in a single call can be limited by your account’s maximum sending rate.

    See

    AWSSESSendBulkTemplatedEmailRequest

    See

    AWSSESSendBulkTemplatedEmailResponse

    Declaration

    Objective-C

    - (id)sendBulkTemplatedEmail:
        (nonnull AWSSESSendBulkTemplatedEmailRequest *)request;

    Swift

    func sendBulkTemplatedEmail(_ request: AWSSESSendBulkTemplatedEmailRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SendBulkTemplatedEmail service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSendBulkTemplatedEmailResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorMailFromDomainNotVerified, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTemplateDoesNotExist, AWSSESErrorConfigurationSetSendingPaused, AWSSESErrorAccountSendingPaused.

  • Composes an email message to multiple destinations. The message body is created using an email template.

    To send email using this operation, your call must meet the following requirements:

    • The call must refer to an existing email template. You can create email templates using CreateTemplate.

    • The message must be sent from a verified email address or domain.

    • If your account is still in the Amazon SES sandbox, you may send only to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

    • The maximum message size is 10 MB.

    • Each Destination parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

    • The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call the SendBulkTemplatedEmail operation several times to send the message to each group.

    • The number of destinations you can contact in a single call can be limited by your account’s maximum sending rate.

    See

    AWSSESSendBulkTemplatedEmailRequest

    See

    AWSSESSendBulkTemplatedEmailResponse

    Declaration

    Objective-C

    - (void)
        sendBulkTemplatedEmail:
            (nonnull AWSSESSendBulkTemplatedEmailRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESSendBulkTemplatedEmailResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func sendBulkTemplatedEmail(_ request: AWSSESSendBulkTemplatedEmailRequest) async throws -> AWSSESSendBulkTemplatedEmailResponse

    Parameters

    request

    A container for the necessary parameters to execute the SendBulkTemplatedEmail service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorMailFromDomainNotVerified, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTemplateDoesNotExist, AWSSESErrorConfigurationSetSendingPaused, AWSSESErrorAccountSendingPaused.

  • Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a customized verification email is sent to the specified address.

    To use this operation, you must first create a custom verification email template. For more information about creating and using custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSendCustomVerificationEmailRequest

    See

    AWSSESSendCustomVerificationEmailResponse

    Declaration

    Objective-C

    - (id)sendCustomVerificationEmail:
        (nonnull AWSSESSendCustomVerificationEmailRequest *)request;

    Swift

    func sendCustomVerificationEmail(_ request: AWSSESSendCustomVerificationEmailRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SendCustomVerificationEmail service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSendCustomVerificationEmailResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorCustomVerificationEmailTemplateDoesNotExist, AWSSESErrorFromEmailAddressNotVerified, AWSSESErrorProductionAccessNotGranted.

  • Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a customized verification email is sent to the specified address.

    To use this operation, you must first create a custom verification email template. For more information about creating and using custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSendCustomVerificationEmailRequest

    See

    AWSSESSendCustomVerificationEmailResponse

    Declaration

    Objective-C

    - (void)sendCustomVerificationEmail:
                (nonnull AWSSESSendCustomVerificationEmailRequest *)request
                      completionHandler:
                          (void (^_Nullable)(
                              AWSSESSendCustomVerificationEmailResponse *_Nullable,
                              NSError *_Nullable))completionHandler;

    Swift

    func sendCustomVerificationEmail(_ request: AWSSESSendCustomVerificationEmailRequest) async throws -> AWSSESSendCustomVerificationEmailResponse

    Parameters

    request

    A container for the necessary parameters to execute the SendCustomVerificationEmail service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorCustomVerificationEmailTemplateDoesNotExist, AWSSESErrorFromEmailAddressNotVerified, AWSSESErrorProductionAccessNotGranted.

  • Composes an email message and immediately queues it for sending. To send email using this operation, your message must meet the following requirements:

    • The message must be sent from a verified email address or domain. If you attempt to send email using a non-verified address or domain, the operation results in an “Email address not verified” error.

    • If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

    • The maximum message size is 10 MB.

    • The message must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

    • The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call the SendEmail operation several times to send the message to each group.

    For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending Limits in the Amazon SES Developer Guide.

    See

    AWSSESSendEmailRequest

    See

    AWSSESSendEmailResponse

    Declaration

    Objective-C

    - (id)sendEmail:(nonnull AWSSESSendEmailRequest *)request;

    Swift

    func sendEmail(_ request: AWSSESSendEmailRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SendEmail service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSendEmailResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorMailFromDomainNotVerified, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorConfigurationSetSendingPaused, AWSSESErrorAccountSendingPaused.

  • Composes an email message and immediately queues it for sending. To send email using this operation, your message must meet the following requirements:

    • The message must be sent from a verified email address or domain. If you attempt to send email using a non-verified address or domain, the operation results in an “Email address not verified” error.

    • If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

    • The maximum message size is 10 MB.

    • The message must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

    • The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call the SendEmail operation several times to send the message to each group.

    For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending Limits in the Amazon SES Developer Guide.

    See

    AWSSESSendEmailRequest

    See

    AWSSESSendEmailResponse

    Declaration

    Objective-C

    - (void)sendEmail:(nonnull AWSSESSendEmailRequest *)request
        completionHandler:(void (^_Nullable)(AWSSESSendEmailResponse *_Nullable,
                                             NSError *_Nullable))completionHandler;

    Swift

    func sendEmail(_ request: AWSSESSendEmailRequest) async throws -> AWSSESSendEmailResponse

    Parameters

    request

    A container for the necessary parameters to execute the SendEmail service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorMailFromDomainNotVerified, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorConfigurationSetSendingPaused, AWSSESErrorAccountSendingPaused.

  • Composes an email message and immediately queues it for sending.

    This operation is more flexible than the SendEmail operation. When you use the SendRawEmail operation, you can specify the headers of the message as well as its content. This flexibility is useful, for example, when you need to send a multipart MIME email (such a message that contains both a text and an HTML version). You can also use this operation to send messages that include attachments.

    The SendRawEmail operation has the following requirements:

    • You can only send email from verified email addresses or domains. If you try to send email from an address that isn’t verified, the operation results in an “Email address not verified” error.

    • If your account is still in the Amazon SES sandbox, you can only send email to other verified addresses in your account, or to addresses that are associated with the Amazon SES mailbox simulator.

    • The maximum message size, including attachments, is 10 MB.

    • Each message has to include at least one recipient address. A recipient address includes any address on the To:, CC:, or BCC: lines.

    • If you send a single message to more than one recipient address, and one of the recipient addresses isn’t in a valid format (that is, it’s not in the format UserName@[SubDomain.]Domain.TopLevelDomain), Amazon SES rejects the entire message, even if the other addresses are valid.

    • Each message can include up to 50 recipient addresses across the To:, CC:, or BCC: lines. If you need to send a single message to more than 50 recipients, you have to split the list of recipient addresses into groups of less than 50 recipients, and send separate messages to each group.

    • Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message parts. However, if Amazon SES has to modify the contents of your message (for example, if you use open and click tracking), 8-bit content isn’t preserved. For this reason, we highly recommend that you encode all content that isn’t 7-bit ASCII. For more information, see MIME Encoding in the Amazon SES Developer Guide.

    Additionally, keep the following considerations in mind when using the SendRawEmail operation:

    • Although you can customize the message headers when using the SendRawEmail operation, Amazon SES automatically applies its own Message-ID and Date headers; if you passed these headers when creating the message, they are overwritten by the values that Amazon SES provides.

    • If you are using sending authorization to send on behalf of another user, SendRawEmail enables you to specify the cross-account identity for the email’s Source, From, and Return-Path parameters in one of two ways: you can pass optional parameters SourceArn, FromArn, and/or ReturnPathArn, or you can include the following X-headers in the header of your raw email:

      • X-SES-SOURCE-ARN

      • X-SES-FROM-ARN

      • X-SES-RETURN-PATH-ARN

      Don’t include these X-headers in the DKIM signature. Amazon SES removes these before it sends the email.

      If you only specify the SourceIdentityArn parameter, Amazon SES sets the From and Return-Path addresses to the same identity that you specified.

      For more information about sending authorization, see the Using Sending Authorization with Amazon SES in the Amazon SES Developer Guide.

    • For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending Limits in the Amazon SES Developer Guide.

    See

    AWSSESSendRawEmailRequest

    See

    AWSSESSendRawEmailResponse

    Declaration

    Objective-C

    - (id)sendRawEmail:(nonnull AWSSESSendRawEmailRequest *)request;

    Swift

    func sendRawEmail(_ request: AWSSESSendRawEmailRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SendRawEmail service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSendRawEmailResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorMailFromDomainNotVerified, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorConfigurationSetSendingPaused, AWSSESErrorAccountSendingPaused.

  • Composes an email message and immediately queues it for sending.

    This operation is more flexible than the SendEmail operation. When you use the SendRawEmail operation, you can specify the headers of the message as well as its content. This flexibility is useful, for example, when you need to send a multipart MIME email (such a message that contains both a text and an HTML version). You can also use this operation to send messages that include attachments.

    The SendRawEmail operation has the following requirements:

    • You can only send email from verified email addresses or domains. If you try to send email from an address that isn’t verified, the operation results in an “Email address not verified” error.

    • If your account is still in the Amazon SES sandbox, you can only send email to other verified addresses in your account, or to addresses that are associated with the Amazon SES mailbox simulator.

    • The maximum message size, including attachments, is 10 MB.

    • Each message has to include at least one recipient address. A recipient address includes any address on the To:, CC:, or BCC: lines.

    • If you send a single message to more than one recipient address, and one of the recipient addresses isn’t in a valid format (that is, it’s not in the format UserName@[SubDomain.]Domain.TopLevelDomain), Amazon SES rejects the entire message, even if the other addresses are valid.

    • Each message can include up to 50 recipient addresses across the To:, CC:, or BCC: lines. If you need to send a single message to more than 50 recipients, you have to split the list of recipient addresses into groups of less than 50 recipients, and send separate messages to each group.

    • Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message parts. However, if Amazon SES has to modify the contents of your message (for example, if you use open and click tracking), 8-bit content isn’t preserved. For this reason, we highly recommend that you encode all content that isn’t 7-bit ASCII. For more information, see MIME Encoding in the Amazon SES Developer Guide.

    Additionally, keep the following considerations in mind when using the SendRawEmail operation:

    • Although you can customize the message headers when using the SendRawEmail operation, Amazon SES automatically applies its own Message-ID and Date headers; if you passed these headers when creating the message, they are overwritten by the values that Amazon SES provides.

    • If you are using sending authorization to send on behalf of another user, SendRawEmail enables you to specify the cross-account identity for the email’s Source, From, and Return-Path parameters in one of two ways: you can pass optional parameters SourceArn, FromArn, and/or ReturnPathArn, or you can include the following X-headers in the header of your raw email:

      • X-SES-SOURCE-ARN

      • X-SES-FROM-ARN

      • X-SES-RETURN-PATH-ARN

      Don’t include these X-headers in the DKIM signature. Amazon SES removes these before it sends the email.

      If you only specify the SourceIdentityArn parameter, Amazon SES sets the From and Return-Path addresses to the same identity that you specified.

      For more information about sending authorization, see the Using Sending Authorization with Amazon SES in the Amazon SES Developer Guide.

    • For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending Limits in the Amazon SES Developer Guide.

    See

    AWSSESSendRawEmailRequest

    See

    AWSSESSendRawEmailResponse

    Declaration

    Objective-C

    - (void)sendRawEmail:(nonnull AWSSESSendRawEmailRequest *)request
        completionHandler:(void (^_Nullable)(AWSSESSendRawEmailResponse *_Nullable,
                                             NSError *_Nullable))completionHandler;

    Swift

    func sendRawEmail(_ request: AWSSESSendRawEmailRequest) async throws -> AWSSESSendRawEmailResponse

    Parameters

    request

    A container for the necessary parameters to execute the SendRawEmail service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorMailFromDomainNotVerified, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorConfigurationSetSendingPaused, AWSSESErrorAccountSendingPaused.

  • Composes an email message using an email template and immediately queues it for sending.

    To send email using this operation, your call must meet the following requirements:

    • The call must refer to an existing email template. You can create email templates using the CreateTemplate operation.

    • The message must be sent from a verified email address or domain.

    • If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

    • The maximum message size is 10 MB.

    • Calls to the SendTemplatedEmail operation may only include one Destination parameter. A destination is a set of recipients that receives the same version of the email. The Destination parameter can include up to 50 recipients, across the To:, CC: and BCC: fields.

    • The Destination parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

    If your call to the SendTemplatedEmail operation includes all of the required parameters, Amazon SES accepts it and returns a Message ID. However, if Amazon SES can’t render the email because the template contains errors, it doesn’t send the email. Additionally, because it already accepted the message, Amazon SES doesn’t return a message stating that it was unable to send the email.

    For these reasons, we highly recommend that you set up Amazon SES to send you notifications when Rendering Failure events occur. For more information, see Sending Personalized Email Using the Amazon SES API in the Amazon Simple Email Service Developer Guide.

    See

    AWSSESSendTemplatedEmailRequest

    See

    AWSSESSendTemplatedEmailResponse

    Declaration

    Objective-C

    - (id)sendTemplatedEmail:(nonnull AWSSESSendTemplatedEmailRequest *)request;

    Swift

    func sendTemplatedEmail(_ request: AWSSESSendTemplatedEmailRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SendTemplatedEmail service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSendTemplatedEmailResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorMailFromDomainNotVerified, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTemplateDoesNotExist, AWSSESErrorConfigurationSetSendingPaused, AWSSESErrorAccountSendingPaused.

  • Composes an email message using an email template and immediately queues it for sending.

    To send email using this operation, your call must meet the following requirements:

    • The call must refer to an existing email template. You can create email templates using the CreateTemplate operation.

    • The message must be sent from a verified email address or domain.

    • If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

    • The maximum message size is 10 MB.

    • Calls to the SendTemplatedEmail operation may only include one Destination parameter. A destination is a set of recipients that receives the same version of the email. The Destination parameter can include up to 50 recipients, across the To:, CC: and BCC: fields.

    • The Destination parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

    If your call to the SendTemplatedEmail operation includes all of the required parameters, Amazon SES accepts it and returns a Message ID. However, if Amazon SES can’t render the email because the template contains errors, it doesn’t send the email. Additionally, because it already accepted the message, Amazon SES doesn’t return a message stating that it was unable to send the email.

    For these reasons, we highly recommend that you set up Amazon SES to send you notifications when Rendering Failure events occur. For more information, see Sending Personalized Email Using the Amazon SES API in the Amazon Simple Email Service Developer Guide.

    See

    AWSSESSendTemplatedEmailRequest

    See

    AWSSESSendTemplatedEmailResponse

    Declaration

    Objective-C

    - (void)sendTemplatedEmail:(nonnull AWSSESSendTemplatedEmailRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESSendTemplatedEmailResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func sendTemplatedEmail(_ request: AWSSESSendTemplatedEmailRequest) async throws -> AWSSESSendTemplatedEmailResponse

    Parameters

    request

    A container for the necessary parameters to execute the SendTemplatedEmail service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorMessageRejected, AWSSESErrorMailFromDomainNotVerified, AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTemplateDoesNotExist, AWSSESErrorConfigurationSetSendingPaused, AWSSESErrorAccountSendingPaused.

  • Sets the specified receipt rule set as the active receipt rule set.

    To disable your email-receiving through Amazon SES completely, you can call this operation with RuleSetName set to null.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSetActiveReceiptRuleSetRequest

    See

    AWSSESSetActiveReceiptRuleSetResponse

    Declaration

    Objective-C

    - (id)setActiveReceiptRuleSet:
        (nonnull AWSSESSetActiveReceiptRuleSetRequest *)request;

    Swift

    func setActiveReceiptRuleSet(_ request: AWSSESSetActiveReceiptRuleSetRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SetActiveReceiptRuleSet service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSetActiveReceiptRuleSetResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist.

  • Sets the specified receipt rule set as the active receipt rule set.

    To disable your email-receiving through Amazon SES completely, you can call this operation with RuleSetName set to null.

    For information about managing receipt rule sets, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSetActiveReceiptRuleSetRequest

    See

    AWSSESSetActiveReceiptRuleSetResponse

    Declaration

    Objective-C

    - (void)setActiveReceiptRuleSet:
                (nonnull AWSSESSetActiveReceiptRuleSetRequest *)request
                  completionHandler:
                      (void (^_Nullable)(
                          AWSSESSetActiveReceiptRuleSetResponse *_Nullable,
                          NSError *_Nullable))completionHandler;

    Swift

    func setActiveReceiptRuleSet(_ request: AWSSESSetActiveReceiptRuleSetRequest) async throws -> AWSSESSetActiveReceiptRuleSetResponse

    Parameters

    request

    A container for the necessary parameters to execute the SetActiveReceiptRuleSet service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist.

  • Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends from addresses on that domain. If Easy DKIM signing is enabled for an email address, then Amazon SES uses DKIM to sign all email it sends from that address.

    For email addresses (for example, user@example.com), you can only enable DKIM signing if the corresponding domain (in this case, example.com) has been set up to use Easy DKIM.

    You can enable DKIM signing for an identity at any time after you start the verification process for the identity, even if the verification process isn’t complete.

    You can execute this operation no more than once per second.

    For more information about Easy DKIM signing, go to the Amazon SES Developer Guide.

    See

    AWSSESSetIdentityDkimEnabledRequest

    See

    AWSSESSetIdentityDkimEnabledResponse

    Declaration

    Objective-C

    - (id)setIdentityDkimEnabled:
        (nonnull AWSSESSetIdentityDkimEnabledRequest *)request;

    Swift

    func setIdentityDkimEnabled(_ request: AWSSESSetIdentityDkimEnabledRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityDkimEnabled service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSetIdentityDkimEnabledResponse.

  • Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends from addresses on that domain. If Easy DKIM signing is enabled for an email address, then Amazon SES uses DKIM to sign all email it sends from that address.

    For email addresses (for example, user@example.com), you can only enable DKIM signing if the corresponding domain (in this case, example.com) has been set up to use Easy DKIM.

    You can enable DKIM signing for an identity at any time after you start the verification process for the identity, even if the verification process isn’t complete.

    You can execute this operation no more than once per second.

    For more information about Easy DKIM signing, go to the Amazon SES Developer Guide.

    See

    AWSSESSetIdentityDkimEnabledRequest

    See

    AWSSESSetIdentityDkimEnabledResponse

    Declaration

    Objective-C

    - (void)
        setIdentityDkimEnabled:
            (nonnull AWSSESSetIdentityDkimEnabledRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESSetIdentityDkimEnabledResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func setIdentityDkimEnabled(_ request: AWSSESSetIdentityDkimEnabledRequest) async throws -> AWSSESSetIdentityDkimEnabledResponse

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityDkimEnabled service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.

    Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.

    You can execute this operation no more than once per second.

    For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

    See

    AWSSESSetIdentityFeedbackForwardingEnabledRequest

    See

    AWSSESSetIdentityFeedbackForwardingEnabledResponse

    Declaration

    Objective-C

    - (id)setIdentityFeedbackForwardingEnabled:
        (nonnull AWSSESSetIdentityFeedbackForwardingEnabledRequest *)request;

    Swift

    func setIdentityFeedbackForwardingEnabled(_ request: AWSSESSetIdentityFeedbackForwardingEnabledRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityFeedbackForwardingEnabled service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSetIdentityFeedbackForwardingEnabledResponse.

  • Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.

    Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.

    You can execute this operation no more than once per second.

    For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

    See

    AWSSESSetIdentityFeedbackForwardingEnabledRequest

    See

    AWSSESSetIdentityFeedbackForwardingEnabledResponse

    Declaration

    Objective-C

    - (void)
        setIdentityFeedbackForwardingEnabled:
            (nonnull AWSSESSetIdentityFeedbackForwardingEnabledRequest *)request
                           completionHandler:
                               (void (^_Nullable)(
                                   AWSSESSetIdentityFeedbackForwardingEnabledResponse
                                       *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func setIdentityFeedbackForwardingEnabled(_ request: AWSSESSetIdentityFeedbackForwardingEnabledRequest) async throws -> AWSSESSetIdentityFeedbackForwardingEnabledResponse

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityFeedbackForwardingEnabled service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.

    You can execute this operation no more than once per second.

    For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

    See

    AWSSESSetIdentityHeadersInNotificationsEnabledRequest

    See

    AWSSESSetIdentityHeadersInNotificationsEnabledResponse

    Declaration

    Objective-C

    - (id)setIdentityHeadersInNotificationsEnabled:
        (nonnull AWSSESSetIdentityHeadersInNotificationsEnabledRequest *)request;

    Swift

    func setIdentityHeadersInNotificationsEnabled(_ request: AWSSESSetIdentityHeadersInNotificationsEnabledRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityHeadersInNotificationsEnabled service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSetIdentityHeadersInNotificationsEnabledResponse.

  • Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.

    You can execute this operation no more than once per second.

    For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

    See

    AWSSESSetIdentityHeadersInNotificationsEnabledRequest

    See

    AWSSESSetIdentityHeadersInNotificationsEnabledResponse

    Declaration

    Objective-C

    - (void)
        setIdentityHeadersInNotificationsEnabled:
            (nonnull AWSSESSetIdentityHeadersInNotificationsEnabledRequest *)request
                               completionHandler:
                                   (void (^_Nullable)(
                                       AWSSESSetIdentityHeadersInNotificationsEnabledResponse
                                           *_Nullable,
                                       NSError *_Nullable))completionHandler;

    Swift

    func setIdentityHeadersInNotificationsEnabled(_ request: AWSSESSetIdentityHeadersInNotificationsEnabledRequest) async throws -> AWSSESSetIdentityHeadersInNotificationsEnabledResponse

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityHeadersInNotificationsEnabled service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).

    To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain’s DNS settings. To ensure that your emails pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSetIdentityMailFromDomainRequest

    See

    AWSSESSetIdentityMailFromDomainResponse

    Declaration

    Objective-C

    - (id)setIdentityMailFromDomain:
        (nonnull AWSSESSetIdentityMailFromDomainRequest *)request;

    Swift

    func setIdentityMailFromDomain(_ request: AWSSESSetIdentityMailFromDomainRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityMailFromDomain service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSetIdentityMailFromDomainResponse.

  • Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).

    To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain’s DNS settings. To ensure that your emails pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSetIdentityMailFromDomainRequest

    See

    AWSSESSetIdentityMailFromDomainResponse

    Declaration

    Objective-C

    - (void)setIdentityMailFromDomain:
                (nonnull AWSSESSetIdentityMailFromDomainRequest *)request
                    completionHandler:
                        (void (^_Nullable)(
                            AWSSESSetIdentityMailFromDomainResponse *_Nullable,
                            NSError *_Nullable))completionHandler;

    Swift

    func setIdentityMailFromDomain(_ request: AWSSESSetIdentityMailFromDomainRequest) async throws -> AWSSESSetIdentityMailFromDomainResponse

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityMailFromDomain service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use this operation, you specify a verified identity, such as an email address or domain. When you send an email that uses the chosen identity in the Source field, Amazon SES sends notifications to the topic you specified. You can send bounce, complaint, or delivery notifications (or any combination of the three) to the Amazon SNS topic that you specify.

    You can execute this operation no more than once per second.

    For more information about feedback notification, see the Amazon SES Developer Guide.

    See

    AWSSESSetIdentityNotificationTopicRequest

    See

    AWSSESSetIdentityNotificationTopicResponse

    Declaration

    Objective-C

    - (id)setIdentityNotificationTopic:
        (nonnull AWSSESSetIdentityNotificationTopicRequest *)request;

    Swift

    func setIdentityNotificationTopic(_ request: AWSSESSetIdentityNotificationTopicRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityNotificationTopic service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSetIdentityNotificationTopicResponse.

  • Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use this operation, you specify a verified identity, such as an email address or domain. When you send an email that uses the chosen identity in the Source field, Amazon SES sends notifications to the topic you specified. You can send bounce, complaint, or delivery notifications (or any combination of the three) to the Amazon SNS topic that you specify.

    You can execute this operation no more than once per second.

    For more information about feedback notification, see the Amazon SES Developer Guide.

    See

    AWSSESSetIdentityNotificationTopicRequest

    See

    AWSSESSetIdentityNotificationTopicResponse

    Declaration

    Objective-C

    - (void)
        setIdentityNotificationTopic:
            (nonnull AWSSESSetIdentityNotificationTopicRequest *)request
                   completionHandler:
                       (void (^_Nullable)(
                           AWSSESSetIdentityNotificationTopicResponse *_Nullable,
                           NSError *_Nullable))completionHandler;

    Swift

    func setIdentityNotificationTopic(_ request: AWSSESSetIdentityNotificationTopicRequest) async throws -> AWSSESSetIdentityNotificationTopicResponse

    Parameters

    request

    A container for the necessary parameters to execute the SetIdentityNotificationTopic service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Sets the position of the specified receipt rule in the receipt rule set.

    For information about managing receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSetReceiptRulePositionRequest

    See

    AWSSESSetReceiptRulePositionResponse

    Declaration

    Objective-C

    - (id)setReceiptRulePosition:
        (nonnull AWSSESSetReceiptRulePositionRequest *)request;

    Swift

    func setReceiptRulePosition(_ request: AWSSESSetReceiptRulePositionRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the SetReceiptRulePosition service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESSetReceiptRulePositionResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist, AWSSESErrorRuleDoesNotExist.

  • Sets the position of the specified receipt rule in the receipt rule set.

    For information about managing receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESSetReceiptRulePositionRequest

    See

    AWSSESSetReceiptRulePositionResponse

    Declaration

    Objective-C

    - (void)
        setReceiptRulePosition:
            (nonnull AWSSESSetReceiptRulePositionRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESSetReceiptRulePositionResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func setReceiptRulePosition(_ request: AWSSESSetReceiptRulePositionRequest) async throws -> AWSSESSetReceiptRulePositionResponse

    Parameters

    request

    A container for the necessary parameters to execute the SetReceiptRulePosition service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorRuleSetDoesNotExist, AWSSESErrorRuleDoesNotExist.

  • Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.

    You can execute this operation no more than once per second.

    See

    AWSSESTestRenderTemplateRequest

    See

    AWSSESTestRenderTemplateResponse

    Declaration

    Objective-C

    - (id)testRenderTemplate:(nonnull AWSSESTestRenderTemplateRequest *)request;

    Swift

    func testRenderTemplate(_ request: AWSSESTestRenderTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the TestRenderTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESTestRenderTemplateResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorTemplateDoesNotExist, AWSSESErrorInvalidRenderingParameter, AWSSESErrorMissingRenderingAttribute.

  • Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.

    You can execute this operation no more than once per second.

    See

    AWSSESTestRenderTemplateRequest

    See

    AWSSESTestRenderTemplateResponse

    Declaration

    Objective-C

    - (void)testRenderTemplate:(nonnull AWSSESTestRenderTemplateRequest *)request
             completionHandler:
                 (void (^_Nullable)(AWSSESTestRenderTemplateResponse *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func testRenderTemplate(_ request: AWSSESTestRenderTemplateRequest) async throws -> AWSSESTestRenderTemplateResponse

    Parameters

    request

    A container for the necessary parameters to execute the TestRenderTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorTemplateDoesNotExist, AWSSESErrorInvalidRenderingParameter, AWSSESErrorMissingRenderingAttribute.

  • Enables or disables email sending across your entire Amazon SES account in the current Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given Amazon Web Services Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateAccountSendingEnabledRequest

    Declaration

    Objective-C

    - (id)updateAccountSendingEnabled:
        (nonnull AWSSESUpdateAccountSendingEnabledRequest *)request;

    Swift

    func updateAccountSendingEnabled(_ request: AWSSESUpdateAccountSendingEnabledRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the UpdateAccountSendingEnabled service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will be nil.

  • Enables or disables email sending across your entire Amazon SES account in the current Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given Amazon Web Services Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateAccountSendingEnabledRequest

    Declaration

    Objective-C

    - (void)updateAccountSendingEnabled:
                (nonnull AWSSESUpdateAccountSendingEnabledRequest *)request
                      completionHandler:
                          (void (^_Nullable)(NSError *_Nullable))completionHandler;

    Swift

    func updateAccountSendingEnabled(_ request: AWSSESUpdateAccountSendingEnabledRequest) async throws

    Parameters

    request

    A container for the necessary parameters to execute the UpdateAccountSendingEnabled service method.

    completionHandler

    The completion handler to call when the load request is complete. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Updates the event destination of a configuration set. Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.

    When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateConfigurationSetEventDestinationRequest

    See

    AWSSESUpdateConfigurationSetEventDestinationResponse

    Declaration

    Objective-C

    - (id)updateConfigurationSetEventDestination:
        (nonnull AWSSESUpdateConfigurationSetEventDestinationRequest *)request;

    Swift

    func updateConfigurationSetEventDestination(_ request: AWSSESUpdateConfigurationSetEventDestinationRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the UpdateConfigurationSetEventDestination service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESUpdateConfigurationSetEventDestinationResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorEventDestinationDoesNotExist, AWSSESErrorInvalidCloudWatchDestination, AWSSESErrorInvalidFirehoseDestination, AWSSESErrorInvalidSNSDestination.

  • Updates the event destination of a configuration set. Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.

    When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateConfigurationSetEventDestinationRequest

    See

    AWSSESUpdateConfigurationSetEventDestinationResponse

    Declaration

    Objective-C

    - (void)
        updateConfigurationSetEventDestination:
            (nonnull AWSSESUpdateConfigurationSetEventDestinationRequest *)request
                             completionHandler:
                                 (void (^_Nullable)(
                                     AWSSESUpdateConfigurationSetEventDestinationResponse
                                         *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func updateConfigurationSetEventDestination(_ request: AWSSESUpdateConfigurationSetEventDestinationRequest) async throws -> AWSSESUpdateConfigurationSetEventDestinationResponse

    Parameters

    request

    A container for the necessary parameters to execute the UpdateConfigurationSetEventDestination service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorEventDestinationDoesNotExist, AWSSESErrorInvalidCloudWatchDestination, AWSSESErrorInvalidFirehoseDestination, AWSSESErrorInvalidSNSDestination.

  • Enables or disables the publishing of reputation metrics for emails sent using a specific configuration set in a given Amazon Web Services Region. Reputation metrics include bounce and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can create alarms when bounce or complaint rates exceed certain thresholds.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateConfigurationSetReputationMetricsEnabledRequest

    Declaration

    Objective-C

    - (id)updateConfigurationSetReputationMetricsEnabled:
        (nonnull AWSSESUpdateConfigurationSetReputationMetricsEnabledRequest *)
            request;

    Swift

    func updateConfigurationSetReputationMetricsEnabled(_ request: AWSSESUpdateConfigurationSetReputationMetricsEnabledRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the UpdateConfigurationSetReputationMetricsEnabled service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will be nil. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist.

  • Enables or disables the publishing of reputation metrics for emails sent using a specific configuration set in a given Amazon Web Services Region. Reputation metrics include bounce and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can create alarms when bounce or complaint rates exceed certain thresholds.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateConfigurationSetReputationMetricsEnabledRequest

    Declaration

    Objective-C

    - (void)
        updateConfigurationSetReputationMetricsEnabled:
            (nonnull AWSSESUpdateConfigurationSetReputationMetricsEnabledRequest *)
                request
                                     completionHandler:
                                         (void (^_Nullable)(NSError *_Nullable))
                                             completionHandler;

    Swift

    func updateConfigurationSetReputationMetricsEnabled(_ request: AWSSESUpdateConfigurationSetReputationMetricsEnabledRequest) async throws

    Parameters

    request

    A container for the necessary parameters to execute the UpdateConfigurationSetReputationMetricsEnabled service method.

    completionHandler

    The completion handler to call when the load request is complete. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist.

  • Enables or disables email sending for messages sent using a specific configuration set in a given Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) exceed certain thresholds.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateConfigurationSetSendingEnabledRequest

    Declaration

    Objective-C

    - (id)updateConfigurationSetSendingEnabled:
        (nonnull AWSSESUpdateConfigurationSetSendingEnabledRequest *)request;

    Swift

    func updateConfigurationSetSendingEnabled(_ request: AWSSESUpdateConfigurationSetSendingEnabledRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the UpdateConfigurationSetSendingEnabled service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will be nil. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist.

  • Enables or disables email sending for messages sent using a specific configuration set in a given Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) exceed certain thresholds.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateConfigurationSetSendingEnabledRequest

    Declaration

    Objective-C

    - (void)updateConfigurationSetSendingEnabled:
                (nonnull AWSSESUpdateConfigurationSetSendingEnabledRequest *)request
                               completionHandler:
                                   (void (^_Nullable)(NSError *_Nullable))
                                       completionHandler;

    Swift

    func updateConfigurationSetSendingEnabled(_ request: AWSSESUpdateConfigurationSetSendingEnabledRequest) async throws

    Parameters

    request

    A container for the necessary parameters to execute the UpdateConfigurationSetSendingEnabled service method.

    completionHandler

    The completion handler to call when the load request is complete. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist.

  • Modifies an association between a configuration set and a custom domain for open and click event tracking.

    By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide.

    See

    AWSSESUpdateConfigurationSetTrackingOptionsRequest

    See

    AWSSESUpdateConfigurationSetTrackingOptionsResponse

    Declaration

    Objective-C

    - (id)updateConfigurationSetTrackingOptions:
        (nonnull AWSSESUpdateConfigurationSetTrackingOptionsRequest *)request;

    Swift

    func updateConfigurationSetTrackingOptions(_ request: AWSSESUpdateConfigurationSetTrackingOptionsRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the UpdateConfigurationSetTrackingOptions service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESUpdateConfigurationSetTrackingOptionsResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTrackingOptionsDoesNotExist, AWSSESErrorInvalidTrackingOptions.

  • Modifies an association between a configuration set and a custom domain for open and click event tracking.

    By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide.

    See

    AWSSESUpdateConfigurationSetTrackingOptionsRequest

    See

    AWSSESUpdateConfigurationSetTrackingOptionsResponse

    Declaration

    Objective-C

    - (void)
        updateConfigurationSetTrackingOptions:
            (nonnull AWSSESUpdateConfigurationSetTrackingOptionsRequest *)request
                            completionHandler:
                                (void (^_Nullable)(
                                    AWSSESUpdateConfigurationSetTrackingOptionsResponse
                                        *_Nullable,
                                    NSError *_Nullable))completionHandler;

    Swift

    func updateConfigurationSetTrackingOptions(_ request: AWSSESUpdateConfigurationSetTrackingOptionsRequest) async throws -> AWSSESUpdateConfigurationSetTrackingOptionsResponse

    Parameters

    request

    A container for the necessary parameters to execute the UpdateConfigurationSetTrackingOptions service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorConfigurationSetDoesNotExist, AWSSESErrorTrackingOptionsDoesNotExist, AWSSESErrorInvalidTrackingOptions.

  • Updates an existing custom verification email template.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateCustomVerificationEmailTemplateRequest

    Declaration

    Objective-C

    - (id)updateCustomVerificationEmailTemplate:
        (nonnull AWSSESUpdateCustomVerificationEmailTemplateRequest *)request;

    Swift

    func updateCustomVerificationEmailTemplate(_ request: AWSSESUpdateCustomVerificationEmailTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the UpdateCustomVerificationEmailTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will be nil. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorCustomVerificationEmailTemplateDoesNotExist, AWSSESErrorFromEmailAddressNotVerified, AWSSESErrorCustomVerificationEmailInvalidContent.

  • Updates an existing custom verification email template.

    For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateCustomVerificationEmailTemplateRequest

    Declaration

    Objective-C

    - (void)updateCustomVerificationEmailTemplate:
                (nonnull AWSSESUpdateCustomVerificationEmailTemplateRequest *)
                    request
                                completionHandler:
                                    (void (^_Nullable)(NSError *_Nullable))
                                        completionHandler;

    Swift

    func updateCustomVerificationEmailTemplate(_ request: AWSSESUpdateCustomVerificationEmailTemplateRequest) async throws

    Parameters

    request

    A container for the necessary parameters to execute the UpdateCustomVerificationEmailTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorCustomVerificationEmailTemplateDoesNotExist, AWSSESErrorFromEmailAddressNotVerified, AWSSESErrorCustomVerificationEmailInvalidContent.

  • Updates a receipt rule.

    For information about managing receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateReceiptRuleRequest

    See

    AWSSESUpdateReceiptRuleResponse

    Declaration

    Objective-C

    - (id)updateReceiptRule:(nonnull AWSSESUpdateReceiptRuleRequest *)request;

    Swift

    func updateReceiptRule(_ request: AWSSESUpdateReceiptRuleRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the UpdateReceiptRule service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESUpdateReceiptRuleResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorInvalidSnsTopic, AWSSESErrorInvalidS3Configuration, AWSSESErrorInvalidLambdaFunction, AWSSESErrorRuleSetDoesNotExist, AWSSESErrorRuleDoesNotExist, AWSSESErrorLimitExceeded.

  • Updates a receipt rule.

    For information about managing receipt rules, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateReceiptRuleRequest

    See

    AWSSESUpdateReceiptRuleResponse

    Declaration

    Objective-C

    - (void)updateReceiptRule:(nonnull AWSSESUpdateReceiptRuleRequest *)request
            completionHandler:
                (void (^_Nullable)(AWSSESUpdateReceiptRuleResponse *_Nullable,
                                   NSError *_Nullable))completionHandler;

    Swift

    func updateReceiptRule(_ request: AWSSESUpdateReceiptRuleRequest) async throws -> AWSSESUpdateReceiptRuleResponse

    Parameters

    request

    A container for the necessary parameters to execute the UpdateReceiptRule service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorInvalidSnsTopic, AWSSESErrorInvalidS3Configuration, AWSSESErrorInvalidLambdaFunction, AWSSESErrorRuleSetDoesNotExist, AWSSESErrorRuleDoesNotExist, AWSSESErrorLimitExceeded.

  • Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single operation. For more information, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateTemplateRequest

    See

    AWSSESUpdateTemplateResponse

    Declaration

    Objective-C

    - (id)updateTemplate:(nonnull AWSSESUpdateTemplateRequest *)request;

    Swift

    func updateTemplate(_ request: AWSSESUpdateTemplateRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the UpdateTemplate service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESUpdateTemplateResponse. On failed execution, task.error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorTemplateDoesNotExist, AWSSESErrorInvalidTemplate.

  • Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single operation. For more information, see the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESUpdateTemplateRequest

    See

    AWSSESUpdateTemplateResponse

    Declaration

    Objective-C

    - (void)updateTemplate:(nonnull AWSSESUpdateTemplateRequest *)request
         completionHandler:
             (void (^_Nullable)(AWSSESUpdateTemplateResponse *_Nullable,
                                NSError *_Nullable))completionHandler;

    Swift

    func updateTemplate(_ request: AWSSESUpdateTemplateRequest) async throws -> AWSSESUpdateTemplateResponse

    Parameters

    request

    A container for the necessary parameters to execute the UpdateTemplate service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSSESErrorDomain domain and the following error code: AWSSESErrorTemplateDoesNotExist, AWSSESErrorInvalidTemplate.

  • Returns a set of DKIM tokens for a domain identity.

    When you execute the VerifyDomainDkim operation, the domain that you specify is added to the list of identities that are associated with your account. This is true even if you haven’t already associated the domain with your account by using the VerifyDomainIdentity operation. However, you can’t send email from the domain until you either successfully verify it or you successfully set up DKIM for it.

    You use the tokens that are generated by this operation to create CNAME records. When Amazon SES detects that you’ve added these records to the DNS configuration for a domain, you can start sending email from that domain. You can start sending email even if you haven’t added the TXT record provided by the VerifyDomainIdentity operation to the DNS configuration for your domain. All email that you send from the domain is authenticated using DKIM.

    To create the CNAME records for DKIM authentication, use the following values:

    • Name: token._domainkey.example.com

    • Type: CNAME

    • Value: token.dkim.amazonses.com

    In the preceding example, replace token with one of the tokens that are generated when you execute this operation. Replace example.com with your domain. Repeat this process for each token that’s generated by this operation.

    You can execute this operation no more than once per second.

    See

    AWSSESVerifyDomainDkimRequest

    See

    AWSSESVerifyDomainDkimResponse

    Declaration

    Objective-C

    - (id)verifyDomainDkim:(nonnull AWSSESVerifyDomainDkimRequest *)request;

    Swift

    func verifyDomainDkim(_ request: AWSSESVerifyDomainDkimRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the VerifyDomainDkim service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESVerifyDomainDkimResponse.

  • Returns a set of DKIM tokens for a domain identity.

    When you execute the VerifyDomainDkim operation, the domain that you specify is added to the list of identities that are associated with your account. This is true even if you haven’t already associated the domain with your account by using the VerifyDomainIdentity operation. However, you can’t send email from the domain until you either successfully verify it or you successfully set up DKIM for it.

    You use the tokens that are generated by this operation to create CNAME records. When Amazon SES detects that you’ve added these records to the DNS configuration for a domain, you can start sending email from that domain. You can start sending email even if you haven’t added the TXT record provided by the VerifyDomainIdentity operation to the DNS configuration for your domain. All email that you send from the domain is authenticated using DKIM.

    To create the CNAME records for DKIM authentication, use the following values:

    • Name: token._domainkey.example.com

    • Type: CNAME

    • Value: token.dkim.amazonses.com

    In the preceding example, replace token with one of the tokens that are generated when you execute this operation. Replace example.com with your domain. Repeat this process for each token that’s generated by this operation.

    You can execute this operation no more than once per second.

    See

    AWSSESVerifyDomainDkimRequest

    See

    AWSSESVerifyDomainDkimResponse

    Declaration

    Objective-C

    - (void)verifyDomainDkim:(nonnull AWSSESVerifyDomainDkimRequest *)request
           completionHandler:
               (void (^_Nullable)(AWSSESVerifyDomainDkimResponse *_Nullable,
                                  NSError *_Nullable))completionHandler;

    Swift

    func verifyDomainDkim(_ request: AWSSESVerifyDomainDkimRequest) async throws -> AWSSESVerifyDomainDkimResponse

    Parameters

    request

    A container for the necessary parameters to execute the VerifyDomainDkim service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Adds a domain to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. For more information about verifying domains, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESVerifyDomainIdentityRequest

    See

    AWSSESVerifyDomainIdentityResponse

    Declaration

    Objective-C

    - (id)verifyDomainIdentity:(nonnull AWSSESVerifyDomainIdentityRequest *)request;

    Swift

    func verifyDomainIdentity(_ request: AWSSESVerifyDomainIdentityRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the VerifyDomainIdentity service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESVerifyDomainIdentityResponse.

  • Adds a domain to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. For more information about verifying domains, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

    You can execute this operation no more than once per second.

    See

    AWSSESVerifyDomainIdentityRequest

    See

    AWSSESVerifyDomainIdentityResponse

    Declaration

    Objective-C

    - (void)verifyDomainIdentity:
                (nonnull AWSSESVerifyDomainIdentityRequest *)request
               completionHandler:
                   (void (^_Nullable)(AWSSESVerifyDomainIdentityResponse *_Nullable,
                                      NSError *_Nullable))completionHandler;

    Swift

    func verifyDomainIdentity(_ request: AWSSESVerifyDomainIdentityRequest) async throws -> AWSSESVerifyDomainIdentityResponse

    Parameters

    request

    A container for the necessary parameters to execute the VerifyDomainIdentity service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Deprecated. Use the VerifyEmailIdentity operation to verify a new email address.

    See

    AWSSESVerifyEmailAddressRequest

    Declaration

    Objective-C

    - (id)verifyEmailAddress:(nonnull AWSSESVerifyEmailAddressRequest *)request;

    Swift

    func verifyEmailAddress(_ request: AWSSESVerifyEmailAddressRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the VerifyEmailAddress service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will be nil.

  • Deprecated. Use the VerifyEmailIdentity operation to verify a new email address.

    See

    AWSSESVerifyEmailAddressRequest

    Declaration

    Objective-C

    - (void)verifyEmailAddress:(nonnull AWSSESVerifyEmailAddressRequest *)request
             completionHandler:
                 (void (^_Nullable)(NSError *_Nullable))completionHandler;

    Swift

    func verifyEmailAddress(_ request: AWSSESVerifyEmailAddressRequest) async throws

    Parameters

    request

    A container for the necessary parameters to execute the VerifyEmailAddress service method.

    completionHandler

    The completion handler to call when the load request is complete. error - An error object that indicates why the request failed, or nil if the request was successful.

  • Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a verification email is sent to the specified address.

    You can execute this operation no more than once per second.

    See

    AWSSESVerifyEmailIdentityRequest

    See

    AWSSESVerifyEmailIdentityResponse

    Declaration

    Objective-C

    - (id)verifyEmailIdentity:(nonnull AWSSESVerifyEmailIdentityRequest *)request;

    Swift

    func verifyEmailIdentity(_ request: AWSSESVerifyEmailIdentityRequest) -> Any!

    Parameters

    request

    A container for the necessary parameters to execute the VerifyEmailIdentity service method.

    Return Value

    An instance of AWSTask. On successful execution, task.result will contain an instance of AWSSESVerifyEmailIdentityResponse.

  • Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a verification email is sent to the specified address.

    You can execute this operation no more than once per second.

    See

    AWSSESVerifyEmailIdentityRequest

    See

    AWSSESVerifyEmailIdentityResponse

    Declaration

    Objective-C

    - (void)verifyEmailIdentity:(nonnull AWSSESVerifyEmailIdentityRequest *)request
              completionHandler:
                  (void (^_Nullable)(AWSSESVerifyEmailIdentityResponse *_Nullable,
                                     NSError *_Nullable))completionHandler;

    Swift

    func verifyEmailIdentity(_ request: AWSSESVerifyEmailIdentityRequest) async throws -> AWSSESVerifyEmailIdentityResponse

    Parameters

    request

    A container for the necessary parameters to execute the VerifyEmailIdentity service method.

    completionHandler

    The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful.