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 |
Initializes proactive engagement and sets the list of contacts for the Shield Response Team (SRT) to use. You must provide at least one phone number in the emergency contact list.
After you have initialized proactive engagement using this call, to
disable or enable proactive engagement, use the calls
DisableProactiveEngagement
and EnableProactiveEngagement
.
This call defines the list of email addresses and phone numbers that the SRT can use to contact you for escalations to the SRT and to initiate proactive customer support.
The contacts that you provide in the request replace any contacts that
were already defined. If you already have contacts defined and want to
use them, retrieve the list using DescribeEmergencyContactSettings
and
then provide it to this call.
Synopsis
- data AssociateProactiveEngagementDetails = AssociateProactiveEngagementDetails' {}
- newAssociateProactiveEngagementDetails :: AssociateProactiveEngagementDetails
- associateProactiveEngagementDetails_emergencyContactList :: Lens' AssociateProactiveEngagementDetails [EmergencyContact]
- data AssociateProactiveEngagementDetailsResponse = AssociateProactiveEngagementDetailsResponse' {
- httpStatus :: Int
- newAssociateProactiveEngagementDetailsResponse :: Int -> AssociateProactiveEngagementDetailsResponse
- associateProactiveEngagementDetailsResponse_httpStatus :: Lens' AssociateProactiveEngagementDetailsResponse Int
Creating a Request
data AssociateProactiveEngagementDetails Source #
See: newAssociateProactiveEngagementDetails
smart constructor.
AssociateProactiveEngagementDetails' | |
|
Instances
newAssociateProactiveEngagementDetails :: AssociateProactiveEngagementDetails Source #
Create a value of AssociateProactiveEngagementDetails
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:AssociateProactiveEngagementDetails'
, associateProactiveEngagementDetails_emergencyContactList
- A list of email addresses and phone numbers that the Shield Response
Team (SRT) can use to contact you for escalations to the SRT and to
initiate proactive customer support.
To enable proactive engagement, the contact list must include at least one phone number.
The contacts that you provide here replace any contacts that were
already defined. If you already have contacts defined and want to use
them, retrieve the list using DescribeEmergencyContactSettings
and
then provide it here.
Request Lenses
associateProactiveEngagementDetails_emergencyContactList :: Lens' AssociateProactiveEngagementDetails [EmergencyContact] Source #
A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support.
To enable proactive engagement, the contact list must include at least one phone number.
The contacts that you provide here replace any contacts that were
already defined. If you already have contacts defined and want to use
them, retrieve the list using DescribeEmergencyContactSettings
and
then provide it here.
Destructuring the Response
data AssociateProactiveEngagementDetailsResponse Source #
See: newAssociateProactiveEngagementDetailsResponse
smart constructor.
AssociateProactiveEngagementDetailsResponse' | |
|
Instances
Eq AssociateProactiveEngagementDetailsResponse Source # | |
Read AssociateProactiveEngagementDetailsResponse Source # | |
Show AssociateProactiveEngagementDetailsResponse Source # | |
Generic AssociateProactiveEngagementDetailsResponse Source # | |
Defined in Amazonka.Shield.AssociateProactiveEngagementDetails type Rep AssociateProactiveEngagementDetailsResponse :: Type -> Type # | |
NFData AssociateProactiveEngagementDetailsResponse Source # | |
type Rep AssociateProactiveEngagementDetailsResponse Source # | |
Defined in Amazonka.Shield.AssociateProactiveEngagementDetails type Rep AssociateProactiveEngagementDetailsResponse = D1 ('MetaData "AssociateProactiveEngagementDetailsResponse" "Amazonka.Shield.AssociateProactiveEngagementDetails" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "AssociateProactiveEngagementDetailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateProactiveEngagementDetailsResponse Source #
:: Int |
|
-> AssociateProactiveEngagementDetailsResponse |
Create a value of AssociateProactiveEngagementDetailsResponse
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:AssociateProactiveEngagementDetailsResponse'
, associateProactiveEngagementDetailsResponse_httpStatus
- The response's http status code.
Response Lenses
associateProactiveEngagementDetailsResponse_httpStatus :: Lens' AssociateProactiveEngagementDetailsResponse Int Source #
The response's http status code.