Module Values.GetPolicyTemplateOutputSource

Retrieve the details for the specified policy template in the specified policy store.

Sourcetype nonrec t = {
  1. policyStoreId : PolicyStoreId.t option;
    (*

    The ID of the policy store that contains the policy template.

    *)
  2. policyTemplateId : PolicyTemplateId.t option;
    (*

    The ID of the policy template.

    *)
  3. description : PolicyTemplateDescription.t option;
    (*

    The description of the policy template.

    *)
  4. statement : PolicyStatement.t option;
    (*

    The content of the body of the policy template written in the Cedar policy language.

    *)
  5. createdDate : TimestampFormat.t option;
    (*

    The date and time that the policy template was originally created.

    *)
  6. lastUpdatedDate : TimestampFormat.t option;
    (*

    The date and time that the policy template was most recently updated.

    *)
  7. name : PolicyTemplateName.t option;
    (*

    The name of the policy template, if one was assigned when the policy template was created or last updated.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policyStoreId:??? -> ?policyTemplateId:??? -> ?description:??? -> ?statement:??? -> ?createdDate:??? -> ?lastUpdatedDate:??? -> ?name:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PolicyStoreId.t | `Timestamp of TimestampFormat.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