amazonka-lex-runtime-2.0: Amazon Lex Runtime Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexRuntime.DeleteSession

Description

Removes session information for a specified bot, alias, and user ID.

Synopsis

Creating a Request

data DeleteSession Source #

See: newDeleteSession smart constructor.

Constructors

DeleteSession' 

Fields

  • botName :: Text

    The name of the bot that contains the session data.

  • botAlias :: Text

    The alias in use for the bot that contains the session data.

  • userId :: Text

    The identifier of the user associated with the session data.

Instances

Instances details
ToHeaders DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

ToPath DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

ToQuery DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

AWSRequest DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Associated Types

type AWSResponse DeleteSession #

Generic DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Associated Types

type Rep DeleteSession :: Type -> Type #

Read DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Show DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

NFData DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Methods

rnf :: DeleteSession -> () #

Eq DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Hashable DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

type AWSResponse DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

type Rep DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

type Rep DeleteSession = D1 ('MetaData "DeleteSession" "Amazonka.LexRuntime.DeleteSession" "amazonka-lex-runtime-2.0-Hs8dyr5aBISIGW4JmDmUkW" 'False) (C1 ('MetaCons "DeleteSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "botName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "botAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteSession Source #

Create a value of DeleteSession with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DeleteSession, deleteSession_botName - The name of the bot that contains the session data.

DeleteSession, deleteSession_botAlias - The alias in use for the bot that contains the session data.

DeleteSession, deleteSession_userId - The identifier of the user associated with the session data.

Request Lenses

deleteSession_botName :: Lens' DeleteSession Text Source #

The name of the bot that contains the session data.

deleteSession_botAlias :: Lens' DeleteSession Text Source #

The alias in use for the bot that contains the session data.

deleteSession_userId :: Lens' DeleteSession Text Source #

The identifier of the user associated with the session data.

Destructuring the Response

data DeleteSessionResponse Source #

See: newDeleteSessionResponse smart constructor.

Constructors

DeleteSessionResponse' 

Fields

Instances

Instances details
Generic DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Associated Types

type Rep DeleteSessionResponse :: Type -> Type #

Read DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Show DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

NFData DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Methods

rnf :: DeleteSessionResponse -> () #

Eq DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

type Rep DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

type Rep DeleteSessionResponse = D1 ('MetaData "DeleteSessionResponse" "Amazonka.LexRuntime.DeleteSession" "amazonka-lex-runtime-2.0-Hs8dyr5aBISIGW4JmDmUkW" 'False) (C1 ('MetaCons "DeleteSessionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDeleteSessionResponse Source #

Create a value of DeleteSessionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DeleteSession, deleteSessionResponse_botAlias - The alias in use for the bot associated with the session data.

DeleteSession, deleteSessionResponse_botName - The name of the bot associated with the session data.

$sel:sessionId:DeleteSessionResponse', deleteSessionResponse_sessionId - The unique identifier for the session.

DeleteSession, deleteSessionResponse_userId - The ID of the client application user.

$sel:httpStatus:DeleteSessionResponse', deleteSessionResponse_httpStatus - The response's http status code.

Response Lenses

deleteSessionResponse_botAlias :: Lens' DeleteSessionResponse (Maybe Text) Source #

The alias in use for the bot associated with the session data.

deleteSessionResponse_botName :: Lens' DeleteSessionResponse (Maybe Text) Source #

The name of the bot associated with the session data.

deleteSessionResponse_sessionId :: Lens' DeleteSessionResponse (Maybe Text) Source #

The unique identifier for the session.

deleteSessionResponse_userId :: Lens' DeleteSessionResponse (Maybe Text) Source #

The ID of the client application user.