refresh_token(**kwargs)¶Refreshes a previously issued access token that might have expired.
See also: AWS API Documentation
Request Syntax
response = client.refresh_token(
    provider='figma',
    refreshTokenBody={
        'token': 'string'
    }
)
[REQUIRED]
The third-party provider for the token. The only valid value is figma .
[REQUIRED]
Information about the refresh token request.
The token to use to refresh a previously issued access token that might have expired.
dict
Response Syntax
{
    'accessToken': 'string',
    'expiresIn': 123
}
Response Structure
(dict) --
accessToken (string) --
The access token.
expiresIn (integer) --
The date and time when the new access token expires.
Exceptions
AmplifyUIBuilder.Client.exceptions.InvalidParameterException