Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data StreamKey = StreamKey' {}
- newStreamKey :: StreamKey
- streamKey_arn :: Lens' StreamKey (Maybe Text)
- streamKey_value :: Lens' StreamKey (Maybe Text)
- streamKey_channelArn :: Lens' StreamKey (Maybe Text)
- streamKey_tags :: Lens' StreamKey (Maybe (HashMap Text Text))
Documentation
Object specifying a stream key.
See: newStreamKey
smart constructor.
Instances
Eq StreamKey Source # | |
Show StreamKey Source # | |
Generic StreamKey Source # | |
NFData StreamKey Source # | |
Defined in Amazonka.IVS.Types.StreamKey | |
Hashable StreamKey Source # | |
Defined in Amazonka.IVS.Types.StreamKey | |
FromJSON StreamKey Source # | |
type Rep StreamKey Source # | |
Defined in Amazonka.IVS.Types.StreamKey type Rep StreamKey = D1 ('MetaData "StreamKey" "Amazonka.IVS.Types.StreamKey" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "StreamKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) |
newStreamKey :: StreamKey Source #
Create a value of StreamKey
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:arn:StreamKey'
, streamKey_arn
- Stream-key ARN.
$sel:value:StreamKey'
, streamKey_value
- Stream-key value.
$sel:channelArn:StreamKey'
, streamKey_channelArn
- Channel ARN for the stream.
$sel:tags:StreamKey'
, streamKey_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.