Struct aws_sdk_cognitoidentityprovider::operation::set_ui_customization::builders::SetUICustomizationFluentBuilder
source · pub struct SetUICustomizationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to SetUICustomization
.
Sets the user interface (UI) customization information for a user pool's built-in app UI.
You can specify app UI customization settings for a single client (with a specific clientId
) or for all clients (by setting the clientId
to ALL
). If you specify ALL
, the default configuration is used for every client that has no previously set UI customization. If you specify UI customization settings for a particular client, it will no longer return to the ALL
configuration.
To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error.
Implementations§
source§impl SetUICustomizationFluentBuilder
impl SetUICustomizationFluentBuilder
sourcepub fn as_input(&self) -> &SetUiCustomizationInputBuilder
pub fn as_input(&self) -> &SetUiCustomizationInputBuilder
Access the SetUICustomization as a reference.
sourcepub async fn send(
self,
) -> Result<SetUiCustomizationOutput, SdkError<SetUICustomizationError, HttpResponse>>
pub async fn send( self, ) -> Result<SetUiCustomizationOutput, SdkError<SetUICustomizationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<SetUiCustomizationOutput, SetUICustomizationError, Self>
pub fn customize( self, ) -> CustomizableOperation<SetUiCustomizationOutput, SetUICustomizationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
The user pool ID for the user pool.
sourcepub fn set_user_pool_id(self, input: Option<String>) -> Self
pub fn set_user_pool_id(self, input: Option<String>) -> Self
The user pool ID for the user pool.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The user pool ID for the user pool.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The client ID for the client app.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
The client ID for the client app.
sourcepub fn image_file(self, input: Blob) -> Self
pub fn image_file(self, input: Blob) -> Self
The uploaded logo image for the UI customization.
sourcepub fn set_image_file(self, input: Option<Blob>) -> Self
pub fn set_image_file(self, input: Option<Blob>) -> Self
The uploaded logo image for the UI customization.
sourcepub fn get_image_file(&self) -> &Option<Blob>
pub fn get_image_file(&self) -> &Option<Blob>
The uploaded logo image for the UI customization.
Trait Implementations§
source§impl Clone for SetUICustomizationFluentBuilder
impl Clone for SetUICustomizationFluentBuilder
source§fn clone(&self) -> SetUICustomizationFluentBuilder
fn clone(&self) -> SetUICustomizationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for SetUICustomizationFluentBuilder
impl !RefUnwindSafe for SetUICustomizationFluentBuilder
impl Send for SetUICustomizationFluentBuilder
impl Sync for SetUICustomizationFluentBuilder
impl Unpin for SetUICustomizationFluentBuilder
impl !UnwindSafe for SetUICustomizationFluentBuilder
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