Skip to content

/AWS1/CL_NWSUPDATERULEOUTPUT

UpdateRuleOutput

CONSTRUCTOR

IMPORTING

Required arguments:

iv_ruleid TYPE /AWS1/NWSRULEID /AWS1/NWSRULEID

The service-generated id of the rule.

iv_rulearn TYPE /AWS1/NWSRULEARN /AWS1/NWSRULEARN

The Amazon Resource Name (ARN) of the rule.

iv_rulename TYPE /AWS1/NWSRULENAME /AWS1/NWSRULENAME

The name of the rule.

iv_firewalltype TYPE /AWS1/NWSRULEFIREWALLTYPE /AWS1/NWSRULEFIREWALLTYPE

The firewall type associated with the resource.

io_configuration TYPE REF TO /AWS1/CL_RT_DOCUMENT /AWS1/CL_RT_DOCUMENT

The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.

iv_status TYPE /AWS1/NWSENTITYSTATUS /AWS1/NWSENTITYSTATUS

The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).

iv_version TYPE /AWS1/NWSENTITYVERSION /AWS1/NWSENTITYVERSION

The version of the resource.

Optional arguments:

iv_ruletype TYPE /AWS1/NWSRULETYPE /AWS1/NWSRULETYPE

The type of the rule. CONFIGURATION rules contain firewall settings, and INSPECTION rules contain rule groups.

iv_ruledescription TYPE /AWS1/NWSDESCRIPTION /AWS1/NWSDESCRIPTION

A description of the rule.

iv_updatetoken TYPE /AWS1/NWSUPDATETOKEN /AWS1/NWSUPDATETOKEN

A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.

iv_issnapshot TYPE /AWS1/NWSISSNAPSHOT /AWS1/NWSISSNAPSHOT

Specifies whether the resource is a snapshot of a published version.

iv_haspublishedversion TYPE /AWS1/NWSHASPUBLISHEDVERSION /AWS1/NWSHASPUBLISHEDVERSION

Specifies whether a published version of the resource exists.

iv_updatedat TYPE /AWS1/NWSDATETIMESTAMP /AWS1/NWSDATETIMESTAMP

The time when the resource was last updated.


Queryable Attributes

ruleId

The service-generated id of the rule.

Accessible with the following methods

Method Description
GET_RULEID() Getter for RULEID, with configurable default
ASK_RULEID() Getter for RULEID w/ exceptions if field has no value
HAS_RULEID() Determine if RULEID has a value

ruleArn

The Amazon Resource Name (ARN) of the rule.

Accessible with the following methods

Method Description
GET_RULEARN() Getter for RULEARN, with configurable default
ASK_RULEARN() Getter for RULEARN w/ exceptions if field has no value
HAS_RULEARN() Determine if RULEARN has a value

ruleName

The name of the rule.

Accessible with the following methods

Method Description
GET_RULENAME() Getter for RULENAME, with configurable default
ASK_RULENAME() Getter for RULENAME w/ exceptions if field has no value
HAS_RULENAME() Determine if RULENAME has a value

firewallType

The firewall type associated with the resource.

Accessible with the following methods

Method Description
GET_FIREWALLTYPE() Getter for FIREWALLTYPE, with configurable default
ASK_FIREWALLTYPE() Getter for FIREWALLTYPE w/ exceptions if field has no value
HAS_FIREWALLTYPE() Determine if FIREWALLTYPE has a value

ruleType

The type of the rule. CONFIGURATION rules contain firewall settings, and INSPECTION rules contain rule groups.

Accessible with the following methods

Method Description
GET_RULETYPE() Getter for RULETYPE, with configurable default
ASK_RULETYPE() Getter for RULETYPE w/ exceptions if field has no value
HAS_RULETYPE() Determine if RULETYPE has a value

ruleDescription

A description of the rule.

Accessible with the following methods

Method Description
GET_RULEDESCRIPTION() Getter for RULEDESCRIPTION, with configurable default
ASK_RULEDESCRIPTION() Getter for RULEDESCRIPTION w/ exceptions if field has no val
HAS_RULEDESCRIPTION() Determine if RULEDESCRIPTION has a value

configuration

The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.

Accessible with the following methods

Method Description
GET_CONFIGURATION() Getter for CONFIGURATION, with configurable default
ASK_CONFIGURATION() Getter for CONFIGURATION w/ exceptions if field has no value
HAS_CONFIGURATION() Determine if CONFIGURATION has a value

status

The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

version

The version of the resource.

Accessible with the following methods

Method Description
GET_VERSION() Getter for VERSION, with configurable default
ASK_VERSION() Getter for VERSION w/ exceptions if field has no value
HAS_VERSION() Determine if VERSION has a value

updateToken

A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.

Accessible with the following methods

Method Description
GET_UPDATETOKEN() Getter for UPDATETOKEN, with configurable default
ASK_UPDATETOKEN() Getter for UPDATETOKEN w/ exceptions if field has no value
HAS_UPDATETOKEN() Determine if UPDATETOKEN has a value

isSnapshot

Specifies whether the resource is a snapshot of a published version.

Accessible with the following methods

Method Description
GET_ISSNAPSHOT() Getter for ISSNAPSHOT, with configurable default
ASK_ISSNAPSHOT() Getter for ISSNAPSHOT w/ exceptions if field has no value
HAS_ISSNAPSHOT() Determine if ISSNAPSHOT has a value

hasPublishedVersion

Specifies whether a published version of the resource exists.

Accessible with the following methods

Method Description
GET_HASPUBLISHEDVERSION() Getter for HASPUBLISHEDVERSION, with configurable default
ASK_HASPUBLISHEDVERSION() Getter for HASPUBLISHEDVERSION w/ exceptions if field has no
HAS_HASPUBLISHEDVERSION() Determine if HASPUBLISHEDVERSION has a value

updatedAt

The time when the resource was last updated.

Accessible with the following methods

Method Description
GET_UPDATEDAT() Getter for UPDATEDAT, with configurable default
ASK_UPDATEDAT() Getter for UPDATEDAT w/ exceptions if field has no value
HAS_UPDATEDAT() Determine if UPDATEDAT has a value