| Copyright | (c) 2013-2018 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 | 
| Language | Haskell2010 | 
Network.AWS.Connect.StopContact
Description
Ends the contact initiated by the StartOutboundVoiceContact operation.
If you are using an IAM account, it must have permissions to the connect:StopContact operation.
Synopsis
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> StopContact | 
Creates a value of StopContact with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scContactId- The unique identifier of the contact to end. This is theContactIdvalue returned from theStartOutboundVoiceContactoperation.scInstanceId- The identifier of the Amazon Connect instance in which the contact is active.
data StopContact Source #
See: stopContact smart constructor.
Instances
Request Lenses
scContactId :: Lens' StopContact Text Source #
The unique identifier of the contact to end. This is the ContactId value returned from the StartOutboundVoiceContact operation.
scInstanceId :: Lens' StopContact Text Source #
The identifier of the Amazon Connect instance in which the contact is active.
Destructuring the Response
Arguments
| :: Int | |
| -> StopContactResponse | 
Creates a value of StopContactResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scrsResponseStatus- -- | The response status code.
data StopContactResponse Source #
See: stopContactResponse smart constructor.
Instances
Response Lenses
scrsResponseStatus :: Lens' StopContactResponse Int Source #
- - | The response status code.