Struct aws_sdk_mediaconnect::types::Gateway
source · #[non_exhaustive]pub struct Gateway {
pub egress_cidr_blocks: Option<Vec<String>>,
pub gateway_arn: Option<String>,
pub gateway_messages: Option<Vec<MessageDetail>>,
pub gateway_state: Option<GatewayState>,
pub name: Option<String>,
pub networks: Option<Vec<GatewayNetwork>>,
}Expand description
The settings for a gateway, including its networks.
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.egress_cidr_blocks: Option<Vec<String>>The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
gateway_arn: Option<String>The Amazon Resource Name (ARN) of the gateway.
gateway_messages: Option<Vec<MessageDetail>>§gateway_state: Option<GatewayState>The current status of the gateway.
name: Option<String>The name of the gateway. This name can not be modified after the gateway is created.
networks: Option<Vec<GatewayNetwork>>The list of networks in the gateway.
Implementations§
source§impl Gateway
impl Gateway
sourcepub fn egress_cidr_blocks(&self) -> &[String]
pub fn egress_cidr_blocks(&self) -> &[String]
The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .egress_cidr_blocks.is_none().
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway.
sourcepub fn gateway_messages(&self) -> &[MessageDetail]
pub fn gateway_messages(&self) -> &[MessageDetail]
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .gateway_messages.is_none().
sourcepub fn gateway_state(&self) -> Option<&GatewayState>
pub fn gateway_state(&self) -> Option<&GatewayState>
The current status of the gateway.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the gateway. This name can not be modified after the gateway is created.
sourcepub fn networks(&self) -> &[GatewayNetwork]
pub fn networks(&self) -> &[GatewayNetwork]
The list of networks in the gateway.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .networks.is_none().