Skip to content

/AWS1/CL_AMP=>PUTRULEGROUPSNAMESPACE()

About PutRuleGroupsNamespace

Updates an existing 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 update existing rule groups namespaces. To create a new rule groups namespace, use CreateRuleGroupsNamespace.

You can't use this operation to add tags to an existing rule groups namespace. Instead, use TagResource.

Method Signature

IMPORTING

Required arguments:

IV_WORKSPACEID TYPE /AWS1/AMPWORKSPACEID /AWS1/AMPWORKSPACEID

The ID of the workspace where you are updating the rule groups namespace.

IV_NAME TYPE /AWS1/AMPRULEGRPSNAMESPACENAME /AWS1/AMPRULEGRPSNAMESPACENAME

The name of the rule groups namespace that you are updating.

IV_DATA TYPE /AWS1/AMPRULEGRPSNAMESPACEDATA /AWS1/AMPRULEGRPSNAMESPACEDATA

The new rules file to use in the namespace. A base64-encoded version of the YAML rule groups 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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMPPUTRLGRSNAMESPAC01 /AWS1/CL_AMPPUTRLGRSNAMESPAC01