github.com/aavshr/aws-sdk-go@v1.41.3/service/mediaconnect/errors.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package mediaconnect
     4  
     5  import (
     6  	"github.com/aavshr/aws-sdk-go/private/protocol"
     7  )
     8  
     9  const (
    10  
    11  	// ErrCodeAddFlowOutputs420Exception for service response error code
    12  	// "AddFlowOutputs420Exception".
    13  	//
    14  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    15  	// documentation for the operation for more information on the cause of this
    16  	// exception.
    17  	ErrCodeAddFlowOutputs420Exception = "AddFlowOutputs420Exception"
    18  
    19  	// ErrCodeBadRequestException for service response error code
    20  	// "BadRequestException".
    21  	//
    22  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    23  	// documentation for the operation for more information on the cause of this
    24  	// exception.
    25  	ErrCodeBadRequestException = "BadRequestException"
    26  
    27  	// ErrCodeCreateFlow420Exception for service response error code
    28  	// "CreateFlow420Exception".
    29  	//
    30  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    31  	// documentation for the operation for more information on the cause of this
    32  	// exception.
    33  	ErrCodeCreateFlow420Exception = "CreateFlow420Exception"
    34  
    35  	// ErrCodeForbiddenException for service response error code
    36  	// "ForbiddenException".
    37  	//
    38  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    39  	// documentation for the operation for more information on the cause of this
    40  	// exception.
    41  	ErrCodeForbiddenException = "ForbiddenException"
    42  
    43  	// ErrCodeGrantFlowEntitlements420Exception for service response error code
    44  	// "GrantFlowEntitlements420Exception".
    45  	//
    46  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    47  	// documentation for the operation for more information on the cause of this
    48  	// exception.
    49  	ErrCodeGrantFlowEntitlements420Exception = "GrantFlowEntitlements420Exception"
    50  
    51  	// ErrCodeInternalServerErrorException for service response error code
    52  	// "InternalServerErrorException".
    53  	//
    54  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    55  	// documentation for the operation for more information on the cause of this
    56  	// exception.
    57  	ErrCodeInternalServerErrorException = "InternalServerErrorException"
    58  
    59  	// ErrCodeNotFoundException for service response error code
    60  	// "NotFoundException".
    61  	//
    62  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    63  	// documentation for the operation for more information on the cause of this
    64  	// exception.
    65  	ErrCodeNotFoundException = "NotFoundException"
    66  
    67  	// ErrCodeServiceUnavailableException for service response error code
    68  	// "ServiceUnavailableException".
    69  	//
    70  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    71  	// documentation for the operation for more information on the cause of this
    72  	// exception.
    73  	ErrCodeServiceUnavailableException = "ServiceUnavailableException"
    74  
    75  	// ErrCodeTooManyRequestsException for service response error code
    76  	// "TooManyRequestsException".
    77  	//
    78  	// Exception raised by AWS Elemental MediaConnect. See the error message and
    79  	// documentation for the operation for more information on the cause of this
    80  	// exception.
    81  	ErrCodeTooManyRequestsException = "TooManyRequestsException"
    82  )
    83  
    84  var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
    85  	"AddFlowOutputs420Exception":        newErrorAddFlowOutputs420Exception,
    86  	"BadRequestException":               newErrorBadRequestException,
    87  	"CreateFlow420Exception":            newErrorCreateFlow420Exception,
    88  	"ForbiddenException":                newErrorForbiddenException,
    89  	"GrantFlowEntitlements420Exception": newErrorGrantFlowEntitlements420Exception,
    90  	"InternalServerErrorException":      newErrorInternalServerErrorException,
    91  	"NotFoundException":                 newErrorNotFoundException,
    92  	"ServiceUnavailableException":       newErrorServiceUnavailableException,
    93  	"TooManyRequestsException":          newErrorTooManyRequestsException,
    94  }