amazonka-wisdom-2.0: Amazon Connect Wisdom 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.Wisdom.GetSession

Description

Retrieves information for a specified session.

Synopsis

Creating a Request

data GetSession Source #

See: newGetSession smart constructor.

Constructors

GetSession' 

Fields

  • assistantId :: Text

    The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • sessionId :: Text

    The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

Instances

Instances details
ToHeaders GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Methods

toHeaders :: GetSession -> [Header] #

ToPath GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

ToQuery GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

AWSRequest GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Associated Types

type AWSResponse GetSession #

Generic GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Associated Types

type Rep GetSession :: Type -> Type #

Read GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Show GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

NFData GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Methods

rnf :: GetSession -> () #

Eq GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Hashable GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

type AWSResponse GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

type Rep GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

type Rep GetSession = D1 ('MetaData "GetSession" "Amazonka.Wisdom.GetSession" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "GetSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assistantId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetSession Source #

Create a value of GetSession 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:

GetSession, getSession_assistantId - The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

GetSession, getSession_sessionId - The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request Lenses

getSession_assistantId :: Lens' GetSession Text Source #

The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

getSession_sessionId :: Lens' GetSession Text Source #

The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

Destructuring the Response

data GetSessionResponse Source #

See: newGetSessionResponse smart constructor.

Constructors

GetSessionResponse' 

Fields

Instances

Instances details
Generic GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Associated Types

type Rep GetSessionResponse :: Type -> Type #

Read GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Show GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

NFData GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Methods

rnf :: GetSessionResponse -> () #

Eq GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

type Rep GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

type Rep GetSessionResponse = D1 ('MetaData "GetSessionResponse" "Amazonka.Wisdom.GetSession" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "GetSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "session") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SessionData)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSessionResponse Source #

Create a value of GetSessionResponse 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:session:GetSessionResponse', getSessionResponse_session - The session.

$sel:httpStatus:GetSessionResponse', getSessionResponse_httpStatus - The response's http status code.

Response Lenses