| 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 |
Amazonka.AppStream.ExpireSession
Description
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.
Constructors
| ExpireSession' | |
Instances
Arguments
| :: Text | |
| -> ExpireSession |
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.
Constructors
| ExpireSessionResponse' | |
Fields
| |
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.