@aws-sdk/client-connectcampaigns 3.299.0 → 3.300.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.
Files changed (23) hide show
  1. package/dist-types/commands/CreateCampaignCommand.d.ts +23 -0
  2. package/dist-types/commands/DeleteCampaignCommand.d.ts +3 -0
  3. package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +3 -0
  4. package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +3 -0
  5. package/dist-types/commands/DescribeCampaignCommand.d.ts +3 -0
  6. package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +5 -0
  7. package/dist-types/commands/GetCampaignStateCommand.d.ts +3 -0
  8. package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +3 -0
  9. package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +3 -0
  10. package/dist-types/commands/ListCampaignsCommand.d.ts +10 -0
  11. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  12. package/dist-types/commands/PauseCampaignCommand.d.ts +3 -0
  13. package/dist-types/commands/PutDialRequestBatchCommand.d.ts +13 -0
  14. package/dist-types/commands/ResumeCampaignCommand.d.ts +3 -0
  15. package/dist-types/commands/StartCampaignCommand.d.ts +3 -0
  16. package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +8 -0
  17. package/dist-types/commands/StopCampaignCommand.d.ts +3 -0
  18. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  19. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  20. package/dist-types/commands/UpdateCampaignDialerConfigCommand.d.ts +11 -0
  21. package/dist-types/commands/UpdateCampaignNameCommand.d.ts +4 -0
  22. package/dist-types/commands/UpdateCampaignOutboundCallConfigCommand.d.ts +8 -0
  23. package/package.json +8 -8
@@ -26,6 +26,29 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
26
26
  * import { ConnectCampaignsClient, CreateCampaignCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, CreateCampaignCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * name: "STRING_VALUE", // required
31
+ * connectInstanceId: "STRING_VALUE", // required
32
+ * dialerConfig: { // Union: only one key present
33
+ * progressiveDialerConfig: {
34
+ * bandwidthAllocation: Number("double"), // required
35
+ * },
36
+ * predictiveDialerConfig: {
37
+ * bandwidthAllocation: Number("double"), // required
38
+ * },
39
+ * },
40
+ * outboundCallConfig: {
41
+ * connectContactFlowId: "STRING_VALUE", // required
42
+ * connectSourcePhoneNumber: "STRING_VALUE",
43
+ * connectQueueId: "STRING_VALUE", // required
44
+ * answerMachineDetectionConfig: {
45
+ * enableAnswerMachineDetection: true || false, // required
46
+ * },
47
+ * },
48
+ * tags: {
49
+ * "<keys>": "STRING_VALUE",
50
+ * },
51
+ * };
29
52
  * const command = new CreateCampaignCommand(input);
30
53
  * const response = await client.send(command);
31
54
  * ```
@@ -26,6 +26,9 @@ export interface DeleteCampaignCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCampaignsClient, DeleteCampaignCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, DeleteCampaignCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteCampaignCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteConnectInstanceConfigCommandOutput extends __MetadataBear
26
26
  * import { ConnectCampaignsClient, DeleteConnectInstanceConfigCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, DeleteConnectInstanceConfigCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * connectInstanceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteConnectInstanceConfigCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteInstanceOnboardingJobCommandOutput extends __MetadataBear
26
26
  * import { ConnectCampaignsClient, DeleteInstanceOnboardingJobCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, DeleteInstanceOnboardingJobCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * connectInstanceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteInstanceOnboardingJobCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeCampaignCommandOutput extends DescribeCampaignResponse,
26
26
  * import { ConnectCampaignsClient, DescribeCampaignCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, DescribeCampaignCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeCampaignCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface GetCampaignStateBatchCommandOutput extends GetCampaignStateBatc
26
26
  * import { ConnectCampaignsClient, GetCampaignStateBatchCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, GetCampaignStateBatchCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * campaignIds: [ // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new GetCampaignStateBatchCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface GetCampaignStateCommandOutput extends GetCampaignStateResponse,
26
26
  * import { ConnectCampaignsClient, GetCampaignStateCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, GetCampaignStateCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetCampaignStateCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetConnectInstanceConfigCommandOutput extends GetConnectInstanc
26
26
  * import { ConnectCampaignsClient, GetConnectInstanceConfigCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, GetConnectInstanceConfigCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * connectInstanceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetConnectInstanceConfigCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetInstanceOnboardingJobStatusCommandOutput extends GetInstance
26
26
  * import { ConnectCampaignsClient, GetInstanceOnboardingJobStatusCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, GetInstanceOnboardingJobStatusCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * connectInstanceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetInstanceOnboardingJobStatusCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,16 @@ export interface ListCampaignsCommandOutput extends ListCampaignsResponse, __Met
26
26
  * import { ConnectCampaignsClient, ListCampaignsCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, ListCampaignsCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * filters: {
33
+ * instanceIdFilter: {
34
+ * value: "STRING_VALUE", // required
35
+ * operator: "STRING_VALUE", // required
36
+ * },
37
+ * },
38
+ * };
29
39
  * const command = new ListCampaignsCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { ConnectCampaignsClient, ListTagsForResourceCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * arn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface PauseCampaignCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCampaignsClient, PauseCampaignCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, PauseCampaignCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new PauseCampaignCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,19 @@ export interface PutDialRequestBatchCommandOutput extends PutDialRequestBatchRes
26
26
  * import { ConnectCampaignsClient, PutDialRequestBatchCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, PutDialRequestBatchCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * dialRequests: [ // required
32
+ * {
33
+ * clientToken: "STRING_VALUE", // required
34
+ * phoneNumber: "STRING_VALUE", // required
35
+ * expirationTime: new Date("TIMESTAMP"), // required
36
+ * attributes: { // required
37
+ * "<keys>": "STRING_VALUE",
38
+ * },
39
+ * },
40
+ * ],
41
+ * };
29
42
  * const command = new PutDialRequestBatchCommand(input);
30
43
  * const response = await client.send(command);
31
44
  * ```
@@ -26,6 +26,9 @@ export interface ResumeCampaignCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCampaignsClient, ResumeCampaignCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, ResumeCampaignCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ResumeCampaignCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface StartCampaignCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCampaignsClient, StartCampaignCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, StartCampaignCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StartCampaignCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,14 @@ export interface StartInstanceOnboardingJobCommandOutput extends StartInstanceOn
26
26
  * import { ConnectCampaignsClient, StartInstanceOnboardingJobCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, StartInstanceOnboardingJobCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * connectInstanceId: "STRING_VALUE", // required
31
+ * encryptionConfig: {
32
+ * enabled: true || false, // required
33
+ * encryptionType: "STRING_VALUE",
34
+ * keyArn: "STRING_VALUE",
35
+ * },
36
+ * };
29
37
  * const command = new StartInstanceOnboardingJobCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,9 @@ export interface StopCampaignCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCampaignsClient, StopCampaignCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, StopCampaignCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StopCampaignCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCampaignsClient, TagResourceCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, TagResourceCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * arn: "STRING_VALUE", // required
31
+ * tags: { // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCampaignsClient, UntagResourceCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, UntagResourceCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * arn: "STRING_VALUE", // required
31
+ * tagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,17 @@ export interface UpdateCampaignDialerConfigCommandOutput extends __MetadataBeare
26
26
  * import { ConnectCampaignsClient, UpdateCampaignDialerConfigCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, UpdateCampaignDialerConfigCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * dialerConfig: { // Union: only one key present
32
+ * progressiveDialerConfig: {
33
+ * bandwidthAllocation: Number("double"), // required
34
+ * },
35
+ * predictiveDialerConfig: {
36
+ * bandwidthAllocation: Number("double"), // required
37
+ * },
38
+ * },
39
+ * };
29
40
  * const command = new UpdateCampaignDialerConfigCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -26,6 +26,10 @@ export interface UpdateCampaignNameCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCampaignsClient, UpdateCampaignNameCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, UpdateCampaignNameCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * name: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdateCampaignNameCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,14 @@ export interface UpdateCampaignOutboundCallConfigCommandOutput extends __Metadat
26
26
  * import { ConnectCampaignsClient, UpdateCampaignOutboundCallConfigCommand } from "@aws-sdk/client-connectcampaigns"; // ES Modules import
27
27
  * // const { ConnectCampaignsClient, UpdateCampaignOutboundCallConfigCommand } = require("@aws-sdk/client-connectcampaigns"); // CommonJS import
28
28
  * const client = new ConnectCampaignsClient(config);
29
+ * const input = {
30
+ * id: "STRING_VALUE", // required
31
+ * connectContactFlowId: "STRING_VALUE",
32
+ * connectSourcePhoneNumber: "STRING_VALUE",
33
+ * answerMachineDetectionConfig: {
34
+ * enableAnswerMachineDetection: true || false, // required
35
+ * },
36
+ * };
29
37
  * const command = new UpdateCampaignOutboundCallConfigCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },