Skip to content

/AWS1/CL_SDYNAMESPACEFILTER

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

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/SDYNAMESPACEFILTERNAME /AWS1/SDYNAMESPACEFILTERNAME

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 Amazon Web Services account or by other accounts. This can be used to filter for shared namespaces. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

it_values TYPE /AWS1/CL_SDYFILTERVALUES_W=>TT_FILTERVALUES TT_FILTERVALUES

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.

  • RESOURCE_OWNER: Specify one of SELF or OTHER_ACCOUNTS. SELF can be used to filter namespaces created by you and OTHER_ACCOUNTS can be used to filter namespaces shared with you that were created by other accounts.

Optional arguments:

iv_condition TYPE /AWS1/SDYFILTERCONDITION /AWS1/SDYFILTERCONDITION

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, RESOURCE_OWNER 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.


Queryable Attributes

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 Amazon Web Services account or by other accounts. This can be used to filter for shared namespaces. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

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.

  • RESOURCE_OWNER: Specify one of SELF or OTHER_ACCOUNTS. SELF can be used to filter namespaces created by you and OTHER_ACCOUNTS can be used to filter namespaces shared with you that were created by other accounts.

Accessible with the following methods

Method Description
GET_VALUES() Getter for VALUES, with configurable default
ASK_VALUES() Getter for VALUES w/ exceptions if field has no value
HAS_VALUES() Determine if VALUES has a value

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, RESOURCE_OWNER 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.

Accessible with the following methods

Method Description
GET_CONDITION() Getter for CONDITION, with configurable default
ASK_CONDITION() Getter for CONDITION w/ exceptions if field has no value
HAS_CONDITION() Determine if CONDITION has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_NAMESPACEFILTERS

TYPES TT_NAMESPACEFILTERS TYPE STANDARD TABLE OF REF TO /AWS1/CL_SDYNAMESPACEFILTER WITH DEFAULT KEY
.