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 |
Creates and updates a set of field options for a single select field in a Cases domain.
Synopsis
- data BatchPutFieldOptions = BatchPutFieldOptions' {}
- newBatchPutFieldOptions :: Text -> Text -> BatchPutFieldOptions
- batchPutFieldOptions_domainId :: Lens' BatchPutFieldOptions Text
- batchPutFieldOptions_fieldId :: Lens' BatchPutFieldOptions Text
- batchPutFieldOptions_options :: Lens' BatchPutFieldOptions [FieldOption]
- data BatchPutFieldOptionsResponse = BatchPutFieldOptionsResponse' {
- errors :: Maybe [FieldOptionError]
- httpStatus :: Int
- newBatchPutFieldOptionsResponse :: Int -> BatchPutFieldOptionsResponse
- batchPutFieldOptionsResponse_errors :: Lens' BatchPutFieldOptionsResponse (Maybe [FieldOptionError])
- batchPutFieldOptionsResponse_httpStatus :: Lens' BatchPutFieldOptionsResponse Int
Creating a Request
data BatchPutFieldOptions Source #
See: newBatchPutFieldOptions
smart constructor.
Instances
newBatchPutFieldOptions Source #
Create a value of BatchPutFieldOptions
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:
BatchPutFieldOptions
, batchPutFieldOptions_domainId
- The unique identifier of the Cases domain.
BatchPutFieldOptions
, batchPutFieldOptions_fieldId
- The unique identifier of a field.
$sel:options:BatchPutFieldOptions'
, batchPutFieldOptions_options
- A list of FieldOption
objects.
Request Lenses
batchPutFieldOptions_domainId :: Lens' BatchPutFieldOptions Text Source #
The unique identifier of the Cases domain.
batchPutFieldOptions_fieldId :: Lens' BatchPutFieldOptions Text Source #
The unique identifier of a field.
batchPutFieldOptions_options :: Lens' BatchPutFieldOptions [FieldOption] Source #
A list of FieldOption
objects.
Destructuring the Response
data BatchPutFieldOptionsResponse Source #
See: newBatchPutFieldOptionsResponse
smart constructor.
BatchPutFieldOptionsResponse' | |
|
Instances
newBatchPutFieldOptionsResponse Source #
Create a value of BatchPutFieldOptionsResponse
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:BatchPutFieldOptionsResponse'
, batchPutFieldOptionsResponse_errors
- A list of field errors.
$sel:httpStatus:BatchPutFieldOptionsResponse'
, batchPutFieldOptionsResponse_httpStatus
- The response's http status code.
Response Lenses
batchPutFieldOptionsResponse_errors :: Lens' BatchPutFieldOptionsResponse (Maybe [FieldOptionError]) Source #
A list of field errors.
batchPutFieldOptionsResponse_httpStatus :: Lens' BatchPutFieldOptionsResponse Int Source #
The response's http status code.