@aws-sdk/client-connectcampaigns 3.490.0 → 3.496.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 (37) hide show
  1. package/dist-cjs/ConnectCampaigns.js +1 -55
  2. package/dist-cjs/ConnectCampaignsClient.js +1 -43
  3. package/dist-cjs/commands/CreateCampaignCommand.js +1 -28
  4. package/dist-cjs/commands/DeleteCampaignCommand.js +1 -28
  5. package/dist-cjs/commands/DeleteConnectInstanceConfigCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteInstanceOnboardingJobCommand.js +1 -28
  7. package/dist-cjs/commands/DescribeCampaignCommand.js +1 -28
  8. package/dist-cjs/commands/GetCampaignStateBatchCommand.js +1 -28
  9. package/dist-cjs/commands/GetCampaignStateCommand.js +1 -28
  10. package/dist-cjs/commands/GetConnectInstanceConfigCommand.js +1 -28
  11. package/dist-cjs/commands/GetInstanceOnboardingJobStatusCommand.js +1 -28
  12. package/dist-cjs/commands/ListCampaignsCommand.js +1 -28
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  14. package/dist-cjs/commands/PauseCampaignCommand.js +1 -28
  15. package/dist-cjs/commands/PutDialRequestBatchCommand.js +1 -29
  16. package/dist-cjs/commands/ResumeCampaignCommand.js +1 -28
  17. package/dist-cjs/commands/StartCampaignCommand.js +1 -28
  18. package/dist-cjs/commands/StartInstanceOnboardingJobCommand.js +1 -28
  19. package/dist-cjs/commands/StopCampaignCommand.js +1 -28
  20. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  21. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  22. package/dist-cjs/commands/UpdateCampaignDialerConfigCommand.js +1 -28
  23. package/dist-cjs/commands/UpdateCampaignNameCommand.js +1 -28
  24. package/dist-cjs/commands/UpdateCampaignOutboundCallConfigCommand.js +1 -28
  25. package/dist-cjs/commands/index.js +1 -25
  26. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  27. package/dist-cjs/extensionConfiguration.js +1 -2
  28. package/dist-cjs/index.js +2415 -11
  29. package/dist-cjs/models/ConnectCampaignsServiceException.js +1 -12
  30. package/dist-cjs/models/index.js +1 -4
  31. package/dist-cjs/models/models_0.js +1 -192
  32. package/dist-cjs/pagination/Interfaces.js +1 -2
  33. package/dist-cjs/pagination/ListCampaignsPaginator.js +1 -7
  34. package/dist-cjs/pagination/index.js +1 -5
  35. package/dist-cjs/protocols/Aws_restJson1.js +1 -1555
  36. package/dist-cjs/runtimeExtensions.js +1 -22
  37. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConnectCampaignsServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ConnectCampaignsServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ConnectCampaignsServiceException.prototype);
10
- }
11
- }
12
- exports.ConnectCampaignsServiceException = ConnectCampaignsServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,192 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutDialRequestBatchRequestFilterSensitiveLog = exports.DialRequestFilterSensitiveLog = exports.FailureCode = exports.InvalidCampaignStateException = exports.InstanceIdFilterOperator = exports.InstanceOnboardingJobStatusCode = exports.InstanceOnboardingJobFailureCode = exports.EncryptionType = exports.GetCampaignStateBatchFailureCode = exports.CampaignState = exports.InvalidStateException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.DialerConfig = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const ConnectCampaignsServiceException_1 = require("./ConnectCampaignsServiceException");
6
- class AccessDeniedException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- this.xAmzErrorType = opts.xAmzErrorType;
17
- }
18
- }
19
- exports.AccessDeniedException = AccessDeniedException;
20
- class ConflictException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
21
- constructor(opts) {
22
- super({
23
- name: "ConflictException",
24
- $fault: "client",
25
- ...opts,
26
- });
27
- this.name = "ConflictException";
28
- this.$fault = "client";
29
- Object.setPrototypeOf(this, ConflictException.prototype);
30
- this.xAmzErrorType = opts.xAmzErrorType;
31
- }
32
- }
33
- exports.ConflictException = ConflictException;
34
- var DialerConfig;
35
- (function (DialerConfig) {
36
- DialerConfig.visit = (value, visitor) => {
37
- if (value.progressiveDialerConfig !== undefined)
38
- return visitor.progressiveDialerConfig(value.progressiveDialerConfig);
39
- if (value.predictiveDialerConfig !== undefined)
40
- return visitor.predictiveDialerConfig(value.predictiveDialerConfig);
41
- if (value.agentlessDialerConfig !== undefined)
42
- return visitor.agentlessDialerConfig(value.agentlessDialerConfig);
43
- return visitor._(value.$unknown[0], value.$unknown[1]);
44
- };
45
- })(DialerConfig = exports.DialerConfig || (exports.DialerConfig = {}));
46
- class InternalServerException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
47
- constructor(opts) {
48
- super({
49
- name: "InternalServerException",
50
- $fault: "server",
51
- ...opts,
52
- });
53
- this.name = "InternalServerException";
54
- this.$fault = "server";
55
- this.$retryable = {};
56
- Object.setPrototypeOf(this, InternalServerException.prototype);
57
- this.xAmzErrorType = opts.xAmzErrorType;
58
- }
59
- }
60
- exports.InternalServerException = InternalServerException;
61
- class ResourceNotFoundException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
62
- constructor(opts) {
63
- super({
64
- name: "ResourceNotFoundException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- this.name = "ResourceNotFoundException";
69
- this.$fault = "client";
70
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
71
- this.xAmzErrorType = opts.xAmzErrorType;
72
- }
73
- }
74
- exports.ResourceNotFoundException = ResourceNotFoundException;
75
- class ServiceQuotaExceededException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
76
- constructor(opts) {
77
- super({
78
- name: "ServiceQuotaExceededException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- this.name = "ServiceQuotaExceededException";
83
- this.$fault = "client";
84
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
85
- this.xAmzErrorType = opts.xAmzErrorType;
86
- }
87
- }
88
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
89
- class ThrottlingException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
90
- constructor(opts) {
91
- super({
92
- name: "ThrottlingException",
93
- $fault: "client",
94
- ...opts,
95
- });
96
- this.name = "ThrottlingException";
97
- this.$fault = "client";
98
- this.$retryable = {};
99
- Object.setPrototypeOf(this, ThrottlingException.prototype);
100
- this.xAmzErrorType = opts.xAmzErrorType;
101
- }
102
- }
103
- exports.ThrottlingException = ThrottlingException;
104
- class ValidationException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
105
- constructor(opts) {
106
- super({
107
- name: "ValidationException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- this.name = "ValidationException";
112
- this.$fault = "client";
113
- Object.setPrototypeOf(this, ValidationException.prototype);
114
- this.xAmzErrorType = opts.xAmzErrorType;
115
- }
116
- }
117
- exports.ValidationException = ValidationException;
118
- class InvalidStateException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
119
- constructor(opts) {
120
- super({
121
- name: "InvalidStateException",
122
- $fault: "client",
123
- ...opts,
124
- });
125
- this.name = "InvalidStateException";
126
- this.$fault = "client";
127
- Object.setPrototypeOf(this, InvalidStateException.prototype);
128
- this.xAmzErrorType = opts.xAmzErrorType;
129
- }
130
- }
131
- exports.InvalidStateException = InvalidStateException;
132
- exports.CampaignState = {
133
- FAILED: "Failed",
134
- INITIALIZED: "Initialized",
135
- PAUSED: "Paused",
136
- RUNNING: "Running",
137
- STOPPED: "Stopped",
138
- };
139
- exports.GetCampaignStateBatchFailureCode = {
140
- RESOURCE_NOT_FOUND: "ResourceNotFound",
141
- UNKNOWN_ERROR: "UnknownError",
142
- };
143
- exports.EncryptionType = {
144
- KMS: "KMS",
145
- };
146
- exports.InstanceOnboardingJobFailureCode = {
147
- EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED",
148
- EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
149
- IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED",
150
- INTERNAL_FAILURE: "INTERNAL_FAILURE",
151
- KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
152
- KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
153
- };
154
- exports.InstanceOnboardingJobStatusCode = {
155
- FAILED: "FAILED",
156
- IN_PROGRESS: "IN_PROGRESS",
157
- SUCCEEDED: "SUCCEEDED",
158
- };
159
- exports.InstanceIdFilterOperator = {
160
- EQ: "Eq",
161
- };
162
- class InvalidCampaignStateException extends ConnectCampaignsServiceException_1.ConnectCampaignsServiceException {
163
- constructor(opts) {
164
- super({
165
- name: "InvalidCampaignStateException",
166
- $fault: "client",
167
- ...opts,
168
- });
169
- this.name = "InvalidCampaignStateException";
170
- this.$fault = "client";
171
- Object.setPrototypeOf(this, InvalidCampaignStateException.prototype);
172
- this.state = opts.state;
173
- this.xAmzErrorType = opts.xAmzErrorType;
174
- }
175
- }
176
- exports.InvalidCampaignStateException = InvalidCampaignStateException;
177
- exports.FailureCode = {
178
- INVALID_INPUT: "InvalidInput",
179
- REQUEST_THROTTLED: "RequestThrottled",
180
- UNKNOWN_ERROR: "UnknownError",
181
- };
182
- const DialRequestFilterSensitiveLog = (obj) => ({
183
- ...obj,
184
- ...(obj.phoneNumber && { phoneNumber: smithy_client_1.SENSITIVE_STRING }),
185
- ...(obj.attributes && { attributes: smithy_client_1.SENSITIVE_STRING }),
186
- });
187
- exports.DialRequestFilterSensitiveLog = DialRequestFilterSensitiveLog;
188
- const PutDialRequestBatchRequestFilterSensitiveLog = (obj) => ({
189
- ...obj,
190
- ...(obj.dialRequests && { dialRequests: obj.dialRequests.map((item) => (0, exports.DialRequestFilterSensitiveLog)(item)) }),
191
- });
192
- exports.PutDialRequestBatchRequestFilterSensitiveLog = PutDialRequestBatchRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCampaigns = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListCampaignsCommand_1 = require("../commands/ListCampaignsCommand");
6
- const ConnectCampaignsClient_1 = require("../ConnectCampaignsClient");
7
- exports.paginateListCampaigns = (0, core_1.createPaginator)(ConnectCampaignsClient_1.ConnectCampaignsClient, ListCampaignsCommand_1.ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListCampaignsPaginator"), exports);
1
+ module.exports = require("../index.js");