Module Values.GetPolicyResponseSource

Returns information about the specified Firewall Manager policy.

Sourcetype nonrec t = {
  1. policy : Policy.t option;
    (*

    Information about the specified Firewall Manager policy.

    *)
  2. policyArn : ResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the specified policy.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalErrorException of InternalErrorException.t
  2. | `InvalidOperationException of InvalidOperationException.t
  3. | `InvalidTypeException of InvalidTypeException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policy:??? -> ?policyArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalErrorException of InternalErrorException.t | `InvalidOperationException of InvalidOperationException.t | `InvalidTypeException of InvalidTypeException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalErrorException of InternalErrorException.t | `InvalidOperationException of InvalidOperationException.t | `InvalidTypeException of InvalidTypeException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceArn.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of ResourceType.t | `Structure of (string * [> `String of ResourceTagKey.t ]) list ] list | `Map of ([> `Enum of string ] * [> `List of [> `String of CustomerPolicyScopeId.t ] list ]) list | `String of PolicyId.t | `Structure of (string * [> `Enum of string | `String of ManagedServiceData.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Boolean of BooleanObject.t | `List of [> `Structure of (string * [> `Boolean of BooleanObject.t | `Enum of string | `String of LengthBoundedString.t | `Structure of (string * [> `Integer of IntegerObject.t ]) list ]) list ] list ]) list ]) list ]) list ]) list ]) list ]) 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