1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3package marketplaceentitlementservice 4 5import ( 6 "github.com/aws/aws-sdk-go/private/protocol" 7) 8 9const ( 10 11 // ErrCodeInternalServiceErrorException for service response error code 12 // "InternalServiceErrorException". 13 // 14 // An internal error has occurred. Retry your request. If the problem persists, 15 // post a message with details on the AWS forums. 16 ErrCodeInternalServiceErrorException = "InternalServiceErrorException" 17 18 // ErrCodeInvalidParameterException for service response error code 19 // "InvalidParameterException". 20 // 21 // One or more parameters in your request was invalid. 22 ErrCodeInvalidParameterException = "InvalidParameterException" 23 24 // ErrCodeThrottlingException for service response error code 25 // "ThrottlingException". 26 // 27 // The calls to the GetEntitlements API are throttled. 28 ErrCodeThrottlingException = "ThrottlingException" 29) 30 31var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 32 "InternalServiceErrorException": newErrorInternalServiceErrorException, 33 "InvalidParameterException": newErrorInvalidParameterException, 34 "ThrottlingException": newErrorThrottlingException, 35} 36