/// <summary>
        /// Initiates the asynchronous execution of the GetHostedZone operation.
        /// <seealso cref="Amazon.Route53.IAmazonRoute53.GetHostedZone"/>
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the GetHostedZone 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 <GetHostedZoneResponse> GetHostedZoneAsync(GetHostedZoneRequest request, CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new GetHostedZoneRequestMarshaller();
            var unmarshaller = GetHostedZoneResponseUnmarshaller.GetInstance();

            return(Invoke <IRequest, GetHostedZoneRequest, GetHostedZoneResponse>(request, marshaller, unmarshaller, signer, cancellationToken));
        }
        IAsyncResult invokeGetHostedZone(GetHostedZoneRequest getHostedZoneRequest, AsyncCallback callback, object state, bool synchronized)
        {
            IRequest    irequest     = new GetHostedZoneRequestMarshaller().Marshall(getHostedZoneRequest);
            var         unmarshaller = GetHostedZoneResponseUnmarshaller.GetInstance();
            AsyncResult result       = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller);

            Invoke(result);
            return(result);
        }