Module Values.EnableControlInputSource

This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the Controls Reference Guide .

Sourcetype nonrec t = {
  1. controlIdentifier : ControlIdentifier.t;
    (*

    The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier, see the overview page.

    *)
  2. targetIdentifier : TargetIdentifier.t;
    (*

    The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page.

    *)
  3. tags : TagMap.t option;
    (*

    Tags to be applied to the EnabledControl resource.

    *)
  4. parameters : EnabledControlParameters.t option;
    (*

    A list of input parameter values, which are specified to configure the control when you enable it.

    *)
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> ?parameters:??? -> controlIdentifier:ControlIdentifier.t -> targetIdentifier:TargetIdentifier.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t | `Structure of 'a list ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ControlIdentifier.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t