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
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package applicationdiscoveryservice
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAuthorizationErrorException for service response error code
// "AuthorizationErrorException".
//
// The Amazon Web Services user account does not have permission to perform
// the action. Check the IAM policy associated with this account.
ErrCodeAuthorizationErrorException = "AuthorizationErrorException"
// ErrCodeConflictErrorException for service response error code
// "ConflictErrorException".
ErrCodeConflictErrorException = "ConflictErrorException"
// ErrCodeHomeRegionNotSetException for service response error code
// "HomeRegionNotSetException".
//
// The home region is not set. Set the home region to continue.
ErrCodeHomeRegionNotSetException = "HomeRegionNotSetException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// One or more parameters are not valid. Verify the parameters and try again.
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeInvalidParameterValueException for service response error code
// "InvalidParameterValueException".
//
// The value of one or more parameters are either invalid or out of range. Verify
// the parameter values and try again.
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
// ErrCodeOperationNotPermittedException for service response error code
// "OperationNotPermittedException".
//
// This operation is not permitted.
ErrCodeOperationNotPermittedException = "OperationNotPermittedException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// This issue occurs when the same clientRequestToken is used with the StartImportTask
// action, but with different parameters. For example, you use the same request
// token but have two different import URLs, you can encounter this issue. If
// the import tasks are meant to be different, use a different clientRequestToken,
// and try again.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The specified configuration ID was not located. Verify the configuration
// ID and try again.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServerInternalErrorException for service response error code
// "ServerInternalErrorException".
//
// The server experienced an internal error. Try again.
ErrCodeServerInternalErrorException = "ServerInternalErrorException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AuthorizationErrorException": newErrorAuthorizationErrorException,
"ConflictErrorException": newErrorConflictErrorException,
"HomeRegionNotSetException": newErrorHomeRegionNotSetException,
"InvalidParameterException": newErrorInvalidParameterException,
"InvalidParameterValueException": newErrorInvalidParameterValueException,
"OperationNotPermittedException": newErrorOperationNotPermittedException,
"ResourceInUseException": newErrorResourceInUseException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ServerInternalErrorException": newErrorServerInternalErrorException,
}
|