@aws-sdk/client-connectcampaigns 3.398.0 → 3.404.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -38,6 +38,8 @@ var DialerConfig;
38
38
  return visitor.progressiveDialerConfig(value.progressiveDialerConfig);
39
39
  if (value.predictiveDialerConfig !== undefined)
40
40
  return visitor.predictiveDialerConfig(value.predictiveDialerConfig);
41
+ if (value.agentlessDialerConfig !== undefined)
42
+ return visitor.agentlessDialerConfig(value.agentlessDialerConfig);
41
43
  return visitor._(value.$unknown[0], value.$unknown[1]);
42
44
  };
43
45
  })(DialerConfig = exports.DialerConfig || (exports.DialerConfig = {}));
@@ -1571,8 +1571,14 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1571
1571
  });
1572
1572
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1573
1573
  };
1574
+ const se_AgentlessDialerConfig = (input, context) => {
1575
+ return (0, smithy_client_1.take)(input, {
1576
+ dialingCapacity: smithy_client_1.serializeFloat,
1577
+ });
1578
+ };
1574
1579
  const se_DialerConfig = (input, context) => {
1575
1580
  return models_0_1.DialerConfig.visit(input, {
1581
+ agentlessDialerConfig: (value) => ({ agentlessDialerConfig: se_AgentlessDialerConfig(value, context) }),
1576
1582
  predictiveDialerConfig: (value) => ({ predictiveDialerConfig: se_PredictiveDialerConfig(value, context) }),
1577
1583
  progressiveDialerConfig: (value) => ({ progressiveDialerConfig: se_ProgressiveDialerConfig(value, context) }),
1578
1584
  _: (name, value) => ({ name: value }),
@@ -1596,11 +1602,18 @@ const se_DialRequestList = (input, context) => {
1596
1602
  const se_PredictiveDialerConfig = (input, context) => {
1597
1603
  return (0, smithy_client_1.take)(input, {
1598
1604
  bandwidthAllocation: smithy_client_1.serializeFloat,
1605
+ dialingCapacity: smithy_client_1.serializeFloat,
1599
1606
  });
1600
1607
  };
1601
1608
  const se_ProgressiveDialerConfig = (input, context) => {
1602
1609
  return (0, smithy_client_1.take)(input, {
1603
1610
  bandwidthAllocation: smithy_client_1.serializeFloat,
1611
+ dialingCapacity: smithy_client_1.serializeFloat,
1612
+ });
1613
+ };
1614
+ const de_AgentlessDialerConfig = (output, context) => {
1615
+ return (0, smithy_client_1.take)(output, {
1616
+ dialingCapacity: smithy_client_1.limitedParseDouble,
1604
1617
  });
1605
1618
  };
1606
1619
  const de_Campaign = (output, context) => {
@@ -1615,6 +1628,11 @@ const de_Campaign = (output, context) => {
1615
1628
  });
1616
1629
  };
1617
1630
  const de_DialerConfig = (output, context) => {
1631
+ if (output.agentlessDialerConfig != null) {
1632
+ return {
1633
+ agentlessDialerConfig: de_AgentlessDialerConfig(output.agentlessDialerConfig, context),
1634
+ };
1635
+ }
1618
1636
  if (output.predictiveDialerConfig != null) {
1619
1637
  return {
1620
1638
  predictiveDialerConfig: de_PredictiveDialerConfig(output.predictiveDialerConfig, context),
@@ -1630,11 +1648,13 @@ const de_DialerConfig = (output, context) => {
1630
1648
  const de_PredictiveDialerConfig = (output, context) => {
1631
1649
  return (0, smithy_client_1.take)(output, {
1632
1650
  bandwidthAllocation: smithy_client_1.limitedParseDouble,
1651
+ dialingCapacity: smithy_client_1.limitedParseDouble,
1633
1652
  });
1634
1653
  };
1635
1654
  const de_ProgressiveDialerConfig = (output, context) => {
1636
1655
  return (0, smithy_client_1.take)(output, {
1637
1656
  bandwidthAllocation: smithy_client_1.limitedParseDouble,
1657
+ dialingCapacity: smithy_client_1.limitedParseDouble,
1638
1658
  });
1639
1659
  };
1640
1660
  const deserializeMetadata = (output) => ({
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -33,6 +33,8 @@ export var DialerConfig;
33
33
  return visitor.progressiveDialerConfig(value.progressiveDialerConfig);
34
34
  if (value.predictiveDialerConfig !== undefined)
35
35
  return visitor.predictiveDialerConfig(value.predictiveDialerConfig);
36
+ if (value.agentlessDialerConfig !== undefined)
37
+ return visitor.agentlessDialerConfig(value.agentlessDialerConfig);
36
38
  return visitor._(value.$unknown[0], value.$unknown[1]);
37
39
  };
38
40
  })(DialerConfig || (DialerConfig = {}));
@@ -1524,8 +1524,14 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1524
1524
  });
1525
1525
  return __decorateServiceException(exception, parsedOutput.body);
1526
1526
  };
1527
+ const se_AgentlessDialerConfig = (input, context) => {
1528
+ return take(input, {
1529
+ dialingCapacity: __serializeFloat,
1530
+ });
1531
+ };
1527
1532
  const se_DialerConfig = (input, context) => {
1528
1533
  return DialerConfig.visit(input, {
1534
+ agentlessDialerConfig: (value) => ({ agentlessDialerConfig: se_AgentlessDialerConfig(value, context) }),
1529
1535
  predictiveDialerConfig: (value) => ({ predictiveDialerConfig: se_PredictiveDialerConfig(value, context) }),
1530
1536
  progressiveDialerConfig: (value) => ({ progressiveDialerConfig: se_ProgressiveDialerConfig(value, context) }),
1531
1537
  _: (name, value) => ({ name: value }),
@@ -1549,11 +1555,18 @@ const se_DialRequestList = (input, context) => {
1549
1555
  const se_PredictiveDialerConfig = (input, context) => {
1550
1556
  return take(input, {
1551
1557
  bandwidthAllocation: __serializeFloat,
1558
+ dialingCapacity: __serializeFloat,
1552
1559
  });
1553
1560
  };
1554
1561
  const se_ProgressiveDialerConfig = (input, context) => {
1555
1562
  return take(input, {
1556
1563
  bandwidthAllocation: __serializeFloat,
1564
+ dialingCapacity: __serializeFloat,
1565
+ });
1566
+ };
1567
+ const de_AgentlessDialerConfig = (output, context) => {
1568
+ return take(output, {
1569
+ dialingCapacity: __limitedParseDouble,
1557
1570
  });
1558
1571
  };
1559
1572
  const de_Campaign = (output, context) => {
@@ -1568,6 +1581,11 @@ const de_Campaign = (output, context) => {
1568
1581
  });
1569
1582
  };
1570
1583
  const de_DialerConfig = (output, context) => {
1584
+ if (output.agentlessDialerConfig != null) {
1585
+ return {
1586
+ agentlessDialerConfig: de_AgentlessDialerConfig(output.agentlessDialerConfig, context),
1587
+ };
1588
+ }
1571
1589
  if (output.predictiveDialerConfig != null) {
1572
1590
  return {
1573
1591
  predictiveDialerConfig: de_PredictiveDialerConfig(output.predictiveDialerConfig, context),
@@ -1583,11 +1601,13 @@ const de_DialerConfig = (output, context) => {
1583
1601
  const de_PredictiveDialerConfig = (output, context) => {
1584
1602
  return take(output, {
1585
1603
  bandwidthAllocation: __limitedParseDouble,
1604
+ dialingCapacity: __limitedParseDouble,
1586
1605
  });
1587
1606
  };
1588
1607
  const de_ProgressiveDialerConfig = (output, context) => {
1589
1608
  return take(output, {
1590
1609
  bandwidthAllocation: __limitedParseDouble,
1610
+ dialingCapacity: __limitedParseDouble,
1591
1611
  });
1592
1612
  };
1593
1613
  const deserializeMetadata = (output) => ({
@@ -36,15 +36,20 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
36
36
  * dialerConfig: { // DialerConfig Union: only one key present
37
37
  * progressiveDialerConfig: { // ProgressiveDialerConfig
38
38
  * bandwidthAllocation: Number("double"), // required
39
+ * dialingCapacity: Number("double"),
39
40
  * },
40
41
  * predictiveDialerConfig: { // PredictiveDialerConfig
41
42
  * bandwidthAllocation: Number("double"), // required
43
+ * dialingCapacity: Number("double"),
44
+ * },
45
+ * agentlessDialerConfig: { // AgentlessDialerConfig
46
+ * dialingCapacity: Number("double"),
42
47
  * },
43
48
  * },
44
49
  * outboundCallConfig: { // OutboundCallConfig
45
50
  * connectContactFlowId: "STRING_VALUE", // required
46
51
  * connectSourcePhoneNumber: "STRING_VALUE",
47
- * connectQueueId: "STRING_VALUE", // required
52
+ * connectQueueId: "STRING_VALUE",
48
53
  * answerMachineDetectionConfig: { // AnswerMachineDetectionConfig
49
54
  * enableAnswerMachineDetection: true || false, // required
50
55
  * },
@@ -44,15 +44,20 @@ export interface DescribeCampaignCommandOutput extends DescribeCampaignResponse,
44
44
  * // dialerConfig: { // DialerConfig Union: only one key present
45
45
  * // progressiveDialerConfig: { // ProgressiveDialerConfig
46
46
  * // bandwidthAllocation: Number("double"), // required
47
+ * // dialingCapacity: Number("double"),
47
48
  * // },
48
49
  * // predictiveDialerConfig: { // PredictiveDialerConfig
49
50
  * // bandwidthAllocation: Number("double"), // required
51
+ * // dialingCapacity: Number("double"),
52
+ * // },
53
+ * // agentlessDialerConfig: { // AgentlessDialerConfig
54
+ * // dialingCapacity: Number("double"),
50
55
  * // },
51
56
  * // },
52
57
  * // outboundCallConfig: { // OutboundCallConfig
53
58
  * // connectContactFlowId: "STRING_VALUE", // required
54
59
  * // connectSourcePhoneNumber: "STRING_VALUE",
55
- * // connectQueueId: "STRING_VALUE", // required
60
+ * // connectQueueId: "STRING_VALUE",
56
61
  * // answerMachineDetectionConfig: { // AnswerMachineDetectionConfig
57
62
  * // enableAnswerMachineDetection: true || false, // required
58
63
  * // },
@@ -35,9 +35,14 @@ export interface UpdateCampaignDialerConfigCommandOutput extends __MetadataBeare
35
35
  * dialerConfig: { // DialerConfig Union: only one key present
36
36
  * progressiveDialerConfig: { // ProgressiveDialerConfig
37
37
  * bandwidthAllocation: Number("double"), // required
38
+ * dialingCapacity: Number("double"),
38
39
  * },
39
40
  * predictiveDialerConfig: { // PredictiveDialerConfig
40
41
  * bandwidthAllocation: Number("double"), // required
42
+ * dialingCapacity: Number("double"),
43
+ * },
44
+ * agentlessDialerConfig: { // AgentlessDialerConfig
45
+ * dialingCapacity: Number("double"),
41
46
  * },
42
47
  * },
43
48
  * };
@@ -17,6 +17,17 @@ export declare class AccessDeniedException extends __BaseException {
17
17
  */
18
18
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
19
19
  }
20
+ /**
21
+ * @public
22
+ * Agentless Dialer config
23
+ */
24
+ export interface AgentlessDialerConfig {
25
+ /**
26
+ * @public
27
+ * Allocates dialing capacity for this campaign between multiple active campaigns
28
+ */
29
+ dialingCapacity?: number;
30
+ }
20
31
  /**
21
32
  * @public
22
33
  * The request could not be processed because of conflict in the current state of the resource.
@@ -44,6 +55,11 @@ export interface PredictiveDialerConfig {
44
55
  * The bandwidth allocation of a queue resource.
45
56
  */
46
57
  bandwidthAllocation: number | undefined;
58
+ /**
59
+ * @public
60
+ * Allocates dialing capacity for this campaign between multiple active campaigns
61
+ */
62
+ dialingCapacity?: number;
47
63
  }
48
64
  /**
49
65
  * @public
@@ -55,12 +71,17 @@ export interface ProgressiveDialerConfig {
55
71
  * The bandwidth allocation of a queue resource.
56
72
  */
57
73
  bandwidthAllocation: number | undefined;
74
+ /**
75
+ * @public
76
+ * Allocates dialing capacity for this campaign between multiple active campaigns
77
+ */
78
+ dialingCapacity?: number;
58
79
  }
59
80
  /**
60
81
  * @public
61
82
  * The possible types of dialer config parameters
62
83
  */
63
- export type DialerConfig = DialerConfig.PredictiveDialerConfigMember | DialerConfig.ProgressiveDialerConfigMember | DialerConfig.$UnknownMember;
84
+ export type DialerConfig = DialerConfig.AgentlessDialerConfigMember | DialerConfig.PredictiveDialerConfigMember | DialerConfig.ProgressiveDialerConfigMember | DialerConfig.$UnknownMember;
64
85
  /**
65
86
  * @public
66
87
  */
@@ -72,6 +93,7 @@ export declare namespace DialerConfig {
72
93
  interface ProgressiveDialerConfigMember {
73
94
  progressiveDialerConfig: ProgressiveDialerConfig;
74
95
  predictiveDialerConfig?: never;
96
+ agentlessDialerConfig?: never;
75
97
  $unknown?: never;
76
98
  }
77
99
  /**
@@ -81,6 +103,17 @@ export declare namespace DialerConfig {
81
103
  interface PredictiveDialerConfigMember {
82
104
  progressiveDialerConfig?: never;
83
105
  predictiveDialerConfig: PredictiveDialerConfig;
106
+ agentlessDialerConfig?: never;
107
+ $unknown?: never;
108
+ }
109
+ /**
110
+ * @public
111
+ * Agentless Dialer config
112
+ */
113
+ interface AgentlessDialerConfigMember {
114
+ progressiveDialerConfig?: never;
115
+ predictiveDialerConfig?: never;
116
+ agentlessDialerConfig: AgentlessDialerConfig;
84
117
  $unknown?: never;
85
118
  }
86
119
  /**
@@ -89,11 +122,13 @@ export declare namespace DialerConfig {
89
122
  interface $UnknownMember {
90
123
  progressiveDialerConfig?: never;
91
124
  predictiveDialerConfig?: never;
125
+ agentlessDialerConfig?: never;
92
126
  $unknown: [string, any];
93
127
  }
94
128
  interface Visitor<T> {
95
129
  progressiveDialerConfig: (value: ProgressiveDialerConfig) => T;
96
130
  predictiveDialerConfig: (value: PredictiveDialerConfig) => T;
131
+ agentlessDialerConfig: (value: AgentlessDialerConfig) => T;
97
132
  _: (name: string, value: any) => T;
98
133
  }
99
134
  const visit: <T>(value: DialerConfig, visitor: Visitor<T>) => T;
@@ -128,7 +163,7 @@ export interface OutboundCallConfig {
128
163
  * @public
129
164
  * The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.
130
165
  */
131
- connectQueueId: string | undefined;
166
+ connectQueueId?: string;
132
167
  /**
133
168
  * @public
134
169
  * Answering Machine Detection config
@@ -8,6 +8,9 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
+ export interface AgentlessDialerConfig {
12
+ dialingCapacity?: number;
13
+ }
11
14
  export declare class ConflictException extends __BaseException {
12
15
  readonly name: "ConflictException";
13
16
  readonly $fault: "client";
@@ -16,11 +19,14 @@ export declare class ConflictException extends __BaseException {
16
19
  }
17
20
  export interface PredictiveDialerConfig {
18
21
  bandwidthAllocation: number | undefined;
22
+ dialingCapacity?: number;
19
23
  }
20
24
  export interface ProgressiveDialerConfig {
21
25
  bandwidthAllocation: number | undefined;
26
+ dialingCapacity?: number;
22
27
  }
23
28
  export type DialerConfig =
29
+ | DialerConfig.AgentlessDialerConfigMember
24
30
  | DialerConfig.PredictiveDialerConfigMember
25
31
  | DialerConfig.ProgressiveDialerConfigMember
26
32
  | DialerConfig.$UnknownMember;
@@ -28,21 +34,31 @@ export declare namespace DialerConfig {
28
34
  interface ProgressiveDialerConfigMember {
29
35
  progressiveDialerConfig: ProgressiveDialerConfig;
30
36
  predictiveDialerConfig?: never;
37
+ agentlessDialerConfig?: never;
31
38
  $unknown?: never;
32
39
  }
33
40
  interface PredictiveDialerConfigMember {
34
41
  progressiveDialerConfig?: never;
35
42
  predictiveDialerConfig: PredictiveDialerConfig;
43
+ agentlessDialerConfig?: never;
44
+ $unknown?: never;
45
+ }
46
+ interface AgentlessDialerConfigMember {
47
+ progressiveDialerConfig?: never;
48
+ predictiveDialerConfig?: never;
49
+ agentlessDialerConfig: AgentlessDialerConfig;
36
50
  $unknown?: never;
37
51
  }
38
52
  interface $UnknownMember {
39
53
  progressiveDialerConfig?: never;
40
54
  predictiveDialerConfig?: never;
55
+ agentlessDialerConfig?: never;
41
56
  $unknown: [string, any];
42
57
  }
43
58
  interface Visitor<T> {
44
59
  progressiveDialerConfig: (value: ProgressiveDialerConfig) => T;
45
60
  predictiveDialerConfig: (value: PredictiveDialerConfig) => T;
61
+ agentlessDialerConfig: (value: AgentlessDialerConfig) => T;
46
62
  _: (name: string, value: any) => T;
47
63
  }
48
64
  const visit: <T>(value: DialerConfig, visitor: Visitor<T>) => T;
@@ -53,7 +69,7 @@ export interface AnswerMachineDetectionConfig {
53
69
  export interface OutboundCallConfig {
54
70
  connectContactFlowId: string | undefined;
55
71
  connectSourcePhoneNumber?: string;
56
- connectQueueId: string | undefined;
72
+ connectQueueId?: string;
57
73
  answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
58
74
  }
59
75
  export interface CreateCampaignRequest {
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.398.0",
4
+ "version": "3.404.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",