import { ServiceException as __ServiceException__ } from "@aws-sdk/types"; /** *
You provided a parameter value that is not valid for the current state of the resource.
Possible causes:
You tried to perform the operation on a secret that's currently marked deleted.
You tried to enable rotation on a secret that doesn't already have a Lambda function ARN configured and you didn't include such an ARN as a parameter in this call.