internal PutResourceAttributesResponse PutResourceAttributes(PutResourceAttributesRequest request) { var marshaller = new PutResourceAttributesRequestMarshaller(); var unmarshaller = PutResourceAttributesResponseUnmarshaller.Instance; return(Invoke <PutResourceAttributesRequest, PutResourceAttributesResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the PutResourceAttributes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutResourceAttributes 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> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributes">REST API Reference for PutResourceAttributes Operation</seealso> public Task <PutResourceAttributesResponse> PutResourceAttributesAsync(PutResourceAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new PutResourceAttributesRequestMarshaller(); var unmarshaller = PutResourceAttributesResponseUnmarshaller.Instance; return(InvokeAsync <PutResourceAttributesRequest, PutResourceAttributesResponse>(request, marshaller, unmarshaller, cancellationToken)); }
internal virtual PutResourceAttributesResponse PutResourceAttributes(PutResourceAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourceAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourceAttributesResponseUnmarshaller.Instance; return(Invoke <PutResourceAttributesResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the PutResourceAttributes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutResourceAttributes 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> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributes">REST API Reference for PutResourceAttributes Operation</seealso> public virtual Task <PutResourceAttributesResponse> PutResourceAttributesAsync(PutResourceAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourceAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourceAttributesResponseUnmarshaller.Instance; return(InvokeAsync <PutResourceAttributesResponse>(request, options, cancellationToken)); }