| 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.Status
Description
Synopsis
- data Status = Status' {}
- newStatus :: Status
- status_documentId :: Lens' Status (Maybe Text)
- status_documentStatus :: Lens' Status (Maybe DocumentStatus)
- status_failureCode :: Lens' Status (Maybe Text)
- status_failureReason :: Lens' Status (Maybe Text)
Documentation
Provides information about the status of documents submitted for indexing.
See: newStatus smart constructor.
Constructors
| Status' | |
Fields
| |
Instances
| FromJSON Status Source # | |
| Generic Status Source # | |
| Read Status Source # | |
| Show Status Source # | |
| NFData Status Source # | |
Defined in Amazonka.Kendra.Types.Status | |
| Eq Status Source # | |
| Hashable Status Source # | |
Defined in Amazonka.Kendra.Types.Status | |
| type Rep Status Source # | |
Defined in Amazonka.Kendra.Types.Status type Rep Status = D1 ('MetaData "Status" "Amazonka.Kendra.Types.Status" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "Status'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "documentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentStatus))) :*: (S1 ('MetaSel ('Just "failureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |
Create a value of Status 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:Status', status_documentId - The identifier of the document.
$sel:documentStatus:Status', status_documentStatus - The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is deleted.
$sel:failureCode:Status', status_failureCode - Indicates the source of the error.
$sel:failureReason:Status', status_failureReason - Provides detailed information about why the document couldn't be
indexed. Use this information to correct the error before you resubmit
the document for indexing.
status_documentStatus :: Lens' Status (Maybe DocumentStatus) Source #
The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is deleted.