Module Values.GetGeneratedPolicyRequestSource

Retrieves the policy that was generated using StartPolicyGeneration.

Sourcetype nonrec t = {
  1. jobId : JobId.t;
    (*

    The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

    *)
  2. includeResourcePlaceholders : Boolean.t option;
    (*

    The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies. For example, in the resource section of a policy, you can receive a placeholder such as "Resource":"arn:aws:s3:::${BucketName}" instead of "*".

    *)
  3. includeServiceLevelTemplate : Boolean.t option;
    (*

    The level of detail that you want to generate. You can specify whether to generate service-level policies. IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used recently to create this service-level template.

    *)
}
Sourceval context_ : string
Sourceval make : ?includeResourcePlaceholders:??? -> ?includeServiceLevelTemplate:??? -> jobId:JobId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of JobId.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