Module Values.GetRecommendedPolicyV2RequestSource

Retrieves the recommended policy to remediate a Security Hub finding. GetRecommendedPolicyV2 only supports findings for unused permissions.

Sourcetype nonrec t = {
  1. metadataUid : NonEmptyString.t;
    (*

    The unique identifier (ID) of Security Hub OCSF findings found under the metadata.uid field of the finding.

    *)
  2. nextToken : NextToken.t option;
    (*

    The token used to paginate the RecommendationSteps list returned. On your first call to GetRecommendedPolicyV2, omit this parameter or set it to NULL. For subsequent calls, use the NextToken value returned in the previous response to retrieve the next page of results.

    *)
  3. maxResults : MaxResults.t option;
    (*

    The maximum number of recommendation steps to return.

    *)
}
Sourceval context_ : string
Sourceval make : ?nextToken:??? -> ?maxResults:??? -> metadataUid:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxResults.t | `String of NonEmptyString.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