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 109 110 111 112 113 114
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package kinesisanalyticsv2
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeCodeValidationException for service response error code
// "CodeValidationException".
//
// The user-provided application code (query) is not valid. This can be a simple
// syntax error.
ErrCodeCodeValidationException = "CodeValidationException"
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
// Exception thrown as a result of concurrent modifications to an application.
// This error can be the result of attempting to modify an application without
// using the current application ID.
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
// ErrCodeInvalidApplicationConfigurationException for service response error code
// "InvalidApplicationConfigurationException".
//
// The user-provided application configuration is not valid.
ErrCodeInvalidApplicationConfigurationException = "InvalidApplicationConfigurationException"
// ErrCodeInvalidArgumentException for service response error code
// "InvalidArgumentException".
//
// The specified input parameter value is not valid.
ErrCodeInvalidArgumentException = "InvalidArgumentException"
// ErrCodeInvalidRequestException for service response error code
// "InvalidRequestException".
//
// The request JSON is not valid for the operation.
ErrCodeInvalidRequestException = "InvalidRequestException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The number of allowed resources has been exceeded.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The application is not available for this operation.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// Specified application can't be found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeResourceProvisionedThroughputExceededException for service response error code
// "ResourceProvisionedThroughputExceededException".
//
// Discovery failed to get a record from the streaming source because of the
// Kinesis Streams ProvisionedThroughputExceededException. For more information,
// see GetRecords (http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html)
// in the Amazon Kinesis Streams API Reference.
ErrCodeResourceProvisionedThroughputExceededException = "ResourceProvisionedThroughputExceededException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// The service cannot complete the request.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
// ErrCodeTooManyTagsException for service response error code
// "TooManyTagsException".
//
// Application created with too many tags, or too many tags added to an application.
// Note that the maximum number of application tags includes system tags. The
// maximum number of user-defined application tags is 50.
ErrCodeTooManyTagsException = "TooManyTagsException"
// ErrCodeUnableToDetectSchemaException for service response error code
// "UnableToDetectSchemaException".
//
// The data format is not valid. Kinesis Data Analytics cannot detect the schema
// for the given streaming source.
ErrCodeUnableToDetectSchemaException = "UnableToDetectSchemaException"
// ErrCodeUnsupportedOperationException for service response error code
// "UnsupportedOperationException".
//
// The request was rejected because a specified parameter is not supported or
// a specified resource is not valid for this operation.
ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"CodeValidationException": newErrorCodeValidationException,
"ConcurrentModificationException": newErrorConcurrentModificationException,
"InvalidApplicationConfigurationException": newErrorInvalidApplicationConfigurationException,
"InvalidArgumentException": newErrorInvalidArgumentException,
"InvalidRequestException": newErrorInvalidRequestException,
"LimitExceededException": newErrorLimitExceededException,
"ResourceInUseException": newErrorResourceInUseException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ResourceProvisionedThroughputExceededException": newErrorResourceProvisionedThroughputExceededException,
"ServiceUnavailableException": newErrorServiceUnavailableException,
"TooManyTagsException": newErrorTooManyTagsException,
"UnableToDetectSchemaException": newErrorUnableToDetectSchemaException,
"UnsupportedOperationException": newErrorUnsupportedOperationException,
}
|