5.0.0 • Published 5 years ago

@datafire/amazonaws_connectparticipant v5.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/amazonaws_connectparticipant

Client library for Amazon Connect Participant Service

Installation and Usage

npm install --save @datafire/amazonaws_connectparticipant
let amazonaws_connectparticipant = require('@datafire/amazonaws_connectparticipant').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

CreateParticipantConnection

amazonaws_connectparticipant.CreateParticipantConnection({
  "Type": []
}, context)

Input

  • input object
    • Type required array: Type of connection information required.

Output

DisconnectParticipant

amazonaws_connectparticipant.DisconnectParticipant({}, context)

Input

  • input object
    • ClientToken string: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Output

SendEvent

amazonaws_connectparticipant.SendEvent({
  "ContentType": ""
}, context)

Input

  • input object
    • ClientToken string: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
    • Content string: The content of the event to be sent (for example, message text). This is not yet supported.
    • ContentType required string: The content type of the request. Supported types are: application/vnd.amazonaws.connect.event.typing application/vnd.amazonaws.connect.event.connection.acknowledged

Output

SendMessage

amazonaws_connectparticipant.SendMessage({
  "ContentType": "",
  "Content": ""
}, context)

Input

  • input object
    • ClientToken string: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
    • Content required string: The content of the message.
    • ContentType required string: The type of the content. Supported types are text/plain.

Output

GetTranscript

amazonaws_connectparticipant.GetTranscript({}, context)

Input

  • input object
    • MaxResults string
    • NextToken string
    • ContactId string: The contactId from the current contact chain for which transcript is needed.
    • MaxResults integer: The maximum number of results to return in the page. Default: 10.
    • NextToken string: The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
    • ScanDirection string (values: FORWARD, BACKWARD): The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
    • SortOrder string (values: DESCENDING, ASCENDING): The sort order for the records. Default: DESCENDING.
    • StartPosition object: A filtering option for where to start. For example, if you sent 100 messages, start with message 50.
      • AbsoluteTime
      • Id
      • MostRecent

Output

Definitions

AccessDeniedException

ChatContent

  • ChatContent string

ChatContentType

  • ChatContentType string

ChatItemId

  • ChatItemId string

ChatItemType

  • ChatItemType string (values: MESSAGE, EVENT, CONNECTION_ACK)

ClientToken

  • ClientToken string

ConnectionCredentials

  • ConnectionCredentials object: Connection credentials.
    • ConnectionToken
    • Expiry

ConnectionType

  • ConnectionType string (values: WEBSOCKET, CONNECTION_CREDENTIALS)

ConnectionTypeList

ContactId

  • ContactId string

CreateParticipantConnectionRequest

  • CreateParticipantConnectionRequest object

CreateParticipantConnectionResponse

  • CreateParticipantConnectionResponse object
    • ConnectionCredentials
      • ConnectionToken
      • Expiry
    • Websocket
      • ConnectionExpiry
      • Url

DisconnectParticipantRequest

  • DisconnectParticipantRequest object
    • ClientToken

DisconnectParticipantResponse

  • DisconnectParticipantResponse object

DisplayName

  • DisplayName string

GetTranscriptRequest

  • GetTranscriptRequest object
    • ContactId
    • MaxResults
    • NextToken
    • ScanDirection
    • SortOrder
    • StartPosition
      • AbsoluteTime
      • Id
      • MostRecent

GetTranscriptResponse

  • GetTranscriptResponse object
    • InitialContactId
    • NextToken
    • Transcript

ISO8601Datetime

  • ISO8601Datetime string

Instant

  • Instant string

InternalServerException

Item

  • Item object: An item - message or event - that has been sent.
    • AbsoluteTime
    • Content
    • ContentType
    • DisplayName
    • Id
    • ParticipantId
    • ParticipantRole
    • Type

MaxResults

  • MaxResults integer

MostRecent

  • MostRecent integer

NextToken

  • NextToken string

ParticipantId

  • ParticipantId string

ParticipantRole

  • ParticipantRole string (values: AGENT, CUSTOMER, SYSTEM)

ParticipantToken

  • ParticipantToken string

PreSignedConnectionUrl

  • PreSignedConnectionUrl string

ScanDirection

  • ScanDirection string (values: FORWARD, BACKWARD)

SendEventRequest

  • SendEventRequest object
    • ClientToken
    • Content
    • ContentType required

SendEventResponse

  • SendEventResponse object
    • AbsoluteTime
    • Id

SendMessageRequest

  • SendMessageRequest object
    • ClientToken
    • Content required
    • ContentType required

SendMessageResponse

  • SendMessageResponse object
    • AbsoluteTime
    • Id

SortKey

  • SortKey string (values: DESCENDING, ASCENDING)

StartPosition

  • StartPosition object: A filtering option for where to start. For example, if you sent 100 messages, start with message 50.
    • AbsoluteTime
    • Id
    • MostRecent

ThrottlingException

Transcript

  • Transcript array

ValidationException

Websocket

  • Websocket object: The websocket for the participant's connection.
    • ConnectionExpiry
    • Url