aws-sdk-iam 1.122.0

AWS SDK for AWS Identity and Access Management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutAccountProperties`](crate::operation::put_account_properties::builders::PutAccountPropertiesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`properties(impl Into<String>, impl Into<String>)`](crate::operation::put_account_properties::builders::PutAccountPropertiesFluentBuilder::properties) / [`set_properties(Option<HashMap::<String, String>>)`](crate::operation::put_account_properties::builders::PutAccountPropertiesFluentBuilder::set_properties):<br>required: **true**<br><p>A map of property key-value pairs to set. All keys must belong to the same namespace.</p> <p>Each key uses the format <code>Namespace/PropertyName</code>. The key must contain exactly one <code>/</code> separating the namespace from the property name, and cannot start or end with <code>/</code>.</p> <p>The service validates each value based on the property key's expected type. For example, boolean properties expect <code>true</code> or <code>false</code>.</p><br>
    /// - On success, responds with [`PutAccountPropertiesOutput`](crate::operation::put_account_properties::PutAccountPropertiesOutput)
    /// - On failure, responds with [`SdkError<PutAccountPropertiesError>`](crate::operation::put_account_properties::PutAccountPropertiesError)
    pub fn put_account_properties(&self) -> crate::operation::put_account_properties::builders::PutAccountPropertiesFluentBuilder {
        crate::operation::put_account_properties::builders::PutAccountPropertiesFluentBuilder::new(self.handle.clone())
    }
}