libZSservicesZSamazonka-nimbleZSamazonka-nimble
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Nimble.DeleteStreamingSession

Description

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

Creating a Request

data DeleteStreamingSession Source #

See: newDeleteStreamingSession smart constructor.

Constructors

DeleteStreamingSession' 

Fields

  • clientToken :: Maybe Text

    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.

  • studioId :: Text

    The studio ID.

  • sessionId :: Text

    The session ID.

Instances

Instances details
Eq DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Read DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Show DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Generic DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Associated Types

type Rep DeleteStreamingSession :: Type -> Type #

NFData DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Methods

rnf :: DeleteStreamingSession -> () #

Hashable DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

AWSRequest DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Associated Types

type AWSResponse DeleteStreamingSession #

ToHeaders DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

ToPath DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

ToQuery DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

type Rep DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

type Rep DeleteStreamingSession = D1 ('MetaData "DeleteStreamingSession" "Amazonka.Nimble.DeleteStreamingSession" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "DeleteStreamingSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

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 - 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.

Destructuring the Response

data DeleteStreamingSessionResponse Source #

See: newDeleteStreamingSessionResponse smart constructor.

Constructors

DeleteStreamingSessionResponse' 

Fields

Instances

Instances details
Eq DeleteStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Read DeleteStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Show DeleteStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Generic DeleteStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

Associated Types

type Rep DeleteStreamingSessionResponse :: Type -> Type #

NFData DeleteStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.DeleteStreamingSession

type Rep DeleteStreamingSessionResponse Source # 
Instance details

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