1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package support
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAttachmentIdNotFound for service response error code
// "AttachmentIdNotFound".
//
// An attachment with the specified ID could not be found.
ErrCodeAttachmentIdNotFound = "AttachmentIdNotFound"
// ErrCodeAttachmentLimitExceeded for service response error code
// "AttachmentLimitExceeded".
//
// The limit for the number of attachment sets created in a short period of
// time has been exceeded.
ErrCodeAttachmentLimitExceeded = "AttachmentLimitExceeded"
// ErrCodeAttachmentSetExpired for service response error code
// "AttachmentSetExpired".
//
// The expiration time of the attachment set has passed. The set expires 1 hour
// after it is created.
ErrCodeAttachmentSetExpired = "AttachmentSetExpired"
// ErrCodeAttachmentSetIdNotFound for service response error code
// "AttachmentSetIdNotFound".
//
// An attachment set with the specified ID could not be found.
ErrCodeAttachmentSetIdNotFound = "AttachmentSetIdNotFound"
// ErrCodeAttachmentSetSizeLimitExceeded for service response error code
// "AttachmentSetSizeLimitExceeded".
//
// A limit for the size of an attachment set has been exceeded. The limits are
// three attachments and 5 MB per attachment.
ErrCodeAttachmentSetSizeLimitExceeded = "AttachmentSetSizeLimitExceeded"
// ErrCodeCaseCreationLimitExceeded for service response error code
// "CaseCreationLimitExceeded".
//
// The case creation limit for the account has been exceeded.
ErrCodeCaseCreationLimitExceeded = "CaseCreationLimitExceeded"
// ErrCodeCaseIdNotFound for service response error code
// "CaseIdNotFound".
//
// The requested caseId couldn't be located.
ErrCodeCaseIdNotFound = "CaseIdNotFound"
// ErrCodeDescribeAttachmentLimitExceeded for service response error code
// "DescribeAttachmentLimitExceeded".
//
// The limit for the number of DescribeAttachment requests in a short period
// of time has been exceeded.
ErrCodeDescribeAttachmentLimitExceeded = "DescribeAttachmentLimitExceeded"
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// An internal server error occurred.
ErrCodeInternalServerError = "InternalServerError"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AttachmentIdNotFound": newErrorAttachmentIdNotFound,
"AttachmentLimitExceeded": newErrorAttachmentLimitExceeded,
"AttachmentSetExpired": newErrorAttachmentSetExpired,
"AttachmentSetIdNotFound": newErrorAttachmentSetIdNotFound,
"AttachmentSetSizeLimitExceeded": newErrorAttachmentSetSizeLimitExceeded,
"CaseCreationLimitExceeded": newErrorCaseCreationLimitExceeded,
"CaseIdNotFound": newErrorCaseIdNotFound,
"DescribeAttachmentLimitExceeded": newErrorDescribeAttachmentLimitExceeded,
"InternalServerError": newErrorInternalServerError,
}
|