/// <summary> /// <para>Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action 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.</para> /// <para>This action takes a list of identities as input and returns the following information for each:</para> /// <ul> /// <li>Whether Easy DKIM signing is enabled or disabled.</li> /// <li>A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that /// address.</li> /// <li>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.</li> /// /// </ul> /// <para>This action is throttled at one request per second.</para> <para>For more information about creating DNS records using DKIM tokens, /// go to the <a href="http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html">Amazon SES Developer Guide</a> .</para> /// </summary> /// /// <param name="getIdentityDkimAttributesRequest">Container for the necessary parameters to execute the GetIdentityDkimAttributes service /// method on AmazonSimpleEmailService.</param> /// /// <returns>The response from the GetIdentityDkimAttributes service method, as returned by AmazonSimpleEmailService.</returns> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task <GetIdentityDkimAttributesResponse> GetIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.GetInstance(); return(Invoke <IRequest, GetIdentityDkimAttributesRequest, GetIdentityDkimAttributesResponse>(getIdentityDkimAttributesRequest, marshaller, unmarshaller, signer, cancellationToken)); }
internal GetIdentityDkimAttributesResponse GetIdentityDkimAttributes(GetIdentityDkimAttributesRequest request) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; return(Invoke <GetIdentityDkimAttributesRequest, GetIdentityDkimAttributesResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the GetIdentityDkimAttributes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetIdentityDkimAttributes operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task <GetIdentityDkimAttributesResponse> GetIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; return(InvokeAsync <GetIdentityDkimAttributesRequest, GetIdentityDkimAttributesResponse>(request, marshaller, unmarshaller, cancellationToken)); }
public void GetIdentityDkimAttributesMarshallTest() { var operation = service_model.FindOperation("GetIdentityDkimAttributes"); var request = InstantiateClassGenerator.Execute <GetIdentityDkimAttributesRequest>(); var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = GetIdentityDkimAttributesResponseUnmarshaller.Instance.Unmarshall(context) as GetIdentityDkimAttributesResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// Initiates the asynchronous execution of the GetIdentityDkimAttributes operation. /// <seealso cref="Amazon.SimpleEmail.IAmazonSimpleEmailService.GetIdentityDkimAttributes"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetIdentityDkimAttributes operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<GetIdentityDkimAttributesResponse> GetIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.GetInstance(); return Invoke<IRequest, GetIdentityDkimAttributesRequest, GetIdentityDkimAttributesResponse>(request, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// Initiates the asynchronous execution of the GetIdentityDkimAttributes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetIdentityDkimAttributes operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<GetIdentityDkimAttributesResponse> GetIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; return InvokeAsync<GetIdentityDkimAttributesRequest,GetIdentityDkimAttributesResponse>(request, marshaller, unmarshaller, cancellationToken); }
/// <summary> /// Returns the current status of Easy DKIM signing for an entity. For domain name identities, /// this action 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. /// /// /// <para> /// This action takes a list of identities as input and returns the following information /// for each: /// </para> /// <ul> <li> /// <para> /// Whether Easy DKIM signing is enabled or disabled. /// </para> /// </li> <li> /// <para> /// A set of DKIM tokens that represent the identity. If the identity is an email address, /// the tokens represent the domain of that address. /// </para> /// </li> <li> /// <para> /// 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. /// </para> /// </li> </ul> /// <para> /// This action is throttled at one request per second and can only get DKIM attributes /// for up to 100 identities at a time. /// </para> /// /// <para> /// For more information about creating DNS records using DKIM tokens, go to the <a href="http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html">Amazon /// SES Developer Guide</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetIdentityDkimAttributes service method.</param> /// /// <returns>The response from the GetIdentityDkimAttributes service method, as returned by SimpleEmailService.</returns> public GetIdentityDkimAttributesResponse GetIdentityDkimAttributes(GetIdentityDkimAttributesRequest request) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; return Invoke<GetIdentityDkimAttributesRequest,GetIdentityDkimAttributesResponse>(request, marshaller, unmarshaller); }
/// <summary> /// Initiates the asynchronous execution of the GetIdentityDkimAttributes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetIdentityDkimAttributes operation on AmazonSimpleEmailServiceClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetIdentityDkimAttributes /// operation.</returns> public IAsyncResult BeginGetIdentityDkimAttributes(GetIdentityDkimAttributesRequest request, AsyncCallback callback, object state) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; return BeginInvoke<GetIdentityDkimAttributesRequest>(request, marshaller, unmarshaller, callback, state); }
IAsyncResult invokeGetIdentityDkimAttributes(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new GetIdentityDkimAttributesRequestMarshaller().Marshall(getIdentityDkimAttributesRequest); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
IAsyncResult invokeGetIdentityDkimAttributes(GetIdentityDkimAttributesRequest request, AsyncCallback callback, object state, bool synchronized) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; return Invoke(request, callback, state, synchronized, marshaller, unmarshaller, signer); }
public void GetIdentityDkimAttributesMarshallTest() { var operation = service_model.FindOperation("GetIdentityDkimAttributes"); var request = InstantiateClassGenerator.Execute<GetIdentityDkimAttributesRequest>(); var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = GetIdentityDkimAttributesResponseUnmarshaller.Instance.Unmarshall(context) as GetIdentityDkimAttributesResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// Initiates the asynchronous execution of the GetIdentityDkimAttributes operation. /// <seealso cref="Amazon.SimpleEmail.IAmazonSimpleEmailService.GetIdentityDkimAttributes"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetIdentityDkimAttributes operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public async Task<GetIdentityDkimAttributesResponse> GetIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, GetIdentityDkimAttributesRequest, GetIdentityDkimAttributesResponse>(request, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }
/// <summary> /// Initiates the asynchronous execution of the GetIdentityDkimAttributes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetIdentityDkimAttributes operation on AmazonSimpleEmailServiceClient.</param> /// <param name="callback">An Action delegate that is invoked when the operation completes.</param> /// <param name="options">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> public void GetIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request, AmazonServiceCallback<GetIdentityDkimAttributesRequest, GetIdentityDkimAttributesResponse> callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var marshaller = new GetIdentityDkimAttributesRequestMarshaller(); var unmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance; Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult<GetIdentityDkimAttributesRequest,GetIdentityDkimAttributesResponse> responseObject = new AmazonServiceResult<GetIdentityDkimAttributesRequest,GetIdentityDkimAttributesResponse>((GetIdentityDkimAttributesRequest)req, (GetIdentityDkimAttributesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke<GetIdentityDkimAttributesRequest>(request, marshaller, unmarshaller, options, callbackHelper); }