{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.IotTwinMaker.Types
(
defaultService,
_AccessDeniedException,
_ConflictException,
_ConnectorFailureException,
_ConnectorTimeoutException,
_InternalServerException,
_QueryTimeoutException,
_ResourceNotFoundException,
_ServiceQuotaExceededException,
_ThrottlingException,
_TooManyTagsException,
_ValidationException,
ColumnType (..),
ComponentUpdateType (..),
ErrorCode (..),
GroupType (..),
InterpolationType (..),
Order (..),
OrderByTime (..),
ParentEntityUpdateType (..),
PricingMode (..),
PricingTier (..),
PropertyGroupUpdateType (..),
PropertyUpdateType (..),
Scope (..),
State (..),
SyncJobState (..),
SyncResourceState (..),
SyncResourceType (..),
Type (..),
UpdateReason (..),
BatchPutPropertyError (..),
newBatchPutPropertyError,
batchPutPropertyError_errorCode,
batchPutPropertyError_errorMessage,
batchPutPropertyError_entry,
BatchPutPropertyErrorEntry (..),
newBatchPutPropertyErrorEntry,
batchPutPropertyErrorEntry_errors,
BundleInformation (..),
newBundleInformation,
bundleInformation_pricingTier,
bundleInformation_bundleNames,
ColumnDescription (..),
newColumnDescription,
columnDescription_name,
columnDescription_type,
ComponentPropertyGroupRequest (..),
newComponentPropertyGroupRequest,
componentPropertyGroupRequest_groupType,
componentPropertyGroupRequest_propertyNames,
componentPropertyGroupRequest_updateType,
ComponentPropertyGroupResponse (..),
newComponentPropertyGroupResponse,
componentPropertyGroupResponse_groupType,
componentPropertyGroupResponse_propertyNames,
componentPropertyGroupResponse_isInherited,
ComponentRequest (..),
newComponentRequest,
componentRequest_componentTypeId,
componentRequest_description,
componentRequest_properties,
componentRequest_propertyGroups,
ComponentResponse (..),
newComponentResponse,
componentResponse_componentName,
componentResponse_componentTypeId,
componentResponse_definedIn,
componentResponse_description,
componentResponse_properties,
componentResponse_propertyGroups,
componentResponse_status,
componentResponse_syncSource,
ComponentTypeSummary (..),
newComponentTypeSummary,
componentTypeSummary_componentTypeName,
componentTypeSummary_description,
componentTypeSummary_status,
componentTypeSummary_arn,
componentTypeSummary_componentTypeId,
componentTypeSummary_creationDateTime,
componentTypeSummary_updateDateTime,
ComponentUpdateRequest (..),
newComponentUpdateRequest,
componentUpdateRequest_componentTypeId,
componentUpdateRequest_description,
componentUpdateRequest_propertyGroupUpdates,
componentUpdateRequest_propertyUpdates,
componentUpdateRequest_updateType,
DataConnector (..),
newDataConnector,
dataConnector_isNative,
dataConnector_lambda,
DataType (..),
newDataType,
dataType_allowedValues,
dataType_nestedType,
dataType_relationship,
dataType_unitOfMeasure,
dataType_type,
DataValue (..),
newDataValue,
dataValue_booleanValue,
dataValue_doubleValue,
dataValue_expression,
dataValue_integerValue,
dataValue_listValue,
dataValue_longValue,
dataValue_mapValue,
dataValue_relationshipValue,
dataValue_stringValue,
EntityPropertyReference (..),
newEntityPropertyReference,
entityPropertyReference_componentName,
entityPropertyReference_entityId,
entityPropertyReference_externalIdProperty,
entityPropertyReference_propertyName,
EntitySummary (..),
newEntitySummary,
entitySummary_description,
entitySummary_hasChildEntities,
entitySummary_parentEntityId,
entitySummary_entityId,
entitySummary_entityName,
entitySummary_arn,
entitySummary_status,
entitySummary_creationDateTime,
entitySummary_updateDateTime,
ErrorDetails (..),
newErrorDetails,
errorDetails_code,
errorDetails_message,
FunctionRequest (..),
newFunctionRequest,
functionRequest_implementedBy,
functionRequest_requiredProperties,
functionRequest_scope,
FunctionResponse (..),
newFunctionResponse,
functionResponse_implementedBy,
functionResponse_isInherited,
functionResponse_requiredProperties,
functionResponse_scope,
InterpolationParameters (..),
newInterpolationParameters,
interpolationParameters_interpolationType,
interpolationParameters_intervalInSeconds,
LambdaFunction (..),
newLambdaFunction,
lambdaFunction_arn,
ListComponentTypesFilter (..),
newListComponentTypesFilter,
listComponentTypesFilter_extendsFrom,
listComponentTypesFilter_isAbstract,
listComponentTypesFilter_namespace,
ListEntitiesFilter (..),
newListEntitiesFilter,
listEntitiesFilter_componentTypeId,
listEntitiesFilter_externalId,
listEntitiesFilter_parentEntityId,
OrderBy (..),
newOrderBy,
orderBy_order,
orderBy_propertyName,
ParentEntityUpdateRequest (..),
newParentEntityUpdateRequest,
parentEntityUpdateRequest_parentEntityId,
parentEntityUpdateRequest_updateType,
PricingPlan (..),
newPricingPlan,
pricingPlan_billableEntityCount,
pricingPlan_bundleInformation,
pricingPlan_effectiveDateTime,
pricingPlan_pricingMode,
pricingPlan_updateDateTime,
pricingPlan_updateReason,
PropertyDefinitionRequest (..),
newPropertyDefinitionRequest,
propertyDefinitionRequest_configuration,
propertyDefinitionRequest_dataType,
propertyDefinitionRequest_defaultValue,
propertyDefinitionRequest_displayName,
propertyDefinitionRequest_isExternalId,
propertyDefinitionRequest_isRequiredInEntity,
propertyDefinitionRequest_isStoredExternally,
propertyDefinitionRequest_isTimeSeries,
PropertyDefinitionResponse (..),
newPropertyDefinitionResponse,
propertyDefinitionResponse_configuration,
propertyDefinitionResponse_defaultValue,
propertyDefinitionResponse_displayName,
propertyDefinitionResponse_dataType,
propertyDefinitionResponse_isTimeSeries,
propertyDefinitionResponse_isRequiredInEntity,
propertyDefinitionResponse_isExternalId,
propertyDefinitionResponse_isStoredExternally,
propertyDefinitionResponse_isImported,
propertyDefinitionResponse_isFinal,
propertyDefinitionResponse_isInherited,
PropertyFilter (..),
newPropertyFilter,
propertyFilter_operator,
propertyFilter_propertyName,
propertyFilter_value,
PropertyGroupRequest (..),
newPropertyGroupRequest,
propertyGroupRequest_groupType,
propertyGroupRequest_propertyNames,
PropertyGroupResponse (..),
newPropertyGroupResponse,
propertyGroupResponse_groupType,
propertyGroupResponse_propertyNames,
propertyGroupResponse_isInherited,
PropertyLatestValue (..),
newPropertyLatestValue,
propertyLatestValue_propertyValue,
propertyLatestValue_propertyReference,
PropertyRequest (..),
newPropertyRequest,
propertyRequest_definition,
propertyRequest_updateType,
propertyRequest_value,
PropertyResponse (..),
newPropertyResponse,
propertyResponse_definition,
propertyResponse_value,
PropertyValue (..),
newPropertyValue,
propertyValue_time,
propertyValue_timestamp,
propertyValue_value,
PropertyValueEntry (..),
newPropertyValueEntry,
propertyValueEntry_propertyValues,
propertyValueEntry_entityPropertyReference,
PropertyValueHistory (..),
newPropertyValueHistory,
propertyValueHistory_values,
propertyValueHistory_entityPropertyReference,
QueryResultValue (..),
newQueryResultValue,
Relationship (..),
newRelationship,
relationship_relationshipType,
relationship_targetComponentTypeId,
RelationshipValue (..),
newRelationshipValue,
relationshipValue_targetComponentName,
relationshipValue_targetEntityId,
Row (..),
newRow,
row_rowData,
SceneSummary (..),
newSceneSummary,
sceneSummary_description,
sceneSummary_sceneId,
sceneSummary_contentLocation,
sceneSummary_arn,
sceneSummary_creationDateTime,
sceneSummary_updateDateTime,
Status (..),
newStatus,
status_error,
status_state,
SyncJobStatus (..),
newSyncJobStatus,
syncJobStatus_error,
syncJobStatus_state,
SyncJobSummary (..),
newSyncJobSummary,
syncJobSummary_arn,
syncJobSummary_creationDateTime,
syncJobSummary_status,
syncJobSummary_syncSource,
syncJobSummary_updateDateTime,
syncJobSummary_workspaceId,
SyncResourceFilter (..),
newSyncResourceFilter,
syncResourceFilter_externalId,
syncResourceFilter_resourceId,
syncResourceFilter_resourceType,
syncResourceFilter_state,
SyncResourceStatus (..),
newSyncResourceStatus,
syncResourceStatus_error,
syncResourceStatus_state,
SyncResourceSummary (..),
newSyncResourceSummary,
syncResourceSummary_externalId,
syncResourceSummary_resourceId,
syncResourceSummary_resourceType,
syncResourceSummary_status,
syncResourceSummary_updateDateTime,
TabularConditions (..),
newTabularConditions,
tabularConditions_orderBy,
tabularConditions_propertyFilters,
WorkspaceSummary (..),
newWorkspaceSummary,
workspaceSummary_description,
workspaceSummary_workspaceId,
workspaceSummary_arn,
workspaceSummary_creationDateTime,
workspaceSummary_updateDateTime,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.IotTwinMaker.Types.BatchPutPropertyError
import Amazonka.IotTwinMaker.Types.BatchPutPropertyErrorEntry
import Amazonka.IotTwinMaker.Types.BundleInformation
import Amazonka.IotTwinMaker.Types.ColumnDescription
import Amazonka.IotTwinMaker.Types.ColumnType
import Amazonka.IotTwinMaker.Types.ComponentPropertyGroupRequest
import Amazonka.IotTwinMaker.Types.ComponentPropertyGroupResponse
import Amazonka.IotTwinMaker.Types.ComponentRequest
import Amazonka.IotTwinMaker.Types.ComponentResponse
import Amazonka.IotTwinMaker.Types.ComponentTypeSummary
import Amazonka.IotTwinMaker.Types.ComponentUpdateRequest
import Amazonka.IotTwinMaker.Types.ComponentUpdateType
import Amazonka.IotTwinMaker.Types.DataConnector
import Amazonka.IotTwinMaker.Types.DataType
import Amazonka.IotTwinMaker.Types.DataValue
import Amazonka.IotTwinMaker.Types.EntityPropertyReference
import Amazonka.IotTwinMaker.Types.EntitySummary
import Amazonka.IotTwinMaker.Types.ErrorCode
import Amazonka.IotTwinMaker.Types.ErrorDetails
import Amazonka.IotTwinMaker.Types.FunctionRequest
import Amazonka.IotTwinMaker.Types.FunctionResponse
import Amazonka.IotTwinMaker.Types.GroupType
import Amazonka.IotTwinMaker.Types.InterpolationParameters
import Amazonka.IotTwinMaker.Types.InterpolationType
import Amazonka.IotTwinMaker.Types.LambdaFunction
import Amazonka.IotTwinMaker.Types.ListComponentTypesFilter
import Amazonka.IotTwinMaker.Types.ListEntitiesFilter
import Amazonka.IotTwinMaker.Types.Order
import Amazonka.IotTwinMaker.Types.OrderBy
import Amazonka.IotTwinMaker.Types.OrderByTime
import Amazonka.IotTwinMaker.Types.ParentEntityUpdateRequest
import Amazonka.IotTwinMaker.Types.ParentEntityUpdateType
import Amazonka.IotTwinMaker.Types.PricingMode
import Amazonka.IotTwinMaker.Types.PricingPlan
import Amazonka.IotTwinMaker.Types.PricingTier
import Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest
import Amazonka.IotTwinMaker.Types.PropertyDefinitionResponse
import Amazonka.IotTwinMaker.Types.PropertyFilter
import Amazonka.IotTwinMaker.Types.PropertyGroupRequest
import Amazonka.IotTwinMaker.Types.PropertyGroupResponse
import Amazonka.IotTwinMaker.Types.PropertyGroupUpdateType
import Amazonka.IotTwinMaker.Types.PropertyLatestValue
import Amazonka.IotTwinMaker.Types.PropertyRequest
import Amazonka.IotTwinMaker.Types.PropertyResponse
import Amazonka.IotTwinMaker.Types.PropertyUpdateType
import Amazonka.IotTwinMaker.Types.PropertyValue
import Amazonka.IotTwinMaker.Types.PropertyValueEntry
import Amazonka.IotTwinMaker.Types.PropertyValueHistory
import Amazonka.IotTwinMaker.Types.QueryResultValue
import Amazonka.IotTwinMaker.Types.Relationship
import Amazonka.IotTwinMaker.Types.RelationshipValue
import Amazonka.IotTwinMaker.Types.Row
import Amazonka.IotTwinMaker.Types.SceneSummary
import Amazonka.IotTwinMaker.Types.Scope
import Amazonka.IotTwinMaker.Types.State
import Amazonka.IotTwinMaker.Types.Status
import Amazonka.IotTwinMaker.Types.SyncJobState
import Amazonka.IotTwinMaker.Types.SyncJobStatus
import Amazonka.IotTwinMaker.Types.SyncJobSummary
import Amazonka.IotTwinMaker.Types.SyncResourceFilter
import Amazonka.IotTwinMaker.Types.SyncResourceState
import Amazonka.IotTwinMaker.Types.SyncResourceStatus
import Amazonka.IotTwinMaker.Types.SyncResourceSummary
import Amazonka.IotTwinMaker.Types.SyncResourceType
import Amazonka.IotTwinMaker.Types.TabularConditions
import Amazonka.IotTwinMaker.Types.Type
import Amazonka.IotTwinMaker.Types.UpdateReason
import Amazonka.IotTwinMaker.Types.WorkspaceSummary
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"IotTwinMaker",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"iottwinmaker",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"iottwinmaker",
$sel:version:Service :: ByteString
Core.version = ByteString
"2021-11-29",
$sel:s3AddressingStyle:Service :: S3AddressingStyle
Core.s3AddressingStyle = S3AddressingStyle
Core.S3AddressingStyleAuto,
$sel:endpoint:Service :: Region -> Endpoint
Core.endpoint = Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:timeout:Service :: Maybe Seconds
Core.timeout = forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:check:Service :: Status -> Bool
Core.check = Status -> Bool
Core.statusSuccess,
$sel:error:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core.error = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"IotTwinMaker",
$sel:retry:Service :: Retry
Core.retry = Retry
retry
}
where
retry :: Retry
retry =
Core.Exponential
{ $sel:base:Exponential :: Double
Core.base = Double
5.0e-2,
$sel:growth:Exponential :: Int
Core.growth = Int
2,
$sel:attempts:Exponential :: Int
Core.attempts = Int
5,
$sel:check:Exponential :: ServiceError -> Maybe Text
Core.check = forall {a}. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Bool
Prelude.otherwise = forall a. Maybe a
Prelude.Nothing
_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccessDeniedException :: forall a. AsError a => Fold a ServiceError
_AccessDeniedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
403
_ConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConflictException :: forall a. AsError a => Fold a ServiceError
_ConflictException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_ConnectorFailureException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConnectorFailureException :: forall a. AsError a => Fold a ServiceError
_ConnectorFailureException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConnectorFailureException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
424
_ConnectorTimeoutException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConnectorTimeoutException :: forall a. AsError a => Fold a ServiceError
_ConnectorTimeoutException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConnectorTimeoutException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
424
_InternalServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InternalServerException :: forall a. AsError a => Fold a ServiceError
_InternalServerException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500
_QueryTimeoutException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_QueryTimeoutException :: forall a. AsError a => Fold a ServiceError
_QueryTimeoutException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"QueryTimeoutException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotFoundException :: forall a. AsError a => Fold a ServiceError
_ResourceNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_ServiceQuotaExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceQuotaExceededException :: forall a. AsError a => Fold a ServiceError
_ServiceQuotaExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceQuotaExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
402
_ThrottlingException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ThrottlingException :: forall a. AsError a => Fold a ServiceError
_ThrottlingException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429
_TooManyTagsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TooManyTagsException :: forall a. AsError a => Fold a ServiceError
_TooManyTagsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyTagsException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ValidationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ValidationException :: forall a. AsError a => Fold a ServiceError
_ValidationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ValidationException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400