Class UnmodifiableEntityException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<UnmodifiableEntityException.Builder,UnmodifiableEntityException>

@Generated("software.amazon.awssdk:codegen") public final class UnmodifiableEntityException extends ConfigException implements ToCopyableBuilder<UnmodifiableEntityException.Builder,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.

See Also: