Expand description
Error types that AWS Secrets Manager can respond with.
Modules§
- builders
- Builders
Structs§
- Decryption
Failure Secrets Manager can't decrypt the protected secret text using the provided KMS key.
- Encryption
Failure Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the KMS key is available, enabled, and not in an invalid state. For more information, see Key state: Effect on your KMS key.
- Internal
Service Error An error occurred on the server side.
- Invalid
Next Token Exception The
NextToken
value is invalid.- Invalid
Parameter Exception The parameter name or value is invalid.
- Invalid
Request Exception A parameter value is not valid for the current state of the resource.
Possible causes:
-
The secret is scheduled for deletion.
-
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.
-
The secret is managed by another service, and you must use that service to update it. For more information, see Secrets managed by other Amazon Web Services services.
-
- Limit
Exceeded Exception The request failed because it would exceed one of the Secrets Manager quotas.
- Malformed
Policy Document Exception The resource policy has syntax errors.
- Precondition
NotMet Exception The request failed because you did not complete all the prerequisite steps.
- Public
Policy Exception The
BlockPublicPolicy
parameter is set to true, and the resource policy did not prevent broad access to the secret.- Resource
Exists Exception A resource with the ID you requested already exists.
- Resource
NotFound Exception Secrets Manager can't find the resource that you asked for.