-
Notifications
You must be signed in to change notification settings - Fork 863
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release includes support for interacting with the Virtual Delive…
…rability Manager, allowing you to opt in/out of the feature and to retrieve recommendations and metric data.
- Loading branch information
1 parent
a3a6f3c
commit 5043e19
Showing
69 changed files
with
7,806 additions
and
8 deletions.
There are no files selected for viewing
343 changes: 340 additions & 3 deletions
343
generator/ServiceModels/sesv2/sesv2-2019-09-27.api.json
Large diffs are not rendered by default.
Oops, something went wrong.
268 changes: 267 additions & 1 deletion
268
generator/ServiceModels/sesv2/sesv2-2019-09-27.docs.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
488 changes: 487 additions & 1 deletion
488
generator/ServiceModels/sesv2/sesv2-2019-09-27.normal.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
219 changes: 219 additions & 0 deletions
219
sdk/src/Services/SimpleEmailV2/Generated/Model/BatchGetMetricDataQuery.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,219 @@ | ||
/* | ||
* 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 | ||
{ | ||
/// <summary> | ||
/// Represents a single metric data query to include in a batch. | ||
/// </summary> | ||
public partial class BatchGetMetricDataQuery | ||
{ | ||
private Dictionary<string, string> _dimensions = new Dictionary<string, string>(); | ||
private DateTime? _endDate; | ||
private string _id; | ||
private Metric _metric; | ||
private MetricNamespace _awsNamespace; | ||
private DateTime? _startDate; | ||
|
||
/// <summary> | ||
/// Gets and sets the property Dimensions. | ||
/// <para> | ||
/// An object that contains mapping between <code>MetricDimensionName</code> and <code>MetricDimensionValue</code> | ||
/// to filter metrics by. | ||
/// </para> | ||
/// </summary> | ||
[AWSProperty(Min=1, Max=3)] | ||
public Dictionary<string, string> Dimensions | ||
{ | ||
get { return this._dimensions; } | ||
set { this._dimensions = value; } | ||
} | ||
|
||
// Check to see if Dimensions property is set | ||
internal bool IsSetDimensions() | ||
{ | ||
return this._dimensions != null && this._dimensions.Count > 0; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property EndDate. | ||
/// <para> | ||
/// Represents the end date for the query interval. | ||
/// </para> | ||
/// </summary> | ||
[AWSProperty(Required=true)] | ||
public DateTime EndDate | ||
{ | ||
get { return this._endDate.GetValueOrDefault(); } | ||
set { this._endDate = value; } | ||
} | ||
|
||
// Check to see if EndDate property is set | ||
internal bool IsSetEndDate() | ||
{ | ||
return this._endDate.HasValue; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property Id. | ||
/// <para> | ||
/// The query identifier. | ||
/// </para> | ||
/// </summary> | ||
[AWSProperty(Required=true, Min=1, Max=255)] | ||
public string Id | ||
{ | ||
get { return this._id; } | ||
set { this._id = value; } | ||
} | ||
|
||
// Check to see if Id property is set | ||
internal bool IsSetId() | ||
{ | ||
return this._id != null; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property Metric. | ||
/// <para> | ||
/// The queried metric. This can be one of the following: | ||
/// </para> | ||
/// <ul> <li> | ||
/// <para> | ||
/// <code>SEND</code> – Emails sent eligible for tracking in the VDM dashboard. This | ||
/// excludes emails sent to the mailbox simulator and emails addressed to more than one | ||
/// recipient. | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>COMPLAINT</code> – Complaints received for your account. This excludes complaints | ||
/// from the mailbox simulator, those originating from your account-level suppression | ||
/// list (if enabled), and those for emails addressed to more than one recipient | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>PERMANENT_BOUNCE</code> – Permanent bounces - i.e. feedback received for emails | ||
/// sent to non-existent mailboxes. Excludes bounces from the mailbox simulator, those | ||
/// originating from your account-level suppression list (if enabled), and those for emails | ||
/// addressed to more than one recipient. | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>TRANSIENT_BOUNCE</code> – Transient bounces - i.e. feedback received for delivery | ||
/// failures excluding issues with non-existent mailboxes. Excludes bounces from the mailbox | ||
/// simulator, and those for emails addressed to more than one recipient. | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>OPEN</code> – Unique open events for emails including open trackers. Excludes | ||
/// opens for emails addressed to more than one recipient. | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>CLICK</code> – Unique click events for emails including wrapped links. Excludes | ||
/// clicks for emails addressed to more than one recipient. | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>DELIVERY</code> – Successful deliveries for email sending attempts. Excludes | ||
/// deliveries to the mailbox simulator and for emails addressed to more than one recipient. | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>DELIVERY_OPEN</code> – Successful deliveries for email sending attempts. Excludes | ||
/// deliveries to the mailbox simulator, for emails addressed to more than one recipient, | ||
/// and emails without open trackers. | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>DELIVERY_CLICK</code> – Successful deliveries for email sending attempts. Excludes | ||
/// deliveries to the mailbox simulator, for emails addressed to more than one recipient, | ||
/// and emails without click trackers. | ||
/// </para> | ||
/// </li> <li> | ||
/// <para> | ||
/// <code>DELIVERY_COMPLAINT</code> – Successful deliveries for email sending attempts. | ||
/// Excludes deliveries to the mailbox simulator, for emails addressed to more than one | ||
/// recipient, and emails addressed to recipients hosted by ISPs with which Amazon SES | ||
/// does not have a feedback loop agreement. | ||
/// </para> | ||
/// </li> </ul> | ||
/// </summary> | ||
[AWSProperty(Required=true)] | ||
public Metric Metric | ||
{ | ||
get { return this._metric; } | ||
set { this._metric = value; } | ||
} | ||
|
||
// Check to see if Metric property is set | ||
internal bool IsSetMetric() | ||
{ | ||
return this._metric != null; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property Namespace. | ||
/// <para> | ||
/// The query namespace - e.g. <code>VDM</code> | ||
/// </para> | ||
/// </summary> | ||
[AWSProperty(Required=true)] | ||
public MetricNamespace Namespace | ||
{ | ||
get { return this._awsNamespace; } | ||
set { this._awsNamespace = value; } | ||
} | ||
|
||
// Check to see if Namespace property is set | ||
internal bool IsSetNamespace() | ||
{ | ||
return this._awsNamespace != null; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property StartDate. | ||
/// <para> | ||
/// Represents the start date for the query interval. | ||
/// </para> | ||
/// </summary> | ||
[AWSProperty(Required=true)] | ||
public DateTime StartDate | ||
{ | ||
get { return this._startDate.GetValueOrDefault(); } | ||
set { this._startDate = value; } | ||
} | ||
|
||
// Check to see if StartDate property is set | ||
internal bool IsSetStartDate() | ||
{ | ||
return this._startDate.HasValue; | ||
} | ||
|
||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
sdk/src/Services/SimpleEmailV2/Generated/Model/BatchGetMetricDataRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* 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 | ||
{ | ||
/// <summary> | ||
/// Container for the parameters to the BatchGetMetricData operation. | ||
/// Retrieves batches of metric data collected based on your sending activity. | ||
/// | ||
/// | ||
/// <para> | ||
/// You can execute this operation no more than 16 times per second, and with at most | ||
/// 160 queries from the batches per second (cumulative). | ||
/// </para> | ||
/// </summary> | ||
public partial class BatchGetMetricDataRequest : AmazonSimpleEmailServiceV2Request | ||
{ | ||
private List<BatchGetMetricDataQuery> _queries = new List<BatchGetMetricDataQuery>(); | ||
|
||
/// <summary> | ||
/// Gets and sets the property Queries. | ||
/// <para> | ||
/// A list of queries for metrics to be retrieved. | ||
/// </para> | ||
/// </summary> | ||
[AWSProperty(Required=true, Min=1, Max=10)] | ||
public List<BatchGetMetricDataQuery> Queries | ||
{ | ||
get { return this._queries; } | ||
set { this._queries = value; } | ||
} | ||
|
||
// Check to see if Queries property is set | ||
internal bool IsSetQueries() | ||
{ | ||
return this._queries != null && this._queries.Count > 0; | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.