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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package networkfirewall
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeInsufficientCapacityException for service response error code
// "InsufficientCapacityException".
//
// Amazon Web Services doesn't currently have enough available capacity to fulfill
// your request. Try your request later.
ErrCodeInsufficientCapacityException = "InsufficientCapacityException"
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// Your request is valid, but Network Firewall couldn’t perform the operation
// because of a system problem. Retry your request.
ErrCodeInternalServerError = "InternalServerError"
// ErrCodeInvalidOperationException for service response error code
// "InvalidOperationException".
//
// The operation failed because it's not valid. For example, you might have
// tried to delete a rule group or firewall policy that's in use.
ErrCodeInvalidOperationException = "InvalidOperationException"
// ErrCodeInvalidRequestException for service response error code
// "InvalidRequestException".
//
// The operation failed because of a problem with your request. Examples include:
//
// * You specified an unsupported parameter name or value.
//
// * You tried to update a property with a value that isn't among the available
// types.
//
// * Your request references an ARN that is malformed, or corresponds to
// a resource that isn't valid in the context of the request.
ErrCodeInvalidRequestException = "InvalidRequestException"
// ErrCodeInvalidResourcePolicyException for service response error code
// "InvalidResourcePolicyException".
//
// The policy statement failed validation.
ErrCodeInvalidResourcePolicyException = "InvalidResourcePolicyException"
// ErrCodeInvalidTokenException for service response error code
// "InvalidTokenException".
//
// The token you provided is stale or isn't valid for the operation.
ErrCodeInvalidTokenException = "InvalidTokenException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// Unable to perform the operation because doing so would violate a limit setting.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeLogDestinationPermissionException for service response error code
// "LogDestinationPermissionException".
//
// Unable to send logs to a configured logging destination.
ErrCodeLogDestinationPermissionException = "LogDestinationPermissionException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// Unable to locate a resource using the parameters that you provided.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeResourceOwnerCheckException for service response error code
// "ResourceOwnerCheckException".
//
// Unable to change the resource because your account doesn't own it.
ErrCodeResourceOwnerCheckException = "ResourceOwnerCheckException"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
// Unable to process the request due to throttling limitations.
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeUnsupportedOperationException for service response error code
// "UnsupportedOperationException".
//
// The operation you requested isn't supported by Network Firewall.
ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"InsufficientCapacityException": newErrorInsufficientCapacityException,
"InternalServerError": newErrorInternalServerError,
"InvalidOperationException": newErrorInvalidOperationException,
"InvalidRequestException": newErrorInvalidRequestException,
"InvalidResourcePolicyException": newErrorInvalidResourcePolicyException,
"InvalidTokenException": newErrorInvalidTokenException,
"LimitExceededException": newErrorLimitExceededException,
"LogDestinationPermissionException": newErrorLogDestinationPermissionException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ResourceOwnerCheckException": newErrorResourceOwnerCheckException,
"ThrottlingException": newErrorThrottlingException,
"UnsupportedOperationException": newErrorUnsupportedOperationException,
}
|