Struct aws_sdk_ec2::model::Explanation
source · #[non_exhaustive]pub struct Explanation { /* private fields */ }
Expand description
Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.
Implementations§
source§impl Explanation
impl Explanation
sourcepub fn acl(&self) -> Option<&AnalysisComponent>
pub fn acl(&self) -> Option<&AnalysisComponent>
The network ACL.
sourcepub fn acl_rule(&self) -> Option<&AnalysisAclRule>
pub fn acl_rule(&self) -> Option<&AnalysisAclRule>
The network ACL rule.
sourcepub fn attached_to(&self) -> Option<&AnalysisComponent>
pub fn attached_to(&self) -> Option<&AnalysisComponent>
The resource to which the component is attached.
sourcepub fn availability_zones(&self) -> Option<&[String]>
pub fn availability_zones(&self) -> Option<&[String]>
The Availability Zones.
sourcepub fn component(&self) -> Option<&AnalysisComponent>
pub fn component(&self) -> Option<&AnalysisComponent>
The component.
sourcepub fn customer_gateway(&self) -> Option<&AnalysisComponent>
pub fn customer_gateway(&self) -> Option<&AnalysisComponent>
The customer gateway.
sourcepub fn destination(&self) -> Option<&AnalysisComponent>
pub fn destination(&self) -> Option<&AnalysisComponent>
The destination.
sourcepub fn destination_vpc(&self) -> Option<&AnalysisComponent>
pub fn destination_vpc(&self) -> Option<&AnalysisComponent>
The destination VPC.
sourcepub fn direction(&self) -> Option<&str>
pub fn direction(&self) -> Option<&str>
The direction. The following are the possible values:
-
egress
-
ingress
sourcepub fn explanation_code(&self) -> Option<&str>
pub fn explanation_code(&self) -> Option<&str>
The explanation code.
sourcepub fn ingress_route_table(&self) -> Option<&AnalysisComponent>
pub fn ingress_route_table(&self) -> Option<&AnalysisComponent>
The route table.
sourcepub fn internet_gateway(&self) -> Option<&AnalysisComponent>
pub fn internet_gateway(&self) -> Option<&AnalysisComponent>
The internet gateway.
sourcepub fn load_balancer_arn(&self) -> Option<&str>
pub fn load_balancer_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn classic_load_balancer_listener(
&self
) -> Option<&AnalysisLoadBalancerListener>
pub fn classic_load_balancer_listener(
&self
) -> Option<&AnalysisLoadBalancerListener>
The listener for a Classic Load Balancer.
sourcepub fn load_balancer_listener_port(&self) -> Option<i32>
pub fn load_balancer_listener_port(&self) -> Option<i32>
The listener port of the load balancer.
sourcepub fn load_balancer_target(&self) -> Option<&AnalysisLoadBalancerTarget>
pub fn load_balancer_target(&self) -> Option<&AnalysisLoadBalancerTarget>
The target.
sourcepub fn load_balancer_target_group(&self) -> Option<&AnalysisComponent>
pub fn load_balancer_target_group(&self) -> Option<&AnalysisComponent>
The target group.
sourcepub fn load_balancer_target_groups(&self) -> Option<&[AnalysisComponent]>
pub fn load_balancer_target_groups(&self) -> Option<&[AnalysisComponent]>
The target groups.
sourcepub fn load_balancer_target_port(&self) -> Option<i32>
pub fn load_balancer_target_port(&self) -> Option<i32>
The target port.
sourcepub fn elastic_load_balancer_listener(&self) -> Option<&AnalysisComponent>
pub fn elastic_load_balancer_listener(&self) -> Option<&AnalysisComponent>
The load balancer listener.
sourcepub fn missing_component(&self) -> Option<&str>
pub fn missing_component(&self) -> Option<&str>
The missing component.
sourcepub fn nat_gateway(&self) -> Option<&AnalysisComponent>
pub fn nat_gateway(&self) -> Option<&AnalysisComponent>
The NAT gateway.
sourcepub fn network_interface(&self) -> Option<&AnalysisComponent>
pub fn network_interface(&self) -> Option<&AnalysisComponent>
The network interface.
sourcepub fn packet_field(&self) -> Option<&str>
pub fn packet_field(&self) -> Option<&str>
The packet field.
sourcepub fn vpc_peering_connection(&self) -> Option<&AnalysisComponent>
pub fn vpc_peering_connection(&self) -> Option<&AnalysisComponent>
The VPC peering connection.
sourcepub fn port_ranges(&self) -> Option<&[PortRange]>
pub fn port_ranges(&self) -> Option<&[PortRange]>
The port ranges.
sourcepub fn prefix_list(&self) -> Option<&AnalysisComponent>
pub fn prefix_list(&self) -> Option<&AnalysisComponent>
The prefix list.
sourcepub fn route_table_route(&self) -> Option<&AnalysisRouteTableRoute>
pub fn route_table_route(&self) -> Option<&AnalysisRouteTableRoute>
The route table route.
sourcepub fn route_table(&self) -> Option<&AnalysisComponent>
pub fn route_table(&self) -> Option<&AnalysisComponent>
The route table.
sourcepub fn security_group(&self) -> Option<&AnalysisComponent>
pub fn security_group(&self) -> Option<&AnalysisComponent>
The security group.
sourcepub fn security_group_rule(&self) -> Option<&AnalysisSecurityGroupRule>
pub fn security_group_rule(&self) -> Option<&AnalysisSecurityGroupRule>
The security group rule.
sourcepub fn security_groups(&self) -> Option<&[AnalysisComponent]>
pub fn security_groups(&self) -> Option<&[AnalysisComponent]>
The security groups.
sourcepub fn source_vpc(&self) -> Option<&AnalysisComponent>
pub fn source_vpc(&self) -> Option<&AnalysisComponent>
The source VPC.
sourcepub fn subnet(&self) -> Option<&AnalysisComponent>
pub fn subnet(&self) -> Option<&AnalysisComponent>
The subnet.
sourcepub fn subnet_route_table(&self) -> Option<&AnalysisComponent>
pub fn subnet_route_table(&self) -> Option<&AnalysisComponent>
The route table for the subnet.
sourcepub fn vpc(&self) -> Option<&AnalysisComponent>
pub fn vpc(&self) -> Option<&AnalysisComponent>
The component VPC.
sourcepub fn vpc_endpoint(&self) -> Option<&AnalysisComponent>
pub fn vpc_endpoint(&self) -> Option<&AnalysisComponent>
The VPC endpoint.
sourcepub fn vpn_connection(&self) -> Option<&AnalysisComponent>
pub fn vpn_connection(&self) -> Option<&AnalysisComponent>
The VPN connection.
sourcepub fn vpn_gateway(&self) -> Option<&AnalysisComponent>
pub fn vpn_gateway(&self) -> Option<&AnalysisComponent>
The VPN gateway.
sourcepub fn transit_gateway(&self) -> Option<&AnalysisComponent>
pub fn transit_gateway(&self) -> Option<&AnalysisComponent>
The transit gateway.
sourcepub fn transit_gateway_route_table(&self) -> Option<&AnalysisComponent>
pub fn transit_gateway_route_table(&self) -> Option<&AnalysisComponent>
The transit gateway route table.
sourcepub fn transit_gateway_route_table_route(
&self
) -> Option<&TransitGatewayRouteTableRoute>
pub fn transit_gateway_route_table_route(
&self
) -> Option<&TransitGatewayRouteTableRoute>
The transit gateway route table route.
sourcepub fn transit_gateway_attachment(&self) -> Option<&AnalysisComponent>
pub fn transit_gateway_attachment(&self) -> Option<&AnalysisComponent>
The transit gateway attachment.
sourcepub fn component_account(&self) -> Option<&str>
pub fn component_account(&self) -> Option<&str>
The Amazon Web Services account for the component.
sourcepub fn component_region(&self) -> Option<&str>
pub fn component_region(&self) -> Option<&str>
The Region for the component.
source§impl Explanation
impl Explanation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Explanation
.
Examples found in repository?
63343 63344 63345 63346 63347 63348 63349 63350 63351 63352 63353 63354 63355 63356 63357 63358 63359 63360 63361 63362 63363 63364 63365 63366 63367 63368 63369 63370 63371 63372 63373 63374 63375 63376 63377 63378 63379 63380 63381 63382 63383 63384 63385 63386 63387 63388 63389 63390 63391 63392 63393 63394 63395 63396 63397 63398 63399 63400 63401 63402 63403 63404 63405 63406 63407 63408 63409 63410 63411 63412 63413 63414 63415 63416 63417 63418 63419 63420 63421 63422 63423 63424 63425 63426 63427 63428 63429 63430 63431 63432 63433 63434 63435 63436 63437 63438 63439 63440 63441 63442 63443 63444 63445 63446 63447 63448 63449 63450 63451 63452 63453 63454 63455 63456 63457 63458 63459 63460 63461 63462 63463 63464 63465 63466 63467 63468 63469 63470 63471 63472 63473 63474 63475 63476 63477 63478 63479 63480 63481 63482 63483 63484 63485 63486 63487 63488 63489 63490 63491 63492 63493 63494 63495 63496 63497 63498 63499 63500 63501 63502 63503 63504 63505 63506 63507 63508 63509 63510 63511 63512 63513 63514 63515 63516 63517 63518 63519 63520 63521 63522 63523 63524 63525 63526 63527 63528 63529 63530 63531 63532 63533 63534 63535 63536 63537 63538 63539 63540 63541 63542 63543 63544 63545 63546 63547 63548 63549 63550 63551 63552 63553 63554 63555 63556 63557 63558 63559 63560 63561 63562 63563 63564 63565 63566 63567 63568 63569 63570 63571 63572 63573 63574 63575 63576 63577 63578 63579 63580 63581 63582 63583 63584 63585 63586 63587 63588 63589 63590 63591 63592 63593 63594 63595 63596 63597 63598 63599 63600 63601 63602 63603 63604 63605 63606 63607 63608 63609 63610 63611 63612 63613 63614 63615 63616 63617 63618 63619 63620 63621 63622 63623 63624 63625 63626 63627 63628 63629 63630 63631 63632 63633 63634 63635 63636 63637 63638 63639 63640 63641 63642 63643 63644 63645 63646 63647 63648 63649 63650 63651 63652 63653 63654 63655 63656 63657 63658 63659 63660 63661 63662 63663 63664 63665 63666 63667 63668 63669 63670 63671 63672 63673 63674 63675 63676 63677 63678 63679 63680 63681 63682 63683 63684 63685 63686 63687 63688 63689 63690 63691 63692 63693 63694 63695 63696 63697 63698 63699 63700 63701 63702 63703 63704 63705 63706 63707 63708 63709 63710 63711 63712 63713 63714 63715 63716 63717 63718 63719 63720 63721 63722 63723 63724 63725 63726 63727 63728 63729 63730 63731 63732 63733 63734 63735 63736 63737 63738 63739 63740 63741 63742 63743 63744 63745 63746 63747 63748 63749 63750 63751 63752 63753 63754 63755 63756 63757 63758 63759 63760 63761 63762 63763 63764 63765 63766 63767 63768 63769 63770 63771 63772 63773 63774 63775 63776 63777 63778 63779 63780 63781 63782 63783 63784 63785 63786 63787 63788 63789 63790 63791 63792 63793 63794 63795 63796 63797 63798 63799 63800 63801 63802 63803 63804 63805 63806 63807 63808 63809 63810 63811 63812 63813 63814 63815 63816 63817 63818 63819 63820 63821 63822 63823 63824 63825 63826 63827 63828 63829 63830 63831 63832 63833 63834 63835 63836 63837 63838 63839 63840 63841 63842 63843 63844 63845 63846 63847 63848 63849 63850 63851 63852 63853 63854 63855 63856 63857 63858 63859 63860 63861 63862 63863 63864 63865 63866 63867 63868 63869 63870 63871 63872 63873 63874 63875 63876 63877 63878 63879 63880 63881 63882 63883 63884 63885 63886 63887 63888 63889 63890 63891 63892 63893 63894 63895 63896 63897 63898 63899 63900 63901 63902 63903 63904 63905 63906
pub fn deser_structure_crate_model_explanation(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::Explanation, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::Explanation::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("acl") /* Acl com.amazonaws.ec2#Explanation$Acl */ => {
let var_3092 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_acl(var_3092);
}
,
s if s.matches("aclRule") /* AclRule com.amazonaws.ec2#Explanation$AclRule */ => {
let var_3093 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_acl_rule(&mut tag)
?
)
;
builder = builder.set_acl_rule(var_3093);
}
,
s if s.matches("address") /* Address com.amazonaws.ec2#Explanation$Address */ => {
let var_3094 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_address(var_3094);
}
,
s if s.matches("addressSet") /* Addresses com.amazonaws.ec2#Explanation$Addresses */ => {
let var_3095 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_ip_address_list(&mut tag)
?
)
;
builder = builder.set_addresses(var_3095);
}
,
s if s.matches("attachedTo") /* AttachedTo com.amazonaws.ec2#Explanation$AttachedTo */ => {
let var_3096 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_attached_to(var_3096);
}
,
s if s.matches("availabilityZoneSet") /* AvailabilityZones com.amazonaws.ec2#Explanation$AvailabilityZones */ => {
let var_3097 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_availability_zones(var_3097);
}
,
s if s.matches("cidrSet") /* Cidrs com.amazonaws.ec2#Explanation$Cidrs */ => {
let var_3098 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_cidrs(var_3098);
}
,
s if s.matches("component") /* Component com.amazonaws.ec2#Explanation$Component */ => {
let var_3099 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_component(var_3099);
}
,
s if s.matches("customerGateway") /* CustomerGateway com.amazonaws.ec2#Explanation$CustomerGateway */ => {
let var_3100 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_customer_gateway(var_3100);
}
,
s if s.matches("destination") /* Destination com.amazonaws.ec2#Explanation$Destination */ => {
let var_3101 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_destination(var_3101);
}
,
s if s.matches("destinationVpc") /* DestinationVpc com.amazonaws.ec2#Explanation$DestinationVpc */ => {
let var_3102 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_destination_vpc(var_3102);
}
,
s if s.matches("direction") /* Direction com.amazonaws.ec2#Explanation$Direction */ => {
let var_3103 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_direction(var_3103);
}
,
s if s.matches("explanationCode") /* ExplanationCode com.amazonaws.ec2#Explanation$ExplanationCode */ => {
let var_3104 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_explanation_code(var_3104);
}
,
s if s.matches("ingressRouteTable") /* IngressRouteTable com.amazonaws.ec2#Explanation$IngressRouteTable */ => {
let var_3105 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_ingress_route_table(var_3105);
}
,
s if s.matches("internetGateway") /* InternetGateway com.amazonaws.ec2#Explanation$InternetGateway */ => {
let var_3106 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_internet_gateway(var_3106);
}
,
s if s.matches("loadBalancerArn") /* LoadBalancerArn com.amazonaws.ec2#Explanation$LoadBalancerArn */ => {
let var_3107 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_load_balancer_arn(var_3107);
}
,
s if s.matches("classicLoadBalancerListener") /* ClassicLoadBalancerListener com.amazonaws.ec2#Explanation$ClassicLoadBalancerListener */ => {
let var_3108 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_load_balancer_listener(&mut tag)
?
)
;
builder = builder.set_classic_load_balancer_listener(var_3108);
}
,
s if s.matches("loadBalancerListenerPort") /* LoadBalancerListenerPort com.amazonaws.ec2#Explanation$LoadBalancerListenerPort */ => {
let var_3109 =
Some(
{
<i32 as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (integer: `com.amazonaws.ec2#Port`)"))
}
?
)
;
builder = builder.set_load_balancer_listener_port(var_3109);
}
,
s if s.matches("loadBalancerTarget") /* LoadBalancerTarget com.amazonaws.ec2#Explanation$LoadBalancerTarget */ => {
let var_3110 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_load_balancer_target(&mut tag)
?
)
;
builder = builder.set_load_balancer_target(var_3110);
}
,
s if s.matches("loadBalancerTargetGroup") /* LoadBalancerTargetGroup com.amazonaws.ec2#Explanation$LoadBalancerTargetGroup */ => {
let var_3111 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_load_balancer_target_group(var_3111);
}
,
s if s.matches("loadBalancerTargetGroupSet") /* LoadBalancerTargetGroups com.amazonaws.ec2#Explanation$LoadBalancerTargetGroups */ => {
let var_3112 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_analysis_component_list(&mut tag)
?
)
;
builder = builder.set_load_balancer_target_groups(var_3112);
}
,
s if s.matches("loadBalancerTargetPort") /* LoadBalancerTargetPort com.amazonaws.ec2#Explanation$LoadBalancerTargetPort */ => {
let var_3113 =
Some(
{
<i32 as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (integer: `com.amazonaws.ec2#Port`)"))
}
?
)
;
builder = builder.set_load_balancer_target_port(var_3113);
}
,
s if s.matches("elasticLoadBalancerListener") /* ElasticLoadBalancerListener com.amazonaws.ec2#Explanation$ElasticLoadBalancerListener */ => {
let var_3114 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_elastic_load_balancer_listener(var_3114);
}
,
s if s.matches("missingComponent") /* MissingComponent com.amazonaws.ec2#Explanation$MissingComponent */ => {
let var_3115 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_missing_component(var_3115);
}
,
s if s.matches("natGateway") /* NatGateway com.amazonaws.ec2#Explanation$NatGateway */ => {
let var_3116 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_nat_gateway(var_3116);
}
,
s if s.matches("networkInterface") /* NetworkInterface com.amazonaws.ec2#Explanation$NetworkInterface */ => {
let var_3117 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_network_interface(var_3117);
}
,
s if s.matches("packetField") /* PacketField com.amazonaws.ec2#Explanation$PacketField */ => {
let var_3118 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_packet_field(var_3118);
}
,
s if s.matches("vpcPeeringConnection") /* VpcPeeringConnection com.amazonaws.ec2#Explanation$VpcPeeringConnection */ => {
let var_3119 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_vpc_peering_connection(var_3119);
}
,
s if s.matches("port") /* Port com.amazonaws.ec2#Explanation$Port */ => {
let var_3120 =
Some(
{
<i32 as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (integer: `com.amazonaws.ec2#Port`)"))
}
?
)
;
builder = builder.set_port(var_3120);
}
,
s if s.matches("portRangeSet") /* PortRanges com.amazonaws.ec2#Explanation$PortRanges */ => {
let var_3121 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_port_range_list(&mut tag)
?
)
;
builder = builder.set_port_ranges(var_3121);
}
,
s if s.matches("prefixList") /* PrefixList com.amazonaws.ec2#Explanation$PrefixList */ => {
let var_3122 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_prefix_list(var_3122);
}
,
s if s.matches("protocolSet") /* Protocols com.amazonaws.ec2#Explanation$Protocols */ => {
let var_3123 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_string_list(&mut tag)
?
)
;
builder = builder.set_protocols(var_3123);
}
,
s if s.matches("routeTableRoute") /* RouteTableRoute com.amazonaws.ec2#Explanation$RouteTableRoute */ => {
let var_3124 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_route_table_route(&mut tag)
?
)
;
builder = builder.set_route_table_route(var_3124);
}
,
s if s.matches("routeTable") /* RouteTable com.amazonaws.ec2#Explanation$RouteTable */ => {
let var_3125 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_route_table(var_3125);
}
,
s if s.matches("securityGroup") /* SecurityGroup com.amazonaws.ec2#Explanation$SecurityGroup */ => {
let var_3126 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_security_group(var_3126);
}
,
s if s.matches("securityGroupRule") /* SecurityGroupRule com.amazonaws.ec2#Explanation$SecurityGroupRule */ => {
let var_3127 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_security_group_rule(&mut tag)
?
)
;
builder = builder.set_security_group_rule(var_3127);
}
,
s if s.matches("securityGroupSet") /* SecurityGroups com.amazonaws.ec2#Explanation$SecurityGroups */ => {
let var_3128 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_analysis_component_list(&mut tag)
?
)
;
builder = builder.set_security_groups(var_3128);
}
,
s if s.matches("sourceVpc") /* SourceVpc com.amazonaws.ec2#Explanation$SourceVpc */ => {
let var_3129 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_source_vpc(var_3129);
}
,
s if s.matches("state") /* State com.amazonaws.ec2#Explanation$State */ => {
let var_3130 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_state(var_3130);
}
,
s if s.matches("subnet") /* Subnet com.amazonaws.ec2#Explanation$Subnet */ => {
let var_3131 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_subnet(var_3131);
}
,
s if s.matches("subnetRouteTable") /* SubnetRouteTable com.amazonaws.ec2#Explanation$SubnetRouteTable */ => {
let var_3132 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_subnet_route_table(var_3132);
}
,
s if s.matches("vpc") /* Vpc com.amazonaws.ec2#Explanation$Vpc */ => {
let var_3133 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_vpc(var_3133);
}
,
s if s.matches("vpcEndpoint") /* VpcEndpoint com.amazonaws.ec2#Explanation$VpcEndpoint */ => {
let var_3134 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_vpc_endpoint(var_3134);
}
,
s if s.matches("vpnConnection") /* VpnConnection com.amazonaws.ec2#Explanation$VpnConnection */ => {
let var_3135 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_vpn_connection(var_3135);
}
,
s if s.matches("vpnGateway") /* VpnGateway com.amazonaws.ec2#Explanation$VpnGateway */ => {
let var_3136 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_vpn_gateway(var_3136);
}
,
s if s.matches("transitGateway") /* TransitGateway com.amazonaws.ec2#Explanation$TransitGateway */ => {
let var_3137 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_transit_gateway(var_3137);
}
,
s if s.matches("transitGatewayRouteTable") /* TransitGatewayRouteTable com.amazonaws.ec2#Explanation$TransitGatewayRouteTable */ => {
let var_3138 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_transit_gateway_route_table(var_3138);
}
,
s if s.matches("transitGatewayRouteTableRoute") /* TransitGatewayRouteTableRoute com.amazonaws.ec2#Explanation$TransitGatewayRouteTableRoute */ => {
let var_3139 =
Some(
crate::xml_deser::deser_structure_crate_model_transit_gateway_route_table_route(&mut tag)
?
)
;
builder = builder.set_transit_gateway_route_table_route(var_3139);
}
,
s if s.matches("transitGatewayAttachment") /* TransitGatewayAttachment com.amazonaws.ec2#Explanation$TransitGatewayAttachment */ => {
let var_3140 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_transit_gateway_attachment(var_3140);
}
,
s if s.matches("componentAccount") /* ComponentAccount com.amazonaws.ec2#Explanation$ComponentAccount */ => {
let var_3141 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_component_account(var_3141);
}
,
s if s.matches("componentRegion") /* ComponentRegion com.amazonaws.ec2#Explanation$ComponentRegion */ => {
let var_3142 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_component_region(var_3142);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for Explanation
impl Clone for Explanation
source§fn clone(&self) -> Explanation
fn clone(&self) -> Explanation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more