aws_sdk_verifiedpermissions/client/
delete_policy_template.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeletePolicyTemplate`](crate::operation::delete_policy_template::builders::DeletePolicyTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`policy_store_id(impl Into<String>)`](crate::operation::delete_policy_template::builders::DeletePolicyTemplateFluentBuilder::policy_store_id) / [`set_policy_store_id(Option<String>)`](crate::operation::delete_policy_template::builders::DeletePolicyTemplateFluentBuilder::set_policy_store_id):<br>required: **true**<br><p>Specifies the ID of the policy store that contains the policy template that you want to delete.</p><br>
    ///   - [`policy_template_id(impl Into<String>)`](crate::operation::delete_policy_template::builders::DeletePolicyTemplateFluentBuilder::policy_template_id) / [`set_policy_template_id(Option<String>)`](crate::operation::delete_policy_template::builders::DeletePolicyTemplateFluentBuilder::set_policy_template_id):<br>required: **true**<br><p>Specifies the ID of the policy template that you want to delete.</p><br>
    /// - On success, responds with [`DeletePolicyTemplateOutput`](crate::operation::delete_policy_template::DeletePolicyTemplateOutput)
    /// - On failure, responds with [`SdkError<DeletePolicyTemplateError>`](crate::operation::delete_policy_template::DeletePolicyTemplateError)
    pub fn delete_policy_template(&self) -> crate::operation::delete_policy_template::builders::DeletePolicyTemplateFluentBuilder {
        crate::operation::delete_policy_template::builders::DeletePolicyTemplateFluentBuilder::new(self.handle.clone())
    }
}