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
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package servicecatalog
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeDuplicateResourceException for service response error code
// "DuplicateResourceException".
//
// The specified resource is a duplicate.
ErrCodeDuplicateResourceException = "DuplicateResourceException"
// ErrCodeInvalidParametersException for service response error code
// "InvalidParametersException".
//
// One or more parameters provided to the operation are not valid.
ErrCodeInvalidParametersException = "InvalidParametersException"
// ErrCodeInvalidStateException for service response error code
// "InvalidStateException".
//
// An attempt was made to modify a resource that is in a state that is not valid.
// Check your resources to ensure that they are in valid states before retrying
// the operation.
ErrCodeInvalidStateException = "InvalidStateException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The current limits of the service would have been exceeded by this operation.
// Decrease your resource use or increase your service limits and retry the
// operation.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeOperationNotSupportedException for service response error code
// "OperationNotSupportedException".
//
// The operation is not supported.
ErrCodeOperationNotSupportedException = "OperationNotSupportedException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// A resource that is currently in use. Ensure that the resource is not in use
// and retry the operation.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The specified resource was not found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeTagOptionNotMigratedException for service response error code
// "TagOptionNotMigratedException".
//
// An operation requiring TagOptions failed because the TagOptions migration
// process has not been performed for this account. Please use the AWS console
// to perform the migration process before retrying the operation.
ErrCodeTagOptionNotMigratedException = "TagOptionNotMigratedException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"DuplicateResourceException": newErrorDuplicateResourceException,
"InvalidParametersException": newErrorInvalidParametersException,
"InvalidStateException": newErrorInvalidStateException,
"LimitExceededException": newErrorLimitExceededException,
"OperationNotSupportedException": newErrorOperationNotSupportedException,
"ResourceInUseException": newErrorResourceInUseException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"TagOptionNotMigratedException": newErrorTagOptionNotMigratedException,
}
|