Struct aws_sdk_amplifyuibuilder::operation::refresh_token::builders::RefreshTokenFluentBuilder
source · pub struct RefreshTokenFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to RefreshToken.
This is for internal use.
Amplify uses this action to refresh a previously issued access token that might have expired.
Implementations§
source§impl RefreshTokenFluentBuilder
impl RefreshTokenFluentBuilder
sourcepub fn as_input(&self) -> &RefreshTokenInputBuilder
pub fn as_input(&self) -> &RefreshTokenInputBuilder
Access the RefreshToken as a reference.
sourcepub async fn send(
self
) -> Result<RefreshTokenOutput, SdkError<RefreshTokenError, HttpResponse>>
pub async fn send( self ) -> Result<RefreshTokenOutput, SdkError<RefreshTokenError, 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<RefreshTokenOutput, RefreshTokenError, Self>
pub fn customize( self ) -> CustomizableOperation<RefreshTokenOutput, RefreshTokenError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn provider(self, input: TokenProviders) -> Self
pub fn provider(self, input: TokenProviders) -> Self
The third-party provider for the token. The only valid value is figma.
sourcepub fn set_provider(self, input: Option<TokenProviders>) -> Self
pub fn set_provider(self, input: Option<TokenProviders>) -> Self
The third-party provider for the token. The only valid value is figma.
sourcepub fn get_provider(&self) -> &Option<TokenProviders>
pub fn get_provider(&self) -> &Option<TokenProviders>
The third-party provider for the token. The only valid value is figma.
sourcepub fn refresh_token_body(self, input: RefreshTokenRequestBody) -> Self
pub fn refresh_token_body(self, input: RefreshTokenRequestBody) -> Self
Information about the refresh token request.
sourcepub fn set_refresh_token_body(
self,
input: Option<RefreshTokenRequestBody>
) -> Self
pub fn set_refresh_token_body( self, input: Option<RefreshTokenRequestBody> ) -> Self
Information about the refresh token request.
sourcepub fn get_refresh_token_body(&self) -> &Option<RefreshTokenRequestBody>
pub fn get_refresh_token_body(&self) -> &Option<RefreshTokenRequestBody>
Information about the refresh token request.
Trait Implementations§
source§impl Clone for RefreshTokenFluentBuilder
impl Clone for RefreshTokenFluentBuilder
source§fn clone(&self) -> RefreshTokenFluentBuilder
fn clone(&self) -> RefreshTokenFluentBuilder
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 RefreshTokenFluentBuilder
impl !RefUnwindSafe for RefreshTokenFluentBuilder
impl Send for RefreshTokenFluentBuilder
impl Sync for RefreshTokenFluentBuilder
impl Unpin for RefreshTokenFluentBuilder
impl !UnwindSafe for RefreshTokenFluentBuilder
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