1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package ram
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeIdempotentParameterMismatchException for service response error code
// "IdempotentParameterMismatchException".
//
// The client token input parameter was matched one used with a previous call
// to the operation, but at least one of the other input parameters is different
// from the previous call.
ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException"
// ErrCodeInvalidClientTokenException for service response error code
// "InvalidClientTokenException".
//
// The client token is not valid.
ErrCodeInvalidClientTokenException = "InvalidClientTokenException"
// ErrCodeInvalidMaxResultsException for service response error code
// "InvalidMaxResultsException".
//
// The specified value for MaxResults is not valid.
ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// The specified value for NextToken is not valid.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// A parameter is not valid.
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeInvalidResourceTypeException for service response error code
// "InvalidResourceTypeException".
//
// The specified resource type is not valid.
ErrCodeInvalidResourceTypeException = "InvalidResourceTypeException"
// ErrCodeInvalidStateTransitionException for service response error code
// "InvalidStateTransitionException".
//
// The requested state transition is not valid.
ErrCodeInvalidStateTransitionException = "InvalidStateTransitionException"
// ErrCodeMalformedArnException for service response error code
// "MalformedArnException".
//
// The format of an Amazon Resource Name (ARN) is not valid.
ErrCodeMalformedArnException = "MalformedArnException"
// ErrCodeMissingRequiredParameterException for service response error code
// "MissingRequiredParameterException".
//
// A required input parameter is missing.
ErrCodeMissingRequiredParameterException = "MissingRequiredParameterException"
// ErrCodeOperationNotPermittedException for service response error code
// "OperationNotPermittedException".
//
// The requested operation is not permitted.
ErrCodeOperationNotPermittedException = "OperationNotPermittedException"
// ErrCodeResourceArnNotFoundException for service response error code
// "ResourceArnNotFoundException".
//
// The specified Amazon Resource Name (ARN) was not found.
ErrCodeResourceArnNotFoundException = "ResourceArnNotFoundException"
// ErrCodeResourceShareInvitationAlreadyAcceptedException for service response error code
// "ResourceShareInvitationAlreadyAcceptedException".
//
// The specified invitation was already accepted.
ErrCodeResourceShareInvitationAlreadyAcceptedException = "ResourceShareInvitationAlreadyAcceptedException"
// ErrCodeResourceShareInvitationAlreadyRejectedException for service response error code
// "ResourceShareInvitationAlreadyRejectedException".
//
// The specified invitation was already rejected.
ErrCodeResourceShareInvitationAlreadyRejectedException = "ResourceShareInvitationAlreadyRejectedException"
// ErrCodeResourceShareInvitationArnNotFoundException for service response error code
// "ResourceShareInvitationArnNotFoundException".
//
// The specified Amazon Resource Name (ARN) for an invitation was not found.
ErrCodeResourceShareInvitationArnNotFoundException = "ResourceShareInvitationArnNotFoundException"
// ErrCodeResourceShareInvitationExpiredException for service response error code
// "ResourceShareInvitationExpiredException".
//
// The specified invitation is expired.
ErrCodeResourceShareInvitationExpiredException = "ResourceShareInvitationExpiredException"
// ErrCodeResourceShareLimitExceededException for service response error code
// "ResourceShareLimitExceededException".
//
// This request would exceed the limit for resource shares for your account.
ErrCodeResourceShareLimitExceededException = "ResourceShareLimitExceededException"
// ErrCodeServerInternalException for service response error code
// "ServerInternalException".
//
// The service could not respond to the request due to an internal problem.
ErrCodeServerInternalException = "ServerInternalException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// The service is not available.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
// ErrCodeTagLimitExceededException for service response error code
// "TagLimitExceededException".
//
// This request would exceed the limit for tags for your account.
ErrCodeTagLimitExceededException = "TagLimitExceededException"
// ErrCodeTagPolicyViolationException for service response error code
// "TagPolicyViolationException".
//
// The specified tag key is a reserved word and can't be used.
ErrCodeTagPolicyViolationException = "TagPolicyViolationException"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
// You exceeded the rate at which you are allowed to perform this operation.
// Please try again later.
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeUnknownResourceException for service response error code
// "UnknownResourceException".
//
// A specified resource was not found.
ErrCodeUnknownResourceException = "UnknownResourceException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"IdempotentParameterMismatchException": newErrorIdempotentParameterMismatchException,
"InvalidClientTokenException": newErrorInvalidClientTokenException,
"InvalidMaxResultsException": newErrorInvalidMaxResultsException,
"InvalidNextTokenException": newErrorInvalidNextTokenException,
"InvalidParameterException": newErrorInvalidParameterException,
"InvalidResourceTypeException": newErrorInvalidResourceTypeException,
"InvalidStateTransitionException": newErrorInvalidStateTransitionException,
"MalformedArnException": newErrorMalformedArnException,
"MissingRequiredParameterException": newErrorMissingRequiredParameterException,
"OperationNotPermittedException": newErrorOperationNotPermittedException,
"ResourceArnNotFoundException": newErrorResourceArnNotFoundException,
"ResourceShareInvitationAlreadyAcceptedException": newErrorResourceShareInvitationAlreadyAcceptedException,
"ResourceShareInvitationAlreadyRejectedException": newErrorResourceShareInvitationAlreadyRejectedException,
"ResourceShareInvitationArnNotFoundException": newErrorResourceShareInvitationArnNotFoundException,
"ResourceShareInvitationExpiredException": newErrorResourceShareInvitationExpiredException,
"ResourceShareLimitExceededException": newErrorResourceShareLimitExceededException,
"ServerInternalException": newErrorServerInternalException,
"ServiceUnavailableException": newErrorServiceUnavailableException,
"TagLimitExceededException": newErrorTagLimitExceededException,
"TagPolicyViolationException": newErrorTagPolicyViolationException,
"ThrottlingException": newErrorThrottlingException,
"UnknownResourceException": newErrorUnknownResourceException,
}
|