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.GetAssistant

Description

Retrieves information about an assistant.

Synopsis

Creating a Request

data GetAssistant Source #

See: newGetAssistant smart constructor.

Constructors

GetAssistant' 

Fields

  • assistantId :: Text

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

Instances

Instances details
Eq GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Read GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Show GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Generic GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Associated Types

type Rep GetAssistant :: Type -> Type #

NFData GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Methods

rnf :: GetAssistant -> () #

Hashable GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

AWSRequest GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Associated Types

type AWSResponse GetAssistant #

ToHeaders GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

ToPath GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

ToQuery GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

type Rep GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

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

Defined in Amazonka.Wisdom.GetAssistant

newGetAssistant Source #

Create a value of GetAssistant 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:GetAssistant', getAssistant_assistantId - The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request Lenses

getAssistant_assistantId :: Lens' GetAssistant Text Source #

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

Destructuring the Response

data GetAssistantResponse Source #

See: newGetAssistantResponse smart constructor.

Constructors

GetAssistantResponse' 

Fields

Instances

Instances details
Eq GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Read GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Show GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Generic GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Associated Types

type Rep GetAssistantResponse :: Type -> Type #

NFData GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Methods

rnf :: GetAssistantResponse -> () #

type Rep GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

type Rep GetAssistantResponse = D1 ('MetaData "GetAssistantResponse" "Amazonka.Wisdom.GetAssistant" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "GetAssistantResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assistant") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssistantData)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetAssistantResponse Source #

Create a value of GetAssistantResponse 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:assistant:GetAssistantResponse', getAssistantResponse_assistant - Information about the assistant.

$sel:httpStatus:GetAssistantResponse', getAssistantResponse_httpStatus - The response's http status code.

Response Lenses