errors.go 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package sns
  3. const (
  4. // ErrCodeAuthorizationErrorException for service response error code
  5. // "AuthorizationError".
  6. //
  7. // Indicates that the user has been denied access to the requested resource.
  8. ErrCodeAuthorizationErrorException = "AuthorizationError"
  9. // ErrCodeEndpointDisabledException for service response error code
  10. // "EndpointDisabled".
  11. //
  12. // Exception error indicating endpoint disabled.
  13. ErrCodeEndpointDisabledException = "EndpointDisabled"
  14. // ErrCodeFilterPolicyLimitExceededException for service response error code
  15. // "FilterPolicyLimitExceeded".
  16. //
  17. // Indicates that the number of filter polices in your AWS account exceeds the
  18. // limit. To add more filter polices, submit an SNS Limit Increase case in the
  19. // AWS Support Center.
  20. ErrCodeFilterPolicyLimitExceededException = "FilterPolicyLimitExceeded"
  21. // ErrCodeInternalErrorException for service response error code
  22. // "InternalError".
  23. //
  24. // Indicates an internal service error.
  25. ErrCodeInternalErrorException = "InternalError"
  26. // ErrCodeInvalidParameterException for service response error code
  27. // "InvalidParameter".
  28. //
  29. // Indicates that a request parameter does not comply with the associated constraints.
  30. ErrCodeInvalidParameterException = "InvalidParameter"
  31. // ErrCodeInvalidParameterValueException for service response error code
  32. // "ParameterValueInvalid".
  33. //
  34. // Indicates that a request parameter does not comply with the associated constraints.
  35. ErrCodeInvalidParameterValueException = "ParameterValueInvalid"
  36. // ErrCodeInvalidSecurityException for service response error code
  37. // "InvalidSecurity".
  38. //
  39. // The credential signature isn't valid. You must use an HTTPS endpoint and
  40. // sign your request using Signature Version 4.
  41. ErrCodeInvalidSecurityException = "InvalidSecurity"
  42. // ErrCodeKMSAccessDeniedException for service response error code
  43. // "KMSAccessDenied".
  44. //
  45. // The ciphertext references a key that doesn't exist or that you don't have
  46. // access to.
  47. ErrCodeKMSAccessDeniedException = "KMSAccessDenied"
  48. // ErrCodeKMSDisabledException for service response error code
  49. // "KMSDisabled".
  50. //
  51. // The request was rejected because the specified customer master key (CMK)
  52. // isn't enabled.
  53. ErrCodeKMSDisabledException = "KMSDisabled"
  54. // ErrCodeKMSInvalidStateException for service response error code
  55. // "KMSInvalidState".
  56. //
  57. // The request was rejected because the state of the specified resource isn't
  58. // valid for this request. For more information, see How Key State Affects Use
  59. // of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html)
  60. // in the AWS Key Management Service Developer Guide.
  61. ErrCodeKMSInvalidStateException = "KMSInvalidState"
  62. // ErrCodeKMSNotFoundException for service response error code
  63. // "KMSNotFound".
  64. //
  65. // The request was rejected because the specified entity or resource can't be
  66. // found.
  67. ErrCodeKMSNotFoundException = "KMSNotFound"
  68. // ErrCodeKMSOptInRequired for service response error code
  69. // "KMSOptInRequired".
  70. //
  71. // The AWS access key ID needs a subscription for the service.
  72. ErrCodeKMSOptInRequired = "KMSOptInRequired"
  73. // ErrCodeKMSThrottlingException for service response error code
  74. // "KMSThrottling".
  75. //
  76. // The request was denied due to request throttling. For more information about
  77. // throttling, see Limits (http://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second)
  78. // in the AWS Key Management Service Developer Guide.
  79. ErrCodeKMSThrottlingException = "KMSThrottling"
  80. // ErrCodeNotFoundException for service response error code
  81. // "NotFound".
  82. //
  83. // Indicates that the requested resource does not exist.
  84. ErrCodeNotFoundException = "NotFound"
  85. // ErrCodePlatformApplicationDisabledException for service response error code
  86. // "PlatformApplicationDisabled".
  87. //
  88. // Exception error indicating platform application disabled.
  89. ErrCodePlatformApplicationDisabledException = "PlatformApplicationDisabled"
  90. // ErrCodeSubscriptionLimitExceededException for service response error code
  91. // "SubscriptionLimitExceeded".
  92. //
  93. // Indicates that the customer already owns the maximum allowed number of subscriptions.
  94. ErrCodeSubscriptionLimitExceededException = "SubscriptionLimitExceeded"
  95. // ErrCodeThrottledException for service response error code
  96. // "Throttled".
  97. //
  98. // Indicates that the rate at which requests have been submitted for this action
  99. // exceeds the limit for your account.
  100. ErrCodeThrottledException = "Throttled"
  101. // ErrCodeTopicLimitExceededException for service response error code
  102. // "TopicLimitExceeded".
  103. //
  104. // Indicates that the customer already owns the maximum allowed number of topics.
  105. ErrCodeTopicLimitExceededException = "TopicLimitExceeded"
  106. )