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

AWSRequest GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Associated Types

type AWSResponse GetAssistant #

Generic GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Associated Types

type Rep GetAssistant :: Type -> Type #

Read GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Show GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

NFData GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Methods

rnf :: GetAssistant -> () #

Eq GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Hashable GetAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

type AWSResponse 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" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "GetAssistant'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assistantId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Associated Types

type Rep GetAssistantResponse :: Type -> Type #

Read GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Show GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

NFData GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

Methods

rnf :: GetAssistantResponse -> () #

Eq GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

type Rep GetAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetAssistant

type Rep GetAssistantResponse = D1 ('MetaData "GetAssistantResponse" "Amazonka.Wisdom.GetAssistant" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" '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