1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateIpRestriction`](crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the IP rules.</p><br>
    ///   - [`ip_restriction_rule_map(impl Into<String>, impl Into<String>)`](crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder::ip_restriction_rule_map) / [`set_ip_restriction_rule_map(Option<HashMap::<String, String>>)`](crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder::set_ip_restriction_rule_map):<br>required: **false**<br><p>A map that describes the updated IP rules with CIDR ranges and descriptions.</p><br>
    ///   - [`enabled(bool)`](crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder::enabled) / [`set_enabled(Option<bool>)`](crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder::set_enabled):<br>required: **false**<br><p>A value that specifies whether IP rules are turned on.</p><br>
    /// - On success, responds with [`UpdateIpRestrictionOutput`](crate::operation::update_ip_restriction::UpdateIpRestrictionOutput) with field(s):
    ///   - [`aws_account_id(Option<String>)`](crate::operation::update_ip_restriction::UpdateIpRestrictionOutput::aws_account_id): <p>The ID of the Amazon Web Services account that contains the IP rules.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::update_ip_restriction::UpdateIpRestrictionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::update_ip_restriction::UpdateIpRestrictionOutput::status): <p>The HTTP status of the request. </p>
    /// - On failure, responds with [`SdkError<UpdateIpRestrictionError>`](crate::operation::update_ip_restriction::UpdateIpRestrictionError)
    pub fn update_ip_restriction(&self) -> crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder {
        crate::operation::update_ip_restriction::builders::UpdateIpRestrictionFluentBuilder::new(self.handle.clone())
    }
}