| 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 |
Amazonka.FraudDetector.BatchGetVariable
Description
Gets a batch of variables.
Synopsis
- data BatchGetVariable = BatchGetVariable' {}
- newBatchGetVariable :: NonEmpty Text -> BatchGetVariable
- batchGetVariable_names :: Lens' BatchGetVariable (NonEmpty Text)
- data BatchGetVariableResponse = BatchGetVariableResponse' {
- errors :: Maybe [BatchGetVariableError]
- variables :: Maybe [Variable]
- httpStatus :: Int
- newBatchGetVariableResponse :: Int -> BatchGetVariableResponse
- batchGetVariableResponse_errors :: Lens' BatchGetVariableResponse (Maybe [BatchGetVariableError])
- batchGetVariableResponse_variables :: Lens' BatchGetVariableResponse (Maybe [Variable])
- batchGetVariableResponse_httpStatus :: Lens' BatchGetVariableResponse Int
Creating a Request
data BatchGetVariable Source #
See: newBatchGetVariable smart constructor.
Constructors
| BatchGetVariable' | |
Instances
Arguments
| :: NonEmpty Text | |
| -> BatchGetVariable |
Create a value of BatchGetVariable 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:names:BatchGetVariable', batchGetVariable_names - The list of variable names to get.
Request Lenses
batchGetVariable_names :: Lens' BatchGetVariable (NonEmpty Text) Source #
The list of variable names to get.
Destructuring the Response
data BatchGetVariableResponse Source #
See: newBatchGetVariableResponse smart constructor.
Constructors
| BatchGetVariableResponse' | |
Fields
| |
Instances
newBatchGetVariableResponse Source #
Create a value of BatchGetVariableResponse 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:BatchGetVariableResponse', batchGetVariableResponse_errors - The errors from the request.
$sel:variables:BatchGetVariableResponse', batchGetVariableResponse_variables - The returned variables.
$sel:httpStatus:BatchGetVariableResponse', batchGetVariableResponse_httpStatus - The response's http status code.
Response Lenses
batchGetVariableResponse_errors :: Lens' BatchGetVariableResponse (Maybe [BatchGetVariableError]) Source #
The errors from the request.
batchGetVariableResponse_variables :: Lens' BatchGetVariableResponse (Maybe [Variable]) Source #
The returned variables.
batchGetVariableResponse_httpStatus :: Lens' BatchGetVariableResponse Int Source #
The response's http status code.