Values.StartMalwareScanRequestSourceInitiates 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.
type nonrec t = {resourceArn : ResourceArn.t;Amazon Resource Name (ARN) of the resource for which you invoked the API.
*)clientToken : ClientToken.t option;The idempotency token for the create request.
*)scanConfiguration : StartMalwareScanConfiguration.t option;Contains information about the configuration to be used for the malware scan.
*)}val make :
?clientToken:??? ->
?scanConfiguration:??? ->
resourceArn:ResourceArn.t ->
unit ->
tval 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 ]