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

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
Eq DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Read DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Show DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Generic DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Associated Types

type Rep DeleteSession :: Type -> Type #

NFData DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Methods

rnf :: DeleteSession -> () #

Hashable DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

AWSRequest DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Associated Types

type AWSResponse DeleteSession #

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

type Rep DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

type Rep DeleteSession = D1 ('MetaData "DeleteSession" "Amazonka.LexRuntime.DeleteSession" "libZSservicesZSamazonka-lex-runtimeZSamazonka-lex-runtime" '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))))
type AWSResponse DeleteSession Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

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:

$sel:botName:DeleteSession', deleteSession_botName - The name of the bot that contains the session data.

$sel:botAlias:DeleteSession', deleteSession_botAlias - The alias in use for the bot that contains the session data.

$sel:userId: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
Eq DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Read DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Show DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Generic DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Associated Types

type Rep DeleteSessionResponse :: Type -> Type #

NFData DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

Methods

rnf :: DeleteSessionResponse -> () #

type Rep DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.LexRuntime.DeleteSession

type Rep DeleteSessionResponse = D1 ('MetaData "DeleteSessionResponse" "Amazonka.LexRuntime.DeleteSession" "libZSservicesZSamazonka-lex-runtimeZSamazonka-lex-runtime" '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 "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sessionId") '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:

$sel:botAlias:DeleteSession', deleteSessionResponse_botAlias - The alias in use for the bot associated with the session data.

$sel:botName:DeleteSession', deleteSessionResponse_botName - The name of the bot associated with the session data.

$sel:userId:DeleteSession', deleteSessionResponse_userId - The ID of the client application user.

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

$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_userId :: Lens' DeleteSessionResponse (Maybe Text) Source #

The ID of the client application user.

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

The unique identifier for the session.