@aws-sdk/client-connectparticipant 3.325.0 → 3.327.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,6 +43,8 @@ export interface CompleteAttachmentUploadCommandOutput extends CompleteAttachmen
43
43
  * };
44
44
  * const command = new CompleteAttachmentUploadCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param CompleteAttachmentUploadCommandInput - {@link CompleteAttachmentUploadCommandInput}
@@ -69,6 +71,8 @@ export interface CompleteAttachmentUploadCommandOutput extends CompleteAttachmen
69
71
  * @throws {@link ValidationException} (client fault)
70
72
  * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
71
73
  *
74
+ * @throws {@link ConnectParticipantServiceException}
75
+ * <p>Base exception class for all service exceptions from ConnectParticipant service.</p>
72
76
  *
73
77
  */
74
78
  export declare class CompleteAttachmentUploadCommand extends $Command<CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput, ConnectParticipantClientResolvedConfig> {
@@ -69,6 +69,17 @@ export interface CreateParticipantConnectionCommandOutput extends CreateParticip
69
69
  * };
70
70
  * const command = new CreateParticipantConnectionCommand(input);
71
71
  * const response = await client.send(command);
72
+ * // { // CreateParticipantConnectionResponse
73
+ * // Websocket: { // Websocket
74
+ * // Url: "STRING_VALUE",
75
+ * // ConnectionExpiry: "STRING_VALUE",
76
+ * // },
77
+ * // ConnectionCredentials: { // ConnectionCredentials
78
+ * // ConnectionToken: "STRING_VALUE",
79
+ * // Expiry: "STRING_VALUE",
80
+ * // },
81
+ * // };
82
+ *
72
83
  * ```
73
84
  *
74
85
  * @param CreateParticipantConnectionCommandInput - {@link CreateParticipantConnectionCommandInput}
@@ -89,6 +100,8 @@ export interface CreateParticipantConnectionCommandOutput extends CreateParticip
89
100
  * @throws {@link ValidationException} (client fault)
90
101
  * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
91
102
  *
103
+ * @throws {@link ConnectParticipantServiceException}
104
+ * <p>Base exception class for all service exceptions from ConnectParticipant service.</p>
92
105
  *
93
106
  */
94
107
  export declare class CreateParticipantConnectionCommand extends $Command<CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput, ConnectParticipantClientResolvedConfig> {
@@ -39,6 +39,8 @@ export interface DisconnectParticipantCommandOutput extends DisconnectParticipan
39
39
  * };
40
40
  * const command = new DisconnectParticipantCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param DisconnectParticipantCommandInput - {@link DisconnectParticipantCommandInput}
@@ -59,6 +61,8 @@ export interface DisconnectParticipantCommandOutput extends DisconnectParticipan
59
61
  * @throws {@link ValidationException} (client fault)
60
62
  * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
61
63
  *
64
+ * @throws {@link ConnectParticipantServiceException}
65
+ * <p>Base exception class for all service exceptions from ConnectParticipant service.</p>
62
66
  *
63
67
  */
64
68
  export declare class DisconnectParticipantCommand extends $Command<DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput, ConnectParticipantClientResolvedConfig> {
@@ -40,6 +40,11 @@ export interface GetAttachmentCommandOutput extends GetAttachmentResponse, __Met
40
40
  * };
41
41
  * const command = new GetAttachmentCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // GetAttachmentResponse
44
+ * // Url: "STRING_VALUE",
45
+ * // UrlExpiry: "STRING_VALUE",
46
+ * // };
47
+ *
43
48
  * ```
44
49
  *
45
50
  * @param GetAttachmentCommandInput - {@link GetAttachmentCommandInput}
@@ -60,6 +65,8 @@ export interface GetAttachmentCommandOutput extends GetAttachmentResponse, __Met
60
65
  * @throws {@link ValidationException} (client fault)
61
66
  * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
62
67
  *
68
+ * @throws {@link ConnectParticipantServiceException}
69
+ * <p>Base exception class for all service exceptions from ConnectParticipant service.</p>
63
70
  *
64
71
  */
65
72
  export declare class GetAttachmentCommand extends $Command<GetAttachmentCommandInput, GetAttachmentCommandOutput, ConnectParticipantClientResolvedConfig> {
@@ -50,6 +50,43 @@ export interface GetTranscriptCommandOutput extends GetTranscriptResponse, __Met
50
50
  * };
51
51
  * const command = new GetTranscriptCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // GetTranscriptResponse
54
+ * // InitialContactId: "STRING_VALUE",
55
+ * // Transcript: [ // Transcript
56
+ * // { // Item
57
+ * // AbsoluteTime: "STRING_VALUE",
58
+ * // Content: "STRING_VALUE",
59
+ * // ContentType: "STRING_VALUE",
60
+ * // Id: "STRING_VALUE",
61
+ * // Type: "TYPING" || "PARTICIPANT_JOINED" || "PARTICIPANT_LEFT" || "CHAT_ENDED" || "TRANSFER_SUCCEEDED" || "TRANSFER_FAILED" || "MESSAGE" || "EVENT" || "ATTACHMENT" || "CONNECTION_ACK" || "MESSAGE_DELIVERED" || "MESSAGE_READ",
62
+ * // ParticipantId: "STRING_VALUE",
63
+ * // DisplayName: "STRING_VALUE",
64
+ * // ParticipantRole: "AGENT" || "CUSTOMER" || "SYSTEM",
65
+ * // Attachments: [ // Attachments
66
+ * // { // AttachmentItem
67
+ * // ContentType: "STRING_VALUE",
68
+ * // AttachmentId: "STRING_VALUE",
69
+ * // AttachmentName: "STRING_VALUE",
70
+ * // Status: "APPROVED" || "REJECTED" || "IN_PROGRESS",
71
+ * // },
72
+ * // ],
73
+ * // MessageMetadata: { // MessageMetadata
74
+ * // MessageId: "STRING_VALUE",
75
+ * // Receipts: [ // Receipts
76
+ * // { // Receipt
77
+ * // DeliveredTimestamp: "STRING_VALUE",
78
+ * // ReadTimestamp: "STRING_VALUE",
79
+ * // RecipientParticipantId: "STRING_VALUE",
80
+ * // },
81
+ * // ],
82
+ * // },
83
+ * // RelatedContactId: "STRING_VALUE",
84
+ * // ContactId: "STRING_VALUE",
85
+ * // },
86
+ * // ],
87
+ * // NextToken: "STRING_VALUE",
88
+ * // };
89
+ *
53
90
  * ```
54
91
  *
55
92
  * @param GetTranscriptCommandInput - {@link GetTranscriptCommandInput}
@@ -70,6 +107,8 @@ export interface GetTranscriptCommandOutput extends GetTranscriptResponse, __Met
70
107
  * @throws {@link ValidationException} (client fault)
71
108
  * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
72
109
  *
110
+ * @throws {@link ConnectParticipantServiceException}
111
+ * <p>Base exception class for all service exceptions from ConnectParticipant service.</p>
73
112
  *
74
113
  */
75
114
  export declare class GetTranscriptCommand extends $Command<GetTranscriptCommandInput, GetTranscriptCommandOutput, ConnectParticipantClientResolvedConfig> {
@@ -41,6 +41,11 @@ export interface SendEventCommandOutput extends SendEventResponse, __MetadataBea
41
41
  * };
42
42
  * const command = new SendEventCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // SendEventResponse
45
+ * // Id: "STRING_VALUE",
46
+ * // AbsoluteTime: "STRING_VALUE",
47
+ * // };
48
+ *
44
49
  * ```
45
50
  *
46
51
  * @param SendEventCommandInput - {@link SendEventCommandInput}
@@ -61,6 +66,8 @@ export interface SendEventCommandOutput extends SendEventResponse, __MetadataBea
61
66
  * @throws {@link ValidationException} (client fault)
62
67
  * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
63
68
  *
69
+ * @throws {@link ConnectParticipantServiceException}
70
+ * <p>Base exception class for all service exceptions from ConnectParticipant service.</p>
64
71
  *
65
72
  */
66
73
  export declare class SendEventCommand extends $Command<SendEventCommandInput, SendEventCommandOutput, ConnectParticipantClientResolvedConfig> {
@@ -41,6 +41,11 @@ export interface SendMessageCommandOutput extends SendMessageResponse, __Metadat
41
41
  * };
42
42
  * const command = new SendMessageCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // SendMessageResponse
45
+ * // Id: "STRING_VALUE",
46
+ * // AbsoluteTime: "STRING_VALUE",
47
+ * // };
48
+ *
44
49
  * ```
45
50
  *
46
51
  * @param SendMessageCommandInput - {@link SendMessageCommandInput}
@@ -61,6 +66,8 @@ export interface SendMessageCommandOutput extends SendMessageResponse, __Metadat
61
66
  * @throws {@link ValidationException} (client fault)
62
67
  * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
63
68
  *
69
+ * @throws {@link ConnectParticipantServiceException}
70
+ * <p>Base exception class for all service exceptions from ConnectParticipant service.</p>
64
71
  *
65
72
  */
66
73
  export declare class SendMessageCommand extends $Command<SendMessageCommandInput, SendMessageCommandOutput, ConnectParticipantClientResolvedConfig> {
@@ -43,6 +43,17 @@ export interface StartAttachmentUploadCommandOutput extends StartAttachmentUploa
43
43
  * };
44
44
  * const command = new StartAttachmentUploadCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // StartAttachmentUploadResponse
47
+ * // AttachmentId: "STRING_VALUE",
48
+ * // UploadMetadata: { // UploadMetadata
49
+ * // Url: "STRING_VALUE",
50
+ * // UrlExpiry: "STRING_VALUE",
51
+ * // HeadersToInclude: { // UploadMetadataSignedHeaders
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // },
55
+ * // };
56
+ *
46
57
  * ```
47
58
  *
48
59
  * @param StartAttachmentUploadCommandInput - {@link StartAttachmentUploadCommandInput}
@@ -66,6 +77,8 @@ export interface StartAttachmentUploadCommandOutput extends StartAttachmentUploa
66
77
  * @throws {@link ValidationException} (client fault)
67
78
  * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
68
79
  *
80
+ * @throws {@link ConnectParticipantServiceException}
81
+ * <p>Base exception class for all service exceptions from ConnectParticipant service.</p>
69
82
  *
70
83
  */
71
84
  export declare class StartAttachmentUploadCommand extends $Command<StartAttachmentUploadCommandInput, StartAttachmentUploadCommandOutput, ConnectParticipantClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectparticipant",
3
3
  "description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.327.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",