File: //opt/go/pkg/mod/github.com/aws/
[email protected]/service/globalaccelerator/errors.go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package globalaccelerator
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAcceleratorNotDisabledException for service response error code
// "AcceleratorNotDisabledException".
//
// The accelerator that you specified could not be disabled.
ErrCodeAcceleratorNotDisabledException = "AcceleratorNotDisabledException"
// ErrCodeAcceleratorNotFoundException for service response error code
// "AcceleratorNotFoundException".
//
// The accelerator that you specified doesn't exist.
ErrCodeAcceleratorNotFoundException = "AcceleratorNotFoundException"
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You don't have access permission.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeAssociatedEndpointGroupFoundException for service response error code
// "AssociatedEndpointGroupFoundException".
//
// The listener that you specified has an endpoint group associated with it.
// You must remove all dependent resources from a listener before you can delete
// it.
ErrCodeAssociatedEndpointGroupFoundException = "AssociatedEndpointGroupFoundException"
// ErrCodeAssociatedListenerFoundException for service response error code
// "AssociatedListenerFoundException".
//
// The accelerator that you specified has a listener associated with it. You
// must remove all dependent resources from an accelerator before you can delete
// it.
ErrCodeAssociatedListenerFoundException = "AssociatedListenerFoundException"
// ErrCodeAttachmentNotFoundException for service response error code
// "AttachmentNotFoundException".
//
// No cross-account attachment was found.
ErrCodeAttachmentNotFoundException = "AttachmentNotFoundException"
// ErrCodeByoipCidrNotFoundException for service response error code
// "ByoipCidrNotFoundException".
//
// The CIDR that you specified was not found or is incorrect.
ErrCodeByoipCidrNotFoundException = "ByoipCidrNotFoundException"
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// You can't use both of those options.
ErrCodeConflictException = "ConflictException"
// ErrCodeEndpointAlreadyExistsException for service response error code
// "EndpointAlreadyExistsException".
//
// The endpoint that you specified doesn't exist.
ErrCodeEndpointAlreadyExistsException = "EndpointAlreadyExistsException"
// ErrCodeEndpointGroupAlreadyExistsException for service response error code
// "EndpointGroupAlreadyExistsException".
//
// The endpoint group that you specified already exists.
ErrCodeEndpointGroupAlreadyExistsException = "EndpointGroupAlreadyExistsException"
// ErrCodeEndpointGroupNotFoundException for service response error code
// "EndpointGroupNotFoundException".
//
// The endpoint group that you specified doesn't exist.
ErrCodeEndpointGroupNotFoundException = "EndpointGroupNotFoundException"
// ErrCodeEndpointNotFoundException for service response error code
// "EndpointNotFoundException".
//
// The endpoint that you specified doesn't exist.
ErrCodeEndpointNotFoundException = "EndpointNotFoundException"
// ErrCodeIncorrectCidrStateException for service response error code
// "IncorrectCidrStateException".
//
// The CIDR that you specified is not valid for this action. For example, the
// state of the CIDR might be incorrect for this action.
ErrCodeIncorrectCidrStateException = "IncorrectCidrStateException"
// ErrCodeInternalServiceErrorException for service response error code
// "InternalServiceErrorException".
//
// There was an internal error for Global Accelerator.
ErrCodeInternalServiceErrorException = "InternalServiceErrorException"
// ErrCodeInvalidArgumentException for service response error code
// "InvalidArgumentException".
//
// An argument that you specified is invalid.
ErrCodeInvalidArgumentException = "InvalidArgumentException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// There isn't another item to return.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidPortRangeException for service response error code
// "InvalidPortRangeException".
//
// The port numbers that you specified are not valid numbers or are not unique
// for this accelerator.
ErrCodeInvalidPortRangeException = "InvalidPortRangeException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// Processing your request would cause you to exceed an Global Accelerator limit.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeListenerNotFoundException for service response error code
// "ListenerNotFoundException".
//
// The listener that you specified doesn't exist.
ErrCodeListenerNotFoundException = "ListenerNotFoundException"
// ErrCodeTransactionInProgressException for service response error code
// "TransactionInProgressException".
//
// There's already a transaction in progress. Another transaction can't be processed.
ErrCodeTransactionInProgressException = "TransactionInProgressException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AcceleratorNotDisabledException": newErrorAcceleratorNotDisabledException,
"AcceleratorNotFoundException": newErrorAcceleratorNotFoundException,
"AccessDeniedException": newErrorAccessDeniedException,
"AssociatedEndpointGroupFoundException": newErrorAssociatedEndpointGroupFoundException,
"AssociatedListenerFoundException": newErrorAssociatedListenerFoundException,
"AttachmentNotFoundException": newErrorAttachmentNotFoundException,
"ByoipCidrNotFoundException": newErrorByoipCidrNotFoundException,
"ConflictException": newErrorConflictException,
"EndpointAlreadyExistsException": newErrorEndpointAlreadyExistsException,
"EndpointGroupAlreadyExistsException": newErrorEndpointGroupAlreadyExistsException,
"EndpointGroupNotFoundException": newErrorEndpointGroupNotFoundException,
"EndpointNotFoundException": newErrorEndpointNotFoundException,
"IncorrectCidrStateException": newErrorIncorrectCidrStateException,
"InternalServiceErrorException": newErrorInternalServiceErrorException,
"InvalidArgumentException": newErrorInvalidArgumentException,
"InvalidNextTokenException": newErrorInvalidNextTokenException,
"InvalidPortRangeException": newErrorInvalidPortRangeException,
"LimitExceededException": newErrorLimitExceededException,
"ListenerNotFoundException": newErrorListenerNotFoundException,
"TransactionInProgressException": newErrorTransactionInProgressException,
}