#[non_exhaustive]
pub struct VpcEndpoint {
Show 19 fields pub vpc_endpoint_id: Option<String>, pub vpc_endpoint_type: Option<VpcEndpointType>, pub vpc_id: Option<String>, pub service_name: Option<String>, pub state: Option<State>, pub policy_document: Option<String>, pub route_table_ids: Option<Vec<String>>, pub subnet_ids: Option<Vec<String>>, pub groups: Option<Vec<SecurityGroupIdentifier>>, pub ip_address_type: Option<IpAddressType>, pub dns_options: Option<DnsOptions>, pub private_dns_enabled: Option<bool>, pub requester_managed: Option<bool>, pub network_interface_ids: Option<Vec<String>>, pub dns_entries: Option<Vec<DnsEntry>>, pub creation_timestamp: Option<DateTime>, pub tags: Option<Vec<Tag>>, pub owner_id: Option<String>, pub last_error: Option<LastError>,
}
Expand description

Describes a VPC endpoint.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§vpc_endpoint_id: Option<String>

The ID of the endpoint.

§vpc_endpoint_type: Option<VpcEndpointType>

The type of endpoint.

§vpc_id: Option<String>

The ID of the VPC to which the endpoint is associated.

§service_name: Option<String>

The name of the service to which the endpoint is associated.

§state: Option<State>

The state of the endpoint.

§policy_document: Option<String>

The policy document associated with the endpoint, if applicable.

§route_table_ids: Option<Vec<String>>

(Gateway endpoint) The IDs of the route tables associated with the endpoint.

§subnet_ids: Option<Vec<String>>

(Interface endpoint) The subnets for the endpoint.

§groups: Option<Vec<SecurityGroupIdentifier>>

(Interface endpoint) Information about the security groups that are associated with the network interface.

§ip_address_type: Option<IpAddressType>

The IP address type for the endpoint.

§dns_options: Option<DnsOptions>

The DNS options for the endpoint.

§private_dns_enabled: Option<bool>

(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

§requester_managed: Option<bool>

Indicates whether the endpoint is being managed by its service.

§network_interface_ids: Option<Vec<String>>

(Interface endpoint) The network interfaces for the endpoint.

§dns_entries: Option<Vec<DnsEntry>>

(Interface endpoint) The DNS entries for the endpoint.

§creation_timestamp: Option<DateTime>

The date and time that the endpoint was created.

§tags: Option<Vec<Tag>>

The tags assigned to the endpoint.

§owner_id: Option<String>

The ID of the Amazon Web Services account that owns the endpoint.

§last_error: Option<LastError>

The last error that occurred for endpoint.

Implementations§

source§

impl VpcEndpoint

source

pub fn vpc_endpoint_id(&self) -> Option<&str>

The ID of the endpoint.

source

pub fn vpc_endpoint_type(&self) -> Option<&VpcEndpointType>

The type of endpoint.

source

pub fn vpc_id(&self) -> Option<&str>

The ID of the VPC to which the endpoint is associated.

source

pub fn service_name(&self) -> Option<&str>

The name of the service to which the endpoint is associated.

source

pub fn state(&self) -> Option<&State>

The state of the endpoint.

source

pub fn policy_document(&self) -> Option<&str>

The policy document associated with the endpoint, if applicable.

source

pub fn route_table_ids(&self) -> Option<&[String]>

(Gateway endpoint) The IDs of the route tables associated with the endpoint.

source

pub fn subnet_ids(&self) -> Option<&[String]>

(Interface endpoint) The subnets for the endpoint.

source

pub fn groups(&self) -> Option<&[SecurityGroupIdentifier]>

(Interface endpoint) Information about the security groups that are associated with the network interface.

source

pub fn ip_address_type(&self) -> Option<&IpAddressType>

The IP address type for the endpoint.

source

pub fn dns_options(&self) -> Option<&DnsOptions>

The DNS options for the endpoint.

source

pub fn private_dns_enabled(&self) -> Option<bool>

(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

source

pub fn requester_managed(&self) -> Option<bool>

Indicates whether the endpoint is being managed by its service.

source

pub fn network_interface_ids(&self) -> Option<&[String]>

(Interface endpoint) The network interfaces for the endpoint.

source

pub fn dns_entries(&self) -> Option<&[DnsEntry]>

(Interface endpoint) The DNS entries for the endpoint.

source

pub fn creation_timestamp(&self) -> Option<&DateTime>

The date and time that the endpoint was created.

source

pub fn tags(&self) -> Option<&[Tag]>

The tags assigned to the endpoint.

source

pub fn owner_id(&self) -> Option<&str>

The ID of the Amazon Web Services account that owns the endpoint.

source

pub fn last_error(&self) -> Option<&LastError>

The last error that occurred for endpoint.

source§

impl VpcEndpoint

source

pub fn builder() -> VpcEndpointBuilder

Creates a new builder-style object to manufacture VpcEndpoint.

Trait Implementations§

source§

impl Clone for VpcEndpoint

source§

fn clone(&self) -> VpcEndpoint

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VpcEndpoint

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<VpcEndpoint> for VpcEndpoint

source§

fn eq(&self, other: &VpcEndpoint) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for VpcEndpoint

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more