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 |
Deletes streaming session resource.
After invoking this operation, use GetStreamingSession to poll the resource until it transitions to a DELETED state.
A streaming session will count against your streaming session quota until it is marked DELETED.
Synopsis
- data DeleteStreamingSession = DeleteStreamingSession' {}
- newDeleteStreamingSession :: Text -> Text -> DeleteStreamingSession
- deleteStreamingSession_clientToken :: Lens' DeleteStreamingSession (Maybe Text)
- deleteStreamingSession_studioId :: Lens' DeleteStreamingSession Text
- deleteStreamingSession_sessionId :: Lens' DeleteStreamingSession Text
- data DeleteStreamingSessionResponse = DeleteStreamingSessionResponse' {}
- newDeleteStreamingSessionResponse :: Int -> DeleteStreamingSessionResponse
- deleteStreamingSessionResponse_session :: Lens' DeleteStreamingSessionResponse (Maybe StreamingSession)
- deleteStreamingSessionResponse_httpStatus :: Lens' DeleteStreamingSessionResponse Int
Creating a Request
data DeleteStreamingSession Source #
See: newDeleteStreamingSession
smart constructor.
DeleteStreamingSession' | |
|
Instances
newDeleteStreamingSession Source #
:: Text | |
-> Text | |
-> DeleteStreamingSession |
Create a value of DeleteStreamingSession
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:clientToken:DeleteStreamingSession'
, deleteStreamingSession_clientToken
- To make an idempotent API request using one of these actions, specify a
client token in the request. You should not reuse the same client token
for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the
retry succeeds without performing any further actions. If you retry a
successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException
error.
$sel:studioId:DeleteStreamingSession'
, deleteStreamingSession_studioId
- The studio ID.
$sel:sessionId:DeleteStreamingSession'
, deleteStreamingSession_sessionId
- The session ID.
Request Lenses
deleteStreamingSession_clientToken :: Lens' DeleteStreamingSession (Maybe Text) Source #
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
deleteStreamingSession_studioId :: Lens' DeleteStreamingSession Text Source #
The studio ID.
deleteStreamingSession_sessionId :: Lens' DeleteStreamingSession Text Source #
The session ID.
Destructuring the Response
data DeleteStreamingSessionResponse Source #
See: newDeleteStreamingSessionResponse
smart constructor.
DeleteStreamingSessionResponse' | |
|
Instances
Eq DeleteStreamingSessionResponse Source # | |
Read DeleteStreamingSessionResponse Source # | |
Show DeleteStreamingSessionResponse Source # | |
Defined in Amazonka.Nimble.DeleteStreamingSession | |
Generic DeleteStreamingSessionResponse Source # | |
NFData DeleteStreamingSessionResponse Source # | |
Defined in Amazonka.Nimble.DeleteStreamingSession rnf :: DeleteStreamingSessionResponse -> () # | |
type Rep DeleteStreamingSessionResponse Source # | |
Defined in Amazonka.Nimble.DeleteStreamingSession type Rep DeleteStreamingSessionResponse = D1 ('MetaData "DeleteStreamingSessionResponse" "Amazonka.Nimble.DeleteStreamingSession" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "DeleteStreamingSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "session") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingSession)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteStreamingSessionResponse Source #
Create a value of DeleteStreamingSessionResponse
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:DeleteStreamingSessionResponse'
, deleteStreamingSessionResponse_session
- The session.
$sel:httpStatus:DeleteStreamingSessionResponse'
, deleteStreamingSessionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteStreamingSessionResponse_session :: Lens' DeleteStreamingSessionResponse (Maybe StreamingSession) Source #
The session.
deleteStreamingSessionResponse_httpStatus :: Lens' DeleteStreamingSessionResponse Int Source #
The response's http status code.