errors.go 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package secretsmanager
  3. const (
  4. // ErrCodeDecryptionFailure for service response error code
  5. // "DecryptionFailure".
  6. //
  7. // Secrets Manager can't decrypt the protected secret text using the provided
  8. // KMS key.
  9. ErrCodeDecryptionFailure = "DecryptionFailure"
  10. // ErrCodeEncryptionFailure for service response error code
  11. // "EncryptionFailure".
  12. //
  13. // Secrets Manager can't encrypt the protected secret text using the provided
  14. // KMS key. Check that the customer master key (CMK) is available, enabled,
  15. // and not in an invalid state. For more information, see How Key State Affects
  16. // Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html).
  17. ErrCodeEncryptionFailure = "EncryptionFailure"
  18. // ErrCodeInternalServiceError for service response error code
  19. // "InternalServiceError".
  20. //
  21. // An error occurred on the server side.
  22. ErrCodeInternalServiceError = "InternalServiceError"
  23. // ErrCodeInvalidNextTokenException for service response error code
  24. // "InvalidNextTokenException".
  25. //
  26. // You provided an invalid NextToken value.
  27. ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
  28. // ErrCodeInvalidParameterException for service response error code
  29. // "InvalidParameterException".
  30. //
  31. // You provided an invalid value for a parameter.
  32. ErrCodeInvalidParameterException = "InvalidParameterException"
  33. // ErrCodeInvalidRequestException for service response error code
  34. // "InvalidRequestException".
  35. //
  36. // You provided a parameter value that is not valid for the current state of
  37. // the resource.
  38. //
  39. // Possible causes:
  40. //
  41. // * You tried to perform the operation on a secret that's currently marked
  42. // deleted.
  43. //
  44. // * You tried to enable rotation on a secret that doesn't already have a
  45. // Lambda function ARN configured and you didn't include such an ARN as a
  46. // parameter in this call.
  47. ErrCodeInvalidRequestException = "InvalidRequestException"
  48. // ErrCodeLimitExceededException for service response error code
  49. // "LimitExceededException".
  50. //
  51. // The request failed because it would exceed one of the Secrets Manager internal
  52. // limits.
  53. ErrCodeLimitExceededException = "LimitExceededException"
  54. // ErrCodeMalformedPolicyDocumentException for service response error code
  55. // "MalformedPolicyDocumentException".
  56. //
  57. // The policy document that you provided isn't valid.
  58. ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocumentException"
  59. // ErrCodePreconditionNotMetException for service response error code
  60. // "PreconditionNotMetException".
  61. //
  62. // The request failed because you did not complete all the prerequisite steps.
  63. ErrCodePreconditionNotMetException = "PreconditionNotMetException"
  64. // ErrCodeResourceExistsException for service response error code
  65. // "ResourceExistsException".
  66. //
  67. // A resource with the ID you requested already exists.
  68. ErrCodeResourceExistsException = "ResourceExistsException"
  69. // ErrCodeResourceNotFoundException for service response error code
  70. // "ResourceNotFoundException".
  71. //
  72. // We can't find the resource that you asked for.
  73. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  74. )