#[non_exhaustive]pub struct DescribeIpRestrictionOutput {
pub aws_account_id: Option<String>,
pub ip_restriction_rule_map: Option<HashMap<String, String>>,
pub vpc_id_restriction_rule_map: Option<HashMap<String, String>>,
pub vpc_endpoint_id_restriction_rule_map: Option<HashMap<String, String>>,
pub enabled: Option<bool>,
pub request_id: Option<String>,
pub status: i32,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aws_account_id: Option<String>The ID of the Amazon Web Services account that contains the IP rules.
ip_restriction_rule_map: Option<HashMap<String, String>>A map that describes the IP rules with CIDR range and description.
vpc_id_restriction_rule_map: Option<HashMap<String, String>>A map of allowed VPC IDs and their rule descriptions.
vpc_endpoint_id_restriction_rule_map: Option<HashMap<String, String>>A map of allowed VPC endpoint IDs and their rule descriptions.
enabled: Option<bool>A value that specifies whether IP rules are turned on.
request_id: Option<String>The Amazon Web Services request ID for this operation.
status: i32The HTTP status of the request.
Implementations§
source§impl DescribeIpRestrictionOutput
impl DescribeIpRestrictionOutput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the IP rules.
sourcepub fn ip_restriction_rule_map(&self) -> Option<&HashMap<String, String>>
pub fn ip_restriction_rule_map(&self) -> Option<&HashMap<String, String>>
A map that describes the IP rules with CIDR range and description.
sourcepub fn vpc_id_restriction_rule_map(&self) -> Option<&HashMap<String, String>>
pub fn vpc_id_restriction_rule_map(&self) -> Option<&HashMap<String, String>>
A map of allowed VPC IDs and their rule descriptions.
sourcepub fn vpc_endpoint_id_restriction_rule_map(
&self
) -> Option<&HashMap<String, String>>
pub fn vpc_endpoint_id_restriction_rule_map( &self ) -> Option<&HashMap<String, String>>
A map of allowed VPC endpoint IDs and their rule descriptions.
sourcepub fn request_id(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
The Amazon Web Services request ID for this operation.
source§impl DescribeIpRestrictionOutput
impl DescribeIpRestrictionOutput
sourcepub fn builder() -> DescribeIpRestrictionOutputBuilder
pub fn builder() -> DescribeIpRestrictionOutputBuilder
Creates a new builder-style object to manufacture DescribeIpRestrictionOutput.
Trait Implementations§
source§impl Clone for DescribeIpRestrictionOutput
impl Clone for DescribeIpRestrictionOutput
source§fn clone(&self) -> DescribeIpRestrictionOutput
fn clone(&self) -> DescribeIpRestrictionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeIpRestrictionOutput
impl Debug for DescribeIpRestrictionOutput
source§impl PartialEq for DescribeIpRestrictionOutput
impl PartialEq for DescribeIpRestrictionOutput
source§fn eq(&self, other: &DescribeIpRestrictionOutput) -> bool
fn eq(&self, other: &DescribeIpRestrictionOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeIpRestrictionOutput
impl RequestId for DescribeIpRestrictionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.