Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NamespaceFilter

import type { NamespaceFilter } from "https://aws-api.deno.dev/v0.4/services/servicediscovery.ts?docs=full";

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

interface NamespaceFilter {
Condition?: FilterCondition | null;
Values: string[];
}

§Properties

§
Condition?: FilterCondition | null
[src]

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.
§

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: string[]
[src]

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.