| 1 |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. |
| 2 |
|
| 3 |
package transcribestreamingservice |
| 4 |
|
| 5 |
import ( |
| 6 |
"github.com/aws/aws-sdk-go/private/protocol" |
| 7 |
) |
| 8 |
|
| 9 |
const ( |
| 10 |
|
| 11 |
// ErrCodeBadRequestException for service response error code |
| 12 |
// "BadRequestException". |
| 13 |
// |
| 14 |
// One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, |
| 15 |
// or StartCallAnalyticsStreamTranscription operation was not valid. For example, |
| 16 |
// MediaEncoding or LanguageCode used not valid values. Check the specified |
| 17 |
// parameters and try your request again. |
| 18 |
ErrCodeBadRequestException = "BadRequestException" |
| 19 |
|
| 20 |
// ErrCodeConflictException for service response error code |
| 21 |
// "ConflictException". |
| 22 |
// |
| 23 |
// A new stream started with the same session ID. The current stream has been |
| 24 |
// terminated. |
| 25 |
ErrCodeConflictException = "ConflictException" |
| 26 |
|
| 27 |
// ErrCodeInternalFailureException for service response error code |
| 28 |
// "InternalFailureException". |
| 29 |
// |
| 30 |
// A problem occurred while processing the audio. Amazon Transcribe terminated |
| 31 |
// processing. |
| 32 |
ErrCodeInternalFailureException = "InternalFailureException" |
| 33 |
|
| 34 |
// ErrCodeLimitExceededException for service response error code |
| 35 |
// "LimitExceededException". |
| 36 |
// |
| 37 |
// Your client has exceeded one of the Amazon Transcribe limits. This is typically |
| 38 |
// the audio length limit. Break your audio stream into smaller chunks and try |
| 39 |
// your request again. |
| 40 |
ErrCodeLimitExceededException = "LimitExceededException" |
| 41 |
|
| 42 |
// ErrCodeServiceUnavailableException for service response error code |
| 43 |
// "ServiceUnavailableException". |
| 44 |
// |
| 45 |
// The service is currently unavailable. Try your request later. |
| 46 |
ErrCodeServiceUnavailableException = "ServiceUnavailableException" |
| 47 |
) |
| 48 |
|
| 49 |
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ |
| 50 |
"BadRequestException": newErrorBadRequestException, |
| 51 |
"ConflictException": newErrorConflictException, |
| 52 |
"InternalFailureException": newErrorInternalFailureException, |
| 53 |
"LimitExceededException": newErrorLimitExceededException, |
| 54 |
"ServiceUnavailableException": newErrorServiceUnavailableException, |
| 55 |
} |