aws_sdk_bedrockagentcorecontrol/client/delete_policy_engine.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeletePolicyEngine`](crate::operation::delete_policy_engine::builders::DeletePolicyEngineFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`policy_engine_id(impl Into<String>)`](crate::operation::delete_policy_engine::builders::DeletePolicyEngineFluentBuilder::policy_engine_id) / [`set_policy_engine_id(Option<String>)`](crate::operation::delete_policy_engine::builders::DeletePolicyEngineFluentBuilder::set_policy_engine_id):<br>required: **true**<br><p>The unique identifier of the policy engine to be deleted. This must be a valid policy engine ID that exists within the account.</p><br>
7 /// - On success, responds with [`DeletePolicyEngineOutput`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput) with field(s):
8 /// - [`policy_engine_id(String)`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput::policy_engine_id): <p>The unique identifier of the policy engine being deleted. This confirms which policy engine the deletion operation targets.</p>
9 /// - [`name(String)`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput::name): <p>The customer-assigned name of the deleted policy engine.</p>
10 /// - [`description(Option<String>)`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput::description): <p>The human-readable description of the deleted policy engine.</p>
11 /// - [`created_at(DateTime)`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput::created_at): <p>The timestamp when the deleted policy engine was originally created.</p>
12 /// - [`updated_at(DateTime)`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput::updated_at): <p>The timestamp when the deleted policy engine was last modified before deletion. This tracks the final state of the policy engine before it was removed from the system.</p>
13 /// - [`policy_engine_arn(String)`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput::policy_engine_arn): <p>The Amazon Resource Name (ARN) of the deleted policy engine. This globally unique identifier confirms which policy engine resource was successfully removed.</p>
14 /// - [`status(PolicyEngineStatus)`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput::status): <p>The status of the policy engine deletion operation. This provides status about any issues that occurred during the deletion process.</p>
15 /// - [`status_reasons(Vec::<String>)`](crate::operation::delete_policy_engine::DeletePolicyEngineOutput::status_reasons): <p>Additional information about the deletion status. This provides details about the deletion process or any issues that may have occurred.</p>
16 /// - On failure, responds with [`SdkError<DeletePolicyEngineError>`](crate::operation::delete_policy_engine::DeletePolicyEngineError)
17 pub fn delete_policy_engine(&self) -> crate::operation::delete_policy_engine::builders::DeletePolicyEngineFluentBuilder {
18 crate::operation::delete_policy_engine::builders::DeletePolicyEngineFluentBuilder::new(self.handle.clone())
19 }
20}