@aws-sdk/client-connectparticipant 3.975.0 → 3.978.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.
package/dist-cjs/index.js
CHANGED
|
@@ -779,6 +779,8 @@ class StartAttachmentUploadCommand extends smithyClient.Command
|
|
|
779
779
|
.build() {
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
+
const paginateGetTranscript = core.createPaginator(ConnectParticipantClient, GetTranscriptCommand, "NextToken", "NextToken", "MaxResults");
|
|
783
|
+
|
|
782
784
|
const commands = {
|
|
783
785
|
CancelParticipantAuthenticationCommand,
|
|
784
786
|
CompleteAttachmentUploadCommand,
|
|
@@ -792,11 +794,12 @@ const commands = {
|
|
|
792
794
|
SendMessageCommand,
|
|
793
795
|
StartAttachmentUploadCommand,
|
|
794
796
|
};
|
|
797
|
+
const paginators = {
|
|
798
|
+
paginateGetTranscript,
|
|
799
|
+
};
|
|
795
800
|
class ConnectParticipant extends ConnectParticipantClient {
|
|
796
801
|
}
|
|
797
|
-
smithyClient.createAggregatedClient(commands, ConnectParticipant);
|
|
798
|
-
|
|
799
|
-
const paginateGetTranscript = core.createPaginator(ConnectParticipantClient, GetTranscriptCommand, "NextToken", "NextToken", "MaxResults");
|
|
802
|
+
smithyClient.createAggregatedClient(commands, ConnectParticipant, { paginators });
|
|
800
803
|
|
|
801
804
|
const ConnectionType = {
|
|
802
805
|
CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
|
|
@@ -11,6 +11,7 @@ import { SendEventCommand } from "./commands/SendEventCommand";
|
|
|
11
11
|
import { SendMessageCommand } from "./commands/SendMessageCommand";
|
|
12
12
|
import { StartAttachmentUploadCommand, } from "./commands/StartAttachmentUploadCommand";
|
|
13
13
|
import { ConnectParticipantClient } from "./ConnectParticipantClient";
|
|
14
|
+
import { paginateGetTranscript } from "./pagination/GetTranscriptPaginator";
|
|
14
15
|
const commands = {
|
|
15
16
|
CancelParticipantAuthenticationCommand,
|
|
16
17
|
CompleteAttachmentUploadCommand,
|
|
@@ -24,6 +25,9 @@ const commands = {
|
|
|
24
25
|
SendMessageCommand,
|
|
25
26
|
StartAttachmentUploadCommand,
|
|
26
27
|
};
|
|
28
|
+
const paginators = {
|
|
29
|
+
paginateGetTranscript,
|
|
30
|
+
};
|
|
27
31
|
export class ConnectParticipant extends ConnectParticipantClient {
|
|
28
32
|
}
|
|
29
|
-
createAggregatedClient(commands, ConnectParticipant);
|
|
33
|
+
createAggregatedClient(commands, ConnectParticipant, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput } from "./commands/CancelParticipantAuthenticationCommand";
|
|
3
3
|
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
|
|
4
4
|
import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "./commands/CreateParticipantConnectionCommand";
|
|
@@ -78,6 +78,13 @@ export interface ConnectParticipant {
|
|
|
78
78
|
startAttachmentUpload(args: StartAttachmentUploadCommandInput, options?: __HttpHandlerOptions): Promise<StartAttachmentUploadCommandOutput>;
|
|
79
79
|
startAttachmentUpload(args: StartAttachmentUploadCommandInput, cb: (err: any, data?: StartAttachmentUploadCommandOutput) => void): void;
|
|
80
80
|
startAttachmentUpload(args: StartAttachmentUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAttachmentUploadCommandOutput) => void): void;
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link GetTranscriptCommand}
|
|
83
|
+
* @param args - command input.
|
|
84
|
+
* @param paginationConfig - optional pagination config.
|
|
85
|
+
* @returns AsyncIterable of {@link GetTranscriptCommandOutput}.
|
|
86
|
+
*/
|
|
87
|
+
paginateGetTranscript(args: GetTranscriptCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetTranscriptCommandOutput>;
|
|
81
88
|
}
|
|
82
89
|
/**
|
|
83
90
|
* <ul>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CancelParticipantAuthenticationCommandInput,
|
|
4
8
|
CancelParticipantAuthenticationCommandOutput,
|
|
@@ -188,6 +192,13 @@ export interface ConnectParticipant {
|
|
|
188
192
|
options: __HttpHandlerOptions,
|
|
189
193
|
cb: (err: any, data?: StartAttachmentUploadCommandOutput) => void
|
|
190
194
|
): void;
|
|
195
|
+
paginateGetTranscript(
|
|
196
|
+
args: GetTranscriptCommandInput,
|
|
197
|
+
paginationConfig?: Pick<
|
|
198
|
+
PaginationConfiguration,
|
|
199
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
200
|
+
>
|
|
201
|
+
): Paginator<GetTranscriptCommandOutput>;
|
|
191
202
|
}
|
|
192
203
|
export declare class ConnectParticipant
|
|
193
204
|
extends ConnectParticipantClient
|
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.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectparticipant",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|