Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RefreshTokenCommand

Refreshes a previously issued access token that might have expired.

example

Use a bare-bones client and the command you need to make an API call.

import { AmplifyUIBuilderClient, RefreshTokenCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import
// const { AmplifyUIBuilderClient, RefreshTokenCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import
const client = new AmplifyUIBuilderClient(config);
const command = new RefreshTokenCommand(input);
const response = await client.send(command);
see

RefreshTokenCommandInput for command's input shape.

see

RefreshTokenCommandOutput for command's response shape.

see

config for AmplifyUIBuilderClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: RefreshTokenCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<RefreshTokenCommandInput, RefreshTokenCommandOutput>