/// <summary> /// Stops recording configurations of the AWS resources you have selected to record in /// your AWS account. /// </summary> /// <param name="configurationRecorderName">The name of the recorder object that records each configuration change made to the resources.</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 StopConfigurationRecorder service method, as returned by ConfigService.</returns> /// <exception cref="Amazon.ConfigService.Model.NoSuchConfigurationRecorderException"> /// You have specified a configuration recorder that does not exist. /// </exception> public Task <StopConfigurationRecorderResponse> StopConfigurationRecorderAsync(string configurationRecorderName, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new StopConfigurationRecorderRequest(); request.ConfigurationRecorderName = configurationRecorderName; return(StopConfigurationRecorderAsync(request, cancellationToken)); }
internal StopConfigurationRecorderResponse StopConfigurationRecorder(StopConfigurationRecorderRequest request) { var marshaller = new StopConfigurationRecorderRequestMarshaller(); var unmarshaller = StopConfigurationRecorderResponseUnmarshaller.Instance; return(Invoke <StopConfigurationRecorderRequest, StopConfigurationRecorderResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the StopConfigurationRecorder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopConfigurationRecorder 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 <StopConfigurationRecorderResponse> StopConfigurationRecorderAsync(StopConfigurationRecorderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new StopConfigurationRecorderRequestMarshaller(); var unmarshaller = StopConfigurationRecorderResponseUnmarshaller.Instance; return(InvokeAsync <StopConfigurationRecorderRequest, StopConfigurationRecorderResponse>(request, marshaller, unmarshaller, cancellationToken)); }