// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package servicequotas

import (
	"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol"
)

const (

	// ErrCodeAWSServiceAccessNotEnabledException for service response error code
	// "AWSServiceAccessNotEnabledException".
	//
	// The action you attempted is not allowed unless Service Access with Service
	// Quotas is enabled in your organization.
	ErrCodeAWSServiceAccessNotEnabledException = "AWSServiceAccessNotEnabledException"

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient permission to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeDependencyAccessDeniedException for service response error code
	// "DependencyAccessDeniedException".
	//
	// You can't perform this action because a dependency does not have access.
	ErrCodeDependencyAccessDeniedException = "DependencyAccessDeniedException"

	// ErrCodeIllegalArgumentException for service response error code
	// "IllegalArgumentException".
	//
	// Invalid input was provided.
	ErrCodeIllegalArgumentException = "IllegalArgumentException"

	// ErrCodeInvalidPaginationTokenException for service response error code
	// "InvalidPaginationTokenException".
	//
	// Invalid input was provided.
	ErrCodeInvalidPaginationTokenException = "InvalidPaginationTokenException"

	// ErrCodeInvalidResourceStateException for service response error code
	// "InvalidResourceStateException".
	//
	// The resource is in an invalid state.
	ErrCodeInvalidResourceStateException = "InvalidResourceStateException"

	// ErrCodeNoAvailableOrganizationException for service response error code
	// "NoAvailableOrganizationException".
	//
	// The Amazon Web Services account making this call is not a member of an organization.
	ErrCodeNoAvailableOrganizationException = "NoAvailableOrganizationException"

	// ErrCodeNoSuchResourceException for service response error code
	// "NoSuchResourceException".
	//
	// The specified resource does not exist.
	ErrCodeNoSuchResourceException = "NoSuchResourceException"

	// ErrCodeOrganizationNotInAllFeaturesModeException for service response error code
	// "OrganizationNotInAllFeaturesModeException".
	//
	// The organization that your Amazon Web Services account belongs to is not
	// in All Features mode.
	ErrCodeOrganizationNotInAllFeaturesModeException = "OrganizationNotInAllFeaturesModeException"

	// ErrCodeQuotaExceededException for service response error code
	// "QuotaExceededException".
	//
	// You have exceeded your service quota. To perform the requested action, remove
	// some of the relevant resources, or use Service Quotas to request a service
	// quota increase.
	ErrCodeQuotaExceededException = "QuotaExceededException"

	// ErrCodeResourceAlreadyExistsException for service response error code
	// "ResourceAlreadyExistsException".
	//
	// The specified resource already exists.
	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

	// ErrCodeServiceException for service response error code
	// "ServiceException".
	//
	// Something went wrong.
	ErrCodeServiceException = "ServiceException"

	// ErrCodeServiceQuotaTemplateNotInUseException for service response error code
	// "ServiceQuotaTemplateNotInUseException".
	//
	// The quota request template is not associated with your organization.
	ErrCodeServiceQuotaTemplateNotInUseException = "ServiceQuotaTemplateNotInUseException"

	// ErrCodeTagPolicyViolationException for service response error code
	// "TagPolicyViolationException".
	//
	// The specified tag is a reserved word and cannot be used.
	ErrCodeTagPolicyViolationException = "TagPolicyViolationException"

	// ErrCodeTemplatesNotAvailableInRegionException for service response error code
	// "TemplatesNotAvailableInRegionException".
	//
	// The Service Quotas template is not available in this Amazon Web Services
	// Region.
	ErrCodeTemplatesNotAvailableInRegionException = "TemplatesNotAvailableInRegionException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// Due to throttling, the request was denied. Slow down the rate of request
	// calls, or request an increase for this quota.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// You've exceeded the number of tags allowed for a resource. For more information,
	// see Tag restrictions (https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions)
	// in the Service Quotas User Guide.
	ErrCodeTooManyTagsException = "TooManyTagsException"
)

var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
	"AWSServiceAccessNotEnabledException":       newErrorAWSServiceAccessNotEnabledException,
	"AccessDeniedException":                     newErrorAccessDeniedException,
	"DependencyAccessDeniedException":           newErrorDependencyAccessDeniedException,
	"IllegalArgumentException":                  newErrorIllegalArgumentException,
	"InvalidPaginationTokenException":           newErrorInvalidPaginationTokenException,
	"InvalidResourceStateException":             newErrorInvalidResourceStateException,
	"NoAvailableOrganizationException":          newErrorNoAvailableOrganizationException,
	"NoSuchResourceException":                   newErrorNoSuchResourceException,
	"OrganizationNotInAllFeaturesModeException": newErrorOrganizationNotInAllFeaturesModeException,
	"QuotaExceededException":                    newErrorQuotaExceededException,
	"ResourceAlreadyExistsException":            newErrorResourceAlreadyExistsException,
	"ServiceException":                          newErrorServiceException,
	"ServiceQuotaTemplateNotInUseException":     newErrorServiceQuotaTemplateNotInUseException,
	"TagPolicyViolationException":               newErrorTagPolicyViolationException,
	"TemplatesNotAvailableInRegionException":    newErrorTemplatesNotAvailableInRegionException,
	"TooManyRequestsException":                  newErrorTooManyRequestsException,
	"TooManyTagsException":                      newErrorTooManyTagsException,
}
