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 |
Ends the specified contact.
Synopsis
- data StopContact = StopContact' {
- contactId :: Text
- instanceId :: Text
- newStopContact :: Text -> Text -> StopContact
- stopContact_contactId :: Lens' StopContact Text
- stopContact_instanceId :: Lens' StopContact Text
- data StopContactResponse = StopContactResponse' {
- httpStatus :: Int
- newStopContactResponse :: Int -> StopContactResponse
- stopContactResponse_httpStatus :: Lens' StopContactResponse Int
Creating a Request
data StopContact Source #
See: newStopContact
smart constructor.
StopContact' | |
|
Instances
Create a value of StopContact
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:contactId:StopContact'
, stopContact_contactId
- The ID of the contact.
$sel:instanceId:StopContact'
, stopContact_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
stopContact_contactId :: Lens' StopContact Text Source #
The ID of the contact.
stopContact_instanceId :: Lens' StopContact Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data StopContactResponse Source #
See: newStopContactResponse
smart constructor.
StopContactResponse' | |
|
Instances
newStopContactResponse Source #
Create a value of StopContactResponse
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:StopContactResponse'
, stopContactResponse_httpStatus
- The response's http status code.
Response Lenses
stopContactResponse_httpStatus :: Lens' StopContactResponse Int Source #
The response's http status code.