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.
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
public virtual StopConfigurationRecorderResponse StopConfigurationRecorder( String configurationRecorderName )
The name of the customer managed configuration recorder that you want to stop.
| Exception | Condition |
|---|---|
| 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. |
.NET Framework:
Supported in: 4.7.2 and newer