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 |
Synopsis
- data CollectionErrorDetail = CollectionErrorDetail' {}
- newCollectionErrorDetail :: CollectionErrorDetail
- collectionErrorDetail_errorCode :: Lens' CollectionErrorDetail (Maybe Text)
- collectionErrorDetail_errorMessage :: Lens' CollectionErrorDetail (Maybe Text)
- collectionErrorDetail_id :: Lens' CollectionErrorDetail (Maybe Text)
- collectionErrorDetail_name :: Lens' CollectionErrorDetail (Maybe Text)
Documentation
data CollectionErrorDetail Source #
Error information for an OpenSearch Serverless request.
See: newCollectionErrorDetail
smart constructor.
CollectionErrorDetail' | |
|
Instances
newCollectionErrorDetail :: CollectionErrorDetail Source #
Create a value of CollectionErrorDetail
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:errorCode:CollectionErrorDetail'
, collectionErrorDetail_errorCode
- The error code for the request. For example, NOT_FOUND
.
$sel:errorMessage:CollectionErrorDetail'
, collectionErrorDetail_errorMessage
- A description of the error. For example,
The specified Collection is not found.
$sel:id:CollectionErrorDetail'
, collectionErrorDetail_id
- If the request contains collection IDs, the response includes the IDs
provided in the request.
$sel:name:CollectionErrorDetail'
, collectionErrorDetail_name
- If the request contains collection names, the response includes the
names provided in the request.
collectionErrorDetail_errorCode :: Lens' CollectionErrorDetail (Maybe Text) Source #
The error code for the request. For example, NOT_FOUND
.
collectionErrorDetail_errorMessage :: Lens' CollectionErrorDetail (Maybe Text) Source #
A description of the error. For example,
The specified Collection is not found.
collectionErrorDetail_id :: Lens' CollectionErrorDetail (Maybe Text) Source #
If the request contains collection IDs, the response includes the IDs provided in the request.
collectionErrorDetail_name :: Lens' CollectionErrorDetail (Maybe Text) Source #
If the request contains collection names, the response includes the names provided in the request.