| 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.Kendra.Types.BatchGetDocumentStatusResponseError
Description
Synopsis
- data BatchGetDocumentStatusResponseError = BatchGetDocumentStatusResponseError' {}
- newBatchGetDocumentStatusResponseError :: BatchGetDocumentStatusResponseError
- batchGetDocumentStatusResponseError_documentId :: Lens' BatchGetDocumentStatusResponseError (Maybe Text)
- batchGetDocumentStatusResponseError_errorCode :: Lens' BatchGetDocumentStatusResponseError (Maybe ErrorCode)
- batchGetDocumentStatusResponseError_errorMessage :: Lens' BatchGetDocumentStatusResponseError (Maybe Text)
Documentation
data BatchGetDocumentStatusResponseError Source #
Provides a response when the status of a document could not be retrieved.
See: newBatchGetDocumentStatusResponseError smart constructor.
Constructors
| BatchGetDocumentStatusResponseError' | |
Fields
| |
Instances
newBatchGetDocumentStatusResponseError :: BatchGetDocumentStatusResponseError Source #
Create a value of BatchGetDocumentStatusResponseError 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:documentId:BatchGetDocumentStatusResponseError', batchGetDocumentStatusResponseError_documentId - The identifier of the document whose status could not be retrieved.
$sel:errorCode:BatchGetDocumentStatusResponseError', batchGetDocumentStatusResponseError_errorCode - Indicates the source of the error.
$sel:errorMessage:BatchGetDocumentStatusResponseError', batchGetDocumentStatusResponseError_errorMessage - States that the API could not get the status of a document. This could
be because the request is not valid or there is a system error.
batchGetDocumentStatusResponseError_documentId :: Lens' BatchGetDocumentStatusResponseError (Maybe Text) Source #
The identifier of the document whose status could not be retrieved.
batchGetDocumentStatusResponseError_errorCode :: Lens' BatchGetDocumentStatusResponseError (Maybe ErrorCode) Source #
Indicates the source of the error.
batchGetDocumentStatusResponseError_errorMessage :: Lens' BatchGetDocumentStatusResponseError (Maybe Text) Source #
States that the API could not get the status of a document. This could be because the request is not valid or there is a system error.