aws_sdk_verifiedpermissions/client/update_policy_store.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 [`UpdatePolicyStore`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`policy_store_id(impl Into<String>)`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::policy_store_id) / [`set_policy_store_id(Option<String>)`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::set_policy_store_id):<br>required: **true**<br><p>Specifies the ID of the policy store that you want to update</p><br>
7 /// - [`validation_settings(ValidationSettings)`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::validation_settings) / [`set_validation_settings(Option<ValidationSettings>)`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::set_validation_settings):<br>required: **true**<br><p>A structure that defines the validation settings that want to enable for the policy store.</p><br>
8 /// - [`deletion_protection(DeletionProtection)`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::deletion_protection) / [`set_deletion_protection(Option<DeletionProtection>)`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::set_deletion_protection):<br>required: **false**<br><p>Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.</p> <p>When you call <code>UpdatePolicyStore</code>, this parameter is unchanged unless explicitly included in the call.</p><br>
9 /// - [`description(impl Into<String>)`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::set_description):<br>required: **false**<br><p>Descriptive text that you can provide to help with identification of the current policy store.</p><br>
10 /// - On success, responds with [`UpdatePolicyStoreOutput`](crate::operation::update_policy_store::UpdatePolicyStoreOutput) with field(s):
11 /// - [`policy_store_id(String)`](crate::operation::update_policy_store::UpdatePolicyStoreOutput::policy_store_id): <p>The ID of the updated policy store.</p>
12 /// - [`arn(String)`](crate::operation::update_policy_store::UpdatePolicyStoreOutput::arn): <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the updated policy store.</p>
13 /// - [`created_date(DateTime)`](crate::operation::update_policy_store::UpdatePolicyStoreOutput::created_date): <p>The date and time that the policy store was originally created.</p>
14 /// - [`last_updated_date(DateTime)`](crate::operation::update_policy_store::UpdatePolicyStoreOutput::last_updated_date): <p>The date and time that the policy store was most recently updated.</p>
15 /// - On failure, responds with [`SdkError<UpdatePolicyStoreError>`](crate::operation::update_policy_store::UpdatePolicyStoreError)
16 pub fn update_policy_store(&self) -> crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder {
17 crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::new(self.handle.clone())
18 }
19}