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 |
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_sessionId :: Lens' DeleteStreamingSession Text
- deleteStreamingSession_studioId :: 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 #
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
- 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.
DeleteStreamingSession
, deleteStreamingSession_sessionId
- The streaming session ID.
DeleteStreamingSession
, deleteStreamingSession_studioId
- The studio ID.
Request Lenses
deleteStreamingSession_clientToken :: Lens' DeleteStreamingSession (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.
deleteStreamingSession_sessionId :: Lens' DeleteStreamingSession Text Source #
The streaming session ID.
deleteStreamingSession_studioId :: Lens' DeleteStreamingSession Text Source #
The studio ID.
Destructuring the Response
data DeleteStreamingSessionResponse Source #
See: newDeleteStreamingSessionResponse
smart constructor.
DeleteStreamingSessionResponse' | |
|
Instances
Generic DeleteStreamingSessionResponse Source # | |
Read DeleteStreamingSessionResponse Source # | |
Show DeleteStreamingSessionResponse Source # | |
Defined in Amazonka.Nimble.DeleteStreamingSession | |
NFData DeleteStreamingSessionResponse Source # | |
Defined in Amazonka.Nimble.DeleteStreamingSession rnf :: DeleteStreamingSessionResponse -> () # | |
Eq DeleteStreamingSessionResponse Source # | |
type Rep DeleteStreamingSessionResponse Source # | |
Defined in Amazonka.Nimble.DeleteStreamingSession type Rep DeleteStreamingSessionResponse = D1 ('MetaData "DeleteStreamingSessionResponse" "Amazonka.Nimble.DeleteStreamingSession" "amazonka-nimble-2.0-GaSxVwPXmRh7tifR7EIdTs" '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.