Module Values.StartMalwareScanRequestSource

Initiates the malware scan. Invoking this API will automatically create the Service-linked role in the corresponding account if the resourceArn belongs to an EC2 instance. When the malware scan starts, you can use the associated scan ID to track the status of the scan. For more information, see ListMalwareScans and GetMalwareScan. When you use this API, the Amazon Web Services service terms for GuardDuty Malware Protection apply. For more information, see Amazon Web Services service terms for GuardDuty Malware Protection.

Sourcetype nonrec t = {
  1. resourceArn : ResourceArn.t;
    (*

    Amazon Resource Name (ARN) of the resource for which you invoked the API.

    *)
  2. clientToken : ClientToken.t option;
    (*

    The idempotency token for the create request.

    *)
  3. scanConfiguration : StartMalwareScanConfiguration.t option;
    (*

    Contains information about the configuration to be used for the malware scan.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?scanConfiguration:??? -> resourceArn:ResourceArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceArn.t | `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `String of NonEmptyString.t ]) list ]) list ]) 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