Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
GetAssistant' | |
|
Instances
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.
GetAssistantResponse' | |
|
Instances
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
getAssistantResponse_assistant :: Lens' GetAssistantResponse (Maybe AssistantData) Source #
Information about the assistant.
getAssistantResponse_httpStatus :: Lens' GetAssistantResponse Int Source #
The response's http status code.