aws_sdk_quicksight/client/
describe_ip_restriction.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 [`DescribeIpRestriction`](crate::operation::describe_ip_restriction::builders::DescribeIpRestrictionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::describe_ip_restriction::builders::DescribeIpRestrictionFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::describe_ip_restriction::builders::DescribeIpRestrictionFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the IP rules.</p><br>
7    /// - On success, responds with [`DescribeIpRestrictionOutput`](crate::operation::describe_ip_restriction::DescribeIpRestrictionOutput) with field(s):
8    ///   - [`aws_account_id(Option<String>)`](crate::operation::describe_ip_restriction::DescribeIpRestrictionOutput::aws_account_id): <p>The ID of the Amazon Web Services account that contains the IP rules.</p>
9    ///   - [`ip_restriction_rule_map(Option<HashMap::<String, String>>)`](crate::operation::describe_ip_restriction::DescribeIpRestrictionOutput::ip_restriction_rule_map): <p>A map that describes the IP rules with CIDR range and description.</p>
10    ///   - [`vpc_id_restriction_rule_map(Option<HashMap::<String, String>>)`](crate::operation::describe_ip_restriction::DescribeIpRestrictionOutput::vpc_id_restriction_rule_map): <p>A map of allowed VPC IDs and their rule descriptions.</p>
11    ///   - [`vpc_endpoint_id_restriction_rule_map(Option<HashMap::<String, String>>)`](crate::operation::describe_ip_restriction::DescribeIpRestrictionOutput::vpc_endpoint_id_restriction_rule_map): <p>A map of allowed VPC endpoint IDs and their rule descriptions.</p>
12    ///   - [`enabled(Option<bool>)`](crate::operation::describe_ip_restriction::DescribeIpRestrictionOutput::enabled): <p>A value that specifies whether IP rules are turned on.</p>
13    ///   - [`request_id(Option<String>)`](crate::operation::describe_ip_restriction::DescribeIpRestrictionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
14    ///   - [`status(i32)`](crate::operation::describe_ip_restriction::DescribeIpRestrictionOutput::status): <p>The HTTP status of the request.</p>
15    /// - On failure, responds with [`SdkError<DescribeIpRestrictionError>`](crate::operation::describe_ip_restriction::DescribeIpRestrictionError)
16    pub fn describe_ip_restriction(&self) -> crate::operation::describe_ip_restriction::builders::DescribeIpRestrictionFluentBuilder {
17        crate::operation::describe_ip_restriction::builders::DescribeIpRestrictionFluentBuilder::new(self.handle.clone())
18    }
19}