#[non_exhaustive]
pub struct ServiceDetail {
Show 15 fields pub service_name: Option<String>, pub service_id: Option<String>, pub service_type: Option<Vec<ServiceTypeDetail>>, pub availability_zones: Option<Vec<String>>, pub owner: Option<String>, pub base_endpoint_dns_names: Option<Vec<String>>, pub private_dns_name: Option<String>, pub private_dns_names: Option<Vec<PrivateDnsDetails>>, pub vpc_endpoint_policy_supported: Option<bool>, pub acceptance_required: Option<bool>, pub manages_vpc_endpoints: Option<bool>, pub payer_responsibility: Option<PayerResponsibility>, pub tags: Option<Vec<Tag>>, pub private_dns_name_verification_state: Option<DnsNameState>, pub supported_ip_address_types: Option<Vec<ServiceConnectivityType>>,
}
Expand description

Describes a VPC endpoint service.

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.
§service_name: Option<String>

The name of the service.

§service_id: Option<String>

The ID of the endpoint service.

§service_type: Option<Vec<ServiceTypeDetail>>

The type of service.

§availability_zones: Option<Vec<String>>

The Availability Zones in which the service is available.

§owner: Option<String>

The Amazon Web Services account ID of the service owner.

§base_endpoint_dns_names: Option<Vec<String>>

The DNS names for the service.

§private_dns_name: Option<String>

The private DNS name for the service.

§private_dns_names: Option<Vec<PrivateDnsDetails>>

The private DNS names assigned to the VPC endpoint service.

§vpc_endpoint_policy_supported: Option<bool>

Indicates whether the service supports endpoint policies.

§acceptance_required: Option<bool>

Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

§manages_vpc_endpoints: Option<bool>

Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.

§payer_responsibility: Option<PayerResponsibility>

The payer responsibility.

§tags: Option<Vec<Tag>>

The tags assigned to the service.

§private_dns_name_verification_state: Option<DnsNameState>

The verification state of the VPC endpoint service.

Consumers of the endpoint service cannot use the private name when the state is not verified.

§supported_ip_address_types: Option<Vec<ServiceConnectivityType>>

The supported IP address types.

Implementations§

source§

impl ServiceDetail

source

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

The name of the service.

source

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

The ID of the endpoint service.

source

pub fn service_type(&self) -> Option<&[ServiceTypeDetail]>

The type of service.

source

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

The Availability Zones in which the service is available.

source

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

The Amazon Web Services account ID of the service owner.

source

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

The DNS names for the service.

source

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

The private DNS name for the service.

source

pub fn private_dns_names(&self) -> Option<&[PrivateDnsDetails]>

The private DNS names assigned to the VPC endpoint service.

source

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

Indicates whether the service supports endpoint policies.

source

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

Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

source

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

Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.

source

pub fn payer_responsibility(&self) -> Option<&PayerResponsibility>

The payer responsibility.

source

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

The tags assigned to the service.

source

pub fn private_dns_name_verification_state(&self) -> Option<&DnsNameState>

The verification state of the VPC endpoint service.

Consumers of the endpoint service cannot use the private name when the state is not verified.

source

pub fn supported_ip_address_types(&self) -> Option<&[ServiceConnectivityType]>

The supported IP address types.

source§

impl ServiceDetail

source

pub fn builder() -> ServiceDetailBuilder

Creates a new builder-style object to manufacture ServiceDetail.

Trait Implementations§

source§

impl Clone for ServiceDetail

source§

fn clone(&self) -> ServiceDetail

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 ServiceDetail

source§

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

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

impl PartialEq<ServiceDetail> for ServiceDetail

source§

fn eq(&self, other: &ServiceDetail) -> 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 ServiceDetail

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