#[non_exhaustive]pub struct UpdateDomainAssociationInput {
pub app_id: Option<String>,
pub domain_name: Option<String>,
pub enable_auto_sub_domain: Option<bool>,
pub sub_domain_settings: Option<Vec<SubDomainSetting>>,
pub auto_sub_domain_creation_patterns: Option<Vec<String>>,
pub auto_sub_domain_iam_role: Option<String>,
pub certificate_settings: Option<CertificateSettings>,
}Expand description
The request structure for the update domain association request.
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.app_id: Option<String>The unique ID for an Amplify app.
domain_name: Option<String>The name of the domain.
enable_auto_sub_domain: Option<bool>Enables the automated creation of subdomains for branches.
sub_domain_settings: Option<Vec<SubDomainSetting>>Describes the settings for the subdomain.
auto_sub_domain_creation_patterns: Option<Vec<String>>Sets the branch patterns for automatic subdomain creation.
auto_sub_domain_iam_role: Option<String>The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
certificate_settings: Option<CertificateSettings>The type of SSL/TLS certificate to use for your custom domain.
Implementations§
source§impl UpdateDomainAssociationInput
impl UpdateDomainAssociationInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain.
sourcepub fn enable_auto_sub_domain(&self) -> Option<bool>
pub fn enable_auto_sub_domain(&self) -> Option<bool>
Enables the automated creation of subdomains for branches.
sourcepub fn sub_domain_settings(&self) -> &[SubDomainSetting]
pub fn sub_domain_settings(&self) -> &[SubDomainSetting]
Describes the settings for the subdomain.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sub_domain_settings.is_none().
sourcepub fn auto_sub_domain_creation_patterns(&self) -> &[String]
pub fn auto_sub_domain_creation_patterns(&self) -> &[String]
Sets the branch patterns for automatic subdomain creation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .auto_sub_domain_creation_patterns.is_none().
sourcepub fn auto_sub_domain_iam_role(&self) -> Option<&str>
pub fn auto_sub_domain_iam_role(&self) -> Option<&str>
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
sourcepub fn certificate_settings(&self) -> Option<&CertificateSettings>
pub fn certificate_settings(&self) -> Option<&CertificateSettings>
The type of SSL/TLS certificate to use for your custom domain.
source§impl UpdateDomainAssociationInput
impl UpdateDomainAssociationInput
sourcepub fn builder() -> UpdateDomainAssociationInputBuilder
pub fn builder() -> UpdateDomainAssociationInputBuilder
Creates a new builder-style object to manufacture UpdateDomainAssociationInput.
Trait Implementations§
source§impl Clone for UpdateDomainAssociationInput
impl Clone for UpdateDomainAssociationInput
source§fn clone(&self) -> UpdateDomainAssociationInput
fn clone(&self) -> UpdateDomainAssociationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateDomainAssociationInput
impl Debug for UpdateDomainAssociationInput
source§impl PartialEq for UpdateDomainAssociationInput
impl PartialEq for UpdateDomainAssociationInput
source§fn eq(&self, other: &UpdateDomainAssociationInput) -> bool
fn eq(&self, other: &UpdateDomainAssociationInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateDomainAssociationInput
Auto Trait Implementations§
impl Freeze for UpdateDomainAssociationInput
impl RefUnwindSafe for UpdateDomainAssociationInput
impl Send for UpdateDomainAssociationInput
impl Sync for UpdateDomainAssociationInput
impl Unpin for UpdateDomainAssociationInput
impl UnwindSafe for UpdateDomainAssociationInput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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