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 |
Retrieves a batch of Records
from a FeatureGroup
.
Synopsis
- data BatchGetRecord = BatchGetRecord' {}
- newBatchGetRecord :: NonEmpty BatchGetRecordIdentifier -> BatchGetRecord
- batchGetRecord_identifiers :: Lens' BatchGetRecord (NonEmpty BatchGetRecordIdentifier)
- data BatchGetRecordResponse = BatchGetRecordResponse' {}
- newBatchGetRecordResponse :: Int -> BatchGetRecordResponse
- batchGetRecordResponse_httpStatus :: Lens' BatchGetRecordResponse Int
- batchGetRecordResponse_records :: Lens' BatchGetRecordResponse [BatchGetRecordResultDetail]
- batchGetRecordResponse_errors :: Lens' BatchGetRecordResponse [BatchGetRecordError]
- batchGetRecordResponse_unprocessedIdentifiers :: Lens' BatchGetRecordResponse [BatchGetRecordIdentifier]
Creating a Request
data BatchGetRecord Source #
See: newBatchGetRecord
smart constructor.
BatchGetRecord' | |
|
Instances
Create a value of BatchGetRecord
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:identifiers:BatchGetRecord'
, batchGetRecord_identifiers
- A list of FeatureGroup
names, with their corresponding
RecordIdentifier
value, and Feature name that have been requested to
be retrieved in batch.
Request Lenses
batchGetRecord_identifiers :: Lens' BatchGetRecord (NonEmpty BatchGetRecordIdentifier) Source #
A list of FeatureGroup
names, with their corresponding
RecordIdentifier
value, and Feature name that have been requested to
be retrieved in batch.
Destructuring the Response
data BatchGetRecordResponse Source #
See: newBatchGetRecordResponse
smart constructor.
BatchGetRecordResponse' | |
|
Instances
newBatchGetRecordResponse Source #
Create a value of BatchGetRecordResponse
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:httpStatus:BatchGetRecordResponse'
, batchGetRecordResponse_httpStatus
- The response's http status code.
$sel:records:BatchGetRecordResponse'
, batchGetRecordResponse_records
- A list of Records you requested to be retrieved in batch.
$sel:errors:BatchGetRecordResponse'
, batchGetRecordResponse_errors
- A list of errors that have occured when retrieving a batch of Records.
$sel:unprocessedIdentifiers:BatchGetRecordResponse'
, batchGetRecordResponse_unprocessedIdentifiers
- A unprocessed list of FeatureGroup
names, with their corresponding
RecordIdentifier
value, and Feature name.
Response Lenses
batchGetRecordResponse_httpStatus :: Lens' BatchGetRecordResponse Int Source #
The response's http status code.
batchGetRecordResponse_records :: Lens' BatchGetRecordResponse [BatchGetRecordResultDetail] Source #
A list of Records you requested to be retrieved in batch.
batchGetRecordResponse_errors :: Lens' BatchGetRecordResponse [BatchGetRecordError] Source #
A list of errors that have occured when retrieving a batch of Records.
batchGetRecordResponse_unprocessedIdentifiers :: Lens' BatchGetRecordResponse [BatchGetRecordIdentifier] Source #
A unprocessed list of FeatureGroup
names, with their corresponding
RecordIdentifier
value, and Feature name.