import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import type { ListContactReferencesRequest, ListContactReferencesResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListContactReferencesCommand}. */ export interface ListContactReferencesCommandInput extends ListContactReferencesRequest { } /** * @public * * The output of {@link ListContactReferencesCommand}. */ export interface ListContactReferencesCommandOutput extends ListContactReferencesResponse, __MetadataBearer { } declare const ListContactReferencesCommand_base: { new (input: ListContactReferencesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListContactReferencesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

This API is in preview release for Amazon Connect and is subject to change.

*

For the specified referenceTypes, returns a list of references associated with the contact. * References are links to documents that are related to a contact, such as emails, attachments, * or URLs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, ListContactReferencesCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, ListContactReferencesCommand } = require("@aws-sdk/client-connect"); // CommonJS import * // import type { ConnectClientConfig } from "@aws-sdk/client-connect"; * const config = {}; // type is ConnectClientConfig * const client = new ConnectClient(config); * const input = { // ListContactReferencesRequest * InstanceId: "STRING_VALUE", // required * ContactId: "STRING_VALUE", // required * ReferenceTypes: [ // ReferenceTypes // required * "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE" || "EMAIL_MESSAGE_PLAIN_TEXT" || "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED" || "EMAIL_MESSAGE_REDACTED", * ], * NextToken: "STRING_VALUE", * }; * const command = new ListContactReferencesCommand(input); * const response = await client.send(command); * // { // ListContactReferencesResponse * // ReferenceSummaryList: [ // ReferenceSummaryList * // { // ReferenceSummary Union: only one key present * // Url: { // UrlReference * // Name: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // Attachment: { // AttachmentReference * // Name: "STRING_VALUE", * // Value: "STRING_VALUE", * // Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED", * // Arn: "STRING_VALUE", * // }, * // EmailMessage: { // EmailMessageReference * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // }, * // EmailMessageRedacted: { * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // }, * // EmailMessagePlainText: { * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // }, * // EmailMessagePlainTextRedacted: { * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // }, * // String: { // StringReference * // Name: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // Number: { // NumberReference * // Name: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // Date: { // DateReference * // Name: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // Email: { // EmailReference * // Name: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListContactReferencesCommandInput - {@link ListContactReferencesCommandInput} * @returns {@link ListContactReferencesCommandOutput} * @see {@link ListContactReferencesCommandInput} for command's `input` shape. * @see {@link ListContactReferencesCommandOutput} for command's `response` shape. * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape. * * @throws {@link InternalServiceException} (server fault) *

Request processing failed because of an error or failure with the service.

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

One or more of the specified parameters are not valid.

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

The request is not valid.

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

The specified resource was not found.

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

The throttling limit has been exceeded.

* * @throws {@link ConnectServiceException} *

Base exception class for all service exceptions from Connect service.

* * * @public */ export declare class ListContactReferencesCommand extends ListContactReferencesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListContactReferencesRequest; output: ListContactReferencesResponse; }; sdk: { input: ListContactReferencesCommandInput; output: ListContactReferencesCommandOutput; }; }; }