libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.Stream

Description

 
Synopsis

Documentation

data Stream Source #

Describes a group of files that can be streamed.

See: newStream smart constructor.

Constructors

Stream' 

Fields

Instances

Instances details
Eq Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

Methods

(==) :: Stream -> Stream -> Bool #

(/=) :: Stream -> Stream -> Bool #

Read Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

Show Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

Generic Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

Associated Types

type Rep Stream :: Type -> Type #

Methods

from :: Stream -> Rep Stream x #

to :: Rep Stream x -> Stream #

NFData Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

Methods

rnf :: Stream -> () #

Hashable Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

Methods

hashWithSalt :: Int -> Stream -> Int #

hash :: Stream -> Int #

ToJSON Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

FromJSON Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

type Rep Stream Source # 
Instance details

Defined in Amazonka.IoT.Types.Stream

type Rep Stream = D1 ('MetaData "Stream" "Amazonka.IoT.Types.Stream" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "Stream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "streamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newStream :: Stream Source #

Create a value of Stream 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:fileId:Stream', stream_fileId - The ID of a file associated with a stream.

$sel:streamId:Stream', stream_streamId - The stream ID.

stream_fileId :: Lens' Stream (Maybe Natural) Source #

The ID of a file associated with a stream.