Debian Codegraph @

service/kinesisvideowebrtcstorage/errors.go

raw
1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3 package kinesisvideowebrtcstorage
4
5 import (
6 "github.com/aws/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 // ErrCodeClientLimitExceededException for service response error code
18 // "ClientLimitExceededException".
19 //
20 // Kinesis Video Streams has throttled the request because you have exceeded
21 // the limit of allowed client calls. Try making the call later.
22 ErrCodeClientLimitExceededException = "ClientLimitExceededException"
23
24 // ErrCodeInvalidArgumentException for service response error code
25 // "InvalidArgumentException".
26 //
27 // The value for this input parameter is invalid.
28 ErrCodeInvalidArgumentException = "InvalidArgumentException"
29
30 // ErrCodeResourceNotFoundException for service response error code
31 // "ResourceNotFoundException".
32 //
33 // The specified resource is not found.
34 ErrCodeResourceNotFoundException = "ResourceNotFoundException"
35 )
36
37 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
38 "AccessDeniedException": newErrorAccessDeniedException,
39 "ClientLimitExceededException": newErrorClientLimitExceededException,
40 "InvalidArgumentException": newErrorInvalidArgumentException,
41 "ResourceNotFoundException": newErrorResourceNotFoundException,
42 }