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

Description

 
Synopsis

Documentation

data StreamConfiguration Source #

A configuration for a streaming session.

See: newStreamConfiguration smart constructor.

Constructors

StreamConfiguration' 

Fields

  • automaticTerminationMode :: Maybe AutomaticTerminationMode

    Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in a STOPPED state.

    • When ACTIVATED, the streaming session is scheduled for termination after being in the STOPPED state for the time specified in maxStoppedSessionLengthInMinutes.
    • When DEACTIVATED, the streaming session can remain in the STOPPED state indefinitely.

    This parameter is only allowed when sessionPersistenceMode is ACTIVATED. When allowed, the default value for this parameter is DEACTIVATED.

  • maxSessionLengthInMinutes :: Maybe Natural

    The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

  • maxStoppedSessionLengthInMinutes :: Maybe Natural

    Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

    This field is allowed only when sessionPersistenceMode is ACTIVATED and automaticTerminationMode is ACTIVATED.

    If the value is set to 0, your sessions can’t be STOPPED. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated (instead of STOPPED).

    If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped (instead of terminated).

  • sessionBackup :: Maybe StreamConfigurationSessionBackup

    Information about the streaming session backup.

  • sessionPersistenceMode :: Maybe SessionPersistenceMode

    Determine if a streaming session created from this launch profile can configure persistent storage. This means that volumeConfiguration and automaticTerminationMode are configured.

  • sessionStorage :: Maybe StreamConfigurationSessionStorage

    The upload storage for a streaming session.

  • volumeConfiguration :: Maybe VolumeConfiguration

    Custom volume configuration for the root volumes that are attached to streaming sessions.

    This parameter is only allowed when sessionPersistenceMode is ACTIVATED.

  • clipboardMode :: StreamingClipboardMode

    Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.

  • ec2InstanceTypes :: NonEmpty StreamingInstanceType

    The EC2 instance types that users can select from when launching a streaming session with this launch profile.

  • streamingImageIds :: NonEmpty Text

    The streaming images that users can select from when launching a streaming session with this launch profile.

Instances

Instances details
FromJSON StreamConfiguration Source # 
Instance details

Defined in Amazonka.Nimble.Types.StreamConfiguration

Generic StreamConfiguration Source # 
Instance details

Defined in Amazonka.Nimble.Types.StreamConfiguration

Associated Types

type Rep StreamConfiguration :: Type -> Type #

Show StreamConfiguration Source # 
Instance details

Defined in Amazonka.Nimble.Types.StreamConfiguration

NFData StreamConfiguration Source # 
Instance details

Defined in Amazonka.Nimble.Types.StreamConfiguration

Methods

rnf :: StreamConfiguration -> () #

Eq StreamConfiguration Source # 
Instance details

Defined in Amazonka.Nimble.Types.StreamConfiguration

Hashable StreamConfiguration Source # 
Instance details

Defined in Amazonka.Nimble.Types.StreamConfiguration

type Rep StreamConfiguration Source # 
Instance details

Defined in Amazonka.Nimble.Types.StreamConfiguration

type Rep StreamConfiguration = D1 ('MetaData "StreamConfiguration" "Amazonka.Nimble.Types.StreamConfiguration" "amazonka-nimble-2.0-GaSxVwPXmRh7tifR7EIdTs" 'False) (C1 ('MetaCons "StreamConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "automaticTerminationMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutomaticTerminationMode)) :*: S1 ('MetaSel ('Just "maxSessionLengthInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "maxStoppedSessionLengthInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "sessionBackup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamConfigurationSessionBackup)) :*: S1 ('MetaSel ('Just "sessionPersistenceMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SessionPersistenceMode))))) :*: ((S1 ('MetaSel ('Just "sessionStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamConfigurationSessionStorage)) :*: S1 ('MetaSel ('Just "volumeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VolumeConfiguration))) :*: (S1 ('MetaSel ('Just "clipboardMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StreamingClipboardMode) :*: (S1 ('MetaSel ('Just "ec2InstanceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty StreamingInstanceType)) :*: S1 ('MetaSel ('Just "streamingImageIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))))

newStreamConfiguration Source #

Create a value of StreamConfiguration 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:automaticTerminationMode:StreamConfiguration', streamConfiguration_automaticTerminationMode - Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in a STOPPED state.

  • When ACTIVATED, the streaming session is scheduled for termination after being in the STOPPED state for the time specified in maxStoppedSessionLengthInMinutes.
  • When DEACTIVATED, the streaming session can remain in the STOPPED state indefinitely.

This parameter is only allowed when sessionPersistenceMode is ACTIVATED. When allowed, the default value for this parameter is DEACTIVATED.

$sel:maxSessionLengthInMinutes:StreamConfiguration', streamConfiguration_maxSessionLengthInMinutes - The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

$sel:maxStoppedSessionLengthInMinutes:StreamConfiguration', streamConfiguration_maxStoppedSessionLengthInMinutes - Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

This field is allowed only when sessionPersistenceMode is ACTIVATED and automaticTerminationMode is ACTIVATED.

If the value is set to 0, your sessions can’t be STOPPED. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated (instead of STOPPED).

If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped (instead of terminated).

$sel:sessionBackup:StreamConfiguration', streamConfiguration_sessionBackup - Information about the streaming session backup.

$sel:sessionPersistenceMode:StreamConfiguration', streamConfiguration_sessionPersistenceMode - Determine if a streaming session created from this launch profile can configure persistent storage. This means that volumeConfiguration and automaticTerminationMode are configured.

$sel:sessionStorage:StreamConfiguration', streamConfiguration_sessionStorage - The upload storage for a streaming session.

$sel:volumeConfiguration:StreamConfiguration', streamConfiguration_volumeConfiguration - Custom volume configuration for the root volumes that are attached to streaming sessions.

This parameter is only allowed when sessionPersistenceMode is ACTIVATED.

$sel:clipboardMode:StreamConfiguration', streamConfiguration_clipboardMode - Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.

$sel:ec2InstanceTypes:StreamConfiguration', streamConfiguration_ec2InstanceTypes - The EC2 instance types that users can select from when launching a streaming session with this launch profile.

$sel:streamingImageIds:StreamConfiguration', streamConfiguration_streamingImageIds - The streaming images that users can select from when launching a streaming session with this launch profile.

streamConfiguration_automaticTerminationMode :: Lens' StreamConfiguration (Maybe AutomaticTerminationMode) Source #

Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in a STOPPED state.

  • When ACTIVATED, the streaming session is scheduled for termination after being in the STOPPED state for the time specified in maxStoppedSessionLengthInMinutes.
  • When DEACTIVATED, the streaming session can remain in the STOPPED state indefinitely.

This parameter is only allowed when sessionPersistenceMode is ACTIVATED. When allowed, the default value for this parameter is DEACTIVATED.

streamConfiguration_maxSessionLengthInMinutes :: Lens' StreamConfiguration (Maybe Natural) Source #

The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

streamConfiguration_maxStoppedSessionLengthInMinutes :: Lens' StreamConfiguration (Maybe Natural) Source #

Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

This field is allowed only when sessionPersistenceMode is ACTIVATED and automaticTerminationMode is ACTIVATED.

If the value is set to 0, your sessions can’t be STOPPED. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated (instead of STOPPED).

If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped (instead of terminated).

streamConfiguration_sessionPersistenceMode :: Lens' StreamConfiguration (Maybe SessionPersistenceMode) Source #

Determine if a streaming session created from this launch profile can configure persistent storage. This means that volumeConfiguration and automaticTerminationMode are configured.

streamConfiguration_volumeConfiguration :: Lens' StreamConfiguration (Maybe VolumeConfiguration) Source #

Custom volume configuration for the root volumes that are attached to streaming sessions.

This parameter is only allowed when sessionPersistenceMode is ACTIVATED.

streamConfiguration_clipboardMode :: Lens' StreamConfiguration StreamingClipboardMode Source #

Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.

streamConfiguration_ec2InstanceTypes :: Lens' StreamConfiguration (NonEmpty StreamingInstanceType) Source #

The EC2 instance types that users can select from when launching a streaming session with this launch profile.

streamConfiguration_streamingImageIds :: Lens' StreamConfiguration (NonEmpty Text) Source #

The streaming images that users can select from when launching a streaming session with this launch profile.