Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Performs all the read operations in a batch.
Synopsis
- batchRead :: Text -> BatchRead
- data BatchRead
- brConsistencyLevel :: Lens' BatchRead (Maybe ConsistencyLevel)
- brDirectoryARN :: Lens' BatchRead Text
- brOperations :: Lens' BatchRead [BatchReadOperation]
- batchReadResponse :: Int -> BatchReadResponse
- data BatchReadResponse
- brrsResponses :: Lens' BatchReadResponse [BatchReadOperationResponse]
- brrsResponseStatus :: Lens' BatchReadResponse Int
Creating a Request
Creates a value of BatchRead
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
brConsistencyLevel
- 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.brDirectoryARN
- The Amazon Resource Name (ARN) that is associated with theDirectory
. For more information, seearns
.brOperations
- A list of operations that are part of the batch.
See: batchRead
smart constructor.
Instances
Request Lenses
brConsistencyLevel :: 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.
brDirectoryARN :: Lens' BatchRead Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory
. For more information, see arns
.
brOperations :: Lens' BatchRead [BatchReadOperation] Source #
A list of operations that are part of the batch.
Destructuring the Response
Creates a value of BatchReadResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
brrsResponses
- A list of all the responses for each batch read.brrsResponseStatus
- -- | The response status code.
data BatchReadResponse Source #
See: batchReadResponse
smart constructor.
Instances
Response Lenses
brrsResponses :: Lens' BatchReadResponse [BatchReadOperationResponse] Source #
A list of all the responses for each batch read.
brrsResponseStatus :: Lens' BatchReadResponse Int Source #
- - | The response status code.