aws_sdk_bedrockagentcorecontrol/client/update_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 [`UpdatePolicyEngine`](crate::operation::update_policy_engine::builders::UpdatePolicyEngineFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`policy_engine_id(impl Into<String>)`](crate::operation::update_policy_engine::builders::UpdatePolicyEngineFluentBuilder::policy_engine_id) / [`set_policy_engine_id(Option<String>)`](crate::operation::update_policy_engine::builders::UpdatePolicyEngineFluentBuilder::set_policy_engine_id):<br>required: **true**<br><p>The unique identifier of the policy engine to be updated.</p><br>
7 /// - [`description(impl Into<String>)`](crate::operation::update_policy_engine::builders::UpdatePolicyEngineFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_policy_engine::builders::UpdatePolicyEngineFluentBuilder::set_description):<br>required: **false**<br><p>The new description for the policy engine.</p><br>
8 /// - On success, responds with [`UpdatePolicyEngineOutput`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput) with field(s):
9 /// - [`policy_engine_id(String)`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput::policy_engine_id): <p>The unique identifier of the updated policy engine.</p>
10 /// - [`name(String)`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput::name): <p>The name of the updated policy engine.</p>
11 /// - [`description(Option<String>)`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput::description): <p>The updated description of the policy engine.</p>
12 /// - [`created_at(DateTime)`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput::created_at): <p>The original creation timestamp of the policy engine.</p>
13 /// - [`updated_at(DateTime)`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput::updated_at): <p>The timestamp when the policy engine was last updated.</p>
14 /// - [`policy_engine_arn(String)`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput::policy_engine_arn): <p>The ARN of the updated policy engine.</p>
15 /// - [`status(PolicyEngineStatus)`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput::status): <p>The current status of the updated policy engine.</p>
16 /// - [`status_reasons(Vec::<String>)`](crate::operation::update_policy_engine::UpdatePolicyEngineOutput::status_reasons): <p>Additional information about the update status.</p>
17 /// - On failure, responds with [`SdkError<UpdatePolicyEngineError>`](crate::operation::update_policy_engine::UpdatePolicyEngineError)
18 pub fn update_policy_engine(&self) -> crate::operation::update_policy_engine::builders::UpdatePolicyEngineFluentBuilder {
19 crate::operation::update_policy_engine::builders::UpdatePolicyEngineFluentBuilder::new(self.handle.clone())
20 }
21}