internal virtual UpdatePlacementResponse UpdatePlacement(UpdatePlacementRequest request) { var marshaller = UpdatePlacementRequestMarshaller.Instance; var unmarshaller = UpdatePlacementResponseUnmarshaller.Instance; return(Invoke <UpdatePlacementRequest, UpdatePlacementResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the UpdatePlacement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdatePlacement 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/iot1click-projects-2018-05-14/UpdatePlacement">REST API Reference for UpdatePlacement Operation</seealso> public virtual Task <UpdatePlacementResponse> UpdatePlacementAsync(UpdatePlacementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = UpdatePlacementRequestMarshaller.Instance; var unmarshaller = UpdatePlacementResponseUnmarshaller.Instance; return(InvokeAsync <UpdatePlacementRequest, UpdatePlacementResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Updates a placement with the given attributes. To clear an attribute, pass an empty /// value (i.e., ""). /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdatePlacement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdatePlacement service method, as returned by IoT1ClickProjects.</returns> /// <exception cref="Amazon.IoT1ClickProjects.Model.InternalFailureException"> /// /// </exception> /// <exception cref="Amazon.IoT1ClickProjects.Model.InvalidRequestException"> /// /// </exception> /// <exception cref="Amazon.IoT1ClickProjects.Model.ResourceNotFoundException"> /// /// </exception> /// <exception cref="Amazon.IoT1ClickProjects.Model.TooManyRequestsException"> /// /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/UpdatePlacement">REST API Reference for UpdatePlacement Operation</seealso> public virtual Task <UpdatePlacementResponse> UpdatePlacementAsync(UpdatePlacementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePlacementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePlacementResponseUnmarshaller.Instance; return(InvokeAsync <UpdatePlacementResponse>(request, options, cancellationToken)); }
internal virtual UpdatePlacementResponse UpdatePlacement(UpdatePlacementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePlacementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePlacementResponseUnmarshaller.Instance; return(Invoke <UpdatePlacementResponse>(request, options)); }