errors.go 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package sts
  3. const (
  4. // ErrCodeExpiredTokenException for service response error code
  5. // "ExpiredTokenException".
  6. //
  7. // The web identity token that was passed is expired or is not valid. Get a
  8. // new identity token from the identity provider and then retry the request.
  9. ErrCodeExpiredTokenException = "ExpiredTokenException"
  10. // ErrCodeIDPCommunicationErrorException for service response error code
  11. // "IDPCommunicationError".
  12. //
  13. // The request could not be fulfilled because the non-AWS identity provider
  14. // (IDP) that was asked to verify the incoming identity token could not be reached.
  15. // This is often a transient error caused by network conditions. Retry the request
  16. // a limited number of times so that you don't exceed the request rate. If the
  17. // error persists, the non-AWS identity provider might be down or not responding.
  18. ErrCodeIDPCommunicationErrorException = "IDPCommunicationError"
  19. // ErrCodeIDPRejectedClaimException for service response error code
  20. // "IDPRejectedClaim".
  21. //
  22. // The identity provider (IdP) reported that authentication failed. This might
  23. // be because the claim is invalid.
  24. //
  25. // If this error is returned for the AssumeRoleWithWebIdentity operation, it
  26. // can also mean that the claim has expired or has been explicitly revoked.
  27. ErrCodeIDPRejectedClaimException = "IDPRejectedClaim"
  28. // ErrCodeInvalidAuthorizationMessageException for service response error code
  29. // "InvalidAuthorizationMessageException".
  30. //
  31. // The error returned if the message passed to DecodeAuthorizationMessage was
  32. // invalid. This can happen if the token contains invalid characters, such as
  33. // linebreaks.
  34. ErrCodeInvalidAuthorizationMessageException = "InvalidAuthorizationMessageException"
  35. // ErrCodeInvalidIdentityTokenException for service response error code
  36. // "InvalidIdentityToken".
  37. //
  38. // The web identity token that was passed could not be validated by AWS. Get
  39. // a new identity token from the identity provider and then retry the request.
  40. ErrCodeInvalidIdentityTokenException = "InvalidIdentityToken"
  41. // ErrCodeMalformedPolicyDocumentException for service response error code
  42. // "MalformedPolicyDocument".
  43. //
  44. // The request was rejected because the policy document was malformed. The error
  45. // message describes the specific error.
  46. ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocument"
  47. // ErrCodePackedPolicyTooLargeException for service response error code
  48. // "PackedPolicyTooLarge".
  49. //
  50. // The request was rejected because the policy document was too large. The error
  51. // message describes how big the policy document is, in packed form, as a percentage
  52. // of what the API allows.
  53. ErrCodePackedPolicyTooLargeException = "PackedPolicyTooLarge"
  54. // ErrCodeRegionDisabledException for service response error code
  55. // "RegionDisabledException".
  56. //
  57. // STS is not activated in the requested region for the account that is being
  58. // asked to generate credentials. The account administrator must use the IAM
  59. // console to activate STS in that region. For more information, see Activating
  60. // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
  61. // in the IAM User Guide.
  62. ErrCodeRegionDisabledException = "RegionDisabledException"
  63. )