forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
139 lines (118 loc) · 5.79 KB
/
errors.go
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package polly
const (
// ErrCodeInvalidLexiconException for service response error code
// "InvalidLexiconException".
//
// Amazon Polly can't find the specified lexicon. Verify that the lexicon's
// name is spelled correctly, and then try again.
ErrCodeInvalidLexiconException = "InvalidLexiconException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// The NextToken is invalid. Verify that it's spelled correctly, and then try
// again.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidS3BucketException for service response error code
// "InvalidS3BucketException".
//
// The provided Amazon S3 bucket name is invalid. Please check your input with
// S3 bucket naming requirements and try again.
ErrCodeInvalidS3BucketException = "InvalidS3BucketException"
// ErrCodeInvalidS3KeyException for service response error code
// "InvalidS3KeyException".
//
// The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object
// key name.
ErrCodeInvalidS3KeyException = "InvalidS3KeyException"
// ErrCodeInvalidSampleRateException for service response error code
// "InvalidSampleRateException".
//
// The specified sample rate is not valid.
ErrCodeInvalidSampleRateException = "InvalidSampleRateException"
// ErrCodeInvalidSnsTopicArnException for service response error code
// "InvalidSnsTopicArnException".
//
// The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN
// and try again.
ErrCodeInvalidSnsTopicArnException = "InvalidSnsTopicArnException"
// ErrCodeInvalidSsmlException for service response error code
// "InvalidSsmlException".
//
// The SSML you provided is invalid. Verify the SSML syntax, spelling of tags
// and values, and then try again.
ErrCodeInvalidSsmlException = "InvalidSsmlException"
// ErrCodeInvalidTaskIdException for service response error code
// "InvalidTaskIdException".
//
// The provided Task ID is not valid. Please provide a valid Task ID and try
// again.
ErrCodeInvalidTaskIdException = "InvalidTaskIdException"
// ErrCodeLexiconNotFoundException for service response error code
// "LexiconNotFoundException".
//
// Amazon Polly can't find the specified lexicon. This could be caused by a
// lexicon that is missing, its name is misspelled or specifying a lexicon that
// is in a different region.
//
// Verify that the lexicon exists, is in the region (see ListLexicons) and that
// you spelled its name is spelled correctly. Then try again.
ErrCodeLexiconNotFoundException = "LexiconNotFoundException"
// ErrCodeLexiconSizeExceededException for service response error code
// "LexiconSizeExceededException".
//
// The maximum size of the specified lexicon would be exceeded by this operation.
ErrCodeLexiconSizeExceededException = "LexiconSizeExceededException"
// ErrCodeMarksNotSupportedForFormatException for service response error code
// "MarksNotSupportedForFormatException".
//
// Speech marks are not supported for the OutputFormat selected. Speech marks
// are only available for content in json format.
ErrCodeMarksNotSupportedForFormatException = "MarksNotSupportedForFormatException"
// ErrCodeMaxLexemeLengthExceededException for service response error code
// "MaxLexemeLengthExceededException".
//
// The maximum size of the lexeme would be exceeded by this operation.
ErrCodeMaxLexemeLengthExceededException = "MaxLexemeLengthExceededException"
// ErrCodeMaxLexiconsNumberExceededException for service response error code
// "MaxLexiconsNumberExceededException".
//
// The maximum number of lexicons would be exceeded by this operation.
ErrCodeMaxLexiconsNumberExceededException = "MaxLexiconsNumberExceededException"
// ErrCodeServiceFailureException for service response error code
// "ServiceFailureException".
//
// An unknown condition has caused a service failure.
ErrCodeServiceFailureException = "ServiceFailureException"
// ErrCodeSsmlMarksNotSupportedForTextTypeException for service response error code
// "SsmlMarksNotSupportedForTextTypeException".
//
// SSML speech marks are not supported for plain text-type input.
ErrCodeSsmlMarksNotSupportedForTextTypeException = "SsmlMarksNotSupportedForTextTypeException"
// ErrCodeSynthesisTaskNotFoundException for service response error code
// "SynthesisTaskNotFoundException".
//
// The Speech Synthesis task with requested Task ID cannot be found.
ErrCodeSynthesisTaskNotFoundException = "SynthesisTaskNotFoundException"
// ErrCodeTextLengthExceededException for service response error code
// "TextLengthExceededException".
//
// The value of the "Text" parameter is longer than the accepted limits. For
// the SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters
// total, of which no more than 3000 can be billed characters. For the SetSpeechSynthesisTask
// API, the maximum is 200,000 characters, of which no more than 100,000 can
// be billed characters. SSML tags are not counted as billed characters.
ErrCodeTextLengthExceededException = "TextLengthExceededException"
// ErrCodeUnsupportedPlsAlphabetException for service response error code
// "UnsupportedPlsAlphabetException".
//
// The alphabet specified by the lexicon is not a supported alphabet. Valid
// values are x-sampa and ipa.
ErrCodeUnsupportedPlsAlphabetException = "UnsupportedPlsAlphabetException"
// ErrCodeUnsupportedPlsLanguageException for service response error code
// "UnsupportedPlsLanguageException".
//
// The language specified in the lexicon is unsupported. For a list of supported
// languages, see Lexicon Attributes (http://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html).
ErrCodeUnsupportedPlsLanguageException = "UnsupportedPlsLanguageException"
)