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
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package securityhub
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You don't have permission to perform the action specified in the request.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeInternalException for service response error code
// "InternalException".
//
// Internal server error.
ErrCodeInternalException = "InternalException"
// ErrCodeInvalidAccessException for service response error code
// "InvalidAccessException".
//
// The account doesn't have permission to perform this action.
ErrCodeInvalidAccessException = "InvalidAccessException"
// ErrCodeInvalidInputException for service response error code
// "InvalidInputException".
//
// The request was rejected because you supplied an invalid or out-of-range
// value for an input parameter.
ErrCodeInvalidInputException = "InvalidInputException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The request was rejected because it attempted to create resources beyond
// the current Amazon Web Services account or throttling limits. The error code
// describes the limit exceeded.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeResourceConflictException for service response error code
// "ResourceConflictException".
//
// The resource specified in the request conflicts with an existing resource.
ErrCodeResourceConflictException = "ResourceConflictException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The request was rejected because it conflicts with the resource's availability.
// For example, you tried to update a security control that's currently in the
// UPDATING state.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The request was rejected because we can't find the specified resource.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AccessDeniedException": newErrorAccessDeniedException,
"InternalException": newErrorInternalException,
"InvalidAccessException": newErrorInvalidAccessException,
"InvalidInputException": newErrorInvalidInputException,
"LimitExceededException": newErrorLimitExceededException,
"ResourceConflictException": newErrorResourceConflictException,
"ResourceInUseException": newErrorResourceInUseException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
}
|