Struct aws_sdk_ec2::model::VpcEndpointConnection
source · #[non_exhaustive]pub struct VpcEndpointConnection { /* private fields */ }
Expand description
Describes a VPC endpoint connection to a service.
Implementations§
source§impl VpcEndpointConnection
impl VpcEndpointConnection
sourcepub fn service_id(&self) -> Option<&str>
pub fn service_id(&self) -> Option<&str>
The ID of the service to which the endpoint is connected.
sourcepub fn vpc_endpoint_id(&self) -> Option<&str>
pub fn vpc_endpoint_id(&self) -> Option<&str>
The ID of the VPC endpoint.
sourcepub fn vpc_endpoint_owner(&self) -> Option<&str>
pub fn vpc_endpoint_owner(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the VPC endpoint.
sourcepub fn vpc_endpoint_state(&self) -> Option<&State>
pub fn vpc_endpoint_state(&self) -> Option<&State>
The state of the VPC endpoint.
sourcepub fn creation_timestamp(&self) -> Option<&DateTime>
pub fn creation_timestamp(&self) -> Option<&DateTime>
The date and time that the VPC endpoint was created.
sourcepub fn dns_entries(&self) -> Option<&[DnsEntry]>
pub fn dns_entries(&self) -> Option<&[DnsEntry]>
The DNS entries for the VPC endpoint.
sourcepub fn network_load_balancer_arns(&self) -> Option<&[String]>
pub fn network_load_balancer_arns(&self) -> Option<&[String]>
The Amazon Resource Names (ARNs) of the network load balancers for the service.
sourcepub fn gateway_load_balancer_arns(&self) -> Option<&[String]>
pub fn gateway_load_balancer_arns(&self) -> Option<&[String]>
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
sourcepub fn ip_address_type(&self) -> Option<&IpAddressType>
pub fn ip_address_type(&self) -> Option<&IpAddressType>
The IP address type for the endpoint.
sourcepub fn vpc_endpoint_connection_id(&self) -> Option<&str>
pub fn vpc_endpoint_connection_id(&self) -> Option<&str>
The ID of the VPC endpoint connection.
The tags.
source§impl VpcEndpointConnection
impl VpcEndpointConnection
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VpcEndpointConnection
.
Examples found in repository?
src/xml_deser.rs (line 51221)
51217 51218 51219 51220 51221 51222 51223 51224 51225 51226 51227 51228 51229 51230 51231 51232 51233 51234 51235 51236 51237 51238 51239 51240 51241 51242 51243 51244 51245 51246 51247 51248 51249 51250 51251 51252 51253 51254 51255 51256 51257 51258 51259 51260 51261 51262 51263 51264 51265 51266 51267 51268 51269 51270 51271 51272 51273 51274 51275 51276 51277 51278 51279 51280 51281 51282 51283 51284 51285 51286 51287 51288 51289 51290 51291 51292 51293 51294 51295 51296 51297 51298 51299 51300 51301 51302 51303 51304 51305 51306 51307 51308 51309 51310 51311 51312 51313 51314 51315 51316 51317 51318 51319 51320 51321 51322 51323 51324 51325 51326 51327 51328 51329 51330 51331 51332 51333 51334 51335 51336 51337 51338 51339 51340 51341 51342 51343 51344 51345 51346 51347 51348 51349 51350 51351 51352 51353 51354 51355 51356 51357 51358 51359 51360 51361 51362
pub fn deser_structure_crate_model_vpc_endpoint_connection(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::VpcEndpointConnection, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::VpcEndpointConnection::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("serviceId") /* ServiceId com.amazonaws.ec2#VpcEndpointConnection$ServiceId */ => {
let var_2422 =
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_service_id(var_2422);
}
,
s if s.matches("vpcEndpointId") /* VpcEndpointId com.amazonaws.ec2#VpcEndpointConnection$VpcEndpointId */ => {
let var_2423 =
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_vpc_endpoint_id(var_2423);
}
,
s if s.matches("vpcEndpointOwner") /* VpcEndpointOwner com.amazonaws.ec2#VpcEndpointConnection$VpcEndpointOwner */ => {
let var_2424 =
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_vpc_endpoint_owner(var_2424);
}
,
s if s.matches("vpcEndpointState") /* VpcEndpointState com.amazonaws.ec2#VpcEndpointConnection$VpcEndpointState */ => {
let var_2425 =
Some(
Result::<crate::model::State, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::State::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_vpc_endpoint_state(var_2425);
}
,
s if s.matches("creationTimestamp") /* CreationTimestamp com.amazonaws.ec2#VpcEndpointConnection$CreationTimestamp */ => {
let var_2426 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.ec2#MillisecondDateTime`)"))
?
)
;
builder = builder.set_creation_timestamp(var_2426);
}
,
s if s.matches("dnsEntrySet") /* DnsEntries com.amazonaws.ec2#VpcEndpointConnection$DnsEntries */ => {
let var_2427 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_dns_entry_set(&mut tag)
?
)
;
builder = builder.set_dns_entries(var_2427);
}
,
s if s.matches("networkLoadBalancerArnSet") /* NetworkLoadBalancerArns com.amazonaws.ec2#VpcEndpointConnection$NetworkLoadBalancerArns */ => {
let var_2428 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_network_load_balancer_arns(var_2428);
}
,
s if s.matches("gatewayLoadBalancerArnSet") /* GatewayLoadBalancerArns com.amazonaws.ec2#VpcEndpointConnection$GatewayLoadBalancerArns */ => {
let var_2429 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_gateway_load_balancer_arns(var_2429);
}
,
s if s.matches("ipAddressType") /* IpAddressType com.amazonaws.ec2#VpcEndpointConnection$IpAddressType */ => {
let var_2430 =
Some(
Result::<crate::model::IpAddressType, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::IpAddressType::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_ip_address_type(var_2430);
}
,
s if s.matches("vpcEndpointConnectionId") /* VpcEndpointConnectionId com.amazonaws.ec2#VpcEndpointConnection$VpcEndpointConnectionId */ => {
let var_2431 =
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_vpc_endpoint_connection_id(var_2431);
}
,
s if s.matches("tagSet") /* Tags com.amazonaws.ec2#VpcEndpointConnection$Tags */ => {
let var_2432 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
?
)
;
builder = builder.set_tags(var_2432);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for VpcEndpointConnection
impl Clone for VpcEndpointConnection
source§fn clone(&self) -> VpcEndpointConnection
fn clone(&self) -> VpcEndpointConnection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more