import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListNotificationsRequest, ListNotificationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListNotificationsCommand}. */ export interface ListNotificationsCommandInput extends ListNotificationsRequest { } /** * @public * * The output of {@link ListNotificationsCommand}. */ export interface ListNotificationsCommandOutput extends ListNotificationsResponse, __MetadataBearer { } declare const ListNotificationsCommand_base: { new (input: ListNotificationsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListNotificationsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of all Audit Manager notifications.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AuditManagerClient, ListNotificationsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import * // const { AuditManagerClient, ListNotificationsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import * // import type { AuditManagerClientConfig } from "@aws-sdk/client-auditmanager"; * const config = {}; // type is AuditManagerClientConfig * const client = new AuditManagerClient(config); * const input = { // ListNotificationsRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListNotificationsCommand(input); * const response = await client.send(command); * // { // ListNotificationsResponse * // notifications: [ // Notifications * // { // Notification * // id: "STRING_VALUE", * // assessmentId: "STRING_VALUE", * // assessmentName: "STRING_VALUE", * // controlSetId: "STRING_VALUE", * // controlSetName: "STRING_VALUE", * // description: "STRING_VALUE", * // eventTime: new Date("TIMESTAMP"), * // source: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListNotificationsCommandInput - {@link ListNotificationsCommandInput} * @returns {@link ListNotificationsCommandOutput} * @see {@link ListNotificationsCommandInput} for command's `input` shape. * @see {@link ListNotificationsCommandOutput} for command's `response` shape. * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Your account isn't registered with Audit Manager. Check the delegated * administrator setup on the Audit Manager settings page, and try again.

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

An internal service error occurred during the processing of your request. Try again * later.

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

The request has invalid or missing parameters.

* * @throws {@link AuditManagerServiceException} *

Base exception class for all service exceptions from AuditManager service.

* * * @public */ export declare class ListNotificationsCommand extends ListNotificationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListNotificationsRequest; output: ListNotificationsResponse; }; sdk: { input: ListNotificationsCommandInput; output: ListNotificationsCommandOutput; }; }; }