| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Wisdom.GetAssistant
Description
Retrieves information about an assistant.
Synopsis
- data GetAssistant = GetAssistant' {
- assistantId :: Text
- newGetAssistant :: Text -> GetAssistant
- getAssistant_assistantId :: Lens' GetAssistant Text
- data GetAssistantResponse = GetAssistantResponse' {}
- newGetAssistantResponse :: Int -> GetAssistantResponse
- getAssistantResponse_assistant :: Lens' GetAssistantResponse (Maybe AssistantData)
- getAssistantResponse_httpStatus :: Lens' GetAssistantResponse Int
Creating a Request
data GetAssistant Source #
See: newGetAssistant smart constructor.
Constructors
| GetAssistant' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetAssistant |
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
newGetAssistantResponse Source #
Arguments
| :: Int | |
| -> GetAssistantResponse |
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
getAssistantResponse_assistant :: Lens' GetAssistantResponse (Maybe AssistantData) Source #
Information about the assistant.
getAssistantResponse_httpStatus :: Lens' GetAssistantResponse Int Source #
The response's http status code.