module Network.AWS.Glue.Types
(
glue
, _ValidationException
, _AccessDeniedException
, _CrawlerRunningException
, _SchedulerTransitioningException
, _SchedulerRunningException
, _ConcurrentRunsExceededException
, _NoScheduleException
, _OperationTimeoutException
, _CrawlerNotRunningException
, _VersionMismatchException
, _EntityNotFoundException
, _ConcurrentModificationException
, _SchedulerNotRunningException
, _InternalServiceException
, _InvalidInputException
, _ResourceNumberLimitExceededException
, _IdempotentParameterMismatchException
, _CrawlerStoppingException
, _AlreadyExistsException
, ConnectionPropertyKey (..)
, ConnectionType (..)
, CrawlerState (..)
, DeleteBehavior (..)
, JobRunState (..)
, LastCrawlStatus (..)
, Logical (..)
, LogicalOperator (..)
, PrincipalType (..)
, ResourceType (..)
, ScheduleState (..)
, TriggerState (..)
, TriggerType (..)
, UpdateBehavior (..)
, Action
, action
, aArguments
, aJobName
, BatchStopJobRunError
, batchStopJobRunError
, bsjreJobName
, bsjreJobRunId
, bsjreErrorDetail
, BatchStopJobRunSuccessfulSubmission
, batchStopJobRunSuccessfulSubmission
, bsjrssJobName
, bsjrssJobRunId
, CatalogEntry
, catalogEntry
, ceDatabaseName
, ceTableName
, CatalogImportStatus
, catalogImportStatus
, cisImportedBy
, cisImportTime
, cisImportCompleted
, Classifier
, classifier
, cGrokClassifier
, CodeGenEdge
, codeGenEdge
, cgeTargetParameter
, cgeSource
, cgeTarget
, CodeGenNode
, codeGenNode
, cgnLineNumber
, cgnId
, cgnNodeType
, cgnArgs
, CodeGenNodeArg
, codeGenNodeArg
, cgnaParam
, cgnaName
, cgnaValue
, Column
, column
, cType
, cComment
, cName
, Condition
, condition
, cState
, cJobName
, cLogicalOperator
, Connection
, connection
, conCreationTime
, conLastUpdatedBy
, conConnectionProperties
, conLastUpdatedTime
, conMatchCriteria
, conPhysicalConnectionRequirements
, conName
, conDescription
, conConnectionType
, ConnectionInput
, connectionInput
, ciConnectionProperties
, ciMatchCriteria
, ciPhysicalConnectionRequirements
, ciName
, ciDescription
, ciConnectionType
, ConnectionsList
, connectionsList
, clConnections
, Crawler
, crawler
, craCreationTime
, craState
, craSchemaChangePolicy
, craLastUpdated
, craSchedule
, craLastCrawl
, craCrawlElapsedTime
, craClassifiers
, craRole
, craName
, craTargets
, craVersion
, craDatabaseName
, craTablePrefix
, craDescription
, CrawlerMetrics
, crawlerMetrics
, cmLastRuntimeSeconds
, cmTablesCreated
, cmStillEstimating
, cmMedianRuntimeSeconds
, cmTimeLeftSeconds
, cmTablesDeleted
, cmTablesUpdated
, cmCrawlerName
, CrawlerTargets
, crawlerTargets
, ctS3Targets
, ctJdbcTargets
, CreateGrokClassifierRequest
, createGrokClassifierRequest
, cgcrCustomPatterns
, cgcrClassification
, cgcrName
, cgcrGrokPattern
, Database
, database
, dLocationURI
, dParameters
, dDescription
, dCreateTime
, dName
, DatabaseInput
, databaseInput
, diLocationURI
, diParameters
, diDescription
, diName
, DevEndpoint
, devEndpoint
, deStatus
, deFailureReason
, deEndpointName
, deExtraPythonLibsS3Path
, deLastUpdateStatus
, deSecurityGroupIds
, deLastModifiedTimestamp
, deVPCId
, dePublicKey
, deSubnetId
, deNumberOfNodes
, dePublicAddress
, deAvailabilityZone
, deZeppelinRemoteSparkInterpreterPort
, deExtraJARsS3Path
, deCreatedTimestamp
, deYarnEndpointAddress
, deRoleARN
, DevEndpointCustomLibraries
, devEndpointCustomLibraries
, declExtraPythonLibsS3Path
, declExtraJARsS3Path
, ErrorDetail
, errorDetail
, edErrorCode
, edErrorMessage
, ExecutionProperty
, executionProperty
, epMaxConcurrentRuns
, GetConnectionsFilter
, getConnectionsFilter
, gcfMatchCriteria
, gcfConnectionType
, GrokClassifier
, grokClassifier
, gcCreationTime
, gcLastUpdated
, gcVersion
, gcCustomPatterns
, gcName
, gcClassification
, gcGrokPattern
, JdbcTarget
, jdbcTarget
, jtPath
, jtConnectionName
, jtExclusions
, Job
, job
, jCommand
, jLastModifiedOn
, jConnections
, jRole
, jName
, jLogURI
, jMaxRetries
, jExecutionProperty
, jAllocatedCapacity
, jDefaultArguments
, jDescription
, jCreatedOn
, JobBookmarkEntry
, jobBookmarkEntry
, jbeJobName
, jbeRun
, jbeVersion
, jbeAttempt
, jbeJobBookmark
, JobCommand
, jobCommand
, jcScriptLocation
, jcName
, JobRun
, jobRun
, jrCompletedOn
, jrTriggerName
, jrLastModifiedOn
, jrArguments
, jrJobName
, jrStartedOn
, jrJobRunState
, jrPredecessorRuns
, jrPreviousRunId
, jrId
, jrAttempt
, jrAllocatedCapacity
, jrErrorMessage
, JobUpdate
, jobUpdate
, juCommand
, juConnections
, juRole
, juLogURI
, juMaxRetries
, juExecutionProperty
, juAllocatedCapacity
, juDefaultArguments
, juDescription
, LastCrawlInfo
, lastCrawlInfo
, lciStatus
, lciStartTime
, lciLogStream
, lciLogGroup
, lciMessagePrefix
, lciErrorMessage
, Location
, location
, lJdbc
, lS3
, MappingEntry
, mappingEntry
, meTargetTable
, meSourceType
, meSourceTable
, meTargetType
, meTargetPath
, meSourcePath
, Order
, order
, oColumn
, oSortOrder
, Partition
, partition
, pCreationTime
, pValues
, pLastAnalyzedTime
, pStorageDescriptor
, pDatabaseName
, pParameters
, pLastAccessTime
, pTableName
, PartitionError
, partitionError
, pePartitionValues
, peErrorDetail
, PartitionInput
, partitionInput
, piValues
, piLastAnalyzedTime
, piStorageDescriptor
, piParameters
, piLastAccessTime
, PartitionValueList
, partitionValueList
, pvlValues
, PhysicalConnectionRequirements
, physicalConnectionRequirements
, pcrSecurityGroupIdList
, pcrSubnetId
, pcrAvailabilityZone
, Predecessor
, predecessor
, pJobName
, pRunId
, Predicate
, predicate
, pLogical
, pConditions
, ResourceURI
, resourceURI
, ruResourceType
, ruURI
, S3Target
, s3Target
, stPath
, stExclusions
, Schedule
, schedule
, sState
, sScheduleExpression
, SchemaChangePolicy
, schemaChangePolicy
, scpDeleteBehavior
, scpUpdateBehavior
, Segment
, segment
, sSegmentNumber
, sTotalSegments
, SerDeInfo
, serDeInfo
, sdiSerializationLibrary
, sdiName
, sdiParameters
, SkewedInfo
, skewedInfo
, siSkewedColumnValueLocationMaps
, siSkewedColumnValues
, siSkewedColumnNames
, StorageDescriptor
, storageDescriptor
, sdSortColumns
, sdCompressed
, sdLocation
, sdBucketColumns
, sdSerdeInfo
, sdOutputFormat
, sdNumberOfBuckets
, sdStoredAsSubDirectories
, sdParameters
, sdInputFormat
, sdSkewedInfo
, sdColumns
, Table
, table
, tRetention
, tCreatedBy
, tTableType
, tOwner
, tViewOriginalText
, tUpdateTime
, tViewExpandedText
, tLastAnalyzedTime
, tStorageDescriptor
, tDatabaseName
, tParameters
, tLastAccessTime
, tDescription
, tPartitionKeys
, tCreateTime
, tName
, TableError
, tableError
, teTableName
, teErrorDetail
, TableInput
, tableInput
, tiRetention
, tiTableType
, tiOwner
, tiViewOriginalText
, tiViewExpandedText
, tiLastAnalyzedTime
, tiStorageDescriptor
, tiParameters
, tiLastAccessTime
, tiDescription
, tiPartitionKeys
, tiName
, TableVersion
, tableVersion
, tvVersionId
, tvTable
, Trigger
, trigger
, triState
, triActions
, triSchedule
, triPredicate
, triName
, triId
, triType
, triDescription
, TriggerUpdate
, triggerUpdate
, tuActions
, tuSchedule
, tuPredicate
, tuName
, tuDescription
, UpdateGrokClassifierRequest
, updateGrokClassifierRequest
, ugcrClassification
, ugcrCustomPatterns
, ugcrGrokPattern
, ugcrName
, UserDefinedFunction
, userDefinedFunction
, udfOwnerName
, udfResourceURIs
, udfFunctionName
, udfOwnerType
, udfCreateTime
, udfClassName
, UserDefinedFunctionInput
, userDefinedFunctionInput
, udfiOwnerName
, udfiResourceURIs
, udfiFunctionName
, udfiOwnerType
, udfiClassName
) where
import Network.AWS.Glue.Types.Product
import Network.AWS.Glue.Types.Sum
import Network.AWS.Lens
import Network.AWS.Prelude
import Network.AWS.Sign.V4
glue :: Service
glue =
Service
{ _svcAbbrev = "Glue"
, _svcSigner = v4
, _svcPrefix = "glue"
, _svcVersion = "2017-03-31"
, _svcEndpoint = defaultEndpoint glue
, _svcTimeout = Just 70
, _svcCheck = statusSuccess
, _svcError = parseJSONError "Glue"
, _svcRetry = retry
}
where
retry =
Exponential
{ _retryBase = 5.0e-2
, _retryGrowth = 2
, _retryAttempts = 5
, _retryCheck = check
}
check e
| has (hasCode "ThrottledException" . hasStatus 400) e =
Just "throttled_exception"
| has (hasStatus 429) e = Just "too_many_requests"
| has (hasCode "ThrottlingException" . hasStatus 400) e =
Just "throttling_exception"
| has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
| has (hasStatus 504) e = Just "gateway_timeout"
| has (hasStatus 502) e = Just "bad_gateway"
| has (hasStatus 503) e = Just "service_unavailable"
| has (hasStatus 500) e = Just "general_server_error"
| has (hasStatus 509) e = Just "limit_exceeded"
| otherwise = Nothing
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
_ValidationException = _MatchServiceError glue "ValidationException"
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
_AccessDeniedException = _MatchServiceError glue "AccessDeniedException"
_CrawlerRunningException :: AsError a => Getting (First ServiceError) a ServiceError
_CrawlerRunningException = _MatchServiceError glue "CrawlerRunningException"
_SchedulerTransitioningException :: AsError a => Getting (First ServiceError) a ServiceError
_SchedulerTransitioningException =
_MatchServiceError glue "SchedulerTransitioningException"
_SchedulerRunningException :: AsError a => Getting (First ServiceError) a ServiceError
_SchedulerRunningException = _MatchServiceError glue "SchedulerRunningException"
_ConcurrentRunsExceededException :: AsError a => Getting (First ServiceError) a ServiceError
_ConcurrentRunsExceededException =
_MatchServiceError glue "ConcurrentRunsExceededException"
_NoScheduleException :: AsError a => Getting (First ServiceError) a ServiceError
_NoScheduleException = _MatchServiceError glue "NoScheduleException"
_OperationTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError
_OperationTimeoutException = _MatchServiceError glue "OperationTimeoutException"
_CrawlerNotRunningException :: AsError a => Getting (First ServiceError) a ServiceError
_CrawlerNotRunningException =
_MatchServiceError glue "CrawlerNotRunningException"
_VersionMismatchException :: AsError a => Getting (First ServiceError) a ServiceError
_VersionMismatchException = _MatchServiceError glue "VersionMismatchException"
_EntityNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
_EntityNotFoundException = _MatchServiceError glue "EntityNotFoundException"
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
_ConcurrentModificationException =
_MatchServiceError glue "ConcurrentModificationException"
_SchedulerNotRunningException :: AsError a => Getting (First ServiceError) a ServiceError
_SchedulerNotRunningException =
_MatchServiceError glue "SchedulerNotRunningException"
_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
_InternalServiceException = _MatchServiceError glue "InternalServiceException"
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidInputException = _MatchServiceError glue "InvalidInputException"
_ResourceNumberLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
_ResourceNumberLimitExceededException =
_MatchServiceError glue "ResourceNumberLimitExceededException"
_IdempotentParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError
_IdempotentParameterMismatchException =
_MatchServiceError glue "IdempotentParameterMismatchException"
_CrawlerStoppingException :: AsError a => Getting (First ServiceError) a ServiceError
_CrawlerStoppingException = _MatchServiceError glue "CrawlerStoppingException"
_AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
_AlreadyExistsException = _MatchServiceError glue "AlreadyExistsException"