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 |
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.
StreamNameCondition' | |
|
Instances
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.
streamNameCondition_comparisonValue :: Lens' StreamNameCondition (Maybe Text) Source #
A value to compare.