@aws-sdk/client-connectcases 3.933.0 → 3.935.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 +0 -72
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +93 -0
- package/dist-es/models/models_0.js +0 -93
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +103 -0
- package/dist-types/models/models_0.d.ts +0 -103
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -54
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -197,25 +197,6 @@ let ValidationException$1 = class ValidationException extends ConnectCasesServic
|
|
|
197
197
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
|
-
const RelatedItemType = {
|
|
201
|
-
COMMENT: "Comment",
|
|
202
|
-
CONNECT_CASE: "ConnectCase",
|
|
203
|
-
CONTACT: "Contact",
|
|
204
|
-
CUSTOM: "Custom",
|
|
205
|
-
FILE: "File",
|
|
206
|
-
SLA: "Sla",
|
|
207
|
-
};
|
|
208
|
-
const AuditEventType = {
|
|
209
|
-
CASE_CREATED: "Case.Created",
|
|
210
|
-
CASE_UPDATED: "Case.Updated",
|
|
211
|
-
RELATED_ITEM_CREATED: "RelatedItem.Created",
|
|
212
|
-
};
|
|
213
|
-
const CommentBodyTextType = {
|
|
214
|
-
PLAINTEXT: "Text/Plain",
|
|
215
|
-
};
|
|
216
|
-
const SlaType = {
|
|
217
|
-
CASE_FIELD: "CaseField",
|
|
218
|
-
};
|
|
219
200
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ConnectCasesServiceException$1 {
|
|
220
201
|
name = "ServiceQuotaExceededException";
|
|
221
202
|
$fault = "client";
|
|
@@ -228,47 +209,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
228
209
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
229
210
|
}
|
|
230
211
|
};
|
|
231
|
-
const SlaStatus = {
|
|
232
|
-
ACTIVE: "Active",
|
|
233
|
-
MET: "Met",
|
|
234
|
-
NOT_MET: "NotMet",
|
|
235
|
-
OVERDUE: "Overdue",
|
|
236
|
-
};
|
|
237
|
-
const Order = {
|
|
238
|
-
ASCENDING: "Asc",
|
|
239
|
-
DESCENDING: "Desc",
|
|
240
|
-
};
|
|
241
|
-
const RuleType = {
|
|
242
|
-
FIELD_OPTIONS: "FieldOptions",
|
|
243
|
-
HIDDEN: "Hidden",
|
|
244
|
-
REQUIRED: "Required",
|
|
245
|
-
};
|
|
246
|
-
const DomainStatus = {
|
|
247
|
-
ACTIVE: "Active",
|
|
248
|
-
CREATION_FAILED: "CreationFailed",
|
|
249
|
-
CREATION_IN_PROGRESS: "CreationInProgress",
|
|
250
|
-
};
|
|
251
|
-
const SearchAllRelatedItemsSortProperty = {
|
|
252
|
-
ASSOCIATION_TIME: "AssociationTime",
|
|
253
|
-
CASE_ID: "CaseId",
|
|
254
|
-
};
|
|
255
|
-
const FieldNamespace = {
|
|
256
|
-
CUSTOM: "Custom",
|
|
257
|
-
SYSTEM: "System",
|
|
258
|
-
};
|
|
259
|
-
const FieldType = {
|
|
260
|
-
BOOLEAN: "Boolean",
|
|
261
|
-
DATE_TIME: "DateTime",
|
|
262
|
-
NUMBER: "Number",
|
|
263
|
-
SINGLE_SELECT: "SingleSelect",
|
|
264
|
-
TEXT: "Text",
|
|
265
|
-
URL: "Url",
|
|
266
|
-
USER: "User",
|
|
267
|
-
};
|
|
268
|
-
const TemplateStatus = {
|
|
269
|
-
ACTIVE: "Active",
|
|
270
|
-
INACTIVE: "Inactive",
|
|
271
|
-
};
|
|
272
212
|
|
|
273
213
|
const _ADE = "AccessDeniedException";
|
|
274
214
|
const _AE = "AuditEvent";
|
|
@@ -2679,11 +2619,9 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2679
2619
|
get: function () { return smithyClient.Client; }
|
|
2680
2620
|
});
|
|
2681
2621
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2682
|
-
exports.AuditEventType = AuditEventType;
|
|
2683
2622
|
exports.BatchGetCaseRuleCommand = BatchGetCaseRuleCommand;
|
|
2684
2623
|
exports.BatchGetFieldCommand = BatchGetFieldCommand;
|
|
2685
2624
|
exports.BatchPutFieldOptionsCommand = BatchPutFieldOptionsCommand;
|
|
2686
|
-
exports.CommentBodyTextType = CommentBodyTextType;
|
|
2687
2625
|
exports.ConflictException = ConflictException$1;
|
|
2688
2626
|
exports.ConnectCases = ConnectCases;
|
|
2689
2627
|
exports.ConnectCasesClient = ConnectCasesClient;
|
|
@@ -2702,9 +2640,6 @@ exports.DeleteFieldCommand = DeleteFieldCommand;
|
|
|
2702
2640
|
exports.DeleteLayoutCommand = DeleteLayoutCommand;
|
|
2703
2641
|
exports.DeleteRelatedItemCommand = DeleteRelatedItemCommand;
|
|
2704
2642
|
exports.DeleteTemplateCommand = DeleteTemplateCommand;
|
|
2705
|
-
exports.DomainStatus = DomainStatus;
|
|
2706
|
-
exports.FieldNamespace = FieldNamespace;
|
|
2707
|
-
exports.FieldType = FieldType;
|
|
2708
2643
|
exports.GetCaseAuditEventsCommand = GetCaseAuditEventsCommand;
|
|
2709
2644
|
exports.GetCaseCommand = GetCaseCommand;
|
|
2710
2645
|
exports.GetCaseEventConfigurationCommand = GetCaseEventConfigurationCommand;
|
|
@@ -2720,20 +2655,13 @@ exports.ListFieldsCommand = ListFieldsCommand;
|
|
|
2720
2655
|
exports.ListLayoutsCommand = ListLayoutsCommand;
|
|
2721
2656
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2722
2657
|
exports.ListTemplatesCommand = ListTemplatesCommand;
|
|
2723
|
-
exports.Order = Order;
|
|
2724
2658
|
exports.PutCaseEventConfigurationCommand = PutCaseEventConfigurationCommand;
|
|
2725
|
-
exports.RelatedItemType = RelatedItemType;
|
|
2726
2659
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
2727
|
-
exports.RuleType = RuleType;
|
|
2728
2660
|
exports.SearchAllRelatedItemsCommand = SearchAllRelatedItemsCommand;
|
|
2729
|
-
exports.SearchAllRelatedItemsSortProperty = SearchAllRelatedItemsSortProperty;
|
|
2730
2661
|
exports.SearchCasesCommand = SearchCasesCommand;
|
|
2731
2662
|
exports.SearchRelatedItemsCommand = SearchRelatedItemsCommand;
|
|
2732
2663
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
2733
|
-
exports.SlaStatus = SlaStatus;
|
|
2734
|
-
exports.SlaType = SlaType;
|
|
2735
2664
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2736
|
-
exports.TemplateStatus = TemplateStatus;
|
|
2737
2665
|
exports.ThrottlingException = ThrottlingException$1;
|
|
2738
2666
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2739
2667
|
exports.UpdateCaseCommand = UpdateCaseCommand;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./ConnectCasesClient";
|
|
|
2
2
|
export * from "./ConnectCases";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { ConnectCasesServiceException } from "./models/ConnectCasesServiceException";
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ConnectCasesServiceException as __BaseException } from "./ConnectCasesServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalServerException extends __BaseException {
|
|
27
|
+
name = "InternalServerException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
$retryable = {};
|
|
30
|
+
retryAfterSeconds;
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "InternalServerException",
|
|
34
|
+
$fault: "server",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
38
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
42
|
+
name = "ResourceNotFoundException";
|
|
43
|
+
$fault = "client";
|
|
44
|
+
resourceId;
|
|
45
|
+
resourceType;
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "ResourceNotFoundException",
|
|
49
|
+
$fault: "client",
|
|
50
|
+
...opts,
|
|
51
|
+
});
|
|
52
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
53
|
+
this.resourceId = opts.resourceId;
|
|
54
|
+
this.resourceType = opts.resourceType;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export class ThrottlingException extends __BaseException {
|
|
58
|
+
name = "ThrottlingException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
$retryable = {};
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "ThrottlingException",
|
|
64
|
+
$fault: "client",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export class ValidationException extends __BaseException {
|
|
71
|
+
name = "ValidationException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ValidationException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
83
|
+
name = "ServiceQuotaExceededException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "ServiceQuotaExceededException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -1,84 +1,3 @@
|
|
|
1
|
-
import { ConnectCasesServiceException as __BaseException } from "./ConnectCasesServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ConflictException extends __BaseException {
|
|
15
|
-
name = "ConflictException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "ConflictException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class InternalServerException extends __BaseException {
|
|
27
|
-
name = "InternalServerException";
|
|
28
|
-
$fault = "server";
|
|
29
|
-
$retryable = {};
|
|
30
|
-
retryAfterSeconds;
|
|
31
|
-
constructor(opts) {
|
|
32
|
-
super({
|
|
33
|
-
name: "InternalServerException",
|
|
34
|
-
$fault: "server",
|
|
35
|
-
...opts,
|
|
36
|
-
});
|
|
37
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
38
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
42
|
-
name = "ResourceNotFoundException";
|
|
43
|
-
$fault = "client";
|
|
44
|
-
resourceId;
|
|
45
|
-
resourceType;
|
|
46
|
-
constructor(opts) {
|
|
47
|
-
super({
|
|
48
|
-
name: "ResourceNotFoundException",
|
|
49
|
-
$fault: "client",
|
|
50
|
-
...opts,
|
|
51
|
-
});
|
|
52
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
53
|
-
this.resourceId = opts.resourceId;
|
|
54
|
-
this.resourceType = opts.resourceType;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
export class ThrottlingException extends __BaseException {
|
|
58
|
-
name = "ThrottlingException";
|
|
59
|
-
$fault = "client";
|
|
60
|
-
$retryable = {};
|
|
61
|
-
constructor(opts) {
|
|
62
|
-
super({
|
|
63
|
-
name: "ThrottlingException",
|
|
64
|
-
$fault: "client",
|
|
65
|
-
...opts,
|
|
66
|
-
});
|
|
67
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
export class ValidationException extends __BaseException {
|
|
71
|
-
name = "ValidationException";
|
|
72
|
-
$fault = "client";
|
|
73
|
-
constructor(opts) {
|
|
74
|
-
super({
|
|
75
|
-
name: "ValidationException",
|
|
76
|
-
$fault: "client",
|
|
77
|
-
...opts,
|
|
78
|
-
});
|
|
79
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
1
|
export const RelatedItemType = {
|
|
83
2
|
COMMENT: "Comment",
|
|
84
3
|
CONNECT_CASE: "ConnectCase",
|
|
@@ -98,18 +17,6 @@ export const CommentBodyTextType = {
|
|
|
98
17
|
export const SlaType = {
|
|
99
18
|
CASE_FIELD: "CaseField",
|
|
100
19
|
};
|
|
101
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
102
|
-
name = "ServiceQuotaExceededException";
|
|
103
|
-
$fault = "client";
|
|
104
|
-
constructor(opts) {
|
|
105
|
-
super({
|
|
106
|
-
name: "ServiceQuotaExceededException",
|
|
107
|
-
$fault: "client",
|
|
108
|
-
...opts,
|
|
109
|
-
});
|
|
110
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
20
|
export const SlaStatus = {
|
|
114
21
|
ACTIVE: "Active",
|
|
115
22
|
MET: "Met",
|
|
@@ -384,7 +384,7 @@ const _va = "values";
|
|
|
384
384
|
const n0 = "com.amazonaws.connectcases";
|
|
385
385
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
386
386
|
import { ConnectCasesServiceException as __ConnectCasesServiceException } from "../models/ConnectCasesServiceException";
|
|
387
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
387
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
388
388
|
export var CustomEntity = [0, n0, _CE, 8, 0];
|
|
389
389
|
export var SlaName = [0, n0, _SN, 8, 0];
|
|
390
390
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { ConnectCasesExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { ConnectCasesServiceException } from "./models/ConnectCasesServiceException";
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ConnectCasesServiceException as __BaseException } from "./ConnectCasesServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConflictException extends __BaseException {
|
|
20
|
+
readonly name: "ConflictException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>We couldn't process your request because of an issue with the server. Try again later.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class InternalServerException extends __BaseException {
|
|
32
|
+
readonly name: "InternalServerException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
$retryable: {};
|
|
35
|
+
/**
|
|
36
|
+
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
retryAfterSeconds?: number | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>We couldn't find the requested resource. Check that your resources exists and were created in the same Amazon Web Services Region as your request, and try your request again.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
50
|
+
readonly name: "ResourceNotFoundException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
/**
|
|
53
|
+
* <p>Unique identifier of the resource affected.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
resourceId: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>Type of the resource affected.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
resourceType: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* <p>The rate has been exceeded for this API. Please try again after a few minutes.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class ThrottlingException extends __BaseException {
|
|
72
|
+
readonly name: "ThrottlingException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
$retryable: {};
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* <p>The request isn't valid. Check the syntax and try again.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ValidationException extends __BaseException {
|
|
85
|
+
readonly name: "ValidationException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* <p>The service quota has been exceeded. For a list of service quotas, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
97
|
+
readonly name: "ServiceQuotaExceededException";
|
|
98
|
+
readonly $fault: "client";
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
103
|
+
}
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ConnectCasesServiceException as __BaseException } from "./ConnectCasesServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.</p>
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare class ConflictException extends __BaseException {
|
|
20
|
-
readonly name: "ConflictException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
26
|
-
}
|
|
27
1
|
/**
|
|
28
2
|
* <p>An empty value. You cannot set <code>EmptyFieldValue</code> on a field that is required on a case template.</p> <p>This structure will never have any data members. It signifies an empty value on a case field.</p>
|
|
29
3
|
* @public
|
|
@@ -229,71 +203,6 @@ export interface CreateCaseResponse {
|
|
|
229
203
|
*/
|
|
230
204
|
caseArn: string | undefined;
|
|
231
205
|
}
|
|
232
|
-
/**
|
|
233
|
-
* <p>We couldn't process your request because of an issue with the server. Try again later.</p>
|
|
234
|
-
* @public
|
|
235
|
-
*/
|
|
236
|
-
export declare class InternalServerException extends __BaseException {
|
|
237
|
-
readonly name: "InternalServerException";
|
|
238
|
-
readonly $fault: "server";
|
|
239
|
-
$retryable: {};
|
|
240
|
-
/**
|
|
241
|
-
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
242
|
-
* @public
|
|
243
|
-
*/
|
|
244
|
-
retryAfterSeconds?: number | undefined;
|
|
245
|
-
/**
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* <p>We couldn't find the requested resource. Check that your resources exists and were created in the same Amazon Web Services Region as your request, and try your request again.</p>
|
|
252
|
-
* @public
|
|
253
|
-
*/
|
|
254
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
255
|
-
readonly name: "ResourceNotFoundException";
|
|
256
|
-
readonly $fault: "client";
|
|
257
|
-
/**
|
|
258
|
-
* <p>Unique identifier of the resource affected.</p>
|
|
259
|
-
* @public
|
|
260
|
-
*/
|
|
261
|
-
resourceId: string | undefined;
|
|
262
|
-
/**
|
|
263
|
-
* <p>Type of the resource affected.</p>
|
|
264
|
-
* @public
|
|
265
|
-
*/
|
|
266
|
-
resourceType: string | undefined;
|
|
267
|
-
/**
|
|
268
|
-
* @internal
|
|
269
|
-
*/
|
|
270
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* <p>The rate has been exceeded for this API. Please try again after a few minutes.</p>
|
|
274
|
-
* @public
|
|
275
|
-
*/
|
|
276
|
-
export declare class ThrottlingException extends __BaseException {
|
|
277
|
-
readonly name: "ThrottlingException";
|
|
278
|
-
readonly $fault: "client";
|
|
279
|
-
$retryable: {};
|
|
280
|
-
/**
|
|
281
|
-
* @internal
|
|
282
|
-
*/
|
|
283
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* <p>The request isn't valid. Check the syntax and try again.</p>
|
|
287
|
-
* @public
|
|
288
|
-
*/
|
|
289
|
-
export declare class ValidationException extends __BaseException {
|
|
290
|
-
readonly name: "ValidationException";
|
|
291
|
-
readonly $fault: "client";
|
|
292
|
-
/**
|
|
293
|
-
* @internal
|
|
294
|
-
*/
|
|
295
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
296
|
-
}
|
|
297
206
|
/**
|
|
298
207
|
* @public
|
|
299
208
|
*/
|
|
@@ -970,18 +879,6 @@ export interface CreateRelatedItemResponse {
|
|
|
970
879
|
*/
|
|
971
880
|
relatedItemArn: string | undefined;
|
|
972
881
|
}
|
|
973
|
-
/**
|
|
974
|
-
* <p>The service quota has been exceeded. For a list of service quotas, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
975
|
-
* @public
|
|
976
|
-
*/
|
|
977
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
978
|
-
readonly name: "ServiceQuotaExceededException";
|
|
979
|
-
readonly $fault: "client";
|
|
980
|
-
/**
|
|
981
|
-
* @internal
|
|
982
|
-
*/
|
|
983
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
984
|
-
}
|
|
985
882
|
/**
|
|
986
883
|
* @public
|
|
987
884
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ConnectCasesExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { ConnectCasesServiceException } from "./models/ConnectCasesServiceException";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ConnectCasesServiceException as __BaseException } from "./ConnectCasesServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ConflictException extends __BaseException {
|
|
11
|
+
readonly name: "ConflictException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
export declare class InternalServerException extends __BaseException {
|
|
16
|
+
readonly name: "InternalServerException";
|
|
17
|
+
readonly $fault: "server";
|
|
18
|
+
$retryable: {};
|
|
19
|
+
retryAfterSeconds?: number | undefined;
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
25
|
+
readonly name: "ResourceNotFoundException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
resourceId: string | undefined;
|
|
28
|
+
resourceType: string | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class ThrottlingException extends __BaseException {
|
|
34
|
+
readonly name: "ThrottlingException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
$retryable: {};
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class ValidationException extends __BaseException {
|
|
42
|
+
readonly name: "ValidationException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
constructor(
|
|
45
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
49
|
+
readonly name: "ServiceQuotaExceededException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ConnectCasesServiceException as __BaseException } from "./ConnectCasesServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
10
|
-
export declare class ConflictException extends __BaseException {
|
|
11
|
-
readonly name: "ConflictException";
|
|
12
|
-
readonly $fault: "client";
|
|
13
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
|
-
}
|
|
15
1
|
export interface EmptyFieldValue {}
|
|
16
2
|
export type FieldValueUnion =
|
|
17
3
|
| FieldValueUnion.BooleanValueMember
|
|
@@ -119,39 +105,6 @@ export interface CreateCaseResponse {
|
|
|
119
105
|
caseId: string | undefined;
|
|
120
106
|
caseArn: string | undefined;
|
|
121
107
|
}
|
|
122
|
-
export declare class InternalServerException extends __BaseException {
|
|
123
|
-
readonly name: "InternalServerException";
|
|
124
|
-
readonly $fault: "server";
|
|
125
|
-
$retryable: {};
|
|
126
|
-
retryAfterSeconds?: number | undefined;
|
|
127
|
-
constructor(
|
|
128
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
132
|
-
readonly name: "ResourceNotFoundException";
|
|
133
|
-
readonly $fault: "client";
|
|
134
|
-
resourceId: string | undefined;
|
|
135
|
-
resourceType: string | undefined;
|
|
136
|
-
constructor(
|
|
137
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
138
|
-
);
|
|
139
|
-
}
|
|
140
|
-
export declare class ThrottlingException extends __BaseException {
|
|
141
|
-
readonly name: "ThrottlingException";
|
|
142
|
-
readonly $fault: "client";
|
|
143
|
-
$retryable: {};
|
|
144
|
-
constructor(
|
|
145
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
export declare class ValidationException extends __BaseException {
|
|
149
|
-
readonly name: "ValidationException";
|
|
150
|
-
readonly $fault: "client";
|
|
151
|
-
constructor(
|
|
152
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
108
|
export interface DeleteCaseRequest {
|
|
156
109
|
domainId: string | undefined;
|
|
157
110
|
caseId: string | undefined;
|
|
@@ -437,13 +390,6 @@ export interface CreateRelatedItemResponse {
|
|
|
437
390
|
relatedItemId: string | undefined;
|
|
438
391
|
relatedItemArn: string | undefined;
|
|
439
392
|
}
|
|
440
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
441
|
-
readonly name: "ServiceQuotaExceededException";
|
|
442
|
-
readonly $fault: "client";
|
|
443
|
-
constructor(
|
|
444
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
445
|
-
);
|
|
446
|
-
}
|
|
447
393
|
export interface DeleteRelatedItemRequest {
|
|
448
394
|
domainId: string | undefined;
|
|
449
395
|
caseId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcases",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcases Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectcases",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|