internal UpdateScalingParametersResponse UpdateScalingParameters(UpdateScalingParametersRequest request) { var marshaller = new UpdateScalingParametersRequestMarshaller(); var unmarshaller = UpdateScalingParametersResponseUnmarshaller.Instance; return(Invoke <UpdateScalingParametersRequest, UpdateScalingParametersResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the UpdateScalingParameters operation. /// <seealso cref="Amazon.CloudSearch.IAmazonCloudSearch"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateScalingParameters 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 <UpdateScalingParametersResponse> UpdateScalingParametersAsync(UpdateScalingParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new UpdateScalingParametersRequestMarshaller(); var unmarshaller = UpdateScalingParametersResponseUnmarshaller.Instance; return(InvokeAsync <UpdateScalingParametersRequest, UpdateScalingParametersResponse>(request, marshaller, unmarshaller, cancellationToken)); }