AWS SDK Version 3 for .NET
API Reference

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 StopContact operation. Ends the specified contact. Use this API to stop queued callbacks. It does not work for voice contacts that use the following initiation methods:

Chat and task contacts can be terminated in any state, regardless of initiation method.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Connect.AmazonConnectRequest
      Amazon.Connect.Model.StopContactRequest

Namespace: Amazon.Connect.Model
Assembly: AWSSDK.Connect.dll
Version: 3.x.y.z

Syntax

C#
public class StopContactRequest : AmazonConnectRequest
         IAmazonWebServiceRequest

The StopContactRequest type exposes the following members

Constructors

NameDescription
Public Method StopContactRequest()

Properties

NameTypeDescription
Public Property ContactId System.String

Gets and sets the property ContactId.

The ID of the contact.

Public Property DisconnectReason Amazon.Connect.Model.DisconnectReason

Gets and sets the property DisconnectReason.

The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Version Information

.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