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 |
Stops an engagement before it finishes the final stage of the escalation plan or engagement plan. Further contacts aren't engaged.
Synopsis
- data StopEngagement = StopEngagement' {
- reason :: Maybe Text
- engagementId :: Text
- newStopEngagement :: Text -> StopEngagement
- stopEngagement_reason :: Lens' StopEngagement (Maybe Text)
- stopEngagement_engagementId :: Lens' StopEngagement Text
- data StopEngagementResponse = StopEngagementResponse' {
- httpStatus :: Int
- newStopEngagementResponse :: Int -> StopEngagementResponse
- stopEngagementResponse_httpStatus :: Lens' StopEngagementResponse Int
Creating a Request
data StopEngagement Source #
See: newStopEngagement
smart constructor.
StopEngagement' | |
|
Instances
Create a value of StopEngagement
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:reason:StopEngagement'
, stopEngagement_reason
- The reason that you're stopping the engagement.
$sel:engagementId:StopEngagement'
, stopEngagement_engagementId
- The Amazon Resource Name (ARN) of the engagement.
Request Lenses
stopEngagement_reason :: Lens' StopEngagement (Maybe Text) Source #
The reason that you're stopping the engagement.
stopEngagement_engagementId :: Lens' StopEngagement Text Source #
The Amazon Resource Name (ARN) of the engagement.
Destructuring the Response
data StopEngagementResponse Source #
See: newStopEngagementResponse
smart constructor.
StopEngagementResponse' | |
|
Instances
newStopEngagementResponse Source #
Create a value of StopEngagementResponse
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:StopEngagementResponse'
, stopEngagementResponse_httpStatus
- The response's http status code.
Response Lenses
stopEngagementResponse_httpStatus :: Lens' StopEngagementResponse Int Source #
The response's http status code.