import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CompleteAttachmentUploadRequest, CompleteAttachmentUploadResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CompleteAttachmentUploadCommand}. */ export interface CompleteAttachmentUploadCommandInput extends CompleteAttachmentUploadRequest { } /** * @public * * The output of {@link CompleteAttachmentUploadCommand}. */ export interface CompleteAttachmentUploadCommandOutput extends CompleteAttachmentUploadResponse, __MetadataBearer { } declare const CompleteAttachmentUploadCommand_base: { new (input: CompleteAttachmentUploadCommandInput): import("@smithy/core/client").CommandImpl; new (input: CompleteAttachmentUploadCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Allows you to confirm that the attachment has been uploaded using the pre-signed URL * provided in StartAttachmentUpload API. A conflict exception is thrown when an attachment * with that identifier is already being uploaded.

*

For security recommendations, see Connect Customer Chat security best practices.

* *

* ConnectionToken is used for invoking this API instead of * ParticipantToken.

*
*

The Amazon Connect Participant Service APIs do not use Signature Version 4 * authentication.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectParticipantClient, CompleteAttachmentUploadCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import * // const { ConnectParticipantClient, CompleteAttachmentUploadCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import * // import type { ConnectParticipantClientConfig } from "@aws-sdk/client-connectparticipant"; * const config = {}; // type is ConnectParticipantClientConfig * const client = new ConnectParticipantClient(config); * const input = { // CompleteAttachmentUploadRequest * AttachmentIds: [ // AttachmentIdList // required * "STRING_VALUE", * ], * ClientToken: "STRING_VALUE", // required * ConnectionToken: "STRING_VALUE", // required * }; * const command = new CompleteAttachmentUploadCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param CompleteAttachmentUploadCommandInput - {@link CompleteAttachmentUploadCommandInput} * @returns {@link CompleteAttachmentUploadCommandOutput} * @see {@link CompleteAttachmentUploadCommandInput} for command's `input` shape. * @see {@link CompleteAttachmentUploadCommandOutput} for command's `response` shape. * @see {@link ConnectParticipantClientResolvedConfig | config} for ConnectParticipantClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The requested operation conflicts with the current state of a service resource * associated with the request.

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

This exception occurs when there is an internal failure in the Amazon Connect service.

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

The number of attachments per contact exceeds the quota.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by Amazon Connect.

* * @throws {@link ConnectParticipantServiceException} *

Base exception class for all service exceptions from ConnectParticipant service.

* * * @public */ export declare class CompleteAttachmentUploadCommand extends CompleteAttachmentUploadCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CompleteAttachmentUploadRequest; output: {}; }; sdk: { input: CompleteAttachmentUploadCommandInput; output: CompleteAttachmentUploadCommandOutput; }; }; }