forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
65 lines (55 loc) · 2.66 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package kinesisvideoarchivedmedia
const (
// ErrCodeClientLimitExceededException for service response error code
// "ClientLimitExceededException".
//
// Kinesis Video Streams has throttled the request because you have exceeded
// the limit of allowed client calls. Try making the call later.
ErrCodeClientLimitExceededException = "ClientLimitExceededException"
// ErrCodeInvalidArgumentException for service response error code
// "InvalidArgumentException".
//
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used.
ErrCodeInvalidArgumentException = "InvalidArgumentException"
// ErrCodeInvalidCodecPrivateDataException for service response error code
// "InvalidCodecPrivateDataException".
//
// The Codec Private Data in the video stream is not valid for this operation.
ErrCodeInvalidCodecPrivateDataException = "InvalidCodecPrivateDataException"
// ErrCodeMissingCodecPrivateDataException for service response error code
// "MissingCodecPrivateDataException".
//
// No Codec Private Data was found in the video stream.
ErrCodeMissingCodecPrivateDataException = "MissingCodecPrivateDataException"
// ErrCodeNoDataRetentionException for service response error code
// "NoDataRetentionException".
//
// A PlaybackMode of ON_DEMAND was requested for a stream that does not retain
// data (that is, has a DataRetentionInHours of 0).
ErrCodeNoDataRetentionException = "NoDataRetentionException"
// ErrCodeNotAuthorizedException for service response error code
// "NotAuthorizedException".
//
// Status Code: 403, The caller is not authorized to perform an operation on
// the given stream, or the token has expired.
ErrCodeNotAuthorizedException = "NotAuthorizedException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// GetMedia throws this error when Kinesis Video Streams can't find the stream
// that you specified.
//
// GetHLSStreamingSessionURL throws this error if a session with a PlaybackMode
// of ON_DEMAND is requested for a stream that has no fragments within the requested
// time range, or if a session with a PlaybackMode of LIVE is requested for
// a stream that has no fragments within the last 30 seconds.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeUnsupportedStreamMediaTypeException for service response error code
// "UnsupportedStreamMediaTypeException".
//
// An HLS streaming session was requested for a stream with a media type that
// is not video/h264.
ErrCodeUnsupportedStreamMediaTypeException = "UnsupportedStreamMediaTypeException"
)