/** The response schema for the GetAuthorizationCode operation. */ export interface GetAuthorizationCodeResponse { /** A Login with Amazon (LWA) authorization code. */ payload?: AuthorizationCode; /** A list of error responses returned when a request is unsuccessful. */ errors?: ErrorList; } /** A Login with Amazon (LWA) authorization code. */ export interface AuthorizationCode { /** A Login with Amazon (LWA) authorization code that can be exchanged for a refresh token and access token that authorize you to make calls to a Selling Partner API. */ authorizationCode?: string; } /** A list of error responses returned when a request is unsuccessful. */ export type ErrorList = Error[]; /** Error response returned when the request is unsuccessful. */ export interface Error { /** An error code that identifies the type of error that occurred. */ code: string; /** A message that describes the error condition in a human-readable form. */ message: string; /** Additional details that can help the caller understand or fix the issue. */ details?: string; }