Module Values.DeletePolicyTemplateInputSource

Deletes the specified policy template from the policy store. This operation also deletes any policies that were created from the specified policy template. Those policies are immediately removed from all future API responses, and are asynchronously deleted from the policy store.

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

    Specifies the ID of the policy store that contains the policy template that you want to delete. To specify a policy store, use its ID or alias name. When using an alias name, prefix it with policy-store-alias/. For example: ID: PSEXAMPLEabcdefg111111 Alias name: policy-store-alias/example-policy-store To view aliases, use ListPolicyStoreAliases.

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

    Specifies the ID of the policy template that you want to delete. You can use the policy template name in place of the policy template ID. When using a name, prefix it with name/. For example: ID: PTEXAMPLEabcdefg111111 Name: name/example-policy-template

    *)
}
Sourceval context_ : string
Sourceval make : policyStoreId:PolicyStoreId.t -> policyTemplateId:PolicyTemplateId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PolicyStoreId.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