Struct aws_sdk_apigateway::types::EndpointConfiguration
source · #[non_exhaustive]pub struct EndpointConfiguration {
pub types: Option<Vec<EndpointType>>,
pub vpc_endpoint_ids: Option<Vec<String>>,
}Expand description
The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.
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.types: Option<Vec<EndpointType>>A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
vpc_endpoint_ids: Option<Vec<String>>A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
Implementations§
source§impl EndpointConfiguration
impl EndpointConfiguration
sourcepub fn types(&self) -> &[EndpointType]
pub fn types(&self) -> &[EndpointType]
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .types.is_none().
sourcepub fn vpc_endpoint_ids(&self) -> &[String]
pub fn vpc_endpoint_ids(&self) -> &[String]
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vpc_endpoint_ids.is_none().
source§impl EndpointConfiguration
impl EndpointConfiguration
sourcepub fn builder() -> EndpointConfigurationBuilder
pub fn builder() -> EndpointConfigurationBuilder
Creates a new builder-style object to manufacture EndpointConfiguration.
Trait Implementations§
source§impl Clone for EndpointConfiguration
impl Clone for EndpointConfiguration
source§fn clone(&self) -> EndpointConfiguration
fn clone(&self) -> EndpointConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EndpointConfiguration
impl Debug for EndpointConfiguration
source§impl PartialEq for EndpointConfiguration
impl PartialEq for EndpointConfiguration
impl StructuralPartialEq for EndpointConfiguration
Auto Trait Implementations§
impl Freeze for EndpointConfiguration
impl RefUnwindSafe for EndpointConfiguration
impl Send for EndpointConfiguration
impl Sync for EndpointConfiguration
impl Unpin for EndpointConfiguration
impl UnwindSafe for EndpointConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more