amazonka-route53-autonaming-2.0: Amazon Cloud Map 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.Route53AutoNaming.Types.NamespaceFilter

Description

 
Synopsis

Documentation

data NamespaceFilter Source #

A complex type that identifies the namespaces that you want to list. You can choose to list public or private namespaces.

See: newNamespaceFilter smart constructor.

Constructors

NamespaceFilter' 

Fields

  • condition :: Maybe FilterCondition

    Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid values for Condition are one of the following.

    • EQ: When you specify EQ for Condition, you can specify only one value. EQ is supported for TYPE, NAME, and HTTP_NAME. EQ is the default condition and can be omitted.
    • BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can specify only one value. BEGINS_WITH is supported for TYPE, NAME, and HTTP_NAME.
  • name :: NamespaceFilterName

    Specify the namespaces that you want to get using one of the following.

    • TYPE: Gets the namespaces of the specified type.
    • NAME: Gets the namespaces with the specified name.
    • HTTP_NAME: Gets the namespaces with the specified HTTP name.
  • values :: [Text]

    Specify the values that are applicable to the value that you specify for Name.

    • TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
    • NAME: Specify the name of the namespace, which is found in Namespace.Name.
    • HTTP_NAME: Specify the HTTP name of the namespace, which is found in Namespace.Properties.HttpProperties.HttpName.

Instances

Instances details
ToJSON NamespaceFilter Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.NamespaceFilter

Generic NamespaceFilter Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.NamespaceFilter

Associated Types

type Rep NamespaceFilter :: Type -> Type #

Read NamespaceFilter Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.NamespaceFilter

Show NamespaceFilter Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.NamespaceFilter

NFData NamespaceFilter Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.NamespaceFilter

Methods

rnf :: NamespaceFilter -> () #

Eq NamespaceFilter Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.NamespaceFilter

Hashable NamespaceFilter Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.NamespaceFilter

type Rep NamespaceFilter Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.NamespaceFilter

type Rep NamespaceFilter = D1 ('MetaData "NamespaceFilter" "Amazonka.Route53AutoNaming.Types.NamespaceFilter" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" 'False) (C1 ('MetaCons "NamespaceFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilterCondition)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NamespaceFilterName) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newNamespaceFilter Source #

Create a value of NamespaceFilter 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:NamespaceFilter', namespaceFilter_condition - Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid values for Condition are one of the following.

  • EQ: When you specify EQ for Condition, you can specify only one value. EQ is supported for TYPE, NAME, and HTTP_NAME. EQ is the default condition and can be omitted.
  • BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can specify only one value. BEGINS_WITH is supported for TYPE, NAME, and HTTP_NAME.

$sel:name:NamespaceFilter', namespaceFilter_name - Specify the namespaces that you want to get using one of the following.

  • TYPE: Gets the namespaces of the specified type.
  • NAME: Gets the namespaces with the specified name.
  • HTTP_NAME: Gets the namespaces with the specified HTTP name.

$sel:values:NamespaceFilter', namespaceFilter_values - Specify the values that are applicable to the value that you specify for Name.

  • TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
  • NAME: Specify the name of the namespace, which is found in Namespace.Name.
  • HTTP_NAME: Specify the HTTP name of the namespace, which is found in Namespace.Properties.HttpProperties.HttpName.

namespaceFilter_condition :: Lens' NamespaceFilter (Maybe FilterCondition) Source #

Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid values for Condition are one of the following.

  • EQ: When you specify EQ for Condition, you can specify only one value. EQ is supported for TYPE, NAME, and HTTP_NAME. EQ is the default condition and can be omitted.
  • BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can specify only one value. BEGINS_WITH is supported for TYPE, NAME, and HTTP_NAME.

namespaceFilter_name :: Lens' NamespaceFilter NamespaceFilterName Source #

Specify the namespaces that you want to get using one of the following.

  • TYPE: Gets the namespaces of the specified type.
  • NAME: Gets the namespaces with the specified name.
  • HTTP_NAME: Gets the namespaces with the specified HTTP name.

namespaceFilter_values :: Lens' NamespaceFilter [Text] Source #

Specify the values that are applicable to the value that you specify for Name.

  • TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
  • NAME: Specify the name of the namespace, which is found in Namespace.Name.
  • HTTP_NAME: Specify the HTTP name of the namespace, which is found in Namespace.Properties.HttpProperties.HttpName.