Module Values_1.DetachPrincipalPolicyRequestSource

The input for the DetachPrincipalPolicy operation.

Sourcetype nonrec t = {
  1. policyName : Values_0.PolicyName.t;
    (*

    The name of the policy to detach.

    *)
  2. principal : Values_0.Principal.t;
    (*

    The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

    *)
}
Sourceval context_ : string
Sourceval make : policyName:Values_0.PolicyName.t -> principal:Values_0.Principal.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.PolicyName.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