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 ServiceFilter = ServiceFilter' {
- condition :: Maybe FilterCondition
- name :: ServiceFilterName
- values :: [Text]
- newServiceFilter :: ServiceFilterName -> ServiceFilter
- serviceFilter_condition :: Lens' ServiceFilter (Maybe FilterCondition)
- serviceFilter_name :: Lens' ServiceFilter ServiceFilterName
- serviceFilter_values :: Lens' ServiceFilter [Text]
Documentation
data ServiceFilter Source #
A complex type that lets you specify the namespaces that you want to list services for.
See: newServiceFilter
smart constructor.
ServiceFilter' | |
|
Instances
Create a value of ServiceFilter
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:condition:ServiceFilter'
, serviceFilter_condition
- The operator that you want to use to determine whether a service is
returned by ListServices
. Valid values for Condition
include the
following:
EQ
: When you specifyEQ
, specify one namespace ID forValues
.EQ
is the default condition and can be omitted.IN
: When you specifyIN
, specify a list of the IDs for the namespaces that you wantListServices
to return a list of services for.BETWEEN
: Not applicable.
$sel:name:ServiceFilter'
, serviceFilter_name
- Specify NAMESPACE_ID
.
$sel:values:ServiceFilter'
, serviceFilter_values
- The values that are applicable to the value that you specify for
Condition
to filter the list of services.
serviceFilter_condition :: Lens' ServiceFilter (Maybe FilterCondition) Source #
The operator that you want to use to determine whether a service is
returned by ListServices
. Valid values for Condition
include the
following:
EQ
: When you specifyEQ
, specify one namespace ID forValues
.EQ
is the default condition and can be omitted.IN
: When you specifyIN
, specify a list of the IDs for the namespaces that you wantListServices
to return a list of services for.BETWEEN
: Not applicable.
serviceFilter_name :: Lens' ServiceFilter ServiceFilterName Source #
Specify NAMESPACE_ID
.
serviceFilter_values :: Lens' ServiceFilter [Text] Source #
The values that are applicable to the value that you specify for
Condition
to filter the list of services.