Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API.
Synopsis
- data StopContactStreaming = StopContactStreaming' {
- instanceId :: Text
- contactId :: Text
- streamingId :: Text
- newStopContactStreaming :: Text -> Text -> Text -> StopContactStreaming
- stopContactStreaming_instanceId :: Lens' StopContactStreaming Text
- stopContactStreaming_contactId :: Lens' StopContactStreaming Text
- stopContactStreaming_streamingId :: Lens' StopContactStreaming Text
- data StopContactStreamingResponse = StopContactStreamingResponse' {
- httpStatus :: Int
- newStopContactStreamingResponse :: Int -> StopContactStreamingResponse
- stopContactStreamingResponse_httpStatus :: Lens' StopContactStreamingResponse Int
Creating a Request
data StopContactStreaming Source #
See: newStopContactStreaming
smart constructor.
StopContactStreaming' | |
|
Instances
newStopContactStreaming Source #
:: Text | |
-> Text | |
-> Text | |
-> StopContactStreaming |
Create a value of StopContactStreaming
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:
StopContactStreaming
, stopContactStreaming_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
StopContactStreaming
, stopContactStreaming_contactId
- The identifier of the contact. This is the identifier of the contact
that is associated with the first interaction with the contact center.
$sel:streamingId:StopContactStreaming'
, stopContactStreaming_streamingId
- The identifier of the streaming configuration enabled.
Request Lenses
stopContactStreaming_instanceId :: Lens' StopContactStreaming Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
stopContactStreaming_contactId :: Lens' StopContactStreaming Text Source #
The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
stopContactStreaming_streamingId :: Lens' StopContactStreaming Text Source #
The identifier of the streaming configuration enabled.
Destructuring the Response
data StopContactStreamingResponse Source #
See: newStopContactStreamingResponse
smart constructor.
StopContactStreamingResponse' | |
|
Instances
newStopContactStreamingResponse Source #
Create a value of StopContactStreamingResponse
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:StopContactStreamingResponse'
, stopContactStreamingResponse_httpStatus
- The response's http status code.
Response Lenses
stopContactStreamingResponse_httpStatus :: Lens' StopContactStreamingResponse Int Source #
The response's http status code.