import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; import type { ListNotificationsInput, ListNotificationsOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListNotificationsCommand}. */ export interface ListNotificationsCommandInput extends ListNotificationsInput { } /** * @public * * The output of {@link ListNotificationsCommand}. */ export interface ListNotificationsCommandOutput extends ListNotificationsOutput, __MetadataBearer { } declare const ListNotificationsCommand_base: { new (input: ListNotificationsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListNotificationsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists all Amazon DataZone notifications.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataZoneClient, ListNotificationsCommand } from "@aws-sdk/client-datazone"; // ES Modules import * // const { DataZoneClient, ListNotificationsCommand } = require("@aws-sdk/client-datazone"); // CommonJS import * // import type { DataZoneClientConfig } from "@aws-sdk/client-datazone"; * const config = {}; // type is DataZoneClientConfig * const client = new DataZoneClient(config); * const input = { // ListNotificationsInput * domainIdentifier: "STRING_VALUE", // required * type: "TASK" || "EVENT", // required * afterTimestamp: new Date("TIMESTAMP"), * beforeTimestamp: new Date("TIMESTAMP"), * subjects: [ // NotificationSubjects * "STRING_VALUE", * ], * taskStatus: "ACTIVE" || "INACTIVE", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListNotificationsCommand(input); * const response = await client.send(command); * // { // ListNotificationsOutput * // notifications: [ // NotificationsList * // { // NotificationOutput * // identifier: "STRING_VALUE", // required * // domainIdentifier: "STRING_VALUE", // required * // type: "TASK" || "EVENT", // required * // topic: { // Topic * // subject: "STRING_VALUE", // required * // resource: { // NotificationResource * // type: "PROJECT", // required * // id: "STRING_VALUE", // required * // name: "STRING_VALUE", * // }, * // role: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR" || "PROJECT_VIEWER" || "DOMAIN_OWNER" || "PROJECT_SUBSCRIBER", // required * // }, * // title: "STRING_VALUE", // required * // message: "STRING_VALUE", // required * // status: "ACTIVE" || "INACTIVE", * // actionLink: "STRING_VALUE", // required * // creationTimestamp: new Date("TIMESTAMP"), // required * // lastUpdatedTimestamp: new Date("TIMESTAMP"), // required * // metadata: { // MetadataMap * // "": "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 DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The request has failed because of an unknown error, exception or failure.

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

The specified resource cannot be found.

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

The input fails to satisfy the constraints specified by the Amazon Web Services service.

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

The request was denied due to request throttling.

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

You do not have permission to perform this action.

* * @throws {@link DataZoneServiceException} *

Base exception class for all service exceptions from DataZone service.

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