import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetCognitoEventsRequest, GetCognitoEventsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetCognitoEventsCommand}. */ export interface GetCognitoEventsCommandInput extends GetCognitoEventsRequest { } /** * @public * * The output of {@link GetCognitoEventsCommand}. */ export interface GetCognitoEventsCommandOutput extends GetCognitoEventsResponse, __MetadataBearer { } declare const GetCognitoEventsCommand_base: { new (input: GetCognitoEventsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetCognitoEventsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the events and the corresponding Lambda functions associated with an identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CognitoSyncClient, GetCognitoEventsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import * // const { CognitoSyncClient, GetCognitoEventsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import * // import type { CognitoSyncClientConfig } from "@aws-sdk/client-cognito-sync"; * const config = {}; // type is CognitoSyncClientConfig * const client = new CognitoSyncClient(config); * const input = { // GetCognitoEventsRequest * IdentityPoolId: "STRING_VALUE", // required * }; * const command = new GetCognitoEventsCommand(input); * const response = await client.send(command); * // { // GetCognitoEventsResponse * // Events: { // Events * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetCognitoEventsCommandInput - {@link GetCognitoEventsCommandInput} * @returns {@link GetCognitoEventsCommandOutput} * @see {@link GetCognitoEventsCommandInput} for command's `input` shape. * @see {@link GetCognitoEventsCommandOutput} for command's `response` shape. * @see {@link CognitoSyncClientResolvedConfig | config} for CognitoSyncClient's `config` shape. * * @throws {@link InternalErrorException} (server fault) * Indicates an internal service * error. * * @throws {@link InvalidParameterException} (client fault) * Thrown when a request parameter does not comply * with the associated constraints. * * @throws {@link NotAuthorizedException} (client fault) * Thrown when a user is not authorized to access the * requested resource. * * @throws {@link ResourceNotFoundException} (client fault) * Thrown if the resource doesn't * exist. * * @throws {@link TooManyRequestsException} (client fault) * Thrown if the request is * throttled. * * @throws {@link CognitoSyncServiceException} *

Base exception class for all service exceptions from CognitoSync service.

* * * @public */ export declare class GetCognitoEventsCommand extends GetCognitoEventsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetCognitoEventsRequest; output: GetCognitoEventsResponse; }; sdk: { input: GetCognitoEventsCommandInput; output: GetCognitoEventsCommandOutput; }; }; }