| 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.ConnectCases.UpdateField
Description
Updates the properties of an existing field.
Synopsis
- data UpdateField = UpdateField' {}
- newUpdateField :: Text -> Text -> UpdateField
- updateField_description :: Lens' UpdateField (Maybe Text)
- updateField_name :: Lens' UpdateField (Maybe Text)
- updateField_domainId :: Lens' UpdateField Text
- updateField_fieldId :: Lens' UpdateField Text
- data UpdateFieldResponse = UpdateFieldResponse' {
- httpStatus :: Int
- newUpdateFieldResponse :: Int -> UpdateFieldResponse
- updateFieldResponse_httpStatus :: Lens' UpdateFieldResponse Int
Creating a Request
data UpdateField Source #
See: newUpdateField smart constructor.
Constructors
| UpdateField' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateField |
Create a value of UpdateField 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:
UpdateField, updateField_description - The description of a field.
UpdateField, updateField_name - The name of the field.
UpdateField, updateField_domainId - The unique identifier of the Cases domain.
UpdateField, updateField_fieldId - The unique identifier of a field.
Request Lenses
updateField_description :: Lens' UpdateField (Maybe Text) Source #
The description of a field.
updateField_name :: Lens' UpdateField (Maybe Text) Source #
The name of the field.
updateField_domainId :: Lens' UpdateField Text Source #
The unique identifier of the Cases domain.
updateField_fieldId :: Lens' UpdateField Text Source #
The unique identifier of a field.
Destructuring the Response
data UpdateFieldResponse Source #
See: newUpdateFieldResponse smart constructor.
Constructors
| UpdateFieldResponse' | |
Fields
| |
Instances
newUpdateFieldResponse Source #
Arguments
| :: Int | |
| -> UpdateFieldResponse |
Create a value of UpdateFieldResponse 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:UpdateFieldResponse', updateFieldResponse_httpStatus - The response's http status code.
Response Lenses
updateFieldResponse_httpStatus :: Lens' UpdateFieldResponse Int Source #
The response's http status code.