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 |
Deletes one or more read sets.
Synopsis
- data BatchDeleteReadSet = BatchDeleteReadSet' {
- ids :: NonEmpty Text
- sequenceStoreId :: Text
- newBatchDeleteReadSet :: NonEmpty Text -> Text -> BatchDeleteReadSet
- batchDeleteReadSet_ids :: Lens' BatchDeleteReadSet (NonEmpty Text)
- batchDeleteReadSet_sequenceStoreId :: Lens' BatchDeleteReadSet Text
- data BatchDeleteReadSetResponse = BatchDeleteReadSetResponse' {
- errors :: Maybe [ReadSetBatchError]
- httpStatus :: Int
- newBatchDeleteReadSetResponse :: Int -> BatchDeleteReadSetResponse
- batchDeleteReadSetResponse_errors :: Lens' BatchDeleteReadSetResponse (Maybe [ReadSetBatchError])
- batchDeleteReadSetResponse_httpStatus :: Lens' BatchDeleteReadSetResponse Int
Creating a Request
data BatchDeleteReadSet Source #
See: newBatchDeleteReadSet
smart constructor.
BatchDeleteReadSet' | |
|
Instances
newBatchDeleteReadSet Source #
Create a value of BatchDeleteReadSet
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:ids:BatchDeleteReadSet'
, batchDeleteReadSet_ids
- The read sets' IDs.
BatchDeleteReadSet
, batchDeleteReadSet_sequenceStoreId
- The read sets' sequence store ID.
Request Lenses
batchDeleteReadSet_ids :: Lens' BatchDeleteReadSet (NonEmpty Text) Source #
The read sets' IDs.
batchDeleteReadSet_sequenceStoreId :: Lens' BatchDeleteReadSet Text Source #
The read sets' sequence store ID.
Destructuring the Response
data BatchDeleteReadSetResponse Source #
See: newBatchDeleteReadSetResponse
smart constructor.
BatchDeleteReadSetResponse' | |
|
Instances
newBatchDeleteReadSetResponse Source #
Create a value of BatchDeleteReadSetResponse
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:errors:BatchDeleteReadSetResponse'
, batchDeleteReadSetResponse_errors
- Errors returned by individual delete operations.
$sel:httpStatus:BatchDeleteReadSetResponse'
, batchDeleteReadSetResponse_httpStatus
- The response's http status code.
Response Lenses
batchDeleteReadSetResponse_errors :: Lens' BatchDeleteReadSetResponse (Maybe [ReadSetBatchError]) Source #
Errors returned by individual delete operations.
batchDeleteReadSetResponse_httpStatus :: Lens' BatchDeleteReadSetResponse Int Source #
The response's http status code.