Skip to content

/AWS1/CL_AMP=>CREATERULEGROUPSNAMESPACE()

About CreateRuleGroupsNamespace

The CreateRuleGroupsNamespace operation creates a rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces.

Use this operation only to create new rule groups namespaces. To update an existing rule groups namespace, use PutRuleGroupsNamespace.

Method Signature

IMPORTING

Required arguments:

IV_WORKSPACEID TYPE /AWS1/AMPWORKSPACEID /AWS1/AMPWORKSPACEID

The ID of the workspace to add the rule groups namespace.

IV_NAME TYPE /AWS1/AMPRULEGRPSNAMESPACENAME /AWS1/AMPRULEGRPSNAMESPACENAME

The name for the new rule groups namespace.

IV_DATA TYPE /AWS1/AMPRULEGRPSNAMESPACEDATA /AWS1/AMPRULEGRPSNAMESPACEDATA

The rules file to use in the new namespace.

Contains the base64-encoded version of the YAML rules file.

For details about the rule groups namespace structure, see RuleGroupsNamespaceData.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/AMPIDEMPOTENCYTOKEN /AWS1/AMPIDEMPOTENCYTOKEN

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

IT_TAGS TYPE /AWS1/CL_AMPTAGMAP_W=>TT_TAGMAP TT_TAGMAP

The list of tag keys and values to associate with the rule groups namespace.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMPCRERLGRSNAMESPAC01 /AWS1/CL_AMPCRERLGRSNAMESPAC01