Module Values.PutResourcePolicyResultSource

Creates a resource control policy for a given CloudFront resource.

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

    The Amazon Resource Name (ARN) of the CloudFront resource for which the policy was created.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDenied of AccessDenied.t
  2. | `EntityNotFound of EntityNotFound.t
  3. | `IllegalUpdate of IllegalUpdate.t
  4. | `InvalidArgument of InvalidArgument.t
  5. | `PreconditionFailed of PreconditionFailed.t
  6. | `UnsupportedOperation of UnsupportedOperation.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resourceArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDenied of AccessDenied.t | `EntityNotFound of EntityNotFound.t | `IllegalUpdate of IllegalUpdate.t | `InvalidArgument of InvalidArgument.t | `PreconditionFailed of PreconditionFailed.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 | `IllegalUpdate of IllegalUpdate.t | `InvalidArgument of InvalidArgument.t | `PreconditionFailed of PreconditionFailed.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