ServiceFilter
A complex type that lets you specify the namespaces that you want to list services for.
Contents
- Name
-
Specify the services that you want to get using one of the following.
-
NAMESPACE_ID
: Gets the services associated with the specified namespace. -
RESOURCE_OWNER
: Gets the services associated with the namespaces created by your AWS account or by other accounts. This can be used to filter for services created in a shared namespace. 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:
NAMESPACE_ID | RESOURCE_OWNER
Required: Yes
-
- Values
-
The values that are applicable to the value that you specify for
Condition
to filter the list of services.-
NAMESPACE_ID: Specify one namespace ID or ARN. Specify the namespace ARN for namespaces that are shared with your AWS account.
-
RESOURCE_OWNER: Specify one of
SELF
orOTHER_ACCOUNTS
.SELF
can be used to filter services associated with namespaces created by you andOTHER_ACCOUNTS
can be used to filter services associated with namespaces that were shared with you.
Type: Array of strings
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: Yes
-
- Condition
-
The operator that you want to use to determine whether a service is returned by
ListServices
. Valid values forCondition
include the following:-
EQ
: When you specifyEQ
, specify one value.EQ
is the default condition and can be omitted.
Type: String
Valid Values:
EQ | IN | BETWEEN | BEGINS_WITH
Required: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: