#[non_exhaustive]pub struct DomainDescriptionType {
pub user_pool_id: Option<String>,
pub aws_account_id: Option<String>,
pub domain: Option<String>,
pub s3_bucket: Option<String>,
pub cloud_front_distribution: Option<String>,
pub version: Option<String>,
pub status: Option<DomainStatusType>,
pub custom_domain_config: Option<CustomDomainConfigType>,
}
Expand description
A container for information about a domain.
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.user_pool_id: Option<String>
The user pool ID.
aws_account_id: Option<String>
The Amazon Web Services ID for the user pool owner.
domain: Option<String>
The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such as auth
.
s3_bucket: Option<String>
The Amazon S3 bucket where the static files for this domain are stored.
cloud_front_distribution: Option<String>
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
version: Option<String>
The app version.
status: Option<DomainStatusType>
The domain status.
custom_domain_config: Option<CustomDomainConfigType>
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Implementations§
source§impl DomainDescriptionType
impl DomainDescriptionType
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID.
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services ID for the user pool owner.
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such as auth
.
sourcepub fn s3_bucket(&self) -> Option<&str>
pub fn s3_bucket(&self) -> Option<&str>
The Amazon S3 bucket where the static files for this domain are stored.
sourcepub fn cloud_front_distribution(&self) -> Option<&str>
pub fn cloud_front_distribution(&self) -> Option<&str>
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
sourcepub fn status(&self) -> Option<&DomainStatusType>
pub fn status(&self) -> Option<&DomainStatusType>
The domain status.
sourcepub fn custom_domain_config(&self) -> Option<&CustomDomainConfigType>
pub fn custom_domain_config(&self) -> Option<&CustomDomainConfigType>
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
source§impl DomainDescriptionType
impl DomainDescriptionType
sourcepub fn builder() -> DomainDescriptionTypeBuilder
pub fn builder() -> DomainDescriptionTypeBuilder
Creates a new builder-style object to manufacture DomainDescriptionType
.
Trait Implementations§
source§impl Clone for DomainDescriptionType
impl Clone for DomainDescriptionType
source§fn clone(&self) -> DomainDescriptionType
fn clone(&self) -> DomainDescriptionType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainDescriptionType
impl Debug for DomainDescriptionType
source§impl PartialEq for DomainDescriptionType
impl PartialEq for DomainDescriptionType
source§fn eq(&self, other: &DomainDescriptionType) -> bool
fn eq(&self, other: &DomainDescriptionType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainDescriptionType
Auto Trait Implementations§
impl Freeze for DomainDescriptionType
impl RefUnwindSafe for DomainDescriptionType
impl Send for DomainDescriptionType
impl Sync for DomainDescriptionType
impl Unpin for DomainDescriptionType
impl UnwindSafe for DomainDescriptionType
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> 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