@aws-sdk/client-connectcampaignsv2 3.975.0 → 3.980.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
|
@@ -1740,6 +1740,10 @@ class UpdateCampaignSourceCommand extends smithyClient.Command
|
|
|
1740
1740
|
.build() {
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
|
+
const paginateListCampaigns = core.createPaginator(ConnectCampaignsV2Client, ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
|
|
1744
|
+
|
|
1745
|
+
const paginateListConnectInstanceIntegrations = core.createPaginator(ConnectCampaignsV2Client, ListConnectInstanceIntegrationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1746
|
+
|
|
1743
1747
|
const commands = {
|
|
1744
1748
|
CreateCampaignCommand,
|
|
1745
1749
|
DeleteCampaignCommand,
|
|
@@ -1777,13 +1781,13 @@ const commands = {
|
|
|
1777
1781
|
UpdateCampaignScheduleCommand,
|
|
1778
1782
|
UpdateCampaignSourceCommand,
|
|
1779
1783
|
};
|
|
1784
|
+
const paginators = {
|
|
1785
|
+
paginateListCampaigns,
|
|
1786
|
+
paginateListConnectInstanceIntegrations,
|
|
1787
|
+
};
|
|
1780
1788
|
class ConnectCampaignsV2 extends ConnectCampaignsV2Client {
|
|
1781
1789
|
}
|
|
1782
|
-
smithyClient.createAggregatedClient(commands, ConnectCampaignsV2);
|
|
1783
|
-
|
|
1784
|
-
const paginateListCampaigns = core.createPaginator(ConnectCampaignsV2Client, ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
|
|
1785
|
-
|
|
1786
|
-
const paginateListConnectInstanceIntegrations = core.createPaginator(ConnectCampaignsV2Client, ListConnectInstanceIntegrationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1790
|
+
smithyClient.createAggregatedClient(commands, ConnectCampaignsV2, { paginators });
|
|
1787
1791
|
|
|
1788
1792
|
const AgentAction = {
|
|
1789
1793
|
DISCARD: "DISCARD",
|
|
@@ -35,6 +35,8 @@ import { UpdateCampaignNameCommand, } from "./commands/UpdateCampaignNameCommand
|
|
|
35
35
|
import { UpdateCampaignScheduleCommand, } from "./commands/UpdateCampaignScheduleCommand";
|
|
36
36
|
import { UpdateCampaignSourceCommand, } from "./commands/UpdateCampaignSourceCommand";
|
|
37
37
|
import { ConnectCampaignsV2Client } from "./ConnectCampaignsV2Client";
|
|
38
|
+
import { paginateListCampaigns } from "./pagination/ListCampaignsPaginator";
|
|
39
|
+
import { paginateListConnectInstanceIntegrations } from "./pagination/ListConnectInstanceIntegrationsPaginator";
|
|
38
40
|
const commands = {
|
|
39
41
|
CreateCampaignCommand,
|
|
40
42
|
DeleteCampaignCommand,
|
|
@@ -72,6 +74,10 @@ const commands = {
|
|
|
72
74
|
UpdateCampaignScheduleCommand,
|
|
73
75
|
UpdateCampaignSourceCommand,
|
|
74
76
|
};
|
|
77
|
+
const paginators = {
|
|
78
|
+
paginateListCampaigns,
|
|
79
|
+
paginateListConnectInstanceIntegrations,
|
|
80
|
+
};
|
|
75
81
|
export class ConnectCampaignsV2 extends ConnectCampaignsV2Client {
|
|
76
82
|
}
|
|
77
|
-
createAggregatedClient(commands, ConnectCampaignsV2);
|
|
83
|
+
createAggregatedClient(commands, ConnectCampaignsV2, { 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 { DeleteCampaignChannelSubtypeConfigCommandInput, DeleteCampaignChannelSubtypeConfigCommandOutput } from "./commands/DeleteCampaignChannelSubtypeConfigCommand";
|
|
4
4
|
import { DeleteCampaignCommandInput, DeleteCampaignCommandOutput } from "./commands/DeleteCampaignCommand";
|
|
@@ -247,6 +247,20 @@ export interface ConnectCampaignsV2 {
|
|
|
247
247
|
updateCampaignSource(args: UpdateCampaignSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCampaignSourceCommandOutput>;
|
|
248
248
|
updateCampaignSource(args: UpdateCampaignSourceCommandInput, cb: (err: any, data?: UpdateCampaignSourceCommandOutput) => void): void;
|
|
249
249
|
updateCampaignSource(args: UpdateCampaignSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCampaignSourceCommandOutput) => void): void;
|
|
250
|
+
/**
|
|
251
|
+
* @see {@link ListCampaignsCommand}
|
|
252
|
+
* @param args - command input.
|
|
253
|
+
* @param paginationConfig - optional pagination config.
|
|
254
|
+
* @returns AsyncIterable of {@link ListCampaignsCommandOutput}.
|
|
255
|
+
*/
|
|
256
|
+
paginateListCampaigns(args?: ListCampaignsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCampaignsCommandOutput>;
|
|
257
|
+
/**
|
|
258
|
+
* @see {@link ListConnectInstanceIntegrationsCommand}
|
|
259
|
+
* @param args - command input.
|
|
260
|
+
* @param paginationConfig - optional pagination config.
|
|
261
|
+
* @returns AsyncIterable of {@link ListConnectInstanceIntegrationsCommandOutput}.
|
|
262
|
+
*/
|
|
263
|
+
paginateListConnectInstanceIntegrations(args: ListConnectInstanceIntegrationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectInstanceIntegrationsCommandOutput>;
|
|
250
264
|
}
|
|
251
265
|
/**
|
|
252
266
|
* 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,
|
|
@@ -621,6 +625,20 @@ export interface ConnectCampaignsV2 {
|
|
|
621
625
|
options: __HttpHandlerOptions,
|
|
622
626
|
cb: (err: any, data?: UpdateCampaignSourceCommandOutput) => void
|
|
623
627
|
): void;
|
|
628
|
+
paginateListCampaigns(
|
|
629
|
+
args?: ListCampaignsCommandInput,
|
|
630
|
+
paginationConfig?: Pick<
|
|
631
|
+
PaginationConfiguration,
|
|
632
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
633
|
+
>
|
|
634
|
+
): Paginator<ListCampaignsCommandOutput>;
|
|
635
|
+
paginateListConnectInstanceIntegrations(
|
|
636
|
+
args: ListConnectInstanceIntegrationsCommandInput,
|
|
637
|
+
paginationConfig?: Pick<
|
|
638
|
+
PaginationConfiguration,
|
|
639
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
640
|
+
>
|
|
641
|
+
): Paginator<ListConnectInstanceIntegrationsCommandOutput>;
|
|
624
642
|
}
|
|
625
643
|
export declare class ConnectCampaignsV2
|
|
626
644
|
extends ConnectCampaignsV2Client
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaignsv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcampaignsv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.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-connectcampaignsv2",
|
|
@@ -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.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
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",
|