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

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package codebuild
     4  
     5  import (
     6  	"github.com/aavshr/aws-sdk-go/private/protocol"
     7  )
     8  
     9  const (
    10  
    11  	// ErrCodeAccountLimitExceededException for service response error code
    12  	// "AccountLimitExceededException".
    13  	//
    14  	// An Amazon Web Services service limit was exceeded for the calling Amazon
    15  	// Web Services account.
    16  	ErrCodeAccountLimitExceededException = "AccountLimitExceededException"
    17  
    18  	// ErrCodeInvalidInputException for service response error code
    19  	// "InvalidInputException".
    20  	//
    21  	// The input value that was provided is not valid.
    22  	ErrCodeInvalidInputException = "InvalidInputException"
    23  
    24  	// ErrCodeOAuthProviderException for service response error code
    25  	// "OAuthProviderException".
    26  	//
    27  	// There was a problem with the underlying OAuth provider.
    28  	ErrCodeOAuthProviderException = "OAuthProviderException"
    29  
    30  	// ErrCodeResourceAlreadyExistsException for service response error code
    31  	// "ResourceAlreadyExistsException".
    32  	//
    33  	// The specified Amazon Web Services resource cannot be created, because an
    34  	// Amazon Web Services resource with the same settings already exists.
    35  	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
    36  
    37  	// ErrCodeResourceNotFoundException for service response error code
    38  	// "ResourceNotFoundException".
    39  	//
    40  	// The specified Amazon Web Services resource cannot be found.
    41  	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
    42  )
    43  
    44  var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
    45  	"AccountLimitExceededException":  newErrorAccountLimitExceededException,
    46  	"InvalidInputException":          newErrorInvalidInputException,
    47  	"OAuthProviderException":         newErrorOAuthProviderException,
    48  	"ResourceAlreadyExistsException": newErrorResourceAlreadyExistsException,
    49  	"ResourceNotFoundException":      newErrorResourceNotFoundException,
    50  }