Skip to content

/AWS1/CL_CTT=>UPDATEENABLEDCONTROL()

About UpdateEnabledControl

Updates the configuration of an already enabled control.

If the enabled control shows an EnablementStatus of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request.

If the enabled control shows an EnablementStatus of FAILED, Amazon Web Services Control Tower will update the control to match any valid parameters that you supply.

If the DriftSummary status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling DisableControl and again calling EnableControl, or you can run an extending governance operation. For usage examples, see the Amazon Web Services Control Tower User Guide

Method Signature

IMPORTING

Required arguments:

IT_PARAMETERS TYPE /AWS1/CL_CTTENABLEDCTLPARAM=>TT_ENABLEDCONTROLPARAMETERS TT_ENABLEDCONTROLPARAMETERS

A key/value pair, where Key is of type String and Value is of type Document.

IV_ENABLEDCONTROLIDENTIFIER TYPE /AWS1/CTTARN /AWS1/CTTARN

The ARN of the enabled control that will be updated.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CTTUPDENABLEDCTLOUT /AWS1/CL_CTTUPDENABLEDCTLOUT