github.com/aavshr/aws-sdk-go@v1.41.3/service/kinesisvideo/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package kinesisvideo 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeAccessDeniedException for service response error code 12 // "AccessDeniedException". 13 // 14 // You do not have required permissions to perform this operation. 15 ErrCodeAccessDeniedException = "AccessDeniedException" 16 17 // ErrCodeAccountChannelLimitExceededException for service response error code 18 // "AccountChannelLimitExceededException". 19 // 20 // You have reached the maximum limit of active signaling channels for this 21 // AWS account in this region. 22 ErrCodeAccountChannelLimitExceededException = "AccountChannelLimitExceededException" 23 24 // ErrCodeAccountStreamLimitExceededException for service response error code 25 // "AccountStreamLimitExceededException". 26 // 27 // The number of streams created for the account is too high. 28 ErrCodeAccountStreamLimitExceededException = "AccountStreamLimitExceededException" 29 30 // ErrCodeClientLimitExceededException for service response error code 31 // "ClientLimitExceededException". 32 // 33 // Kinesis Video Streams has throttled the request because you have exceeded 34 // the limit of allowed client calls. Try making the call later. 35 ErrCodeClientLimitExceededException = "ClientLimitExceededException" 36 37 // ErrCodeDeviceStreamLimitExceededException for service response error code 38 // "DeviceStreamLimitExceededException". 39 // 40 // Not implemented. 41 ErrCodeDeviceStreamLimitExceededException = "DeviceStreamLimitExceededException" 42 43 // ErrCodeInvalidArgumentException for service response error code 44 // "InvalidArgumentException". 45 // 46 // The value for this input parameter is invalid. 47 ErrCodeInvalidArgumentException = "InvalidArgumentException" 48 49 // ErrCodeInvalidDeviceException for service response error code 50 // "InvalidDeviceException". 51 // 52 // Not implemented. 53 ErrCodeInvalidDeviceException = "InvalidDeviceException" 54 55 // ErrCodeInvalidResourceFormatException for service response error code 56 // "InvalidResourceFormatException". 57 // 58 // The format of the StreamARN is invalid. 59 ErrCodeInvalidResourceFormatException = "InvalidResourceFormatException" 60 61 // ErrCodeNotAuthorizedException for service response error code 62 // "NotAuthorizedException". 63 // 64 // The caller is not authorized to perform this operation. 65 ErrCodeNotAuthorizedException = "NotAuthorizedException" 66 67 // ErrCodeResourceInUseException for service response error code 68 // "ResourceInUseException". 69 // 70 // The signaling channel is currently not available for this operation. 71 ErrCodeResourceInUseException = "ResourceInUseException" 72 73 // ErrCodeResourceNotFoundException for service response error code 74 // "ResourceNotFoundException". 75 // 76 // Amazon Kinesis Video Streams can't find the stream that you specified. 77 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 78 79 // ErrCodeTagsPerResourceExceededLimitException for service response error code 80 // "TagsPerResourceExceededLimitException". 81 // 82 // You have exceeded the limit of tags that you can associate with the resource. 83 // Kinesis video streams support up to 50 tags. 84 ErrCodeTagsPerResourceExceededLimitException = "TagsPerResourceExceededLimitException" 85 86 // ErrCodeVersionMismatchException for service response error code 87 // "VersionMismatchException". 88 // 89 // The stream version that you specified is not the latest version. To get the 90 // latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) 91 // API. 92 ErrCodeVersionMismatchException = "VersionMismatchException" 93 ) 94 95 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 96 "AccessDeniedException": newErrorAccessDeniedException, 97 "AccountChannelLimitExceededException": newErrorAccountChannelLimitExceededException, 98 "AccountStreamLimitExceededException": newErrorAccountStreamLimitExceededException, 99 "ClientLimitExceededException": newErrorClientLimitExceededException, 100 "DeviceStreamLimitExceededException": newErrorDeviceStreamLimitExceededException, 101 "InvalidArgumentException": newErrorInvalidArgumentException, 102 "InvalidDeviceException": newErrorInvalidDeviceException, 103 "InvalidResourceFormatException": newErrorInvalidResourceFormatException, 104 "NotAuthorizedException": newErrorNotAuthorizedException, 105 "ResourceInUseException": newErrorResourceInUseException, 106 "ResourceNotFoundException": newErrorResourceNotFoundException, 107 "TagsPerResourceExceededLimitException": newErrorTagsPerResourceExceededLimitException, 108 "VersionMismatchException": newErrorVersionMismatchException, 109 }