Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Performs all the read operations in a batch.
Synopsis
- data BatchRead = BatchRead' {}
- newBatchRead :: Text -> BatchRead
- batchRead_consistencyLevel :: Lens' BatchRead (Maybe ConsistencyLevel)
- batchRead_directoryArn :: Lens' BatchRead Text
- batchRead_operations :: Lens' BatchRead [BatchReadOperation]
- data BatchReadResponse = BatchReadResponse' {}
- newBatchReadResponse :: Int -> BatchReadResponse
- batchReadResponse_responses :: Lens' BatchReadResponse (Maybe [BatchReadOperationResponse])
- batchReadResponse_httpStatus :: Lens' BatchReadResponse Int
Creating a Request
See: newBatchRead
smart constructor.
BatchRead' | |
|
Instances
Create a value of BatchRead
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:consistencyLevel:BatchRead'
, batchRead_consistencyLevel
- Represents the manner and timing in which the successful write or update
of an object is reflected in a subsequent read operation of that same
object.
$sel:directoryArn:BatchRead'
, batchRead_directoryArn
- The Amazon Resource Name (ARN) that is associated with the Directory.
For more information, see arns.
$sel:operations:BatchRead'
, batchRead_operations
- A list of operations that are part of the batch.
Request Lenses
batchRead_consistencyLevel :: Lens' BatchRead (Maybe ConsistencyLevel) Source #
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
batchRead_directoryArn :: Lens' BatchRead Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.
batchRead_operations :: Lens' BatchRead [BatchReadOperation] Source #
A list of operations that are part of the batch.
Destructuring the Response
data BatchReadResponse Source #
See: newBatchReadResponse
smart constructor.
BatchReadResponse' | |
|
Instances
Create a value of BatchReadResponse
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:responses:BatchReadResponse'
, batchReadResponse_responses
- A list of all the responses for each batch read.
$sel:httpStatus:BatchReadResponse'
, batchReadResponse_httpStatus
- The response's http status code.
Response Lenses
batchReadResponse_responses :: Lens' BatchReadResponse (Maybe [BatchReadOperationResponse]) Source #
A list of all the responses for each batch read.
batchReadResponse_httpStatus :: Lens' BatchReadResponse Int Source #
The response's http status code.