#[non_exhaustive]pub struct UpdateIpRestrictionInput {
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>,
}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 updated IP rules with CIDR ranges and descriptions.
vpc_id_restriction_rule_map: Option<HashMap<String, String>>A map of VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC endpoints that are present in the specified VPC is allowed.
vpc_endpoint_id_restriction_rule_map: Option<HashMap<String, String>>A map of allowed VPC endpoint IDs and their corresponding rule descriptions.
enabled: Option<bool>A value that specifies whether IP rules are turned on.
Implementations§
source§impl UpdateIpRestrictionInput
impl UpdateIpRestrictionInput
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 updated IP rules with CIDR ranges and descriptions.
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 VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC endpoints that are present in the specified VPC is allowed.
source§impl UpdateIpRestrictionInput
impl UpdateIpRestrictionInput
sourcepub fn builder() -> UpdateIpRestrictionInputBuilder
pub fn builder() -> UpdateIpRestrictionInputBuilder
Creates a new builder-style object to manufacture UpdateIpRestrictionInput.
Trait Implementations§
source§impl Clone for UpdateIpRestrictionInput
impl Clone for UpdateIpRestrictionInput
source§fn clone(&self) -> UpdateIpRestrictionInput
fn clone(&self) -> UpdateIpRestrictionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateIpRestrictionInput
impl Debug for UpdateIpRestrictionInput
source§impl PartialEq for UpdateIpRestrictionInput
impl PartialEq for UpdateIpRestrictionInput
source§fn eq(&self, other: &UpdateIpRestrictionInput) -> bool
fn eq(&self, other: &UpdateIpRestrictionInput) -> bool
self and other values to be equal, and is used
by ==.