Struct aws_sdk_licensemanager::operation::get_access_token::builders::GetAccessTokenFluentBuilder
source · pub struct GetAccessTokenFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetAccessToken.
Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
Implementations§
source§impl GetAccessTokenFluentBuilder
impl GetAccessTokenFluentBuilder
sourcepub fn as_input(&self) -> &GetAccessTokenInputBuilder
pub fn as_input(&self) -> &GetAccessTokenInputBuilder
Access the GetAccessToken as a reference.
sourcepub async fn send(
self
) -> Result<GetAccessTokenOutput, SdkError<GetAccessTokenError, HttpResponse>>
pub async fn send( self ) -> Result<GetAccessTokenOutput, SdkError<GetAccessTokenError, 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 async fn customize(
self
) -> Result<CustomizableOperation<GetAccessTokenOutput, GetAccessTokenError>, SdkError<GetAccessTokenError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetAccessTokenOutput, GetAccessTokenError>, SdkError<GetAccessTokenError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn token_properties(self, input: impl Into<String>) -> Self
pub fn token_properties(self, input: impl Into<String>) -> Self
Appends an item to TokenProperties.
To override the contents of this collection use set_token_properties.
Token properties to validate against those present in the JWT token.
sourcepub fn set_token_properties(self, input: Option<Vec<String>>) -> Self
pub fn set_token_properties(self, input: Option<Vec<String>>) -> Self
Token properties to validate against those present in the JWT token.
sourcepub fn get_token_properties(&self) -> &Option<Vec<String>>
pub fn get_token_properties(&self) -> &Option<Vec<String>>
Token properties to validate against those present in the JWT token.
Trait Implementations§
source§impl Clone for GetAccessTokenFluentBuilder
impl Clone for GetAccessTokenFluentBuilder
source§fn clone(&self) -> GetAccessTokenFluentBuilder
fn clone(&self) -> GetAccessTokenFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more