errors.go 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package shield
  3. const (
  4. // ErrCodeAccessDeniedException for service response error code
  5. // "AccessDeniedException".
  6. ErrCodeAccessDeniedException = "AccessDeniedException"
  7. // ErrCodeAccessDeniedForDependencyException for service response error code
  8. // "AccessDeniedForDependencyException".
  9. //
  10. // In order to grant the necessary access to the DDoS Response Team, the user
  11. // submitting AssociateDRTRole must have the iam:PassRole permission. This error
  12. // indicates the user did not have the appropriate permissions. For more information,
  13. // see Granting a User Permissions to Pass a Role to an AWS Service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html).
  14. ErrCodeAccessDeniedForDependencyException = "AccessDeniedForDependencyException"
  15. // ErrCodeInternalErrorException for service response error code
  16. // "InternalErrorException".
  17. //
  18. // Exception that indicates that a problem occurred with the service infrastructure.
  19. // You can retry the request.
  20. ErrCodeInternalErrorException = "InternalErrorException"
  21. // ErrCodeInvalidOperationException for service response error code
  22. // "InvalidOperationException".
  23. //
  24. // Exception that indicates that the operation would not cause any change to
  25. // occur.
  26. ErrCodeInvalidOperationException = "InvalidOperationException"
  27. // ErrCodeInvalidPaginationTokenException for service response error code
  28. // "InvalidPaginationTokenException".
  29. //
  30. // Exception that indicates that the NextToken specified in the request is invalid.
  31. // Submit the request using the NextToken value that was returned in the response.
  32. ErrCodeInvalidPaginationTokenException = "InvalidPaginationTokenException"
  33. // ErrCodeInvalidParameterException for service response error code
  34. // "InvalidParameterException".
  35. //
  36. // Exception that indicates that the parameters passed to the API are invalid.
  37. ErrCodeInvalidParameterException = "InvalidParameterException"
  38. // ErrCodeInvalidResourceException for service response error code
  39. // "InvalidResourceException".
  40. //
  41. // Exception that indicates that the resource is invalid. You might not have
  42. // access to the resource, or the resource might not exist.
  43. ErrCodeInvalidResourceException = "InvalidResourceException"
  44. // ErrCodeLimitsExceededException for service response error code
  45. // "LimitsExceededException".
  46. //
  47. // Exception that indicates that the operation would exceed a limit.
  48. //
  49. // Type is the type of limit that would be exceeded.
  50. //
  51. // Limit is the threshold that would be exceeded.
  52. ErrCodeLimitsExceededException = "LimitsExceededException"
  53. // ErrCodeLockedSubscriptionException for service response error code
  54. // "LockedSubscriptionException".
  55. //
  56. // You are trying to update a subscription that has not yet completed the 1-year
  57. // commitment. You can change the AutoRenew parameter during the last 30 days
  58. // of your subscription. This exception indicates that you are attempting to
  59. // change AutoRenew prior to that period.
  60. ErrCodeLockedSubscriptionException = "LockedSubscriptionException"
  61. // ErrCodeNoAssociatedRoleException for service response error code
  62. // "NoAssociatedRoleException".
  63. //
  64. // The ARN of the role that you specifed does not exist.
  65. ErrCodeNoAssociatedRoleException = "NoAssociatedRoleException"
  66. // ErrCodeOptimisticLockException for service response error code
  67. // "OptimisticLockException".
  68. //
  69. // Exception that indicates that the protection state has been modified by another
  70. // client. You can retry the request.
  71. ErrCodeOptimisticLockException = "OptimisticLockException"
  72. // ErrCodeResourceAlreadyExistsException for service response error code
  73. // "ResourceAlreadyExistsException".
  74. //
  75. // Exception indicating the specified resource already exists.
  76. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
  77. // ErrCodeResourceNotFoundException for service response error code
  78. // "ResourceNotFoundException".
  79. //
  80. // Exception indicating the specified resource does not exist.
  81. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  82. )