AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Stops the customer managed configuration recorder. The customer managed configuration recorder will stop recording configuration changes for the resource types you have specified.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to StopConfigurationRecorderAsync.

Namespace: Amazon.ConfigService
Assembly: AWSSDK.ConfigService.dll
Version: 3.x.y.z

Syntax

C#
public virtual StopConfigurationRecorderResponse StopConfigurationRecorder(
         String configurationRecorderName
)

Parameters

configurationRecorderName
Type: System.String

The name of the customer managed configuration recorder that you want to stop.

Return Value


The response from the StopConfigurationRecorder service method, as returned by ConfigService.

Exceptions

ExceptionCondition
NoSuchConfigurationRecorderException You have specified a configuration recorder that does not exist.
UnmodifiableEntityException The requested operation is not valid. For PutConfigurationRecorder, you will see this exception because you cannot use this operation to create a service-linked configuration recorder. Use the PutServiceLinkedConfigurationRecorder operation to create a service-linked configuration recorder. For DeleteConfigurationRecorder, you will see this exception because you cannot use this operation to delete a service-linked configuration recorder. Use the DeleteServiceLinkedConfigurationRecorder operation to delete a service-linked configuration recorder. For StartConfigurationRecorder and StopConfigurationRecorder, you will see this exception because these operations do not affect service-linked configuration recorders. Service-linked configuration recorders are always recording. To stop recording, you must delete the service-linked configuration recorder. Use the DeleteServiceLinkedConfigurationRecorder operation to delete a service-linked configuration recorder.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also