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