ServiceFilter - Amazon Cloud Map
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon 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 Amazon Cloud Map namespace sharing in the Amazon 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 Amazon account.

  • RESOURCE_OWNER: Specify one of SELF or OTHER_ACCOUNTS. SELF can be used to filter services associated with namespaces created by you and OTHER_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 for Condition include the following:

  • EQ: When you specify EQ, 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 Amazon SDKs, see the following: