amazonka-lex-runtime-1.6.1: Amazon Lex Runtime Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.LexRuntime.Types

Contents

Description

 
Synopsis

Service Configuration

lexRuntime :: Service Source #

API version 2016-11-28 of the Amazon Lex Runtime Service SDK configuration.

Errors

_NotAcceptableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The accept header in the request does not have a valid value.

_DependencyFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. For example,

  • If Amazon Lex does not have sufficient permissions to call a Lambda function.
  • If a Lambda function takes longer than 30 seconds to execute.
  • If a fulfillment Lambda function returns a Delegate dialog action without removing any slot values.

_UnsupportedMediaTypeException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Content-Type header (PostContent API) has an invalid value.

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Two clients are using the same AWS account, Amazon Lex bot, and user ID.

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource (such as the Amazon Lex bot or an alias) that is referred to is not found.

_InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Internal service error. Retry the call.

_BadGatewayException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Either the Amazon Lex bot is still building, or one of the dependent services (Amazon Polly, AWS Lambda) failed with an internal service error.

_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes.

ContentType

data ContentType Source #

Instances
Bounded ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Enum ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Eq ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Data ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContentType -> c ContentType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContentType #

toConstr :: ContentType -> Constr #

dataTypeOf :: ContentType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContentType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContentType) #

gmapT :: (forall b. Data b => b -> b) -> ContentType -> ContentType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContentType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContentType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContentType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContentType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContentType -> m ContentType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentType -> m ContentType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentType -> m ContentType #

Ord ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Read ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Show ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Generic ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Associated Types

type Rep ContentType :: Type -> Type #

Hashable ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

FromJSON ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToHeader ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToQuery ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToByteString ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

FromText ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToText ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Methods

toText :: ContentType -> Text #

NFData ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Methods

rnf :: ContentType -> () #

type Rep ContentType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

type Rep ContentType = D1 (MetaData "ContentType" "Network.AWS.LexRuntime.Types.Sum" "amazonka-lex-runtime-1.6.1-Hd9cm3dncWCDjYObOvteWj" False) (C1 (MetaCons "ApplicationVnd_Amazonaws_Card_Generic" PrefixI False) (U1 :: Type -> Type))

DialogState

data DialogState Source #

Instances
Bounded DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Enum DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Eq DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Data DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DialogState -> c DialogState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DialogState #

toConstr :: DialogState -> Constr #

dataTypeOf :: DialogState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DialogState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DialogState) #

gmapT :: (forall b. Data b => b -> b) -> DialogState -> DialogState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DialogState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DialogState -> r #

gmapQ :: (forall d. Data d => d -> u) -> DialogState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DialogState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DialogState -> m DialogState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DialogState -> m DialogState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DialogState -> m DialogState #

Ord DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Read DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Show DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Generic DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Associated Types

type Rep DialogState :: Type -> Type #

Hashable DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

FromJSON DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToHeader DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToQuery DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToByteString DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

FromText DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToText DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Methods

toText :: DialogState -> Text #

NFData DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Methods

rnf :: DialogState -> () #

type Rep DialogState Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

type Rep DialogState = D1 (MetaData "DialogState" "Network.AWS.LexRuntime.Types.Sum" "amazonka-lex-runtime-1.6.1-Hd9cm3dncWCDjYObOvteWj" False) ((C1 (MetaCons "ConfirmIntent" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ElicitIntent" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ElicitSlot" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Fulfilled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ReadyForFulfillment" PrefixI False) (U1 :: Type -> Type))))

MessageFormatType

data MessageFormatType Source #

Instances
Bounded MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Enum MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Eq MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Data MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MessageFormatType -> c MessageFormatType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MessageFormatType #

toConstr :: MessageFormatType -> Constr #

dataTypeOf :: MessageFormatType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MessageFormatType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MessageFormatType) #

gmapT :: (forall b. Data b => b -> b) -> MessageFormatType -> MessageFormatType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MessageFormatType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MessageFormatType -> r #

gmapQ :: (forall d. Data d => d -> u) -> MessageFormatType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MessageFormatType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MessageFormatType -> m MessageFormatType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MessageFormatType -> m MessageFormatType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MessageFormatType -> m MessageFormatType #

Ord MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Read MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Show MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Generic MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Associated Types

type Rep MessageFormatType :: Type -> Type #

Hashable MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

FromJSON MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToHeader MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToQuery MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToByteString MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

FromText MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

ToText MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

NFData MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

Methods

rnf :: MessageFormatType -> () #

type Rep MessageFormatType Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Sum

type Rep MessageFormatType = D1 (MetaData "MessageFormatType" "Network.AWS.LexRuntime.Types.Sum" "amazonka-lex-runtime-1.6.1-Hd9cm3dncWCDjYObOvteWj" False) ((C1 (MetaCons "Composite" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CustomPayload" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "PlainText" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Ssml" PrefixI False) (U1 :: Type -> Type)))

Button

data Button Source #

Represents an option to be shown on the client platform (Facebook, Slack, etc.)

See: button smart constructor.

Instances
Eq Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Methods

(==) :: Button -> Button -> Bool #

(/=) :: Button -> Button -> Bool #

Data Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Button -> c Button #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Button #

toConstr :: Button -> Constr #

dataTypeOf :: Button -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Button) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Button) #

gmapT :: (forall b. Data b => b -> b) -> Button -> Button #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Button -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Button -> r #

gmapQ :: (forall d. Data d => d -> u) -> Button -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Button -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Button -> m Button #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Button -> m Button #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Button -> m Button #

Read Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Show Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Generic Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Associated Types

type Rep Button :: Type -> Type #

Methods

from :: Button -> Rep Button x #

to :: Rep Button x -> Button #

Hashable Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Methods

hashWithSalt :: Int -> Button -> Int #

hash :: Button -> Int #

FromJSON Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

NFData Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Methods

rnf :: Button -> () #

type Rep Button Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

type Rep Button = D1 (MetaData "Button" "Network.AWS.LexRuntime.Types.Product" "amazonka-lex-runtime-1.6.1-Hd9cm3dncWCDjYObOvteWj" False) (C1 (MetaCons "Button'" PrefixI True) (S1 (MetaSel (Just "_bText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

button Source #

Arguments

:: Text

bText

-> Text

bValue

-> Button 

Creates a value of Button with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bText - Text that is visible to the user on the button.
  • bValue - The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."

bText :: Lens' Button Text Source #

Text that is visible to the user on the button.

bValue :: Lens' Button Text Source #

The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."

GenericAttachment

data GenericAttachment Source #

Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.

See: genericAttachment smart constructor.

Instances
Eq GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Data GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GenericAttachment -> c GenericAttachment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GenericAttachment #

toConstr :: GenericAttachment -> Constr #

dataTypeOf :: GenericAttachment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GenericAttachment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GenericAttachment) #

gmapT :: (forall b. Data b => b -> b) -> GenericAttachment -> GenericAttachment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GenericAttachment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GenericAttachment -> r #

gmapQ :: (forall d. Data d => d -> u) -> GenericAttachment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GenericAttachment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GenericAttachment -> m GenericAttachment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GenericAttachment -> m GenericAttachment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GenericAttachment -> m GenericAttachment #

Read GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Show GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Generic GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Associated Types

type Rep GenericAttachment :: Type -> Type #

Hashable GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

FromJSON GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

NFData GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Methods

rnf :: GenericAttachment -> () #

type Rep GenericAttachment Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

type Rep GenericAttachment = D1 (MetaData "GenericAttachment" "Network.AWS.LexRuntime.Types.Product" "amazonka-lex-runtime-1.6.1-Hd9cm3dncWCDjYObOvteWj" False) (C1 (MetaCons "GenericAttachment'" PrefixI True) ((S1 (MetaSel (Just "_gaButtons") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Button])) :*: S1 (MetaSel (Just "_gaSubTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gaImageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gaAttachmentLinkURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gaTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

genericAttachment :: GenericAttachment Source #

Creates a value of GenericAttachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gaButtons :: Lens' GenericAttachment [Button] Source #

The list of options to show to the user.

gaSubTitle :: Lens' GenericAttachment (Maybe Text) Source #

The subtitle shown below the title.

gaImageURL :: Lens' GenericAttachment (Maybe Text) Source #

The URL of an image that is displayed to the user.

gaAttachmentLinkURL :: Lens' GenericAttachment (Maybe Text) Source #

The URL of an attachment to the response card.

gaTitle :: Lens' GenericAttachment (Maybe Text) Source #

The title of the option.

ResponseCard

data ResponseCard Source #

If you configure a response card when creating your bots, Amazon Lex substitutes the session attributes and slot values that are available, and then returns it. The response card can also come from a Lambda function ( dialogCodeHook and fulfillmentActivity on an intent).

See: responseCard smart constructor.

Instances
Eq ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Data ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResponseCard -> c ResponseCard #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResponseCard #

toConstr :: ResponseCard -> Constr #

dataTypeOf :: ResponseCard -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ResponseCard) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResponseCard) #

gmapT :: (forall b. Data b => b -> b) -> ResponseCard -> ResponseCard #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResponseCard -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResponseCard -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResponseCard -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResponseCard -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResponseCard -> m ResponseCard #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResponseCard -> m ResponseCard #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResponseCard -> m ResponseCard #

Read ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Show ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Generic ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Associated Types

type Rep ResponseCard :: Type -> Type #

Hashable ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

FromJSON ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

NFData ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

Methods

rnf :: ResponseCard -> () #

type Rep ResponseCard Source # 
Instance details

Defined in Network.AWS.LexRuntime.Types.Product

type Rep ResponseCard = D1 (MetaData "ResponseCard" "Network.AWS.LexRuntime.Types.Product" "amazonka-lex-runtime-1.6.1-Hd9cm3dncWCDjYObOvteWj" False) (C1 (MetaCons "ResponseCard'" PrefixI True) (S1 (MetaSel (Just "_rcGenericAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GenericAttachment])) :*: (S1 (MetaSel (Just "_rcVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rcContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContentType)))))

responseCard :: ResponseCard Source #

Creates a value of ResponseCard with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rcGenericAttachments :: Lens' ResponseCard [GenericAttachment] Source #

An array of attachment objects representing options.

rcVersion :: Lens' ResponseCard (Maybe Text) Source #

The version of the response card format.

rcContentType :: Lens' ResponseCard (Maybe ContentType) Source #

The content type of the response.