Class: Aws::ConfigService::Types::UnmodifiableEntityException
- Inherits:
-
EmptyStructure
- Object
- EmptyStructure
- Aws::ConfigService::Types::UnmodifiableEntityException
- Defined in:
- lib/aws-sdk-configservice/types.rb
Overview
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][4
-
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.
[1]: docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html [2]: docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html [3]: docs.aws.amazon.com/config/latest/APIReference/API_DeleteConfigurationRecorder.html [4]: docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html [5]: docs.aws.amazon.com/config/latest/APIReference/API_StartConfigurationRecorder.html [6]: docs.aws.amazon.com/config/latest/APIReference/API_StopConfigurationRecorder.html