libZSservicesZSamazonka-wisdomZSamazonka-wisdom
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.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
Eq GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Read GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Show GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Generic GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Associated Types

type Rep GetSession :: Type -> Type #

NFData GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Methods

rnf :: GetSession -> () #

Hashable GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

AWSRequest GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Associated Types

type AWSResponse GetSession #

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

type Rep GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

type Rep GetSession = D1 ('MetaData "GetSession" "Amazonka.Wisdom.GetSession" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "GetSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assistantId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetSession Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

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:

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

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

Defined in Amazonka.Wisdom.GetSession

Read GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Show GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Generic GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Associated Types

type Rep GetSessionResponse :: Type -> Type #

NFData GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

Methods

rnf :: GetSessionResponse -> () #

type Rep GetSessionResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetSession

type Rep GetSessionResponse = D1 ('MetaData "GetSessionResponse" "Amazonka.Wisdom.GetSession" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" '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