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 |
Creates a batch of variables.
Synopsis
- data BatchCreateVariable = BatchCreateVariable' {
- tags :: Maybe [Tag]
- variableEntries :: NonEmpty VariableEntry
- newBatchCreateVariable :: NonEmpty VariableEntry -> BatchCreateVariable
- batchCreateVariable_tags :: Lens' BatchCreateVariable (Maybe [Tag])
- batchCreateVariable_variableEntries :: Lens' BatchCreateVariable (NonEmpty VariableEntry)
- data BatchCreateVariableResponse = BatchCreateVariableResponse' {}
- newBatchCreateVariableResponse :: Int -> BatchCreateVariableResponse
- batchCreateVariableResponse_errors :: Lens' BatchCreateVariableResponse (Maybe [BatchCreateVariableError])
- batchCreateVariableResponse_httpStatus :: Lens' BatchCreateVariableResponse Int
Creating a Request
data BatchCreateVariable Source #
See: newBatchCreateVariable
smart constructor.
BatchCreateVariable' | |
|
Instances
newBatchCreateVariable Source #
Create a value of BatchCreateVariable
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:tags:BatchCreateVariable'
, batchCreateVariable_tags
- A collection of key and value pairs.
$sel:variableEntries:BatchCreateVariable'
, batchCreateVariable_variableEntries
- The list of variables for the batch create variable request.
Request Lenses
batchCreateVariable_tags :: Lens' BatchCreateVariable (Maybe [Tag]) Source #
A collection of key and value pairs.
batchCreateVariable_variableEntries :: Lens' BatchCreateVariable (NonEmpty VariableEntry) Source #
The list of variables for the batch create variable request.
Destructuring the Response
data BatchCreateVariableResponse Source #
See: newBatchCreateVariableResponse
smart constructor.
BatchCreateVariableResponse' | |
|
Instances
newBatchCreateVariableResponse Source #
Create a value of BatchCreateVariableResponse
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:BatchCreateVariableResponse'
, batchCreateVariableResponse_errors
- Provides the errors for the BatchCreateVariable
request.
$sel:httpStatus:BatchCreateVariableResponse'
, batchCreateVariableResponse_httpStatus
- The response's http status code.
Response Lenses
batchCreateVariableResponse_errors :: Lens' BatchCreateVariableResponse (Maybe [BatchCreateVariableError]) Source #
Provides the errors for the BatchCreateVariable
request.
batchCreateVariableResponse_httpStatus :: Lens' BatchCreateVariableResponse Int Source #
The response's http status code.