| 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.Nimble.StartStreamingSession
Description
Transitions sessions from the STOPPED state into the READY state.
The START_IN_PROGRESS state is the intermediate state between the
STOPPED and READY states.
Synopsis
- data StartStreamingSession = StartStreamingSession' {}
- newStartStreamingSession :: Text -> Text -> StartStreamingSession
- startStreamingSession_backupId :: Lens' StartStreamingSession (Maybe Text)
- startStreamingSession_clientToken :: Lens' StartStreamingSession (Maybe Text)
- startStreamingSession_sessionId :: Lens' StartStreamingSession Text
- startStreamingSession_studioId :: Lens' StartStreamingSession Text
- data StartStreamingSessionResponse = StartStreamingSessionResponse' {}
- newStartStreamingSessionResponse :: Int -> StartStreamingSessionResponse
- startStreamingSessionResponse_session :: Lens' StartStreamingSessionResponse (Maybe StreamingSession)
- startStreamingSessionResponse_httpStatus :: Lens' StartStreamingSessionResponse Int
Creating a Request
data StartStreamingSession Source #
See: newStartStreamingSession smart constructor.
Constructors
| StartStreamingSession' | |
Fields
| |
Instances
newStartStreamingSession Source #
Arguments
| :: Text | |
| -> Text | |
| -> StartStreamingSession |
Create a value of StartStreamingSession 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:
StartStreamingSession, startStreamingSession_backupId - The ID of the backup.
$sel:clientToken:StartStreamingSession', startStreamingSession_clientToken - Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If you don’t specify a client token, the
Amazon Web Services SDK automatically generates a client token and uses
it for the request to ensure idempotency.
StartStreamingSession, startStreamingSession_sessionId - The streaming session ID for the StartStreamingSessionRequest.
StartStreamingSession, startStreamingSession_studioId - The studio ID for the StartStreamingSessionRequest.
Request Lenses
startStreamingSession_backupId :: Lens' StartStreamingSession (Maybe Text) Source #
The ID of the backup.
startStreamingSession_clientToken :: Lens' StartStreamingSession (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
startStreamingSession_sessionId :: Lens' StartStreamingSession Text Source #
The streaming session ID for the StartStreamingSessionRequest.
startStreamingSession_studioId :: Lens' StartStreamingSession Text Source #
The studio ID for the StartStreamingSessionRequest.
Destructuring the Response
data StartStreamingSessionResponse Source #
See: newStartStreamingSessionResponse smart constructor.
Constructors
| StartStreamingSessionResponse' | |
Fields
| |
Instances
newStartStreamingSessionResponse Source #
Create a value of StartStreamingSessionResponse 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:session:StartStreamingSessionResponse', startStreamingSessionResponse_session - Undocumented member.
$sel:httpStatus:StartStreamingSessionResponse', startStreamingSessionResponse_httpStatus - The response's http status code.
Response Lenses
startStreamingSessionResponse_session :: Lens' StartStreamingSessionResponse (Maybe StreamingSession) Source #
Undocumented member.
startStreamingSessionResponse_httpStatus :: Lens' StartStreamingSessionResponse Int Source #
The response's http status code.