/// <summary> /// Stops access logging on the specified container. When you stop access logging on a /// container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access /// logs are not saved and are not retrievable. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAccessLogging 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 StopAccessLogging service method, as returned by MediaStore.</returns> /// <exception cref="Amazon.MediaStore.Model.ContainerInUseException"> /// The container that you specified in the request already exists or is being updated. /// </exception> /// <exception cref="Amazon.MediaStore.Model.ContainerNotFoundException"> /// The container that you specified in the request does not exist. /// </exception> /// <exception cref="Amazon.MediaStore.Model.InternalServerErrorException"> /// The service is temporarily unavailable. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/StopAccessLogging">REST API Reference for StopAccessLogging Operation</seealso> public virtual Task <StopAccessLoggingResponse> StopAccessLoggingAsync(StopAccessLoggingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopAccessLoggingRequestMarshaller.Instance; options.ResponseUnmarshaller = StopAccessLoggingResponseUnmarshaller.Instance; return(InvokeAsync <StopAccessLoggingResponse>(request, options, cancellationToken)); }
internal virtual StopAccessLoggingResponse StopAccessLogging(StopAccessLoggingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopAccessLoggingRequestMarshaller.Instance; options.ResponseUnmarshaller = StopAccessLoggingResponseUnmarshaller.Instance; return(Invoke <StopAccessLoggingResponse>(request, options)); }