import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListResourceTypesRequest, ListResourceTypesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListResourceTypesCommand}. */ export interface ListResourceTypesCommandInput extends ListResourceTypesRequest { } /** * @public * * The output of {@link ListResourceTypesCommand}. */ export interface ListResourceTypesCommandOutput extends ListResourceTypesResponse, __MetadataBearer { } declare const ListResourceTypesCommand_base: { new (input: ListResourceTypesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListResourceTypesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the resource types that can be shared by RAM.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RAMClient, ListResourceTypesCommand } from "@aws-sdk/client-ram"; // ES Modules import * // const { RAMClient, ListResourceTypesCommand } = require("@aws-sdk/client-ram"); // CommonJS import * // import type { RAMClientConfig } from "@aws-sdk/client-ram"; * const config = {}; // type is RAMClientConfig * const client = new RAMClient(config); * const input = { // ListResourceTypesRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), * resourceRegionScope: "ALL" || "REGIONAL" || "GLOBAL", * }; * const command = new ListResourceTypesCommand(input); * const response = await client.send(command); * // { // ListResourceTypesResponse * // resourceTypes: [ // ServiceNameAndResourceTypeList * // { // ServiceNameAndResourceType * // resourceType: "STRING_VALUE", * // serviceName: "STRING_VALUE", * // resourceRegionScope: "REGIONAL" || "GLOBAL", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListResourceTypesCommandInput - {@link ListResourceTypesCommandInput} * @returns {@link ListResourceTypesCommandOutput} * @see {@link ListResourceTypesCommandInput} for command's `input` shape. * @see {@link ListResourceTypesCommandOutput} for command's `response` shape. * @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape. * * @throws {@link InvalidNextTokenException} (client fault) *

The operation failed because the specified value for NextToken isn't * valid. You must specify a value you received in the NextToken response of a * previous call to this operation.

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

The operation failed because a parameter you specified isn't valid.

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

The operation failed because the service could not respond to the request due to an * internal problem. Try again later.

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

The operation failed because the service isn't available. Try again later.

* * @throws {@link RAMServiceException} *

Base exception class for all service exceptions from RAM service.

* * * @public */ export declare class ListResourceTypesCommand extends ListResourceTypesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListResourceTypesRequest; output: ListResourceTypesResponse; }; sdk: { input: ListResourceTypesCommandInput; output: ListResourceTypesCommandOutput; }; }; }