Struct aws_sdk_verifiedpermissions::operation::delete_policy_template::builders::DeletePolicyTemplateFluentBuilder
source · pub struct DeletePolicyTemplateFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeletePolicyTemplate.
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.
Implementations§
source§impl DeletePolicyTemplateFluentBuilder
impl DeletePolicyTemplateFluentBuilder
sourcepub fn as_input(&self) -> &DeletePolicyTemplateInputBuilder
pub fn as_input(&self) -> &DeletePolicyTemplateInputBuilder
Access the DeletePolicyTemplate as a reference.
sourcepub async fn send(
self
) -> Result<DeletePolicyTemplateOutput, SdkError<DeletePolicyTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<DeletePolicyTemplateOutput, SdkError<DeletePolicyTemplateError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeletePolicyTemplateOutput, DeletePolicyTemplateError, Self>
pub fn customize( self ) -> CustomizableOperation<DeletePolicyTemplateOutput, DeletePolicyTemplateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
Specifies the ID of the policy store that contains the policy template that you want to delete.
sourcepub fn set_policy_store_id(self, input: Option<String>) -> Self
pub fn set_policy_store_id(self, input: Option<String>) -> Self
Specifies the ID of the policy store that contains the policy template that you want to delete.
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
Specifies the ID of the policy store that contains the policy template that you want to delete.
sourcepub fn policy_template_id(self, input: impl Into<String>) -> Self
pub fn policy_template_id(self, input: impl Into<String>) -> Self
Specifies the ID of the policy template that you want to delete.
sourcepub fn set_policy_template_id(self, input: Option<String>) -> Self
pub fn set_policy_template_id(self, input: Option<String>) -> Self
Specifies the ID of the policy template that you want to delete.
sourcepub fn get_policy_template_id(&self) -> &Option<String>
pub fn get_policy_template_id(&self) -> &Option<String>
Specifies the ID of the policy template that you want to delete.
Trait Implementations§
source§impl Clone for DeletePolicyTemplateFluentBuilder
impl Clone for DeletePolicyTemplateFluentBuilder
source§fn clone(&self) -> DeletePolicyTemplateFluentBuilder
fn clone(&self) -> DeletePolicyTemplateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more