#[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 ==.