Module Values.GetMalwareProtectionPlanResponseSource

Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.

Sourcetype nonrec t = {
  1. arn : String_.t option;
    (*

    Amazon Resource Name (ARN) of the protected resource.

    *)
  2. role : String_.t option;
    (*

    Amazon Resource Name (ARN) of the IAM role that includes the permissions to scan and add tags to the associated protected resource.

    *)
  3. protectedResource : CreateProtectedResource.t option;
    (*

    Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource.

    *)
  4. actions : MalwareProtectionPlanActions.t option;
    (*

    Information about whether the tags will be added to the S3 object after scanning.

    *)
  5. createdAt : Timestamp.t option;
    (*

    The timestamp when the Malware Protection plan resource was created.

    *)
  6. status : MalwareProtectionPlanStatus.t option;
    (*

    Malware Protection plan status.

    *)
  7. statusReasons : MalwareProtectionPlanStatusReasonsList.t option;
    (*

    Information about the issue code and message associated to the status of your Malware Protection plan.

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

    Tags added to the Malware Protection plan resource.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `BadRequestException of BadRequestException.t
  3. | `InternalServerErrorException of InternalServerErrorException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?arn:??? -> ?role:??? -> ?protectedResource:??? -> ?actions:??? -> ?createdAt:??? -> ?status:??? -> ?statusReasons:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerErrorException of InternalServerErrorException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerErrorException of InternalServerErrorException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of String_.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `String of String_.t ]) list ]) list | `Timestamp of Timestamp.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