Module Values.ResourcePolicySource

A resource policy grants one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy is associated with a specific Amazon Web Services account.

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

    The name of the resource policy. Must be unique within a specific Amazon Web Services account.

    *)
  2. policyDocument : PolicyDocument.t option;
    (*

    The resource policy document, which can be up to 5kb in size.

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

    Returns the current policy revision id for this policy name.

    *)
  4. lastUpdatedTime : Timestamp.t option;
    (*

    When the policy was last updated, in Unix time seconds.

    *)
}
Sourceval make : ?policyName:??? -> ?policyDocument:??? -> ?policyRevisionId:??? -> ?lastUpdatedTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PolicyName.t | `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