Module Values.PutResourcePolicyRequestSource

Creates a resource control policy for a given resource.

Sourcetype nonrec t = {
  1. resourceArn : ResourceArn.t;
    (*

    The Amazon Resource Name (ARN) of the resource for which the policy is being created.

    *)
  2. resourcePolicy : Policy.t;
    (*

    The JSON-formatted resource policy to create.

    *)
  3. policyRevisionId : PolicyRevisionId.t option;
    (*

    A unique identifier for a revision of the resource policy.

    *)
  4. clientToken : IdempotenceToken.t;
    (*

    A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

    *)
}
Sourceval context_ : string
Sourceval make : ?policyRevisionId:??? -> resourceArn:ResourceArn.t -> resourcePolicy:Policy.t -> clientToken:IdempotenceToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceArn.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