github.com/aavshr/aws-sdk-go@v1.41.3/service/kinesisvideosignalingchannels/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package kinesisvideosignalingchannels 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeClientLimitExceededException for service response error code 12 // "ClientLimitExceededException". 13 // 14 // Your request was throttled because you have exceeded the limit of allowed 15 // client calls. Try making the call later. 16 ErrCodeClientLimitExceededException = "ClientLimitExceededException" 17 18 // ErrCodeInvalidArgumentException for service response error code 19 // "InvalidArgumentException". 20 // 21 // The value for this input parameter is invalid. 22 ErrCodeInvalidArgumentException = "InvalidArgumentException" 23 24 // ErrCodeInvalidClientException for service response error code 25 // "InvalidClientException". 26 // 27 // The specified client is invalid. 28 ErrCodeInvalidClientException = "InvalidClientException" 29 30 // ErrCodeNotAuthorizedException for service response error code 31 // "NotAuthorizedException". 32 // 33 // The caller is not authorized to perform this operation. 34 ErrCodeNotAuthorizedException = "NotAuthorizedException" 35 36 // ErrCodeResourceNotFoundException for service response error code 37 // "ResourceNotFoundException". 38 // 39 // The specified resource is not found. 40 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 41 42 // ErrCodeSessionExpiredException for service response error code 43 // "SessionExpiredException". 44 // 45 // If the client session is expired. Once the client is connected, the session 46 // is valid for 45 minutes. Client should reconnect to the channel to continue 47 // sending/receiving messages. 48 ErrCodeSessionExpiredException = "SessionExpiredException" 49 ) 50 51 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 52 "ClientLimitExceededException": newErrorClientLimitExceededException, 53 "InvalidArgumentException": newErrorInvalidArgumentException, 54 "InvalidClientException": newErrorInvalidClientException, 55 "NotAuthorizedException": newErrorNotAuthorizedException, 56 "ResourceNotFoundException": newErrorResourceNotFoundException, 57 "SessionExpiredException": newErrorSessionExpiredException, 58 }