public void SimpleEmailServiceGetIdentityNotificationAttributes() { #region getidentitynotificationattributes-1469123466947 var response = client.GetIdentityNotificationAttributes(new GetIdentityNotificationAttributesRequest { Identities = new List <string> { "example.com" } }); Dictionary <string, IdentityNotificationAttributes> notificationAttributes = response.NotificationAttributes; #endregion }
private Amazon.SimpleEmail.Model.GetIdentityNotificationAttributesResponse CallAWSServiceOperation(IAmazonSimpleEmailService client, Amazon.SimpleEmail.Model.GetIdentityNotificationAttributesRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Simple Email Service (SES)", "GetIdentityNotificationAttributes"); try { #if DESKTOP return(client.GetIdentityNotificationAttributes(request)); #elif CORECLR return(client.GetIdentityNotificationAttributesAsync(request).GetAwaiter().GetResult()); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } }