aws_sdk_verifiedpermissions/client/
update_policy_store.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdatePolicyStore`](crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdatePolicyStoreOutput`](crate::operation::update_policy_store::UpdatePolicyStoreOutput) with field(s):
    ///   - [`policy_store_id(String)`](crate::operation::update_policy_store::UpdatePolicyStoreOutput::policy_store_id): <p>The ID of the updated policy store.</p>
    ///   - [`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>
    ///   - [`created_date(DateTime)`](crate::operation::update_policy_store::UpdatePolicyStoreOutput::created_date): <p>The date and time that the policy store was originally created.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<UpdatePolicyStoreError>`](crate::operation::update_policy_store::UpdatePolicyStoreError)
    pub fn update_policy_store(&self) -> crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder {
        crate::operation::update_policy_store::builders::UpdatePolicyStoreFluentBuilder::new(self.handle.clone())
    }
}