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

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package acm
     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 access required to perform this action.
    15  	ErrCodeAccessDeniedException = "AccessDeniedException"
    16  
    17  	// ErrCodeConflictException for service response error code
    18  	// "ConflictException".
    19  	//
    20  	// You are trying to update a resource or configuration that is already being
    21  	// created or updated. Wait for the previous operation to finish and try again.
    22  	ErrCodeConflictException = "ConflictException"
    23  
    24  	// ErrCodeInvalidArgsException for service response error code
    25  	// "InvalidArgsException".
    26  	//
    27  	// One or more of of request parameters specified is not valid.
    28  	ErrCodeInvalidArgsException = "InvalidArgsException"
    29  
    30  	// ErrCodeInvalidArnException for service response error code
    31  	// "InvalidArnException".
    32  	//
    33  	// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
    34  	ErrCodeInvalidArnException = "InvalidArnException"
    35  
    36  	// ErrCodeInvalidDomainValidationOptionsException for service response error code
    37  	// "InvalidDomainValidationOptionsException".
    38  	//
    39  	// One or more values in the DomainValidationOption structure is incorrect.
    40  	ErrCodeInvalidDomainValidationOptionsException = "InvalidDomainValidationOptionsException"
    41  
    42  	// ErrCodeInvalidParameterException for service response error code
    43  	// "InvalidParameterException".
    44  	//
    45  	// An input parameter was invalid.
    46  	ErrCodeInvalidParameterException = "InvalidParameterException"
    47  
    48  	// ErrCodeInvalidStateException for service response error code
    49  	// "InvalidStateException".
    50  	//
    51  	// Processing has reached an invalid state.
    52  	ErrCodeInvalidStateException = "InvalidStateException"
    53  
    54  	// ErrCodeInvalidTagException for service response error code
    55  	// "InvalidTagException".
    56  	//
    57  	// One or both of the values that make up the key-value pair is not valid. For
    58  	// example, you cannot specify a tag value that begins with aws:.
    59  	ErrCodeInvalidTagException = "InvalidTagException"
    60  
    61  	// ErrCodeLimitExceededException for service response error code
    62  	// "LimitExceededException".
    63  	//
    64  	// An ACM quota has been exceeded.
    65  	ErrCodeLimitExceededException = "LimitExceededException"
    66  
    67  	// ErrCodeRequestInProgressException for service response error code
    68  	// "RequestInProgressException".
    69  	//
    70  	// The certificate request is in process and the certificate in your account
    71  	// has not yet been issued.
    72  	ErrCodeRequestInProgressException = "RequestInProgressException"
    73  
    74  	// ErrCodeResourceInUseException for service response error code
    75  	// "ResourceInUseException".
    76  	//
    77  	// The certificate is in use by another Amazon Web Services service in the caller's
    78  	// account. Remove the association and try again.
    79  	ErrCodeResourceInUseException = "ResourceInUseException"
    80  
    81  	// ErrCodeResourceNotFoundException for service response error code
    82  	// "ResourceNotFoundException".
    83  	//
    84  	// The specified certificate cannot be found in the caller's account or the
    85  	// caller's account cannot be found.
    86  	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
    87  
    88  	// ErrCodeTagPolicyException for service response error code
    89  	// "TagPolicyException".
    90  	//
    91  	// A specified tag did not comply with an existing tag policy and was rejected.
    92  	ErrCodeTagPolicyException = "TagPolicyException"
    93  
    94  	// ErrCodeThrottlingException for service response error code
    95  	// "ThrottlingException".
    96  	//
    97  	// The request was denied because it exceeded a quota.
    98  	ErrCodeThrottlingException = "ThrottlingException"
    99  
   100  	// ErrCodeTooManyTagsException for service response error code
   101  	// "TooManyTagsException".
   102  	//
   103  	// The request contains too many tags. Try the request again with fewer tags.
   104  	ErrCodeTooManyTagsException = "TooManyTagsException"
   105  
   106  	// ErrCodeValidationException for service response error code
   107  	// "ValidationException".
   108  	//
   109  	// The supplied input failed to satisfy constraints of an Amazon Web Services
   110  	// service.
   111  	ErrCodeValidationException = "ValidationException"
   112  )
   113  
   114  var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
   115  	"AccessDeniedException":                   newErrorAccessDeniedException,
   116  	"ConflictException":                       newErrorConflictException,
   117  	"InvalidArgsException":                    newErrorInvalidArgsException,
   118  	"InvalidArnException":                     newErrorInvalidArnException,
   119  	"InvalidDomainValidationOptionsException": newErrorInvalidDomainValidationOptionsException,
   120  	"InvalidParameterException":               newErrorInvalidParameterException,
   121  	"InvalidStateException":                   newErrorInvalidStateException,
   122  	"InvalidTagException":                     newErrorInvalidTagException,
   123  	"LimitExceededException":                  newErrorLimitExceededException,
   124  	"RequestInProgressException":              newErrorRequestInProgressException,
   125  	"ResourceInUseException":                  newErrorResourceInUseException,
   126  	"ResourceNotFoundException":               newErrorResourceNotFoundException,
   127  	"TagPolicyException":                      newErrorTagPolicyException,
   128  	"ThrottlingException":                     newErrorThrottlingException,
   129  	"TooManyTagsException":                    newErrorTooManyTagsException,
   130  	"ValidationException":                     newErrorValidationException,
   131  }