aws_sdk_bedrock/client/update_automated_reasoning_policy.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 [`UpdateAutomatedReasoningPolicy`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`policy_arn(impl Into<String>)`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy to update. This must be the ARN of a draft policy.</p><br>
7 /// - [`policy_definition(AutomatedReasoningPolicyDefinition)`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::policy_definition) / [`set_policy_definition(Option<AutomatedReasoningPolicyDefinition>)`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::set_policy_definition):<br>required: **true**<br><p>The updated policy definition containing the formal logic rules, variables, and types.</p><br>
8 /// - [`name(impl Into<String>)`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::set_name):<br>required: **false**<br><p>The updated name for the Automated Reasoning policy.</p><br>
9 /// - [`description(impl Into<String>)`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::set_description):<br>required: **false**<br><p>The updated description for the Automated Reasoning policy.</p><br>
10 /// - On success, responds with [`UpdateAutomatedReasoningPolicyOutput`](crate::operation::update_automated_reasoning_policy::UpdateAutomatedReasoningPolicyOutput) with field(s):
11 /// - [`policy_arn(String)`](crate::operation::update_automated_reasoning_policy::UpdateAutomatedReasoningPolicyOutput::policy_arn): <p>The Amazon Resource Name (ARN) of the updated policy.</p>
12 /// - [`name(String)`](crate::operation::update_automated_reasoning_policy::UpdateAutomatedReasoningPolicyOutput::name): <p>The updated name of the policy.</p>
13 /// - [`definition_hash(String)`](crate::operation::update_automated_reasoning_policy::UpdateAutomatedReasoningPolicyOutput::definition_hash): <p>The hash of the updated policy definition.</p>
14 /// - [`updated_at(DateTime)`](crate::operation::update_automated_reasoning_policy::UpdateAutomatedReasoningPolicyOutput::updated_at): <p>The timestamp when the policy was last updated.</p>
15 /// - On failure, responds with [`SdkError<UpdateAutomatedReasoningPolicyError>`](crate::operation::update_automated_reasoning_policy::UpdateAutomatedReasoningPolicyError)
16 pub fn update_automated_reasoning_policy(
17 &self,
18 ) -> crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder {
19 crate::operation::update_automated_reasoning_policy::builders::UpdateAutomatedReasoningPolicyFluentBuilder::new(self.handle.clone())
20 }
21}