/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sesv2-2019-09-27.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SimpleEmailV2.Model
{
///
/// The result of the SendBulkEmail
operation of each specified BulkEmailEntry
.
///
public partial class BulkEmailEntryResult
{
private string _error;
private string _messageId;
private BulkEmailStatus _status;
///
/// Gets and sets the property Error.
///
/// A description of an error that prevented a message being sent using the SendBulkTemplatedEmail
/// operation.
///
///
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
///
/// Gets and sets the property MessageId.
///
/// The unique message identifier returned from the SendBulkTemplatedEmail
/// operation.
///
///
public string MessageId
{
get { return this._messageId; }
set { this._messageId = value; }
}
// Check to see if MessageId property is set
internal bool IsSetMessageId()
{
return this._messageId != null;
}
///
/// Gets and sets the property Status.
///
/// The status of a message sent using the SendBulkTemplatedEmail
operation.
///
///
///
/// Possible values for this parameter include:
///
/// -
///
/// SUCCESS: Amazon SES accepted the message, and will attempt to deliver it to the recipients.
///
///
-
///
/// MESSAGE_REJECTED: The message was rejected because it contained a virus.
///
///
-
///
/// MAIL_FROM_DOMAIN_NOT_VERIFIED: The sender's email address or domain was not verified.
///
///
-
///
/// CONFIGURATION_SET_DOES_NOT_EXIST: The configuration set you specified does not exist.
///
///
-
///
/// TEMPLATE_DOES_NOT_EXIST: The template you specified does not exist.
///
///
-
///
/// ACCOUNT_SUSPENDED: Your account has been shut down because of issues related to your
/// email sending practices.
///
///
-
///
/// ACCOUNT_THROTTLED: The number of emails you can send has been reduced because your
/// account has exceeded its allocated sending limit.
///
///
-
///
/// ACCOUNT_DAILY_QUOTA_EXCEEDED: You have reached or exceeded the maximum number of emails
/// you can send from your account in a 24-hour period.
///
///
-
///
/// INVALID_SENDING_POOL_NAME: The configuration set you specified refers to an IP pool
/// that does not exist.
///
///
-
///
/// ACCOUNT_SENDING_PAUSED: Email sending for the Amazon SES account was disabled using
/// the UpdateAccountSendingEnabled
/// operation.
///
///
-
///
/// CONFIGURATION_SET_SENDING_PAUSED: Email sending for this configuration set was disabled
/// using the UpdateConfigurationSetSendingEnabled
/// operation.
///
///
-
///
/// INVALID_PARAMETER_VALUE: One or more of the parameters you specified when calling
/// this operation was invalid. See the error message for additional information.
///
///
-
///
/// TRANSIENT_FAILURE: Amazon SES was unable to process your request because of a temporary
/// issue.
///
///
-
///
/// FAILED: Amazon SES was unable to process your request. See the error message for additional
/// information.
///
///
///
public BulkEmailStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}