import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListUsersIndexCapacityRequest, ListUsersIndexCapacityResponse } from "../models/models_4"; import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListUsersIndexCapacityCommand}. */ export interface ListUsersIndexCapacityCommandInput extends ListUsersIndexCapacityRequest { } /** * @public * * The output of {@link ListUsersIndexCapacityCommand}. */ export interface ListUsersIndexCapacityCommandOutput extends ListUsersIndexCapacityResponse, __MetadataBearer { } declare const ListUsersIndexCapacityCommand_base: { new (input: ListUsersIndexCapacityCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListUsersIndexCapacityCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists per-user index capacity consumption for an account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { QuickSightClient, ListUsersIndexCapacityCommand } from "@aws-sdk/client-quicksight"; // ES Modules import * // const { QuickSightClient, ListUsersIndexCapacityCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight"; * const config = {}; // type is QuickSightClientConfig * const client = new QuickSightClient(config); * const input = { // ListUsersIndexCapacityRequest * awsAccountId: "STRING_VALUE", // required * namespace: "STRING_VALUE", * filters: [ // UserIndexCapacityFilters * { // UserIndexCapacityFilter Union: only one key present * userNameOrEmail: { // UserNameOrEmailFilter * prefix: "STRING_VALUE", // required * }, * totalCapacityBytes: { // CapacityBytesRangeFilter * minBytes: Number("long"), * maxBytes: Number("long"), * }, * }, * ], * sortBy: "TOTAL_CAPACITY_BYTES", * sortOrder: "ASC" || "DESC", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListUsersIndexCapacityCommand(input); * const response = await client.send(command); * // { // ListUsersIndexCapacityResponse * // users: [ // UserIndexCapacityList * // { // UserIndexCapacity * // userArn: "STRING_VALUE", * // userName: "STRING_VALUE", * // email: "STRING_VALUE", * // role: "STRING_VALUE", * // totalCapacityBytes: Number("long"), * // totalKBCapacityBytes: Number("long"), * // totalSpaceCapacityBytes: Number("long"), * // kbCount: Number("int"), * // spaceCount: Number("int"), * // }, * // ], * // nextToken: "STRING_VALUE", * // requestId: "STRING_VALUE", * // }; * * ``` * * @param ListUsersIndexCapacityCommandInput - {@link ListUsersIndexCapacityCommandInput} * @returns {@link ListUsersIndexCapacityCommandOutput} * @see {@link ListUsersIndexCapacityCommandInput} for command's `input` shape. * @see {@link ListUsersIndexCapacityCommandOutput} for command's `response` shape. * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have access to this item. The provided credentials couldn't be * validated. You might not be authorized to carry out the request. Make sure that your * account is authorized to use the Amazon Quick Sight service, that your policies have the * correct permissions, and that you are using the correct credentials.

* * @throws {@link InternalFailureException} (server fault) *

An internal failure occurred.

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

You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.

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

One or more preconditions aren't met.

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

One or more resources can't be found.

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

Access is throttled.

* * @throws {@link QuickSightServiceException} *

Base exception class for all service exceptions from QuickSight service.

* * * @public */ export declare class ListUsersIndexCapacityCommand extends ListUsersIndexCapacityCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListUsersIndexCapacityRequest; output: ListUsersIndexCapacityResponse; }; sdk: { input: ListUsersIndexCapacityCommandInput; output: ListUsersIndexCapacityCommandOutput; }; }; }