import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0"; import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListAccountRolesCommand}. */ export interface ListAccountRolesCommandInput extends ListAccountRolesRequest { } /** * @public * * The output of {@link ListAccountRolesCommand}. */ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer { } declare const ListAccountRolesCommand_base: { new (input: ListAccountRolesCommandInput): import("@smithy/smithy-client").CommandImpl; new (__0_0: ListAccountRolesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists all roles that are assigned to the user for a given AWS account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSOClient, ListAccountRolesCommand } from "@aws-sdk/client-sso"; // ES Modules import * // const { SSOClient, ListAccountRolesCommand } = require("@aws-sdk/client-sso"); // CommonJS import * const client = new SSOClient(config); * const input = { // ListAccountRolesRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), * accessToken: "STRING_VALUE", // required * accountId: "STRING_VALUE", // required * }; * const command = new ListAccountRolesCommand(input); * const response = await client.send(command); * // { // ListAccountRolesResponse * // nextToken: "STRING_VALUE", * // roleList: [ // RoleListType * // { // RoleInfo * // roleName: "STRING_VALUE", * // accountId: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListAccountRolesCommandInput - {@link ListAccountRolesCommandInput} * @returns {@link ListAccountRolesCommandOutput} * @see {@link ListAccountRolesCommandInput} for command's `input` shape. * @see {@link ListAccountRolesCommandOutput} for command's `response` shape. * @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape. * * @throws {@link InvalidRequestException} (client fault) *

Indicates that a problem occurred with the input to the request. For example, a required * parameter might be missing or out of range.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource doesn't exist.

* * @throws {@link TooManyRequestsException} (client fault) *

Indicates that the request is being made too frequently and is more than what the server * can handle.

* * @throws {@link UnauthorizedException} (client fault) *

Indicates that the request is not authorized. This can happen due to an invalid access * token in the request.

* * @throws {@link SSOServiceException} *

Base exception class for all service exceptions from SSO service.

* * @public */ export declare class ListAccountRolesCommand extends ListAccountRolesCommand_base { }