| 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.GetContentSummary
Description
Retrieves summary information about the content.
Synopsis
- data GetContentSummary = GetContentSummary' {
- contentId :: Text
- knowledgeBaseId :: Text
- newGetContentSummary :: Text -> Text -> GetContentSummary
- getContentSummary_contentId :: Lens' GetContentSummary Text
- getContentSummary_knowledgeBaseId :: Lens' GetContentSummary Text
- data GetContentSummaryResponse = GetContentSummaryResponse' {}
- newGetContentSummaryResponse :: Int -> GetContentSummaryResponse
- getContentSummaryResponse_contentSummary :: Lens' GetContentSummaryResponse (Maybe ContentSummary)
- getContentSummaryResponse_httpStatus :: Lens' GetContentSummaryResponse Int
Creating a Request
data GetContentSummary Source #
See: newGetContentSummary smart constructor.
Constructors
| GetContentSummary' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetContentSummary |
Create a value of GetContentSummary 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:
GetContentSummary, getContentSummary_contentId - The identifier of the content. Can be either the ID or the ARN. URLs
cannot contain the ARN.
GetContentSummary, getContentSummary_knowledgeBaseId - The identifier of the knowledge base. Can be either the ID or the ARN.
URLs cannot contain the ARN.
Request Lenses
getContentSummary_contentId :: Lens' GetContentSummary Text Source #
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
getContentSummary_knowledgeBaseId :: Lens' GetContentSummary Text Source #
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
Destructuring the Response
data GetContentSummaryResponse Source #
See: newGetContentSummaryResponse smart constructor.
Constructors
| GetContentSummaryResponse' | |
Fields
| |
Instances
newGetContentSummaryResponse Source #
Create a value of GetContentSummaryResponse 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:contentSummary:GetContentSummaryResponse', getContentSummaryResponse_contentSummary - The content summary.
$sel:httpStatus:GetContentSummaryResponse', getContentSummaryResponse_httpStatus - The response's http status code.
Response Lenses
getContentSummaryResponse_contentSummary :: Lens' GetContentSummaryResponse (Maybe ContentSummary) Source #
The content summary.
getContentSummaryResponse_httpStatus :: Lens' GetContentSummaryResponse Int Source #
The response's http status code.