NamespaceFilter
A complex type that identifies the namespaces that you want to list. You can choose to list public or private namespaces.
Contents
- 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. -
RESOURCE_OWNER: Gets the namespaces created by your AWS account or by other accounts. This can be used to filter for shared namespaces. For more information about shared namespaces, see Cross-account AWS Cloud Map namespace sharing in the AWS Cloud Map Developer Guide.
Type: String
Valid Values:
TYPE | NAME | HTTP_NAME | RESOURCE_OWNERRequired: Yes
-
- Values
-
Specify the values that are applicable to the value that you specify for
Name.-
TYPE: SpecifyHTTP,DNS_PUBLIC, orDNS_PRIVATE. -
NAME: Specify the name of the namespace, which is found inNamespace.Name. -
HTTP_NAME: Specify the HTTP name of the namespace, which is found inNamespace.Properties.HttpProperties.HttpName. -
RESOURCE_OWNER: Specify one ofSELForOTHER_ACCOUNTS.SELFcan be used to filter namespaces created by you andOTHER_ACCOUNTScan be used to filter namespaces shared with you that were created by other accounts.
Type: Array of strings
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: Yes
-
- Condition
-
Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid values for
Conditionare one of the following.-
EQ: When you specifyEQforCondition, you can specify only one value.EQis supported forTYPE,NAME,RESOURCE_OWNERandHTTP_NAME.EQis the default condition and can be omitted. -
BEGINS_WITH: When you specifyBEGINS_WITHforCondition, you can specify only one value.BEGINS_WITHis supported forTYPE,NAME, andHTTP_NAME.
Type: String
Valid Values:
EQ | IN | BETWEEN | BEGINS_WITHRequired: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: