amazonka-kinesis-video-2.0: Amazon Kinesis Video Streams 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.KinesisVideo.Types.StreamNameCondition

Description

 
Synopsis

Documentation

data StreamNameCondition Source #

Specifies the condition that streams must satisfy to be returned when you list streams (see the ListStreams API). A condition has a comparison operation and a value. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.

See: newStreamNameCondition smart constructor.

Constructors

StreamNameCondition' 

Fields

Instances

Instances details
ToJSON StreamNameCondition Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.StreamNameCondition

Generic StreamNameCondition Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.StreamNameCondition

Associated Types

type Rep StreamNameCondition :: Type -> Type #

Read StreamNameCondition Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.StreamNameCondition

Show StreamNameCondition Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.StreamNameCondition

NFData StreamNameCondition Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.StreamNameCondition

Methods

rnf :: StreamNameCondition -> () #

Eq StreamNameCondition Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.StreamNameCondition

Hashable StreamNameCondition Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.StreamNameCondition

type Rep StreamNameCondition Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.StreamNameCondition

type Rep StreamNameCondition = D1 ('MetaData "StreamNameCondition" "Amazonka.KinesisVideo.Types.StreamNameCondition" "amazonka-kinesis-video-2.0-5DR7d8jw2IyAvZJM3U7dwM" 'False) (C1 ('MetaCons "StreamNameCondition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComparisonOperator)) :*: S1 ('MetaSel ('Just "comparisonValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newStreamNameCondition :: StreamNameCondition Source #

Create a value of StreamNameCondition 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:comparisonOperator:StreamNameCondition', streamNameCondition_comparisonOperator - A comparison operator. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.

$sel:comparisonValue:StreamNameCondition', streamNameCondition_comparisonValue - A value to compare.

streamNameCondition_comparisonOperator :: Lens' StreamNameCondition (Maybe ComparisonOperator) Source #

A comparison operator. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.