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 |
Immediately stops the specified streaming session.
Synopsis
- data ExpireSession = ExpireSession' {}
- newExpireSession :: Text -> ExpireSession
- expireSession_sessionId :: Lens' ExpireSession Text
- data ExpireSessionResponse = ExpireSessionResponse' {
- httpStatus :: Int
- newExpireSessionResponse :: Int -> ExpireSessionResponse
- expireSessionResponse_httpStatus :: Lens' ExpireSessionResponse Int
Creating a Request
data ExpireSession Source #
See: newExpireSession
smart constructor.
Instances
Create a value of ExpireSession
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:sessionId:ExpireSession'
, expireSession_sessionId
- The identifier of the streaming session.
Request Lenses
expireSession_sessionId :: Lens' ExpireSession Text Source #
The identifier of the streaming session.
Destructuring the Response
data ExpireSessionResponse Source #
See: newExpireSessionResponse
smart constructor.
ExpireSessionResponse' | |
|
Instances
newExpireSessionResponse Source #
Create a value of ExpireSessionResponse
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:ExpireSessionResponse'
, expireSessionResponse_httpStatus
- The response's http status code.
Response Lenses
expireSessionResponse_httpStatus :: Lens' ExpireSessionResponse Int Source #
The response's http status code.