Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-connectparticipant

Package Overview
Dependencies
Maintainers
0
Versions
428
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-connectparticipant - npm Package Compare versions

Comparing version 3.714.0 to 3.715.0

dist-es/commands/CancelParticipantAuthenticationCommand.js

181

dist-cjs/index.js

@@ -26,2 +26,3 @@ "use strict";

ArtifactStatus: () => ArtifactStatus,
CancelParticipantAuthenticationCommand: () => CancelParticipantAuthenticationCommand,
ChatItemType: () => ChatItemType,

@@ -39,2 +40,3 @@ CompleteAttachmentUploadCommand: () => CompleteAttachmentUploadCommand,

GetAttachmentCommand: () => GetAttachmentCommand,
GetAuthenticationUrlCommand: () => GetAuthenticationUrlCommand,
GetTranscriptCommand: () => GetTranscriptCommand,

@@ -201,3 +203,3 @@ InternalServerException: () => InternalServerException,

// src/commands/CompleteAttachmentUploadCommand.ts
// src/commands/CancelParticipantAuthenticationCommand.ts

@@ -247,3 +249,3 @@ var import_middleware_serde = require("@smithy/middleware-serde");

var AccessDeniedException = _AccessDeniedException;
var _ConflictException = class _ConflictException extends ConnectParticipantServiceException {
var _InternalServerException = class _InternalServerException extends ConnectParticipantServiceException {
/**

@@ -254,15 +256,15 @@ * @internal

super({
name: "ConflictException",
$fault: "client",
name: "InternalServerException",
$fault: "server",
...opts
});
this.name = "ConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, _ConflictException.prototype);
this.name = "InternalServerException";
this.$fault = "server";
Object.setPrototypeOf(this, _InternalServerException.prototype);
this.Message = opts.Message;
}
};
__name(_ConflictException, "ConflictException");
var ConflictException = _ConflictException;
var _InternalServerException = class _InternalServerException extends ConnectParticipantServiceException {
__name(_InternalServerException, "InternalServerException");
var InternalServerException = _InternalServerException;
var _ThrottlingException = class _ThrottlingException extends ConnectParticipantServiceException {
/**

@@ -273,15 +275,15 @@ * @internal

super({
name: "InternalServerException",
$fault: "server",
name: "ThrottlingException",
$fault: "client",
...opts
});
this.name = "InternalServerException";
this.$fault = "server";
Object.setPrototypeOf(this, _InternalServerException.prototype);
this.name = "ThrottlingException";
this.$fault = "client";
Object.setPrototypeOf(this, _ThrottlingException.prototype);
this.Message = opts.Message;
}
};
__name(_InternalServerException, "InternalServerException");
var InternalServerException = _InternalServerException;
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectParticipantServiceException {
__name(_ThrottlingException, "ThrottlingException");
var ThrottlingException = _ThrottlingException;
var _ValidationException = class _ValidationException extends ConnectParticipantServiceException {
/**

@@ -292,15 +294,15 @@ * @internal

super({
name: "ServiceQuotaExceededException",
name: "ValidationException",
$fault: "client",
...opts
});
this.name = "ServiceQuotaExceededException";
this.name = "ValidationException";
this.$fault = "client";
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
Object.setPrototypeOf(this, _ValidationException.prototype);
this.Message = opts.Message;
}
};
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
var _ThrottlingException = class _ThrottlingException extends ConnectParticipantServiceException {
__name(_ValidationException, "ValidationException");
var ValidationException = _ValidationException;
var _ConflictException = class _ConflictException extends ConnectParticipantServiceException {
/**

@@ -311,15 +313,15 @@ * @internal

super({
name: "ThrottlingException",
name: "ConflictException",
$fault: "client",
...opts
});
this.name = "ThrottlingException";
this.name = "ConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, _ThrottlingException.prototype);
Object.setPrototypeOf(this, _ConflictException.prototype);
this.Message = opts.Message;
}
};
__name(_ThrottlingException, "ThrottlingException");
var ThrottlingException = _ThrottlingException;
var _ValidationException = class _ValidationException extends ConnectParticipantServiceException {
__name(_ConflictException, "ConflictException");
var ConflictException = _ConflictException;
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectParticipantServiceException {
/**

@@ -330,14 +332,14 @@ * @internal

super({
name: "ValidationException",
name: "ServiceQuotaExceededException",
$fault: "client",
...opts
});
this.name = "ValidationException";
this.name = "ServiceQuotaExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, _ValidationException.prototype);
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
this.Message = opts.Message;
}
};
__name(_ValidationException, "ValidationException");
var ValidationException = _ValidationException;
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
var ConnectionType = {

@@ -428,2 +430,18 @@ CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",

// src/protocols/Aws_restJson1.ts
var se_CancelParticipantAuthenticationCommand = /* @__PURE__ */ __name(async (input, context) => {
const b = (0, import_core.requestBuilder)(input, context);
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
"content-type": "application/json",
[_xab]: input[_CT]
});
b.bp("/participant/cancel-authentication");
let body;
body = JSON.stringify(
(0, import_smithy_client.take)(input, {
SessionId: []
})
);
b.m("POST").h(headers).b(body);
return b.build();
}, "se_CancelParticipantAuthenticationCommand");
var se_CompleteAttachmentUploadCommand = /* @__PURE__ */ __name(async (input, context) => {

@@ -500,3 +518,4 @@ const b = (0, import_core.requestBuilder)(input, context);

(0, import_smithy_client.take)(input, {
AttachmentId: []
AttachmentId: [],
UrlExpiryInSeconds: []
})

@@ -507,2 +526,19 @@ );

}, "se_GetAttachmentCommand");
var se_GetAuthenticationUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
const b = (0, import_core.requestBuilder)(input, context);
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
"content-type": "application/json",
[_xab]: input[_CT]
});
b.bp("/participant/authentication-url");
let body;
body = JSON.stringify(
(0, import_smithy_client.take)(input, {
RedirectUri: [],
SessionId: []
})
);
b.m("POST").h(headers).b(body);
return b.build();
}, "se_GetAuthenticationUrlCommand");
var se_GetTranscriptCommand = /* @__PURE__ */ __name(async (input, context) => {

@@ -584,2 +620,12 @@ const b = (0, import_core.requestBuilder)(input, context);

}, "se_StartAttachmentUploadCommand");
var de_CancelParticipantAuthenticationCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_CommandError(output, context);
}
const contents = (0, import_smithy_client.map)({
$metadata: deserializeMetadata(output)
});
await (0, import_smithy_client.collectBody)(output.body, context);
return contents;
}, "de_CancelParticipantAuthenticationCommand");
var de_CompleteAttachmentUploadCommand = /* @__PURE__ */ __name(async (output, context) => {

@@ -643,2 +689,3 @@ if (output.statusCode !== 200 && output.statusCode >= 300) {

const doc = (0, import_smithy_client.take)(data, {
AttachmentSizeInBytes: import_smithy_client.expectLong,
Url: import_smithy_client.expectString,

@@ -650,2 +697,16 @@ UrlExpiry: import_smithy_client.expectString

}, "de_GetAttachmentCommand");
var de_GetAuthenticationUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_CommandError(output, context);
}
const contents = (0, import_smithy_client.map)({
$metadata: deserializeMetadata(output)
});
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
const doc = (0, import_smithy_client.take)(data, {
AuthenticationUrl: import_smithy_client.expectString
});
Object.assign(contents, doc);
return contents;
}, "de_GetAuthenticationUrlCommand");
var de_GetTranscriptCommand = /* @__PURE__ */ __name(async (output, context) => {

@@ -722,11 +783,5 @@ if (output.statusCode !== 200 && output.statusCode >= 300) {

throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "ConflictException":
case "com.amazonaws.connectparticipant#ConflictException":
throw await de_ConflictExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.connectparticipant#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":

@@ -738,2 +793,8 @@ case "com.amazonaws.connectparticipant#ThrottlingException":

throw await de_ValidationExceptionRes(parsedOutput, context);
case "ConflictException":
case "com.amazonaws.connectparticipant#ConflictException":
throw await de_ConflictExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":

@@ -855,3 +916,17 @@ case "com.amazonaws.connectparticipant#ResourceNotFoundException":

// src/commands/CancelParticipantAuthenticationCommand.ts
var _CancelParticipantAuthenticationCommand = class _CancelParticipantAuthenticationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
return [
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
];
}).s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {}).n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand").f(void 0, void 0).ser(se_CancelParticipantAuthenticationCommand).de(de_CancelParticipantAuthenticationCommand).build() {
};
__name(_CancelParticipantAuthenticationCommand, "CancelParticipantAuthenticationCommand");
var CancelParticipantAuthenticationCommand = _CancelParticipantAuthenticationCommand;
// src/commands/CompleteAttachmentUploadCommand.ts
var _CompleteAttachmentUploadCommand = class _CompleteAttachmentUploadCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {

@@ -923,2 +998,16 @@ return [

// src/commands/GetAuthenticationUrlCommand.ts
var _GetAuthenticationUrlCommand = class _GetAuthenticationUrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
return [
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
];
}).s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {}).n("ConnectParticipantClient", "GetAuthenticationUrlCommand").f(void 0, void 0).ser(se_GetAuthenticationUrlCommand).de(de_GetAuthenticationUrlCommand).build() {
};
__name(_GetAuthenticationUrlCommand, "GetAuthenticationUrlCommand");
var GetAuthenticationUrlCommand = _GetAuthenticationUrlCommand;
// src/commands/GetTranscriptCommand.ts

@@ -982,2 +1071,3 @@

var commands = {
CancelParticipantAuthenticationCommand,
CompleteAttachmentUploadCommand,

@@ -988,2 +1078,3 @@ CreateParticipantConnectionCommand,

GetAttachmentCommand,
GetAuthenticationUrlCommand,
GetTranscriptCommand,

@@ -1011,2 +1102,3 @@ SendEventCommand,

$Command,
CancelParticipantAuthenticationCommand,
CompleteAttachmentUploadCommand,

@@ -1017,2 +1109,3 @@ CreateParticipantConnectionCommand,

GetAttachmentCommand,
GetAuthenticationUrlCommand,
GetTranscriptCommand,

@@ -1024,7 +1117,7 @@ SendEventCommand,

AccessDeniedException,
ConflictException,
InternalServerException,
ServiceQuotaExceededException,
ThrottlingException,
ValidationException,
ConflictException,
ServiceQuotaExceededException,
ConnectionType,

@@ -1031,0 +1124,0 @@ ResourceType,

@@ -0,1 +1,2 @@

export * from "./CancelParticipantAuthenticationCommand";
export * from "./CompleteAttachmentUploadCommand";

@@ -6,2 +7,3 @@ export * from "./CreateParticipantConnectionCommand";

export * from "./GetAttachmentCommand";
export * from "./GetAuthenticationUrlCommand";
export * from "./GetTranscriptCommand";

@@ -8,0 +10,0 @@ export * from "./SendEventCommand";

import { createAggregatedClient } from "@smithy/smithy-client";
import { CancelParticipantAuthenticationCommand, } from "./commands/CancelParticipantAuthenticationCommand";
import { CompleteAttachmentUploadCommand, } from "./commands/CompleteAttachmentUploadCommand";

@@ -7,2 +8,3 @@ import { CreateParticipantConnectionCommand, } from "./commands/CreateParticipantConnectionCommand";

import { GetAttachmentCommand, } from "./commands/GetAttachmentCommand";
import { GetAuthenticationUrlCommand, } from "./commands/GetAuthenticationUrlCommand";
import { GetTranscriptCommand, } from "./commands/GetTranscriptCommand";

@@ -14,2 +16,3 @@ import { SendEventCommand } from "./commands/SendEventCommand";

const commands = {
CancelParticipantAuthenticationCommand,
CompleteAttachmentUploadCommand,

@@ -20,2 +23,3 @@ CreateParticipantConnectionCommand,

GetAttachmentCommand,
GetAuthenticationUrlCommand,
GetTranscriptCommand,

@@ -22,0 +26,0 @@ SendEventCommand,

@@ -16,64 +16,64 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";

}
export class ConflictException extends __BaseException {
export class InternalServerException extends __BaseException {
constructor(opts) {
super({
name: "ConflictException",
$fault: "client",
name: "InternalServerException",
$fault: "server",
...opts,
});
this.name = "ConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, ConflictException.prototype);
this.name = "InternalServerException";
this.$fault = "server";
Object.setPrototypeOf(this, InternalServerException.prototype);
this.Message = opts.Message;
}
}
export class InternalServerException extends __BaseException {
export class ThrottlingException extends __BaseException {
constructor(opts) {
super({
name: "InternalServerException",
$fault: "server",
name: "ThrottlingException",
$fault: "client",
...opts,
});
this.name = "InternalServerException";
this.$fault = "server";
Object.setPrototypeOf(this, InternalServerException.prototype);
this.name = "ThrottlingException";
this.$fault = "client";
Object.setPrototypeOf(this, ThrottlingException.prototype);
this.Message = opts.Message;
}
}
export class ServiceQuotaExceededException extends __BaseException {
export class ValidationException extends __BaseException {
constructor(opts) {
super({
name: "ServiceQuotaExceededException",
name: "ValidationException",
$fault: "client",
...opts,
});
this.name = "ServiceQuotaExceededException";
this.name = "ValidationException";
this.$fault = "client";
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
Object.setPrototypeOf(this, ValidationException.prototype);
this.Message = opts.Message;
}
}
export class ThrottlingException extends __BaseException {
export class ConflictException extends __BaseException {
constructor(opts) {
super({
name: "ThrottlingException",
name: "ConflictException",
$fault: "client",
...opts,
});
this.name = "ThrottlingException";
this.name = "ConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, ThrottlingException.prototype);
Object.setPrototypeOf(this, ConflictException.prototype);
this.Message = opts.Message;
}
}
export class ValidationException extends __BaseException {
export class ServiceQuotaExceededException extends __BaseException {
constructor(opts) {
super({
name: "ValidationException",
name: "ServiceQuotaExceededException",
$fault: "client",
...opts,
});
this.name = "ValidationException";
this.name = "ServiceQuotaExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, ValidationException.prototype);
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
this.Message = opts.Message;

@@ -80,0 +80,0 @@ }

import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
import { requestBuilder as rb } from "@smithy/core";
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client";
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client";
import { v4 as generateIdempotencyToken } from "uuid";
import { ConnectParticipantServiceException as __BaseException } from "../models/ConnectParticipantServiceException";
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
export const se_CancelParticipantAuthenticationCommand = async (input, context) => {
const b = rb(input, context);
const headers = map({}, isSerializableHeaderValue, {
"content-type": "application/json",
[_xab]: input[_CT],
});
b.bp("/participant/cancel-authentication");
let body;
body = JSON.stringify(take(input, {
SessionId: [],
}));
b.m("POST").h(headers).b(body);
return b.build();
};
export const se_CompleteAttachmentUploadCommand = async (input, context) => {

@@ -72,2 +86,3 @@ const b = rb(input, context);

AttachmentId: [],
UrlExpiryInSeconds: [],
}));

@@ -77,2 +92,17 @@ b.m("POST").h(headers).b(body);

};
export const se_GetAuthenticationUrlCommand = async (input, context) => {
const b = rb(input, context);
const headers = map({}, isSerializableHeaderValue, {
"content-type": "application/json",
[_xab]: input[_CT],
});
b.bp("/participant/authentication-url");
let body;
body = JSON.stringify(take(input, {
RedirectUri: [],
SessionId: [],
}));
b.m("POST").h(headers).b(body);
return b.build();
};
export const se_GetTranscriptCommand = async (input, context) => {

@@ -146,2 +176,12 @@ const b = rb(input, context);

};
export const de_CancelParticipantAuthenticationCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_CommandError(output, context);
}
const contents = map({
$metadata: deserializeMetadata(output),
});
await collectBody(output.body, context);
return contents;
};
export const de_CompleteAttachmentUploadCommand = async (output, context) => {

@@ -205,2 +245,3 @@ if (output.statusCode !== 200 && output.statusCode >= 300) {

const doc = take(data, {
AttachmentSizeInBytes: __expectLong,
Url: __expectString,

@@ -212,2 +253,16 @@ UrlExpiry: __expectString,

};
export const de_GetAuthenticationUrlCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_CommandError(output, context);
}
const contents = map({
$metadata: deserializeMetadata(output),
});
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
const doc = take(data, {
AuthenticationUrl: __expectString,
});
Object.assign(contents, doc);
return contents;
};
export const de_GetTranscriptCommand = async (output, context) => {

@@ -284,11 +339,5 @@ if (output.statusCode !== 200 && output.statusCode >= 300) {

throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "ConflictException":
case "com.amazonaws.connectparticipant#ConflictException":
throw await de_ConflictExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.connectparticipant#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":

@@ -300,2 +349,8 @@ case "com.amazonaws.connectparticipant#ThrottlingException":

throw await de_ValidationExceptionRes(parsedOutput, context);
case "ConflictException":
case "com.amazonaws.connectparticipant#ConflictException":
throw await de_ConflictExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":

@@ -302,0 +357,0 @@ case "com.amazonaws.connectparticipant#ResourceNotFoundException":

@@ -33,2 +33,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* with that identifier is already being uploaded.</p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* <note>

@@ -70,4 +71,4 @@ * <p>

* @throws {@link ConflictException} (client fault)
* <p>The requested operation conflicts with the current state of a service
* resource associated with the request. </p>
* <p>The requested operation conflicts with the current state of a service resource
* associated with the request. </p>
*

@@ -74,0 +75,0 @@ * @throws {@link InternalServerException} (server fault)

@@ -31,2 +31,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>Creates the participant's connection. </p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* <note>

@@ -33,0 +34,0 @@ * <p>

@@ -31,2 +31,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>Retrieves the view for the specified view token.</p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* @example

@@ -33,0 +34,0 @@ * Use a bare-bones client and the command you need to make an API call.

@@ -31,2 +31,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>Disconnects a participant. </p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* <note>

@@ -33,0 +34,0 @@ * <p>

@@ -32,2 +32,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* asynchronous API for use with active contacts.</p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* <note>

@@ -49,2 +50,3 @@ * <p>

* ConnectionToken: "STRING_VALUE", // required
* UrlExpiryInSeconds: Number("int"),
* };

@@ -56,2 +58,3 @@ * const command = new GetAttachmentCommand(input);

* // UrlExpiry: "STRING_VALUE",
* // AttachmentSizeInBytes: Number("long"), // required
* // };

@@ -58,0 +61,0 @@ *

@@ -32,6 +32,7 @@ import { Command as $Command } from "@smithy/smithy-client";

* information about accessing past chat contact transcripts for a persistent chat, see
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>. </p>
* <p>If you have a process that consumes events in the transcript of an chat that has ended, note that chat
* transcripts contain the following event content types if the event has occurred
* during the chat session:</p>
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>. </p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* <p>If you have a process that consumes events in the transcript of an chat that has
* ended, note that chat transcripts contain the following event content types if the event
* has occurred during the chat session:</p>
* <ul>

@@ -67,3 +68,3 @@ * <li>

* <code>ConnectionToken</code> is used for invoking this API instead of
* <code>ParticipantToken</code>.</p>
* <code>ParticipantToken</code>.</p>
* </note>

@@ -70,0 +71,0 @@ * <p>The Amazon Connect Participant Service APIs do not use <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4

@@ -0,1 +1,2 @@

export * from "./CancelParticipantAuthenticationCommand";
export * from "./CompleteAttachmentUploadCommand";

@@ -6,2 +7,3 @@ export * from "./CreateParticipantConnectionCommand";

export * from "./GetAttachmentCommand";
export * from "./GetAuthenticationUrlCommand";
export * from "./GetTranscriptCommand";

@@ -8,0 +10,0 @@ export * from "./SendEventCommand";

@@ -39,2 +39,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* is barged-in will result in a conflict exception.</p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* <note>

@@ -78,4 +79,4 @@ * <p>

* @throws {@link ConflictException} (client fault)
* <p>The requested operation conflicts with the current state of a service
* resource associated with the request. </p>
* <p>The requested operation conflicts with the current state of a service resource
* associated with the request. </p>
*

@@ -82,0 +83,0 @@ * @throws {@link InternalServerException} (server fault)

@@ -31,2 +31,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>Sends a message.</p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* <note>

@@ -33,0 +34,0 @@ * <p>

@@ -32,2 +32,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* S3.</p>
* <p>For security recommendations, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>.</p>
* <note>

@@ -34,0 +35,0 @@ * <p>

import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
import { CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput } from "./commands/CancelParticipantAuthenticationCommand";
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";

@@ -7,2 +8,3 @@ import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "./commands/CreateParticipantConnectionCommand";

import { GetAttachmentCommandInput, GetAttachmentCommandOutput } from "./commands/GetAttachmentCommand";
import { GetAuthenticationUrlCommandInput, GetAuthenticationUrlCommandOutput } from "./commands/GetAuthenticationUrlCommand";
import { GetTranscriptCommandInput, GetTranscriptCommandOutput } from "./commands/GetTranscriptCommand";

@@ -15,2 +17,8 @@ import { SendEventCommandInput, SendEventCommandOutput } from "./commands/SendEventCommand";

/**
* @see {@link CancelParticipantAuthenticationCommand}
*/
cancelParticipantAuthentication(args: CancelParticipantAuthenticationCommandInput, options?: __HttpHandlerOptions): Promise<CancelParticipantAuthenticationCommandOutput>;
cancelParticipantAuthentication(args: CancelParticipantAuthenticationCommandInput, cb: (err: any, data?: CancelParticipantAuthenticationCommandOutput) => void): void;
cancelParticipantAuthentication(args: CancelParticipantAuthenticationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelParticipantAuthenticationCommandOutput) => void): void;
/**
* @see {@link CompleteAttachmentUploadCommand}

@@ -46,2 +54,8 @@ */

/**
* @see {@link GetAuthenticationUrlCommand}
*/
getAuthenticationUrl(args: GetAuthenticationUrlCommandInput, options?: __HttpHandlerOptions): Promise<GetAuthenticationUrlCommandOutput>;
getAuthenticationUrl(args: GetAuthenticationUrlCommandInput, cb: (err: any, data?: GetAuthenticationUrlCommandOutput) => void): void;
getAuthenticationUrl(args: GetAuthenticationUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAuthenticationUrlCommandOutput) => void): void;
/**
* @see {@link GetTranscriptCommand}

@@ -72,3 +86,15 @@ */

/**
* <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Participant_Service.html">Participant Service actions</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Participant_Service.html">Participant Service data types</a>
* </p>
* </li>
* </ul>
* <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
* enables companies of any size to deliver superior customer service at a lower cost.

@@ -75,0 +101,0 @@ * Amazon Connect communications capabilities make it easy for companies to deliver

@@ -10,2 +10,3 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";

import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
import { CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput } from "./commands/CancelParticipantAuthenticationCommand";
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";

@@ -16,2 +17,3 @@ import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "./commands/CreateParticipantConnectionCommand";

import { GetAttachmentCommandInput, GetAttachmentCommandOutput } from "./commands/GetAttachmentCommand";
import { GetAuthenticationUrlCommandInput, GetAuthenticationUrlCommandOutput } from "./commands/GetAuthenticationUrlCommand";
import { GetTranscriptCommandInput, GetTranscriptCommandOutput } from "./commands/GetTranscriptCommand";

@@ -27,7 +29,7 @@ import { SendEventCommandInput, SendEventCommandOutput } from "./commands/SendEventCommand";

*/
export type ServiceInputTypes = CompleteAttachmentUploadCommandInput | CreateParticipantConnectionCommandInput | DescribeViewCommandInput | DisconnectParticipantCommandInput | GetAttachmentCommandInput | GetTranscriptCommandInput | SendEventCommandInput | SendMessageCommandInput | StartAttachmentUploadCommandInput;
export type ServiceInputTypes = CancelParticipantAuthenticationCommandInput | CompleteAttachmentUploadCommandInput | CreateParticipantConnectionCommandInput | DescribeViewCommandInput | DisconnectParticipantCommandInput | GetAttachmentCommandInput | GetAuthenticationUrlCommandInput | GetTranscriptCommandInput | SendEventCommandInput | SendMessageCommandInput | StartAttachmentUploadCommandInput;
/**
* @public
*/
export type ServiceOutputTypes = CompleteAttachmentUploadCommandOutput | CreateParticipantConnectionCommandOutput | DescribeViewCommandOutput | DisconnectParticipantCommandOutput | GetAttachmentCommandOutput | GetTranscriptCommandOutput | SendEventCommandOutput | SendMessageCommandOutput | StartAttachmentUploadCommandOutput;
export type ServiceOutputTypes = CancelParticipantAuthenticationCommandOutput | CompleteAttachmentUploadCommandOutput | CreateParticipantConnectionCommandOutput | DescribeViewCommandOutput | DisconnectParticipantCommandOutput | GetAttachmentCommandOutput | GetAuthenticationUrlCommandOutput | GetTranscriptCommandOutput | SendEventCommandOutput | SendMessageCommandOutput | StartAttachmentUploadCommandOutput;
/**

@@ -184,3 +186,15 @@ * @public

/**
* <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Participant_Service.html">Participant Service actions</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Participant_Service.html">Participant Service data types</a>
* </p>
* </li>
* </ul>
* <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
* enables companies of any size to deliver superior customer service at a lower cost.

@@ -187,0 +201,0 @@ * Amazon Connect communications capabilities make it easy for companies to deliver

/**
* <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Participant_Service.html">Participant Service actions</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Participant_Service.html">Participant Service data types</a>
* </p>
* </li>
* </ul>
* <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
* enables companies of any size to deliver superior customer service at a lower cost.

@@ -4,0 +16,0 @@ * Amazon Connect communications capabilities make it easy for companies to deliver

@@ -19,17 +19,10 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";

*/
export interface CompleteAttachmentUploadRequest {
export interface CancelParticipantAuthenticationRequest {
/**
* <p>A list of unique identifiers for the attachments.</p>
* <p>The <code>sessionId</code> provided in the <code>authenticationInitiated</code>
* event.</p>
* @public
*/
AttachmentIds: string[] | undefined;
SessionId: string | undefined;
/**
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
* request. If not provided, the Amazon Web Services
* SDK populates this field. For more information about idempotency, see
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
* @public
*/
ClientToken?: string | undefined;
/**
* <p>The authentication token associated with the participant's connection.</p>

@@ -43,12 +36,11 @@ * @public

*/
export interface CompleteAttachmentUploadResponse {
export interface CancelParticipantAuthenticationResponse {
}
/**
* <p>The requested operation conflicts with the current state of a service
* resource associated with the request. </p>
* <p>This exception occurs when there is an internal failure in the Amazon Connect service.</p>
* @public
*/
export declare class ConflictException extends __BaseException {
readonly name: "ConflictException";
readonly $fault: "client";
export declare class InternalServerException extends __BaseException {
readonly name: "InternalServerException";
readonly $fault: "server";
Message: string | undefined;

@@ -58,11 +50,11 @@ /**

*/
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
}
/**
* <p>This exception occurs when there is an internal failure in the Amazon Connect service.</p>
* <p>The request was denied due to request throttling.</p>
* @public
*/
export declare class InternalServerException extends __BaseException {
readonly name: "InternalServerException";
readonly $fault: "server";
export declare class ThrottlingException extends __BaseException {
readonly name: "ThrottlingException";
readonly $fault: "client";
Message: string | undefined;

@@ -72,10 +64,10 @@ /**

*/
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
}
/**
* <p>The number of attachments per contact exceeds the quota.</p>
* <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
* @public
*/
export declare class ServiceQuotaExceededException extends __BaseException {
readonly name: "ServiceQuotaExceededException";
export declare class ValidationException extends __BaseException {
readonly name: "ValidationException";
readonly $fault: "client";

@@ -86,10 +78,39 @@ Message: string | undefined;

*/
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
}
/**
* <p>The request was denied due to request throttling.</p>
* @public
*/
export declare class ThrottlingException extends __BaseException {
readonly name: "ThrottlingException";
export interface CompleteAttachmentUploadRequest {
/**
* <p>A list of unique identifiers for the attachments.</p>
* @public
*/
AttachmentIds: string[] | undefined;
/**
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
* request. If not provided, the Amazon Web Services
* SDK populates this field. For more information about idempotency, see
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
* @public
*/
ClientToken?: string | undefined;
/**
* <p>The authentication token associated with the participant's connection.</p>
* @public
*/
ConnectionToken: string | undefined;
}
/**
* @public
*/
export interface CompleteAttachmentUploadResponse {
}
/**
* <p>The requested operation conflicts with the current state of a service resource
* associated with the request. </p>
* @public
*/
export declare class ConflictException extends __BaseException {
readonly name: "ConflictException";
readonly $fault: "client";

@@ -100,10 +121,10 @@ Message: string | undefined;

*/
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
}
/**
* <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
* <p>The number of attachments per contact exceeds the quota.</p>
* @public
*/
export declare class ValidationException extends __BaseException {
readonly name: "ValidationException";
export declare class ServiceQuotaExceededException extends __BaseException {
readonly name: "ServiceQuotaExceededException";
readonly $fault: "client";

@@ -114,3 +135,3 @@ Message: string | undefined;

*/
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
}

@@ -368,2 +389,8 @@ /**

ConnectionToken: string | undefined;
/**
* <p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
* yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>
* @public
*/
UrlExpiryInSeconds?: number | undefined;
}

@@ -385,5 +412,42 @@ /**

UrlExpiry?: string | undefined;
/**
* <p>The size of the attachment in bytes.</p>
* @public
*/
AttachmentSizeInBytes: number | undefined;
}
/**
* @public
*/
export interface GetAuthenticationUrlRequest {
/**
* <p>The sessionId provided in the authenticationInitiated event.</p>
* @public
*/
SessionId: string | undefined;
/**
* <p>The URL where the customer will be redirected after Amazon Cognito authorizes the
* user.</p>
* @public
*/
RedirectUri: string | undefined;
/**
* <p>The authentication token associated with the participant's connection.</p>
* @public
*/
ConnectionToken: string | undefined;
}
/**
* @public
*/
export interface GetAuthenticationUrlResponse {
/**
* <p>The URL where the customer will sign in to the identity provider. This URL contains
* the authorize endpoint for the Cognito UserPool used in the authentication.</p>
* @public
*/
AuthenticationUrl?: string | undefined;
}
/**
* @public
* @enum

@@ -874,3 +938,3 @@ */

/**
* <p>Fields to be used while uploading the attachment.</p>
* <p>The headers to be provided while uploading the file to the URL.</p>
* @public

@@ -877,0 +941,0 @@ */

import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
import { SerdeContext as __SerdeContext } from "@smithy/types";
import { CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput } from "../commands/CancelParticipantAuthenticationCommand";
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "../commands/CompleteAttachmentUploadCommand";

@@ -8,2 +9,3 @@ import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "../commands/CreateParticipantConnectionCommand";

import { GetAttachmentCommandInput, GetAttachmentCommandOutput } from "../commands/GetAttachmentCommand";
import { GetAuthenticationUrlCommandInput, GetAuthenticationUrlCommandOutput } from "../commands/GetAuthenticationUrlCommand";
import { GetTranscriptCommandInput, GetTranscriptCommandOutput } from "../commands/GetTranscriptCommand";

@@ -14,2 +16,6 @@ import { SendEventCommandInput, SendEventCommandOutput } from "../commands/SendEventCommand";

/**
* serializeAws_restJson1CancelParticipantAuthenticationCommand
*/
export declare const se_CancelParticipantAuthenticationCommand: (input: CancelParticipantAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
/**
* serializeAws_restJson1CompleteAttachmentUploadCommand

@@ -35,2 +41,6 @@ */

/**
* serializeAws_restJson1GetAuthenticationUrlCommand
*/
export declare const se_GetAuthenticationUrlCommand: (input: GetAuthenticationUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
/**
* serializeAws_restJson1GetTranscriptCommand

@@ -52,2 +62,6 @@ */

/**
* deserializeAws_restJson1CancelParticipantAuthenticationCommand
*/
export declare const de_CancelParticipantAuthenticationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelParticipantAuthenticationCommandOutput>;
/**
* deserializeAws_restJson1CompleteAttachmentUploadCommand

@@ -73,2 +87,6 @@ */

/**
* deserializeAws_restJson1GetAuthenticationUrlCommand
*/
export declare const de_GetAuthenticationUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAuthenticationUrlCommandOutput>;
/**
* deserializeAws_restJson1GetTranscriptCommand

@@ -75,0 +93,0 @@ */

@@ -0,1 +1,2 @@

export * from "./CancelParticipantAuthenticationCommand";
export * from "./CompleteAttachmentUploadCommand";

@@ -6,2 +7,3 @@ export * from "./CreateParticipantConnectionCommand";

export * from "./GetAttachmentCommand";
export * from "./GetAuthenticationUrlCommand";
export * from "./GetTranscriptCommand";

@@ -8,0 +10,0 @@ export * from "./SendEventCommand";

import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
import {
CancelParticipantAuthenticationCommandInput,
CancelParticipantAuthenticationCommandOutput,
} from "./commands/CancelParticipantAuthenticationCommand";
import {
CompleteAttachmentUploadCommandInput,

@@ -23,2 +27,6 @@ CompleteAttachmentUploadCommandOutput,

import {
GetAuthenticationUrlCommandInput,
GetAuthenticationUrlCommandOutput,
} from "./commands/GetAuthenticationUrlCommand";
import {
GetTranscriptCommandInput,

@@ -41,2 +49,15 @@ GetTranscriptCommandOutput,

export interface ConnectParticipant {
cancelParticipantAuthentication(
args: CancelParticipantAuthenticationCommandInput,
options?: __HttpHandlerOptions
): Promise<CancelParticipantAuthenticationCommandOutput>;
cancelParticipantAuthentication(
args: CancelParticipantAuthenticationCommandInput,
cb: (err: any, data?: CancelParticipantAuthenticationCommandOutput) => void
): void;
cancelParticipantAuthentication(
args: CancelParticipantAuthenticationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CancelParticipantAuthenticationCommandOutput) => void
): void;
completeAttachmentUpload(

@@ -107,2 +128,15 @@ args: CompleteAttachmentUploadCommandInput,

): void;
getAuthenticationUrl(
args: GetAuthenticationUrlCommandInput,
options?: __HttpHandlerOptions
): Promise<GetAuthenticationUrlCommandOutput>;
getAuthenticationUrl(
args: GetAuthenticationUrlCommandInput,
cb: (err: any, data?: GetAuthenticationUrlCommandOutput) => void
): void;
getAuthenticationUrl(
args: GetAuthenticationUrlCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetAuthenticationUrlCommandOutput) => void
): void;
getTranscript(

@@ -109,0 +143,0 @@ args: GetTranscriptCommandInput,

@@ -49,2 +49,6 @@ import {

import {
CancelParticipantAuthenticationCommandInput,
CancelParticipantAuthenticationCommandOutput,
} from "./commands/CancelParticipantAuthenticationCommand";
import {
CompleteAttachmentUploadCommandInput,

@@ -70,2 +74,6 @@ CompleteAttachmentUploadCommandOutput,

import {
GetAuthenticationUrlCommandInput,
GetAuthenticationUrlCommandOutput,
} from "./commands/GetAuthenticationUrlCommand";
import {
GetTranscriptCommandInput,

@@ -94,2 +102,3 @@ GetTranscriptCommandOutput,

export type ServiceInputTypes =
| CancelParticipantAuthenticationCommandInput
| CompleteAttachmentUploadCommandInput

@@ -100,2 +109,3 @@ | CreateParticipantConnectionCommandInput

| GetAttachmentCommandInput
| GetAuthenticationUrlCommandInput
| GetTranscriptCommandInput

@@ -106,2 +116,3 @@ | SendEventCommandInput

export type ServiceOutputTypes =
| CancelParticipantAuthenticationCommandOutput
| CompleteAttachmentUploadCommandOutput

@@ -112,2 +123,3 @@ | CreateParticipantConnectionCommandOutput

| GetAttachmentCommandOutput
| GetAuthenticationUrlCommandOutput
| GetTranscriptCommandOutput

@@ -114,0 +126,0 @@ | SendEventCommandOutput

@@ -11,14 +11,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";

}
export interface CompleteAttachmentUploadRequest {
AttachmentIds: string[] | undefined;
ClientToken?: string | undefined;
export interface CancelParticipantAuthenticationRequest {
SessionId: string | undefined;
ConnectionToken: string | undefined;
}
export interface CompleteAttachmentUploadResponse {}
export declare class ConflictException extends __BaseException {
readonly name: "ConflictException";
readonly $fault: "client";
Message: string | undefined;
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
}
export interface CancelParticipantAuthenticationResponse {}
export declare class InternalServerException extends __BaseException {

@@ -32,10 +25,2 @@ readonly name: "InternalServerException";

}
export declare class ServiceQuotaExceededException extends __BaseException {
readonly name: "ServiceQuotaExceededException";
readonly $fault: "client";
Message: string | undefined;
constructor(
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
);
}
export declare class ThrottlingException extends __BaseException {

@@ -57,2 +42,22 @@ readonly name: "ThrottlingException";

}
export interface CompleteAttachmentUploadRequest {
AttachmentIds: string[] | undefined;
ClientToken?: string | undefined;
ConnectionToken: string | undefined;
}
export interface CompleteAttachmentUploadResponse {}
export declare class ConflictException extends __BaseException {
readonly name: "ConflictException";
readonly $fault: "client";
Message: string | undefined;
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
}
export declare class ServiceQuotaExceededException extends __BaseException {
readonly name: "ServiceQuotaExceededException";
readonly $fault: "client";
Message: string | undefined;
constructor(
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
);
}
export declare const ConnectionType: {

@@ -129,2 +134,3 @@ readonly CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS";

ConnectionToken: string | undefined;
UrlExpiryInSeconds?: number | undefined;
}

@@ -134,3 +140,12 @@ export interface GetAttachmentResponse {

UrlExpiry?: string | undefined;
AttachmentSizeInBytes: number | undefined;
}
export interface GetAuthenticationUrlRequest {
SessionId: string | undefined;
RedirectUri: string | undefined;
ConnectionToken: string | undefined;
}
export interface GetAuthenticationUrlResponse {
AuthenticationUrl?: string | undefined;
}
export declare const ScanDirection: {

@@ -137,0 +152,0 @@ readonly BACKWARD: "BACKWARD";

@@ -7,2 +7,6 @@ import {

import {
CancelParticipantAuthenticationCommandInput,
CancelParticipantAuthenticationCommandOutput,
} from "../commands/CancelParticipantAuthenticationCommand";
import {
CompleteAttachmentUploadCommandInput,

@@ -28,2 +32,6 @@ CompleteAttachmentUploadCommandOutput,

import {
GetAuthenticationUrlCommandInput,
GetAuthenticationUrlCommandOutput,
} from "../commands/GetAuthenticationUrlCommand";
import {
GetTranscriptCommandInput,

@@ -44,2 +52,6 @@ GetTranscriptCommandOutput,

} from "../commands/StartAttachmentUploadCommand";
export declare const se_CancelParticipantAuthenticationCommand: (
input: CancelParticipantAuthenticationCommandInput,
context: __SerdeContext
) => Promise<__HttpRequest>;
export declare const se_CompleteAttachmentUploadCommand: (

@@ -65,2 +77,6 @@ input: CompleteAttachmentUploadCommandInput,

) => Promise<__HttpRequest>;
export declare const se_GetAuthenticationUrlCommand: (
input: GetAuthenticationUrlCommandInput,
context: __SerdeContext
) => Promise<__HttpRequest>;
export declare const se_GetTranscriptCommand: (

@@ -82,2 +98,6 @@ input: GetTranscriptCommandInput,

) => Promise<__HttpRequest>;
export declare const de_CancelParticipantAuthenticationCommand: (
output: __HttpResponse,
context: __SerdeContext
) => Promise<CancelParticipantAuthenticationCommandOutput>;
export declare const de_CompleteAttachmentUploadCommand: (

@@ -103,2 +123,6 @@ output: __HttpResponse,

) => Promise<GetAttachmentCommandOutput>;
export declare const de_GetAuthenticationUrlCommand: (
output: __HttpResponse,
context: __SerdeContext
) => Promise<GetAuthenticationUrlCommandOutput>;
export declare const de_GetTranscriptCommand: (

@@ -105,0 +129,0 @@ output: __HttpResponse,

{
"name": "@aws-sdk/client-connectparticipant",
"description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
"version": "3.714.0",
"version": "3.715.0",
"scripts": {

@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

@@ -9,2 +9,14 @@ <!-- generated file, do not edit directly -->

<ul>
<li>
<p>
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Participant_Service.html">Participant Service actions</a>
</p>
</li>
<li>
<p>
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Participant_Service.html">Participant Service data types</a>
</p>
</li>
</ul>
<p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that

@@ -217,2 +229,10 @@ enables companies of any size to deliver superior customer service at a lower cost.

<summary>
CancelParticipantAuthentication
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectparticipant/command/CancelParticipantAuthenticationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/CancelParticipantAuthenticationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/CancelParticipantAuthenticationCommandOutput/)
</details>
<details>
<summary>
CompleteAttachmentUpload

@@ -258,2 +278,10 @@ </summary>

<summary>
GetAuthenticationUrl
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectparticipant/command/GetAuthenticationUrlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/GetAuthenticationUrlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/GetAuthenticationUrlCommandOutput/)
</details>
<details>
<summary>
GetTranscript

@@ -260,0 +288,0 @@ </summary>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc