AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the StopEngagement operation. Stops an engagement before it finishes the final stage of the escalation plan or engagement plan. Further contacts aren't engaged.
Namespace: Amazon.SSMContacts.Model
Assembly: AWSSDK.SSMContacts.dll
Version: 3.x.y.z
public class StopEngagementRequest : AmazonSSMContactsRequest IAmazonWebServiceRequest
The StopEngagementRequest type exposes the following members
Name | Description | |
---|---|---|
StopEngagementRequest() |
Name | Type | Description | |
---|---|---|---|
EngagementId | System.String |
Gets and sets the property EngagementId. The Amazon Resource Name (ARN) of the engagement. |
|
Reason | System.String |
Gets and sets the property Reason. The reason that you're stopping the engagement. |
The following stop-engagement example stops an engagement from paging further contacts and contact channels.
var client = new AmazonSSMContactsClient(); var response = client.StopEngagement(new StopEngagementRequest { EngagementId = "arn:aws:ssm-contacts:us-east-2:111122223333:engagement/example_escalation/69e40ce1-8dbb-4d57-8962-5fbe7fc53356" });
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5