github.com/aavshr/aws-sdk-go@v1.41.3/service/sms/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package sms 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeDryRunOperationException for service response error code 12 // "DryRunOperationException". 13 // 14 // The user has the required permissions, so the request would have succeeded, 15 // but a dry run was performed. 16 ErrCodeDryRunOperationException = "DryRunOperationException" 17 18 // ErrCodeInternalError for service response error code 19 // "InternalError". 20 // 21 // An internal error occurred. 22 ErrCodeInternalError = "InternalError" 23 24 // ErrCodeInvalidParameterException for service response error code 25 // "InvalidParameterException". 26 // 27 // A specified parameter is not valid. 28 ErrCodeInvalidParameterException = "InvalidParameterException" 29 30 // ErrCodeMissingRequiredParameterException for service response error code 31 // "MissingRequiredParameterException". 32 // 33 // A required parameter is missing. 34 ErrCodeMissingRequiredParameterException = "MissingRequiredParameterException" 35 36 // ErrCodeNoConnectorsAvailableException for service response error code 37 // "NoConnectorsAvailableException". 38 // 39 // There are no connectors available. 40 ErrCodeNoConnectorsAvailableException = "NoConnectorsAvailableException" 41 42 // ErrCodeOperationNotPermittedException for service response error code 43 // "OperationNotPermittedException". 44 // 45 // This operation is not allowed. 46 ErrCodeOperationNotPermittedException = "OperationNotPermittedException" 47 48 // ErrCodeReplicationJobAlreadyExistsException for service response error code 49 // "ReplicationJobAlreadyExistsException". 50 // 51 // The specified replication job already exists. 52 ErrCodeReplicationJobAlreadyExistsException = "ReplicationJobAlreadyExistsException" 53 54 // ErrCodeReplicationJobNotFoundException for service response error code 55 // "ReplicationJobNotFoundException". 56 // 57 // The specified replication job does not exist. 58 ErrCodeReplicationJobNotFoundException = "ReplicationJobNotFoundException" 59 60 // ErrCodeReplicationRunLimitExceededException for service response error code 61 // "ReplicationRunLimitExceededException". 62 // 63 // You have exceeded the number of on-demand replication runs you can request 64 // in a 24-hour period. 65 ErrCodeReplicationRunLimitExceededException = "ReplicationRunLimitExceededException" 66 67 // ErrCodeServerCannotBeReplicatedException for service response error code 68 // "ServerCannotBeReplicatedException". 69 // 70 // The specified server cannot be replicated. 71 ErrCodeServerCannotBeReplicatedException = "ServerCannotBeReplicatedException" 72 73 // ErrCodeTemporarilyUnavailableException for service response error code 74 // "TemporarilyUnavailableException". 75 // 76 // The service is temporarily unavailable. 77 ErrCodeTemporarilyUnavailableException = "TemporarilyUnavailableException" 78 79 // ErrCodeUnauthorizedOperationException for service response error code 80 // "UnauthorizedOperationException". 81 // 82 // You lack permissions needed to perform this operation. Check your IAM policies, 83 // and ensure that you are using the correct access keys. 84 ErrCodeUnauthorizedOperationException = "UnauthorizedOperationException" 85 ) 86 87 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 88 "DryRunOperationException": newErrorDryRunOperationException, 89 "InternalError": newErrorInternalError, 90 "InvalidParameterException": newErrorInvalidParameterException, 91 "MissingRequiredParameterException": newErrorMissingRequiredParameterException, 92 "NoConnectorsAvailableException": newErrorNoConnectorsAvailableException, 93 "OperationNotPermittedException": newErrorOperationNotPermittedException, 94 "ReplicationJobAlreadyExistsException": newErrorReplicationJobAlreadyExistsException, 95 "ReplicationJobNotFoundException": newErrorReplicationJobNotFoundException, 96 "ReplicationRunLimitExceededException": newErrorReplicationRunLimitExceededException, 97 "ServerCannotBeReplicatedException": newErrorServerCannotBeReplicatedException, 98 "TemporarilyUnavailableException": newErrorTemporarilyUnavailableException, 99 "UnauthorizedOperationException": newErrorUnauthorizedOperationException, 100 }