import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetCaseAuditEventsRequest, GetCaseAuditEventsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetCaseAuditEventsCommand}. */ export interface GetCaseAuditEventsCommandInput extends GetCaseAuditEventsRequest { } /** * @public * * The output of {@link GetCaseAuditEventsCommand}. */ export interface GetCaseAuditEventsCommandOutput extends GetCaseAuditEventsResponse, __MetadataBearer { } declare const GetCaseAuditEventsCommand_base: { new (input: GetCaseAuditEventsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetCaseAuditEventsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the audit history about a specific case if it exists.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectCasesClient, GetCaseAuditEventsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import * // const { ConnectCasesClient, GetCaseAuditEventsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import * // import type { ConnectCasesClientConfig } from "@aws-sdk/client-connectcases"; * const config = {}; // type is ConnectCasesClientConfig * const client = new ConnectCasesClient(config); * const input = { // GetCaseAuditEventsRequest * caseId: "STRING_VALUE", // required * domainId: "STRING_VALUE", // required * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new GetCaseAuditEventsCommand(input); * const response = await client.send(command); * // { // GetCaseAuditEventsResponse * // nextToken: "STRING_VALUE", * // auditEvents: [ // AuditEventsList // required * // { // AuditEvent * // eventId: "STRING_VALUE", // required * // type: "STRING_VALUE", // required * // relatedItemType: "STRING_VALUE", * // performedTime: new Date("TIMESTAMP"), // required * // fields: [ // AuditEventFieldList // required * // { // AuditEventField * // eventFieldId: "STRING_VALUE", // required * // oldValue: { // AuditEventFieldValueUnion Union: only one key present * // stringValue: "STRING_VALUE", * // doubleValue: Number("double"), * // booleanValue: true || false, * // emptyValue: {}, * // userArnValue: "STRING_VALUE", * // }, * // newValue: {// Union: only one key present * // stringValue: "STRING_VALUE", * // doubleValue: Number("double"), * // booleanValue: true || false, * // emptyValue: {}, * // userArnValue: "STRING_VALUE", * // }, * // }, * // ], * // performedBy: { // AuditEventPerformedBy * // user: { // UserUnion Union: only one key present * // userArn: "STRING_VALUE", * // customEntity: "STRING_VALUE", * // }, * // iamPrincipalArn: "STRING_VALUE", // required * // }, * // }, * // ], * // }; * * ``` * * @param GetCaseAuditEventsCommandInput - {@link GetCaseAuditEventsCommandInput} * @returns {@link GetCaseAuditEventsCommandOutput} * @see {@link GetCaseAuditEventsCommandInput} for command's `input` shape. * @see {@link GetCaseAuditEventsCommandOutput} for command's `response` shape. * @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

We couldn't process your request because of an issue with the server. Try again later.

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

We couldn't find the requested resource. Check that your resources exists and were created in the same Amazon Web Services Region as your request, and try your request again.

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

The rate has been exceeded for this API. Please try again after a few minutes.

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

The request isn't valid. Check the syntax and try again.

* * @throws {@link ConnectCasesServiceException} *

Base exception class for all service exceptions from ConnectCases service.

* * * @public */ export declare class GetCaseAuditEventsCommand extends GetCaseAuditEventsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetCaseAuditEventsRequest; output: GetCaseAuditEventsResponse; }; sdk: { input: GetCaseAuditEventsCommandInput; output: GetCaseAuditEventsCommandOutput; }; }; }