Module Values.GetResourcePolicyResultSource

Retrieves the resource policy for the specified CloudFront resource that you own and have shared.

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

    The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.

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

    The resource policy in JSON format.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDenied of AccessDenied.t
  2. | `EntityNotFound of EntityNotFound.t
  3. | `InvalidArgument of InvalidArgument.t
  4. | `UnsupportedOperation of UnsupportedOperation.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resourceArn:??? -> ?policyDocument:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDenied of AccessDenied.t | `EntityNotFound of EntityNotFound.t | `InvalidArgument of InvalidArgument.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDenied of AccessDenied.t | `EntityNotFound of EntityNotFound.t | `InvalidArgument of InvalidArgument.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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