예제 #1
0
        /// <summary>
        /// Initiates the asynchronous execution of the CreateHealthCheck operation.
        /// <seealso cref="Amazon.Route53.IAmazonRoute53.CreateHealthCheck"/>
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the CreateHealthCheck 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 <CreateHealthCheckResponse> CreateHealthCheckAsync(CreateHealthCheckRequest request, CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new CreateHealthCheckRequestMarshaller();
            var unmarshaller = CreateHealthCheckResponseUnmarshaller.GetInstance();

            return(Invoke <IRequest, CreateHealthCheckRequest, CreateHealthCheckResponse>(request, marshaller, unmarshaller, signer, cancellationToken));
        }
예제 #2
0
 public override CreateHealthCheckResponse GetResponse(UnmarshallerContext unmarshallerContext)
 {
     return(CreateHealthCheckResponseUnmarshaller.Unmarshall(unmarshallerContext));
 }