amazonka-nimble-2.0: Amazon NimbleStudio SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Nimble.StopStreamingSession

Description

Transitions sessions from the READY state into the STOPPED state. The STOP_IN_PROGRESS state is the intermediate state between the READY and STOPPED states.

Synopsis

Creating a Request

data StopStreamingSession Source #

See: newStopStreamingSession smart constructor.

Constructors

StopStreamingSession' 

Fields

  • clientToken :: Maybe Text

    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.

  • volumeRetentionMode :: Maybe VolumeRetentionMode

    Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.

  • sessionId :: Text

    The streaming session ID for the StopStreamingSessionRequest.

  • studioId :: Text

    The studioId for the StopStreamingSessionRequest.

Instances

Instances details
ToJSON StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

ToHeaders StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

ToPath StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

ToQuery StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

AWSRequest StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

Associated Types

type AWSResponse StopStreamingSession #

Generic StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

Associated Types

type Rep StopStreamingSession :: Type -> Type #

Read StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

Show StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

NFData StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

Methods

rnf :: StopStreamingSession -> () #

Eq StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

Hashable StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

type AWSResponse StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

type Rep StopStreamingSession Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

type Rep StopStreamingSession = D1 ('MetaData "StopStreamingSession" "Amazonka.Nimble.StopStreamingSession" "amazonka-nimble-2.0-GaSxVwPXmRh7tifR7EIdTs" 'False) (C1 ('MetaCons "StopStreamingSession'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "volumeRetentionMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VolumeRetentionMode))) :*: (S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStopStreamingSession Source #

Create a value of StopStreamingSession 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:StopStreamingSession', stopStreamingSession_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.

StopStreamingSession, stopStreamingSession_volumeRetentionMode - Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.

StopStreamingSession, stopStreamingSession_sessionId - The streaming session ID for the StopStreamingSessionRequest.

StopStreamingSession, stopStreamingSession_studioId - The studioId for the StopStreamingSessionRequest.

Request Lenses

stopStreamingSession_clientToken :: Lens' StopStreamingSession (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.

stopStreamingSession_volumeRetentionMode :: Lens' StopStreamingSession (Maybe VolumeRetentionMode) Source #

Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.

stopStreamingSession_sessionId :: Lens' StopStreamingSession Text Source #

The streaming session ID for the StopStreamingSessionRequest.

stopStreamingSession_studioId :: Lens' StopStreamingSession Text Source #

The studioId for the StopStreamingSessionRequest.

Destructuring the Response

data StopStreamingSessionResponse Source #

See: newStopStreamingSessionResponse smart constructor.

Constructors

StopStreamingSessionResponse' 

Fields

Instances

Instances details
Generic StopStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

Associated Types

type Rep StopStreamingSessionResponse :: Type -> Type #

Read StopStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

Show StopStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

NFData StopStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

Eq StopStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

type Rep StopStreamingSessionResponse Source # 
Instance details

Defined in Amazonka.Nimble.StopStreamingSession

type Rep StopStreamingSessionResponse = D1 ('MetaData "StopStreamingSessionResponse" "Amazonka.Nimble.StopStreamingSession" "amazonka-nimble-2.0-GaSxVwPXmRh7tifR7EIdTs" 'False) (C1 ('MetaCons "StopStreamingSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "session") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingSession)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopStreamingSessionResponse Source #

Create a value of StopStreamingSessionResponse 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:StopStreamingSessionResponse', stopStreamingSessionResponse_session - Undocumented member.

$sel:httpStatus:StopStreamingSessionResponse', stopStreamingSessionResponse_httpStatus - The response's http status code.

Response Lenses