import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListResourcePoliciesRequest, ListResourcePoliciesResult } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListResourcePoliciesCommand}. */ export interface ListResourcePoliciesCommandInput extends ListResourcePoliciesRequest { } /** * @public * * The output of {@link ListResourcePoliciesCommand}. */ export interface ListResourcePoliciesCommandOutput extends ListResourcePoliciesResult, __MetadataBearer { } declare const ListResourcePoliciesCommand_base: { new (input: ListResourcePoliciesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListResourcePoliciesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns the list of resource policies in the target Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { XRayClient, ListResourcePoliciesCommand } from "@aws-sdk/client-xray"; // ES Modules import * // const { XRayClient, ListResourcePoliciesCommand } = require("@aws-sdk/client-xray"); // CommonJS import * // import type { XRayClientConfig } from "@aws-sdk/client-xray"; * const config = {}; // type is XRayClientConfig * const client = new XRayClient(config); * const input = { // ListResourcePoliciesRequest * NextToken: "STRING_VALUE", * }; * const command = new ListResourcePoliciesCommand(input); * const response = await client.send(command); * // { // ListResourcePoliciesResult * // ResourcePolicies: [ // ResourcePolicyList * // { // ResourcePolicy * // PolicyName: "STRING_VALUE", * // PolicyDocument: "STRING_VALUE", * // PolicyRevisionId: "STRING_VALUE", * // LastUpdatedTime: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListResourcePoliciesCommandInput - {@link ListResourcePoliciesCommandInput} * @returns {@link ListResourcePoliciesCommandOutput} * @see {@link ListResourcePoliciesCommandInput} for command's `input` shape. * @see {@link ListResourcePoliciesCommandOutput} for command's `response` shape. * @see {@link XRayClientResolvedConfig | config} for XRayClient's `config` shape. * * @throws {@link InvalidRequestException} (client fault) *

The request is missing required parameters or has invalid parameters.

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

The request exceeds the maximum number of requests per second.

* * @throws {@link XRayServiceException} *

Base exception class for all service exceptions from XRay service.

* * * @public */ export declare class ListResourcePoliciesCommand extends ListResourcePoliciesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListResourcePoliciesRequest; output: ListResourcePoliciesResult; }; sdk: { input: ListResourcePoliciesCommandInput; output: ListResourcePoliciesCommandOutput; }; }; }