@aws-sdk/client-connectcampaigns 3.974.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
|
@@ -1056,6 +1056,8 @@ class UpdateCampaignOutboundCallConfigCommand extends smithyClient.Command
|
|
|
1056
1056
|
.build() {
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
|
+
const paginateListCampaigns = core.createPaginator(ConnectCampaignsClient, ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
|
|
1060
|
+
|
|
1059
1061
|
const commands = {
|
|
1060
1062
|
CreateCampaignCommand,
|
|
1061
1063
|
DeleteCampaignCommand,
|
|
@@ -1080,11 +1082,12 @@ const commands = {
|
|
|
1080
1082
|
UpdateCampaignNameCommand,
|
|
1081
1083
|
UpdateCampaignOutboundCallConfigCommand,
|
|
1082
1084
|
};
|
|
1085
|
+
const paginators = {
|
|
1086
|
+
paginateListCampaigns,
|
|
1087
|
+
};
|
|
1083
1088
|
class ConnectCampaigns extends ConnectCampaignsClient {
|
|
1084
1089
|
}
|
|
1085
|
-
smithyClient.createAggregatedClient(commands, ConnectCampaigns);
|
|
1086
|
-
|
|
1087
|
-
const paginateListCampaigns = core.createPaginator(ConnectCampaignsClient, ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
|
|
1090
|
+
smithyClient.createAggregatedClient(commands, ConnectCampaigns, { paginators });
|
|
1088
1091
|
|
|
1089
1092
|
const CampaignState = {
|
|
1090
1093
|
FAILED: "Failed",
|
|
@@ -22,6 +22,7 @@ import { UpdateCampaignDialerConfigCommand, } from "./commands/UpdateCampaignDia
|
|
|
22
22
|
import { UpdateCampaignNameCommand, } from "./commands/UpdateCampaignNameCommand";
|
|
23
23
|
import { UpdateCampaignOutboundCallConfigCommand, } from "./commands/UpdateCampaignOutboundCallConfigCommand";
|
|
24
24
|
import { ConnectCampaignsClient } from "./ConnectCampaignsClient";
|
|
25
|
+
import { paginateListCampaigns } from "./pagination/ListCampaignsPaginator";
|
|
25
26
|
const commands = {
|
|
26
27
|
CreateCampaignCommand,
|
|
27
28
|
DeleteCampaignCommand,
|
|
@@ -46,6 +47,9 @@ const commands = {
|
|
|
46
47
|
UpdateCampaignNameCommand,
|
|
47
48
|
UpdateCampaignOutboundCallConfigCommand,
|
|
48
49
|
};
|
|
50
|
+
const paginators = {
|
|
51
|
+
paginateListCampaigns,
|
|
52
|
+
};
|
|
49
53
|
export class ConnectCampaigns extends ConnectCampaignsClient {
|
|
50
54
|
}
|
|
51
|
-
createAggregatedClient(commands, ConnectCampaigns);
|
|
55
|
+
createAggregatedClient(commands, ConnectCampaigns, { 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 { CreateCampaignCommandInput, CreateCampaignCommandOutput } from "./commands/CreateCampaignCommand";
|
|
3
3
|
import { DeleteCampaignCommandInput, DeleteCampaignCommandOutput } from "./commands/DeleteCampaignCommand";
|
|
4
4
|
import { DeleteConnectInstanceConfigCommandInput, DeleteConnectInstanceConfigCommandOutput } from "./commands/DeleteConnectInstanceConfigCommand";
|
|
@@ -156,6 +156,13 @@ export interface ConnectCampaigns {
|
|
|
156
156
|
updateCampaignOutboundCallConfig(args: UpdateCampaignOutboundCallConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCampaignOutboundCallConfigCommandOutput>;
|
|
157
157
|
updateCampaignOutboundCallConfig(args: UpdateCampaignOutboundCallConfigCommandInput, cb: (err: any, data?: UpdateCampaignOutboundCallConfigCommandOutput) => void): void;
|
|
158
158
|
updateCampaignOutboundCallConfig(args: UpdateCampaignOutboundCallConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCampaignOutboundCallConfigCommandOutput) => void): void;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link ListCampaignsCommand}
|
|
161
|
+
* @param args - command input.
|
|
162
|
+
* @param paginationConfig - optional pagination config.
|
|
163
|
+
* @returns AsyncIterable of {@link ListCampaignsCommandOutput}.
|
|
164
|
+
*/
|
|
165
|
+
paginateListCampaigns(args?: ListCampaignsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCampaignsCommandOutput>;
|
|
159
166
|
}
|
|
160
167
|
/**
|
|
161
168
|
* Provide APIs to create and manage Amazon Connect Campaigns.
|
|
@@ -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
|
CreateCampaignCommandInput,
|
|
4
8
|
CreateCampaignCommandOutput,
|
|
@@ -376,6 +380,13 @@ export interface ConnectCampaigns {
|
|
|
376
380
|
options: __HttpHandlerOptions,
|
|
377
381
|
cb: (err: any, data?: UpdateCampaignOutboundCallConfigCommandOutput) => void
|
|
378
382
|
): void;
|
|
383
|
+
paginateListCampaigns(
|
|
384
|
+
args?: ListCampaignsCommandInput,
|
|
385
|
+
paginationConfig?: Pick<
|
|
386
|
+
PaginationConfiguration,
|
|
387
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
388
|
+
>
|
|
389
|
+
): Paginator<ListCampaignsCommandOutput>;
|
|
379
390
|
}
|
|
380
391
|
export declare class ConnectCampaigns
|
|
381
392
|
extends ConnectCampaignsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaigns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcampaigns 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-connectcampaigns",
|
|
@@ -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",
|