import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetEvidenceRequest, GetEvidenceResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetEvidenceCommand}. */ export interface GetEvidenceCommandInput extends GetEvidenceRequest { } /** * @public * * The output of {@link GetEvidenceCommand}. */ export interface GetEvidenceCommandOutput extends GetEvidenceResponse, __MetadataBearer { } declare const GetEvidenceCommand_base: { new (input: GetEvidenceCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetEvidenceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets information about a specified evidence item.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AuditManagerClient, GetEvidenceCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import * // const { AuditManagerClient, GetEvidenceCommand } = 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 = { // GetEvidenceRequest * assessmentId: "STRING_VALUE", // required * controlSetId: "STRING_VALUE", // required * evidenceFolderId: "STRING_VALUE", // required * evidenceId: "STRING_VALUE", // required * }; * const command = new GetEvidenceCommand(input); * const response = await client.send(command); * // { // GetEvidenceResponse * // evidence: { // Evidence * // dataSource: "STRING_VALUE", * // evidenceAwsAccountId: "STRING_VALUE", * // time: new Date("TIMESTAMP"), * // eventSource: "STRING_VALUE", * // eventName: "STRING_VALUE", * // evidenceByType: "STRING_VALUE", * // resourcesIncluded: [ // Resources * // { // Resource * // arn: "STRING_VALUE", * // value: "STRING_VALUE", * // complianceCheck: "STRING_VALUE", * // }, * // ], * // attributes: { // EvidenceAttributes * // "": "STRING_VALUE", * // }, * // iamId: "STRING_VALUE", * // complianceCheck: "STRING_VALUE", * // awsOrganization: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // evidenceFolderId: "STRING_VALUE", * // id: "STRING_VALUE", * // assessmentReportSelection: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetEvidenceCommandInput - {@link GetEvidenceCommandInput} * @returns {@link GetEvidenceCommandOutput} * @see {@link GetEvidenceCommandInput} for command's `input` shape. * @see {@link GetEvidenceCommandOutput} 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 ResourceNotFoundException} (client fault) *

The resource that's specified in the request can't be found.

* * @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 GetEvidenceCommand extends GetEvidenceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetEvidenceRequest; output: GetEvidenceResponse; }; sdk: { input: GetEvidenceCommandInput; output: GetEvidenceCommandOutput; }; }; }