{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.LexV2Models.Types
(
defaultService,
_ConflictException,
_InternalServerException,
_PreconditionFailedException,
_ResourceNotFoundException,
_ServiceQuotaExceededException,
_ThrottlingException,
_ValidationException,
AggregatedUtterancesFilterName (..),
AggregatedUtterancesFilterOperator (..),
AggregatedUtterancesSortAttribute (..),
AssociatedTranscriptFilterName (..),
AudioRecognitionStrategy (..),
BotAliasStatus (..),
BotFilterName (..),
BotFilterOperator (..),
BotLocaleFilterName (..),
BotLocaleFilterOperator (..),
BotLocaleSortAttribute (..),
BotLocaleStatus (..),
BotRecommendationStatus (..),
BotSortAttribute (..),
BotStatus (..),
BotVersionSortAttribute (..),
BuiltInIntentSortAttribute (..),
BuiltInSlotTypeSortAttribute (..),
CustomVocabularyStatus (..),
DialogActionType (..),
Effect (..),
ErrorCode (..),
ExportFilterName (..),
ExportFilterOperator (..),
ExportSortAttribute (..),
ExportStatus (..),
ImportExportFileFormat (..),
ImportFilterName (..),
ImportFilterOperator (..),
ImportResourceType (..),
ImportSortAttribute (..),
ImportStatus (..),
IntentFilterName (..),
IntentFilterOperator (..),
IntentSortAttribute (..),
MergeStrategy (..),
MessageSelectionStrategy (..),
ObfuscationSettingType (..),
PromptAttempt (..),
SearchOrder (..),
SlotConstraint (..),
SlotFilterName (..),
SlotFilterOperator (..),
SlotShape (..),
SlotSortAttribute (..),
SlotTypeCategory (..),
SlotTypeFilterName (..),
SlotTypeFilterOperator (..),
SlotTypeSortAttribute (..),
SlotValueResolutionStrategy (..),
SortOrder (..),
TimeDimension (..),
TranscriptFormat (..),
VoiceEngine (..),
AdvancedRecognitionSetting (..),
newAdvancedRecognitionSetting,
advancedRecognitionSetting_audioRecognitionStrategy,
AggregatedUtterancesFilter (..),
newAggregatedUtterancesFilter,
aggregatedUtterancesFilter_name,
aggregatedUtterancesFilter_values,
aggregatedUtterancesFilter_operator,
AggregatedUtterancesSortBy (..),
newAggregatedUtterancesSortBy,
aggregatedUtterancesSortBy_attribute,
aggregatedUtterancesSortBy_order,
AggregatedUtterancesSummary (..),
newAggregatedUtterancesSummary,
aggregatedUtterancesSummary_containsDataFromDeletedResources,
aggregatedUtterancesSummary_hitCount,
aggregatedUtterancesSummary_missedCount,
aggregatedUtterancesSummary_utterance,
aggregatedUtterancesSummary_utteranceFirstRecordedInAggregationDuration,
aggregatedUtterancesSummary_utteranceLastRecordedInAggregationDuration,
AllowedInputTypes (..),
newAllowedInputTypes,
allowedInputTypes_allowAudioInput,
allowedInputTypes_allowDTMFInput,
AssociatedTranscript (..),
newAssociatedTranscript,
associatedTranscript_transcript,
AssociatedTranscriptFilter (..),
newAssociatedTranscriptFilter,
associatedTranscriptFilter_name,
associatedTranscriptFilter_values,
AudioAndDTMFInputSpecification (..),
newAudioAndDTMFInputSpecification,
audioAndDTMFInputSpecification_audioSpecification,
audioAndDTMFInputSpecification_dtmfSpecification,
audioAndDTMFInputSpecification_startTimeoutMs,
AudioLogDestination (..),
newAudioLogDestination,
audioLogDestination_s3Bucket,
AudioLogSetting (..),
newAudioLogSetting,
audioLogSetting_enabled,
audioLogSetting_destination,
AudioSpecification (..),
newAudioSpecification,
audioSpecification_maxLengthMs,
audioSpecification_endTimeoutMs,
BotAliasHistoryEvent (..),
newBotAliasHistoryEvent,
botAliasHistoryEvent_botVersion,
botAliasHistoryEvent_endDate,
botAliasHistoryEvent_startDate,
BotAliasLocaleSettings (..),
newBotAliasLocaleSettings,
botAliasLocaleSettings_codeHookSpecification,
botAliasLocaleSettings_enabled,
BotAliasSummary (..),
newBotAliasSummary,
botAliasSummary_botAliasId,
botAliasSummary_botAliasName,
botAliasSummary_botAliasStatus,
botAliasSummary_botVersion,
botAliasSummary_creationDateTime,
botAliasSummary_description,
botAliasSummary_lastUpdatedDateTime,
BotExportSpecification (..),
newBotExportSpecification,
botExportSpecification_botId,
botExportSpecification_botVersion,
BotFilter (..),
newBotFilter,
botFilter_name,
botFilter_values,
botFilter_operator,
BotImportSpecification (..),
newBotImportSpecification,
botImportSpecification_botTags,
botImportSpecification_idleSessionTTLInSeconds,
botImportSpecification_testBotAliasTags,
botImportSpecification_botName,
botImportSpecification_roleArn,
botImportSpecification_dataPrivacy,
BotLocaleExportSpecification (..),
newBotLocaleExportSpecification,
botLocaleExportSpecification_botId,
botLocaleExportSpecification_botVersion,
botLocaleExportSpecification_localeId,
BotLocaleFilter (..),
newBotLocaleFilter,
botLocaleFilter_name,
botLocaleFilter_values,
botLocaleFilter_operator,
BotLocaleHistoryEvent (..),
newBotLocaleHistoryEvent,
botLocaleHistoryEvent_event,
botLocaleHistoryEvent_eventDate,
BotLocaleImportSpecification (..),
newBotLocaleImportSpecification,
botLocaleImportSpecification_nluIntentConfidenceThreshold,
botLocaleImportSpecification_voiceSettings,
botLocaleImportSpecification_botId,
botLocaleImportSpecification_botVersion,
botLocaleImportSpecification_localeId,
BotLocaleSortBy (..),
newBotLocaleSortBy,
botLocaleSortBy_attribute,
botLocaleSortBy_order,
BotLocaleSummary (..),
newBotLocaleSummary,
botLocaleSummary_botLocaleStatus,
botLocaleSummary_description,
botLocaleSummary_lastBuildSubmittedDateTime,
botLocaleSummary_lastUpdatedDateTime,
botLocaleSummary_localeId,
botLocaleSummary_localeName,
BotRecommendationResultStatistics (..),
newBotRecommendationResultStatistics,
botRecommendationResultStatistics_intents,
botRecommendationResultStatistics_slotTypes,
BotRecommendationResults (..),
newBotRecommendationResults,
botRecommendationResults_associatedTranscriptsUrl,
botRecommendationResults_botLocaleExportUrl,
botRecommendationResults_statistics,
BotRecommendationSummary (..),
newBotRecommendationSummary,
botRecommendationSummary_creationDateTime,
botRecommendationSummary_lastUpdatedDateTime,
botRecommendationSummary_botRecommendationStatus,
botRecommendationSummary_botRecommendationId,
BotSortBy (..),
newBotSortBy,
botSortBy_attribute,
botSortBy_order,
BotSummary (..),
newBotSummary,
botSummary_botId,
botSummary_botName,
botSummary_botStatus,
botSummary_description,
botSummary_lastUpdatedDateTime,
botSummary_latestBotVersion,
BotVersionLocaleDetails (..),
newBotVersionLocaleDetails,
botVersionLocaleDetails_sourceBotVersion,
BotVersionSortBy (..),
newBotVersionSortBy,
botVersionSortBy_attribute,
botVersionSortBy_order,
BotVersionSummary (..),
newBotVersionSummary,
botVersionSummary_botName,
botVersionSummary_botStatus,
botVersionSummary_botVersion,
botVersionSummary_creationDateTime,
botVersionSummary_description,
BuiltInIntentSortBy (..),
newBuiltInIntentSortBy,
builtInIntentSortBy_attribute,
builtInIntentSortBy_order,
BuiltInIntentSummary (..),
newBuiltInIntentSummary,
builtInIntentSummary_description,
builtInIntentSummary_intentSignature,
BuiltInSlotTypeSortBy (..),
newBuiltInSlotTypeSortBy,
builtInSlotTypeSortBy_attribute,
builtInSlotTypeSortBy_order,
BuiltInSlotTypeSummary (..),
newBuiltInSlotTypeSummary,
builtInSlotTypeSummary_description,
builtInSlotTypeSummary_slotTypeSignature,
Button (..),
newButton,
button_text,
button_value,
CloudWatchLogGroupLogDestination (..),
newCloudWatchLogGroupLogDestination,
cloudWatchLogGroupLogDestination_cloudWatchLogGroupArn,
cloudWatchLogGroupLogDestination_logPrefix,
CodeHookSpecification (..),
newCodeHookSpecification,
codeHookSpecification_lambdaCodeHook,
CompositeSlotTypeSetting (..),
newCompositeSlotTypeSetting,
compositeSlotTypeSetting_subSlots,
Condition (..),
newCondition,
condition_expressionString,
ConditionalBranch (..),
newConditionalBranch,
conditionalBranch_response,
conditionalBranch_name,
conditionalBranch_condition,
conditionalBranch_nextStep,
ConditionalSpecification (..),
newConditionalSpecification,
conditionalSpecification_active,
conditionalSpecification_conditionalBranches,
conditionalSpecification_defaultBranch,
ConversationLogSettings (..),
newConversationLogSettings,
conversationLogSettings_audioLogSettings,
conversationLogSettings_textLogSettings,
CustomPayload (..),
newCustomPayload,
customPayload_value,
CustomVocabularyEntryId (..),
newCustomVocabularyEntryId,
customVocabularyEntryId_itemId,
CustomVocabularyExportSpecification (..),
newCustomVocabularyExportSpecification,
customVocabularyExportSpecification_botId,
customVocabularyExportSpecification_botVersion,
customVocabularyExportSpecification_localeId,
CustomVocabularyImportSpecification (..),
newCustomVocabularyImportSpecification,
customVocabularyImportSpecification_botId,
customVocabularyImportSpecification_botVersion,
customVocabularyImportSpecification_localeId,
CustomVocabularyItem (..),
newCustomVocabularyItem,
customVocabularyItem_displayAs,
customVocabularyItem_weight,
customVocabularyItem_itemId,
customVocabularyItem_phrase,
DTMFSpecification (..),
newDTMFSpecification,
dTMFSpecification_maxLength,
dTMFSpecification_endTimeoutMs,
dTMFSpecification_deletionCharacter,
dTMFSpecification_endCharacter,
DataPrivacy (..),
newDataPrivacy,
dataPrivacy_childDirected,
DateRangeFilter (..),
newDateRangeFilter,
dateRangeFilter_startDateTime,
dateRangeFilter_endDateTime,
DefaultConditionalBranch (..),
newDefaultConditionalBranch,
defaultConditionalBranch_nextStep,
defaultConditionalBranch_response,
DialogAction (..),
newDialogAction,
dialogAction_slotToElicit,
dialogAction_suppressNextMessage,
dialogAction_type,
DialogCodeHookInvocationSetting (..),
newDialogCodeHookInvocationSetting,
dialogCodeHookInvocationSetting_invocationLabel,
dialogCodeHookInvocationSetting_enableCodeHookInvocation,
dialogCodeHookInvocationSetting_active,
dialogCodeHookInvocationSetting_postCodeHookSpecification,
DialogCodeHookSettings (..),
newDialogCodeHookSettings,
dialogCodeHookSettings_enabled,
DialogState (..),
newDialogState,
dialogState_dialogAction,
dialogState_intent,
dialogState_sessionAttributes,
ElicitationCodeHookInvocationSetting (..),
newElicitationCodeHookInvocationSetting,
elicitationCodeHookInvocationSetting_invocationLabel,
elicitationCodeHookInvocationSetting_enableCodeHookInvocation,
EncryptionSetting (..),
newEncryptionSetting,
encryptionSetting_associatedTranscriptsPassword,
encryptionSetting_botLocaleExportPassword,
encryptionSetting_kmsKeyArn,
ExportFilter (..),
newExportFilter,
exportFilter_name,
exportFilter_values,
exportFilter_operator,
ExportResourceSpecification (..),
newExportResourceSpecification,
exportResourceSpecification_botExportSpecification,
exportResourceSpecification_botLocaleExportSpecification,
exportResourceSpecification_customVocabularyExportSpecification,
ExportSortBy (..),
newExportSortBy,
exportSortBy_attribute,
exportSortBy_order,
ExportSummary (..),
newExportSummary,
exportSummary_creationDateTime,
exportSummary_exportId,
exportSummary_exportStatus,
exportSummary_fileFormat,
exportSummary_lastUpdatedDateTime,
exportSummary_resourceSpecification,
ExternalSourceSetting (..),
newExternalSourceSetting,
externalSourceSetting_grammarSlotTypeSetting,
FailedCustomVocabularyItem (..),
newFailedCustomVocabularyItem,
failedCustomVocabularyItem_errorCode,
failedCustomVocabularyItem_errorMessage,
failedCustomVocabularyItem_itemId,
FulfillmentCodeHookSettings (..),
newFulfillmentCodeHookSettings,
fulfillmentCodeHookSettings_active,
fulfillmentCodeHookSettings_fulfillmentUpdatesSpecification,
fulfillmentCodeHookSettings_postFulfillmentStatusSpecification,
fulfillmentCodeHookSettings_enabled,
FulfillmentStartResponseSpecification (..),
newFulfillmentStartResponseSpecification,
fulfillmentStartResponseSpecification_allowInterrupt,
fulfillmentStartResponseSpecification_delayInSeconds,
fulfillmentStartResponseSpecification_messageGroups,
FulfillmentUpdateResponseSpecification (..),
newFulfillmentUpdateResponseSpecification,
fulfillmentUpdateResponseSpecification_allowInterrupt,
fulfillmentUpdateResponseSpecification_frequencyInSeconds,
fulfillmentUpdateResponseSpecification_messageGroups,
FulfillmentUpdatesSpecification (..),
newFulfillmentUpdatesSpecification,
fulfillmentUpdatesSpecification_startResponse,
fulfillmentUpdatesSpecification_timeoutInSeconds,
fulfillmentUpdatesSpecification_updateResponse,
fulfillmentUpdatesSpecification_active,
GrammarSlotTypeSetting (..),
newGrammarSlotTypeSetting,
grammarSlotTypeSetting_source,
GrammarSlotTypeSource (..),
newGrammarSlotTypeSource,
grammarSlotTypeSource_kmsKeyArn,
grammarSlotTypeSource_s3BucketName,
grammarSlotTypeSource_s3ObjectKey,
ImageResponseCard (..),
newImageResponseCard,
imageResponseCard_buttons,
imageResponseCard_imageUrl,
imageResponseCard_subtitle,
imageResponseCard_title,
ImportFilter (..),
newImportFilter,
importFilter_name,
importFilter_values,
importFilter_operator,
ImportResourceSpecification (..),
newImportResourceSpecification,
importResourceSpecification_botImportSpecification,
importResourceSpecification_botLocaleImportSpecification,
importResourceSpecification_customVocabularyImportSpecification,
ImportSortBy (..),
newImportSortBy,
importSortBy_attribute,
importSortBy_order,
ImportSummary (..),
newImportSummary,
importSummary_creationDateTime,
importSummary_importId,
importSummary_importStatus,
importSummary_importedResourceId,
importSummary_importedResourceName,
importSummary_importedResourceType,
importSummary_lastUpdatedDateTime,
importSummary_mergeStrategy,
InitialResponseSetting (..),
newInitialResponseSetting,
initialResponseSetting_codeHook,
initialResponseSetting_conditional,
initialResponseSetting_initialResponse,
initialResponseSetting_nextStep,
InputContext (..),
newInputContext,
inputContext_name,
IntentClosingSetting (..),
newIntentClosingSetting,
intentClosingSetting_active,
intentClosingSetting_closingResponse,
intentClosingSetting_conditional,
intentClosingSetting_nextStep,
IntentConfirmationSetting (..),
newIntentConfirmationSetting,
intentConfirmationSetting_active,
intentConfirmationSetting_codeHook,
intentConfirmationSetting_confirmationConditional,
intentConfirmationSetting_confirmationNextStep,
intentConfirmationSetting_confirmationResponse,
intentConfirmationSetting_declinationConditional,
intentConfirmationSetting_declinationNextStep,
intentConfirmationSetting_declinationResponse,
intentConfirmationSetting_elicitationCodeHook,
intentConfirmationSetting_failureConditional,
intentConfirmationSetting_failureNextStep,
intentConfirmationSetting_failureResponse,
intentConfirmationSetting_promptSpecification,
IntentFilter (..),
newIntentFilter,
intentFilter_name,
intentFilter_values,
intentFilter_operator,
IntentOverride (..),
newIntentOverride,
intentOverride_name,
intentOverride_slots,
IntentSortBy (..),
newIntentSortBy,
intentSortBy_attribute,
intentSortBy_order,
IntentStatistics (..),
newIntentStatistics,
intentStatistics_discoveredIntentCount,
IntentSummary (..),
newIntentSummary,
intentSummary_description,
intentSummary_inputContexts,
intentSummary_intentId,
intentSummary_intentName,
intentSummary_lastUpdatedDateTime,
intentSummary_outputContexts,
intentSummary_parentIntentSignature,
KendraConfiguration (..),
newKendraConfiguration,
kendraConfiguration_queryFilterString,
kendraConfiguration_queryFilterStringEnabled,
kendraConfiguration_kendraIndex,
LambdaCodeHook (..),
newLambdaCodeHook,
lambdaCodeHook_lambdaARN,
lambdaCodeHook_codeHookInterfaceVersion,
LexTranscriptFilter (..),
newLexTranscriptFilter,
lexTranscriptFilter_dateRangeFilter,
Message (..),
newMessage,
message_customPayload,
message_imageResponseCard,
message_plainTextMessage,
message_ssmlMessage,
MessageGroup (..),
newMessageGroup,
messageGroup_variations,
messageGroup_message,
MultipleValuesSetting (..),
newMultipleValuesSetting,
multipleValuesSetting_allowMultipleValues,
NewCustomVocabularyItem (..),
newNewCustomVocabularyItem,
newCustomVocabularyItem_displayAs,
newCustomVocabularyItem_weight,
newCustomVocabularyItem_phrase,
ObfuscationSetting (..),
newObfuscationSetting,
obfuscationSetting_obfuscationSettingType,
OutputContext (..),
newOutputContext,
outputContext_name,
outputContext_timeToLiveInSeconds,
outputContext_turnsToLive,
PathFormat (..),
newPathFormat,
pathFormat_objectPrefixes,
PlainTextMessage (..),
newPlainTextMessage,
plainTextMessage_value,
PostDialogCodeHookInvocationSpecification (..),
newPostDialogCodeHookInvocationSpecification,
postDialogCodeHookInvocationSpecification_failureConditional,
postDialogCodeHookInvocationSpecification_failureNextStep,
postDialogCodeHookInvocationSpecification_failureResponse,
postDialogCodeHookInvocationSpecification_successConditional,
postDialogCodeHookInvocationSpecification_successNextStep,
postDialogCodeHookInvocationSpecification_successResponse,
postDialogCodeHookInvocationSpecification_timeoutConditional,
postDialogCodeHookInvocationSpecification_timeoutNextStep,
postDialogCodeHookInvocationSpecification_timeoutResponse,
PostFulfillmentStatusSpecification (..),
newPostFulfillmentStatusSpecification,
postFulfillmentStatusSpecification_failureConditional,
postFulfillmentStatusSpecification_failureNextStep,
postFulfillmentStatusSpecification_failureResponse,
postFulfillmentStatusSpecification_successConditional,
postFulfillmentStatusSpecification_successNextStep,
postFulfillmentStatusSpecification_successResponse,
postFulfillmentStatusSpecification_timeoutConditional,
postFulfillmentStatusSpecification_timeoutNextStep,
postFulfillmentStatusSpecification_timeoutResponse,
Principal (..),
newPrincipal,
principal_arn,
principal_service,
PromptAttemptSpecification (..),
newPromptAttemptSpecification,
promptAttemptSpecification_allowInterrupt,
promptAttemptSpecification_audioAndDTMFInputSpecification,
promptAttemptSpecification_textInputSpecification,
promptAttemptSpecification_allowedInputTypes,
PromptSpecification (..),
newPromptSpecification,
promptSpecification_allowInterrupt,
promptSpecification_messageSelectionStrategy,
promptSpecification_promptAttemptsSpecification,
promptSpecification_messageGroups,
promptSpecification_maxRetries,
RecommendedIntentSummary (..),
newRecommendedIntentSummary,
recommendedIntentSummary_intentId,
recommendedIntentSummary_intentName,
recommendedIntentSummary_sampleUtterancesCount,
RelativeAggregationDuration (..),
newRelativeAggregationDuration,
relativeAggregationDuration_timeDimension,
relativeAggregationDuration_timeValue,
ResponseSpecification (..),
newResponseSpecification,
responseSpecification_allowInterrupt,
responseSpecification_messageGroups,
S3BucketLogDestination (..),
newS3BucketLogDestination,
s3BucketLogDestination_kmsKeyArn,
s3BucketLogDestination_s3BucketArn,
s3BucketLogDestination_logPrefix,
S3BucketTranscriptSource (..),
newS3BucketTranscriptSource,
s3BucketTranscriptSource_kmsKeyArn,
s3BucketTranscriptSource_pathFormat,
s3BucketTranscriptSource_transcriptFilter,
s3BucketTranscriptSource_s3BucketName,
s3BucketTranscriptSource_transcriptFormat,
SSMLMessage (..),
newSSMLMessage,
sSMLMessage_value,
SampleUtterance (..),
newSampleUtterance,
sampleUtterance_utterance,
SampleValue (..),
newSampleValue,
sampleValue_value,
SentimentAnalysisSettings (..),
newSentimentAnalysisSettings,
sentimentAnalysisSettings_detectSentiment,
SlotCaptureSetting (..),
newSlotCaptureSetting,
slotCaptureSetting_captureConditional,
slotCaptureSetting_captureNextStep,
slotCaptureSetting_captureResponse,
slotCaptureSetting_codeHook,
slotCaptureSetting_elicitationCodeHook,
slotCaptureSetting_failureConditional,
slotCaptureSetting_failureNextStep,
slotCaptureSetting_failureResponse,
SlotDefaultValue (..),
newSlotDefaultValue,
slotDefaultValue_defaultValue,
SlotDefaultValueSpecification (..),
newSlotDefaultValueSpecification,
slotDefaultValueSpecification_defaultValueList,
SlotFilter (..),
newSlotFilter,
slotFilter_name,
slotFilter_values,
slotFilter_operator,
SlotPriority (..),
newSlotPriority,
slotPriority_priority,
slotPriority_slotId,
SlotSortBy (..),
newSlotSortBy,
slotSortBy_attribute,
slotSortBy_order,
SlotSummary (..),
newSlotSummary,
slotSummary_description,
slotSummary_lastUpdatedDateTime,
slotSummary_slotConstraint,
slotSummary_slotId,
slotSummary_slotName,
slotSummary_slotTypeId,
slotSummary_valueElicitationPromptSpecification,
SlotTypeFilter (..),
newSlotTypeFilter,
slotTypeFilter_name,
slotTypeFilter_values,
slotTypeFilter_operator,
SlotTypeSortBy (..),
newSlotTypeSortBy,
slotTypeSortBy_attribute,
slotTypeSortBy_order,
SlotTypeStatistics (..),
newSlotTypeStatistics,
slotTypeStatistics_discoveredSlotTypeCount,
SlotTypeSummary (..),
newSlotTypeSummary,
slotTypeSummary_description,
slotTypeSummary_lastUpdatedDateTime,
slotTypeSummary_parentSlotTypeSignature,
slotTypeSummary_slotTypeCategory,
slotTypeSummary_slotTypeId,
slotTypeSummary_slotTypeName,
SlotTypeValue (..),
newSlotTypeValue,
slotTypeValue_sampleValue,
slotTypeValue_synonyms,
SlotValue (..),
newSlotValue,
slotValue_interpretedValue,
SlotValueElicitationSetting (..),
newSlotValueElicitationSetting,
slotValueElicitationSetting_defaultValueSpecification,
slotValueElicitationSetting_promptSpecification,
slotValueElicitationSetting_sampleUtterances,
slotValueElicitationSetting_slotCaptureSetting,
slotValueElicitationSetting_waitAndContinueSpecification,
slotValueElicitationSetting_slotConstraint,
SlotValueOverride (..),
newSlotValueOverride,
slotValueOverride_shape,
slotValueOverride_value,
slotValueOverride_values,
SlotValueRegexFilter (..),
newSlotValueRegexFilter,
slotValueRegexFilter_pattern,
SlotValueSelectionSetting (..),
newSlotValueSelectionSetting,
slotValueSelectionSetting_advancedRecognitionSetting,
slotValueSelectionSetting_regexFilter,
slotValueSelectionSetting_resolutionStrategy,
Specifications (..),
newSpecifications,
specifications_slotTypeId,
specifications_valueElicitationSetting,
StillWaitingResponseSpecification (..),
newStillWaitingResponseSpecification,
stillWaitingResponseSpecification_allowInterrupt,
stillWaitingResponseSpecification_messageGroups,
stillWaitingResponseSpecification_frequencyInSeconds,
stillWaitingResponseSpecification_timeoutInSeconds,
SubSlotSetting (..),
newSubSlotSetting,
subSlotSetting_expression,
subSlotSetting_slotSpecifications,
SubSlotTypeComposition (..),
newSubSlotTypeComposition,
subSlotTypeComposition_name,
subSlotTypeComposition_slotTypeId,
SubSlotValueElicitationSetting (..),
newSubSlotValueElicitationSetting,
subSlotValueElicitationSetting_defaultValueSpecification,
subSlotValueElicitationSetting_sampleUtterances,
subSlotValueElicitationSetting_waitAndContinueSpecification,
subSlotValueElicitationSetting_promptSpecification,
TextInputSpecification (..),
newTextInputSpecification,
textInputSpecification_startTimeoutMs,
TextLogDestination (..),
newTextLogDestination,
textLogDestination_cloudWatch,
TextLogSetting (..),
newTextLogSetting,
textLogSetting_enabled,
textLogSetting_destination,
TranscriptFilter (..),
newTranscriptFilter,
transcriptFilter_lexTranscriptFilter,
TranscriptSourceSetting (..),
newTranscriptSourceSetting,
transcriptSourceSetting_s3BucketTranscriptSource,
UtteranceAggregationDuration (..),
newUtteranceAggregationDuration,
utteranceAggregationDuration_relativeAggregationDuration,
VoiceSettings (..),
newVoiceSettings,
voiceSettings_engine,
voiceSettings_voiceId,
WaitAndContinueSpecification (..),
newWaitAndContinueSpecification,
waitAndContinueSpecification_active,
waitAndContinueSpecification_stillWaitingResponse,
waitAndContinueSpecification_waitingResponse,
waitAndContinueSpecification_continueResponse,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.LexV2Models.Types.AdvancedRecognitionSetting
import Amazonka.LexV2Models.Types.AggregatedUtterancesFilter
import Amazonka.LexV2Models.Types.AggregatedUtterancesFilterName
import Amazonka.LexV2Models.Types.AggregatedUtterancesFilterOperator
import Amazonka.LexV2Models.Types.AggregatedUtterancesSortAttribute
import Amazonka.LexV2Models.Types.AggregatedUtterancesSortBy
import Amazonka.LexV2Models.Types.AggregatedUtterancesSummary
import Amazonka.LexV2Models.Types.AllowedInputTypes
import Amazonka.LexV2Models.Types.AssociatedTranscript
import Amazonka.LexV2Models.Types.AssociatedTranscriptFilter
import Amazonka.LexV2Models.Types.AssociatedTranscriptFilterName
import Amazonka.LexV2Models.Types.AudioAndDTMFInputSpecification
import Amazonka.LexV2Models.Types.AudioLogDestination
import Amazonka.LexV2Models.Types.AudioLogSetting
import Amazonka.LexV2Models.Types.AudioRecognitionStrategy
import Amazonka.LexV2Models.Types.AudioSpecification
import Amazonka.LexV2Models.Types.BotAliasHistoryEvent
import Amazonka.LexV2Models.Types.BotAliasLocaleSettings
import Amazonka.LexV2Models.Types.BotAliasStatus
import Amazonka.LexV2Models.Types.BotAliasSummary
import Amazonka.LexV2Models.Types.BotExportSpecification
import Amazonka.LexV2Models.Types.BotFilter
import Amazonka.LexV2Models.Types.BotFilterName
import Amazonka.LexV2Models.Types.BotFilterOperator
import Amazonka.LexV2Models.Types.BotImportSpecification
import Amazonka.LexV2Models.Types.BotLocaleExportSpecification
import Amazonka.LexV2Models.Types.BotLocaleFilter
import Amazonka.LexV2Models.Types.BotLocaleFilterName
import Amazonka.LexV2Models.Types.BotLocaleFilterOperator
import Amazonka.LexV2Models.Types.BotLocaleHistoryEvent
import Amazonka.LexV2Models.Types.BotLocaleImportSpecification
import Amazonka.LexV2Models.Types.BotLocaleSortAttribute
import Amazonka.LexV2Models.Types.BotLocaleSortBy
import Amazonka.LexV2Models.Types.BotLocaleStatus
import Amazonka.LexV2Models.Types.BotLocaleSummary
import Amazonka.LexV2Models.Types.BotRecommendationResultStatistics
import Amazonka.LexV2Models.Types.BotRecommendationResults
import Amazonka.LexV2Models.Types.BotRecommendationStatus
import Amazonka.LexV2Models.Types.BotRecommendationSummary
import Amazonka.LexV2Models.Types.BotSortAttribute
import Amazonka.LexV2Models.Types.BotSortBy
import Amazonka.LexV2Models.Types.BotStatus
import Amazonka.LexV2Models.Types.BotSummary
import Amazonka.LexV2Models.Types.BotVersionLocaleDetails
import Amazonka.LexV2Models.Types.BotVersionSortAttribute
import Amazonka.LexV2Models.Types.BotVersionSortBy
import Amazonka.LexV2Models.Types.BotVersionSummary
import Amazonka.LexV2Models.Types.BuiltInIntentSortAttribute
import Amazonka.LexV2Models.Types.BuiltInIntentSortBy
import Amazonka.LexV2Models.Types.BuiltInIntentSummary
import Amazonka.LexV2Models.Types.BuiltInSlotTypeSortAttribute
import Amazonka.LexV2Models.Types.BuiltInSlotTypeSortBy
import Amazonka.LexV2Models.Types.BuiltInSlotTypeSummary
import Amazonka.LexV2Models.Types.Button
import Amazonka.LexV2Models.Types.CloudWatchLogGroupLogDestination
import Amazonka.LexV2Models.Types.CodeHookSpecification
import Amazonka.LexV2Models.Types.CompositeSlotTypeSetting
import Amazonka.LexV2Models.Types.Condition
import Amazonka.LexV2Models.Types.ConditionalBranch
import Amazonka.LexV2Models.Types.ConditionalSpecification
import Amazonka.LexV2Models.Types.ConversationLogSettings
import Amazonka.LexV2Models.Types.CustomPayload
import Amazonka.LexV2Models.Types.CustomVocabularyEntryId
import Amazonka.LexV2Models.Types.CustomVocabularyExportSpecification
import Amazonka.LexV2Models.Types.CustomVocabularyImportSpecification
import Amazonka.LexV2Models.Types.CustomVocabularyItem
import Amazonka.LexV2Models.Types.CustomVocabularyStatus
import Amazonka.LexV2Models.Types.DTMFSpecification
import Amazonka.LexV2Models.Types.DataPrivacy
import Amazonka.LexV2Models.Types.DateRangeFilter
import Amazonka.LexV2Models.Types.DefaultConditionalBranch
import Amazonka.LexV2Models.Types.DialogAction
import Amazonka.LexV2Models.Types.DialogActionType
import Amazonka.LexV2Models.Types.DialogCodeHookInvocationSetting
import Amazonka.LexV2Models.Types.DialogCodeHookSettings
import Amazonka.LexV2Models.Types.DialogState
import Amazonka.LexV2Models.Types.Effect
import Amazonka.LexV2Models.Types.ElicitationCodeHookInvocationSetting
import Amazonka.LexV2Models.Types.EncryptionSetting
import Amazonka.LexV2Models.Types.ErrorCode
import Amazonka.LexV2Models.Types.ExportFilter
import Amazonka.LexV2Models.Types.ExportFilterName
import Amazonka.LexV2Models.Types.ExportFilterOperator
import Amazonka.LexV2Models.Types.ExportResourceSpecification
import Amazonka.LexV2Models.Types.ExportSortAttribute
import Amazonka.LexV2Models.Types.ExportSortBy
import Amazonka.LexV2Models.Types.ExportStatus
import Amazonka.LexV2Models.Types.ExportSummary
import Amazonka.LexV2Models.Types.ExternalSourceSetting
import Amazonka.LexV2Models.Types.FailedCustomVocabularyItem
import Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings
import Amazonka.LexV2Models.Types.FulfillmentStartResponseSpecification
import Amazonka.LexV2Models.Types.FulfillmentUpdateResponseSpecification
import Amazonka.LexV2Models.Types.FulfillmentUpdatesSpecification
import Amazonka.LexV2Models.Types.GrammarSlotTypeSetting
import Amazonka.LexV2Models.Types.GrammarSlotTypeSource
import Amazonka.LexV2Models.Types.ImageResponseCard
import Amazonka.LexV2Models.Types.ImportExportFileFormat
import Amazonka.LexV2Models.Types.ImportFilter
import Amazonka.LexV2Models.Types.ImportFilterName
import Amazonka.LexV2Models.Types.ImportFilterOperator
import Amazonka.LexV2Models.Types.ImportResourceSpecification
import Amazonka.LexV2Models.Types.ImportResourceType
import Amazonka.LexV2Models.Types.ImportSortAttribute
import Amazonka.LexV2Models.Types.ImportSortBy
import Amazonka.LexV2Models.Types.ImportStatus
import Amazonka.LexV2Models.Types.ImportSummary
import Amazonka.LexV2Models.Types.InitialResponseSetting
import Amazonka.LexV2Models.Types.InputContext
import Amazonka.LexV2Models.Types.IntentClosingSetting
import Amazonka.LexV2Models.Types.IntentConfirmationSetting
import Amazonka.LexV2Models.Types.IntentFilter
import Amazonka.LexV2Models.Types.IntentFilterName
import Amazonka.LexV2Models.Types.IntentFilterOperator
import Amazonka.LexV2Models.Types.IntentOverride
import Amazonka.LexV2Models.Types.IntentSortAttribute
import Amazonka.LexV2Models.Types.IntentSortBy
import Amazonka.LexV2Models.Types.IntentStatistics
import Amazonka.LexV2Models.Types.IntentSummary
import Amazonka.LexV2Models.Types.KendraConfiguration
import Amazonka.LexV2Models.Types.LambdaCodeHook
import Amazonka.LexV2Models.Types.LexTranscriptFilter
import Amazonka.LexV2Models.Types.MergeStrategy
import Amazonka.LexV2Models.Types.Message
import Amazonka.LexV2Models.Types.MessageGroup
import Amazonka.LexV2Models.Types.MessageSelectionStrategy
import Amazonka.LexV2Models.Types.MultipleValuesSetting
import Amazonka.LexV2Models.Types.NewCustomVocabularyItem
import Amazonka.LexV2Models.Types.ObfuscationSetting
import Amazonka.LexV2Models.Types.ObfuscationSettingType
import Amazonka.LexV2Models.Types.OutputContext
import Amazonka.LexV2Models.Types.PathFormat
import Amazonka.LexV2Models.Types.PlainTextMessage
import Amazonka.LexV2Models.Types.PostDialogCodeHookInvocationSpecification
import Amazonka.LexV2Models.Types.PostFulfillmentStatusSpecification
import Amazonka.LexV2Models.Types.Principal
import Amazonka.LexV2Models.Types.PromptAttempt
import Amazonka.LexV2Models.Types.PromptAttemptSpecification
import Amazonka.LexV2Models.Types.PromptSpecification
import Amazonka.LexV2Models.Types.RecommendedIntentSummary
import Amazonka.LexV2Models.Types.RelativeAggregationDuration
import Amazonka.LexV2Models.Types.ResponseSpecification
import Amazonka.LexV2Models.Types.S3BucketLogDestination
import Amazonka.LexV2Models.Types.S3BucketTranscriptSource
import Amazonka.LexV2Models.Types.SSMLMessage
import Amazonka.LexV2Models.Types.SampleUtterance
import Amazonka.LexV2Models.Types.SampleValue
import Amazonka.LexV2Models.Types.SearchOrder
import Amazonka.LexV2Models.Types.SentimentAnalysisSettings
import Amazonka.LexV2Models.Types.SlotCaptureSetting
import Amazonka.LexV2Models.Types.SlotConstraint
import Amazonka.LexV2Models.Types.SlotDefaultValue
import Amazonka.LexV2Models.Types.SlotDefaultValueSpecification
import Amazonka.LexV2Models.Types.SlotFilter
import Amazonka.LexV2Models.Types.SlotFilterName
import Amazonka.LexV2Models.Types.SlotFilterOperator
import Amazonka.LexV2Models.Types.SlotPriority
import Amazonka.LexV2Models.Types.SlotShape
import Amazonka.LexV2Models.Types.SlotSortAttribute
import Amazonka.LexV2Models.Types.SlotSortBy
import Amazonka.LexV2Models.Types.SlotSummary
import Amazonka.LexV2Models.Types.SlotTypeCategory
import Amazonka.LexV2Models.Types.SlotTypeFilter
import Amazonka.LexV2Models.Types.SlotTypeFilterName
import Amazonka.LexV2Models.Types.SlotTypeFilterOperator
import Amazonka.LexV2Models.Types.SlotTypeSortAttribute
import Amazonka.LexV2Models.Types.SlotTypeSortBy
import Amazonka.LexV2Models.Types.SlotTypeStatistics
import Amazonka.LexV2Models.Types.SlotTypeSummary
import Amazonka.LexV2Models.Types.SlotTypeValue
import Amazonka.LexV2Models.Types.SlotValue
import Amazonka.LexV2Models.Types.SlotValueElicitationSetting
import Amazonka.LexV2Models.Types.SlotValueOverride
import Amazonka.LexV2Models.Types.SlotValueRegexFilter
import Amazonka.LexV2Models.Types.SlotValueResolutionStrategy
import Amazonka.LexV2Models.Types.SlotValueSelectionSetting
import Amazonka.LexV2Models.Types.SortOrder
import Amazonka.LexV2Models.Types.Specifications
import Amazonka.LexV2Models.Types.StillWaitingResponseSpecification
import Amazonka.LexV2Models.Types.SubSlotSetting
import Amazonka.LexV2Models.Types.SubSlotTypeComposition
import Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting
import Amazonka.LexV2Models.Types.TextInputSpecification
import Amazonka.LexV2Models.Types.TextLogDestination
import Amazonka.LexV2Models.Types.TextLogSetting
import Amazonka.LexV2Models.Types.TimeDimension
import Amazonka.LexV2Models.Types.TranscriptFilter
import Amazonka.LexV2Models.Types.TranscriptFormat
import Amazonka.LexV2Models.Types.TranscriptSourceSetting
import Amazonka.LexV2Models.Types.UtteranceAggregationDuration
import Amazonka.LexV2Models.Types.VoiceEngine
import Amazonka.LexV2Models.Types.VoiceSettings
import Amazonka.LexV2Models.Types.WaitAndContinueSpecification
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
"LexV2Models",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"models-v2-lex",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"lex",
$sel:version:Service :: ByteString
Core.version = ByteString
"2020-08-07",
$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
"LexV2Models",
$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
_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
_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
_PreconditionFailedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_PreconditionFailedException :: forall a. AsError a => Fold a ServiceError
_PreconditionFailedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PreconditionFailedException"
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
412
_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
_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