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 |
Updates the details of the list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
Synopsis
- data UpdateEmergencyContactSettings = UpdateEmergencyContactSettings' {}
- newUpdateEmergencyContactSettings :: UpdateEmergencyContactSettings
- updateEmergencyContactSettings_emergencyContactList :: Lens' UpdateEmergencyContactSettings (Maybe [EmergencyContact])
- data UpdateEmergencyContactSettingsResponse = UpdateEmergencyContactSettingsResponse' {
- httpStatus :: Int
- newUpdateEmergencyContactSettingsResponse :: Int -> UpdateEmergencyContactSettingsResponse
- updateEmergencyContactSettingsResponse_httpStatus :: Lens' UpdateEmergencyContactSettingsResponse Int
Creating a Request
data UpdateEmergencyContactSettings Source #
See: newUpdateEmergencyContactSettings
smart constructor.
UpdateEmergencyContactSettings' | |
|
Instances
newUpdateEmergencyContactSettings :: UpdateEmergencyContactSettings Source #
Create a value of UpdateEmergencyContactSettings
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:emergencyContactList:UpdateEmergencyContactSettings'
, updateEmergencyContactSettings_emergencyContactList
- A list of email addresses and phone numbers that the Shield Response
Team (SRT) can use to contact you if you have proactive engagement
enabled, for escalations to the SRT and to initiate proactive customer
support.
If you have proactive engagement enabled, the contact list must include at least one phone number.
Request Lenses
updateEmergencyContactSettings_emergencyContactList :: Lens' UpdateEmergencyContactSettings (Maybe [EmergencyContact]) Source #
A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
If you have proactive engagement enabled, the contact list must include at least one phone number.
Destructuring the Response
data UpdateEmergencyContactSettingsResponse Source #
See: newUpdateEmergencyContactSettingsResponse
smart constructor.
UpdateEmergencyContactSettingsResponse' | |
|
Instances
newUpdateEmergencyContactSettingsResponse Source #
Create a value of UpdateEmergencyContactSettingsResponse
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:UpdateEmergencyContactSettingsResponse'
, updateEmergencyContactSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
updateEmergencyContactSettingsResponse_httpStatus :: Lens' UpdateEmergencyContactSettingsResponse Int Source #
The response's http status code.