import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GreengrassClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassClient"; import type { ListGroupsRequest, ListGroupsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListGroupsCommand}. */ export interface ListGroupsCommandInput extends ListGroupsRequest { } /** * @public * * The output of {@link ListGroupsCommand}. */ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataBearer { } declare const ListGroupsCommand_base: { new (input: ListGroupsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListGroupsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retrieves a list of groups. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, ListGroupsCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, ListGroupsCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import * // import type { GreengrassClientConfig } from "@aws-sdk/client-greengrass"; * const config = {}; // type is GreengrassClientConfig * const client = new GreengrassClient(config); * const input = { // ListGroupsRequest * MaxResults: "STRING_VALUE", * NextToken: "STRING_VALUE", * }; * const command = new ListGroupsCommand(input); * const response = await client.send(command); * // { // ListGroupsResponse * // Groups: [ // __listOfGroupInformation * // { // GroupInformation * // Arn: "STRING_VALUE", * // CreationTimestamp: "STRING_VALUE", * // Id: "STRING_VALUE", * // LastUpdatedTimestamp: "STRING_VALUE", * // LatestVersion: "STRING_VALUE", * // LatestVersionArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListGroupsCommandInput - {@link ListGroupsCommandInput} * @returns {@link ListGroupsCommandOutput} * @see {@link ListGroupsCommandInput} for command's `input` shape. * @see {@link ListGroupsCommandOutput} for command's `response` shape. * @see {@link GreengrassClientResolvedConfig | config} for GreengrassClient's `config` shape. * * @throws {@link GreengrassServiceException} *

Base exception class for all service exceptions from Greengrass service.

* * * @public */ export declare class ListGroupsCommand extends ListGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListGroupsRequest; output: ListGroupsResponse; }; sdk: { input: ListGroupsCommandInput; output: ListGroupsCommandOutput; }; }; }