@aws-sdk/client-kendra-ranking 3.490.0 → 3.495.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,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KendraRankingServiceException = 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 KendraRankingServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, KendraRankingServiceException.prototype);
10
- }
11
- }
12
- exports.KendraRankingServiceException = KendraRankingServiceException;
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,123 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceUnavailableException = exports.RescoreExecutionPlanStatus = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- const KendraRankingServiceException_1 = require("./KendraRankingServiceException");
5
- class AccessDeniedException extends KendraRankingServiceException_1.KendraRankingServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- this.Message = opts.Message;
16
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- class ConflictException extends KendraRankingServiceException_1.KendraRankingServiceException {
20
- constructor(opts) {
21
- super({
22
- name: "ConflictException",
23
- $fault: "client",
24
- ...opts,
25
- });
26
- this.name = "ConflictException";
27
- this.$fault = "client";
28
- Object.setPrototypeOf(this, ConflictException.prototype);
29
- this.Message = opts.Message;
30
- }
31
- }
32
- exports.ConflictException = ConflictException;
33
- class InternalServerException extends KendraRankingServiceException_1.KendraRankingServiceException {
34
- constructor(opts) {
35
- super({
36
- name: "InternalServerException",
37
- $fault: "server",
38
- ...opts,
39
- });
40
- this.name = "InternalServerException";
41
- this.$fault = "server";
42
- Object.setPrototypeOf(this, InternalServerException.prototype);
43
- this.Message = opts.Message;
44
- }
45
- }
46
- exports.InternalServerException = InternalServerException;
47
- class ServiceQuotaExceededException extends KendraRankingServiceException_1.KendraRankingServiceException {
48
- constructor(opts) {
49
- super({
50
- name: "ServiceQuotaExceededException",
51
- $fault: "client",
52
- ...opts,
53
- });
54
- this.name = "ServiceQuotaExceededException";
55
- this.$fault = "client";
56
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
57
- this.Message = opts.Message;
58
- }
59
- }
60
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
61
- class ThrottlingException extends KendraRankingServiceException_1.KendraRankingServiceException {
62
- constructor(opts) {
63
- super({
64
- name: "ThrottlingException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- this.name = "ThrottlingException";
69
- this.$fault = "client";
70
- Object.setPrototypeOf(this, ThrottlingException.prototype);
71
- this.Message = opts.Message;
72
- }
73
- }
74
- exports.ThrottlingException = ThrottlingException;
75
- class ValidationException extends KendraRankingServiceException_1.KendraRankingServiceException {
76
- constructor(opts) {
77
- super({
78
- name: "ValidationException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- this.name = "ValidationException";
83
- this.$fault = "client";
84
- Object.setPrototypeOf(this, ValidationException.prototype);
85
- this.Message = opts.Message;
86
- }
87
- }
88
- exports.ValidationException = ValidationException;
89
- class ResourceNotFoundException extends KendraRankingServiceException_1.KendraRankingServiceException {
90
- constructor(opts) {
91
- super({
92
- name: "ResourceNotFoundException",
93
- $fault: "client",
94
- ...opts,
95
- });
96
- this.name = "ResourceNotFoundException";
97
- this.$fault = "client";
98
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
99
- this.Message = opts.Message;
100
- }
101
- }
102
- exports.ResourceNotFoundException = ResourceNotFoundException;
103
- exports.RescoreExecutionPlanStatus = {
104
- ACTIVE: "ACTIVE",
105
- CREATING: "CREATING",
106
- DELETING: "DELETING",
107
- FAILED: "FAILED",
108
- UPDATING: "UPDATING",
109
- };
110
- class ResourceUnavailableException extends KendraRankingServiceException_1.KendraRankingServiceException {
111
- constructor(opts) {
112
- super({
113
- name: "ResourceUnavailableException",
114
- $fault: "client",
115
- ...opts,
116
- });
117
- this.name = "ResourceUnavailableException";
118
- this.$fault = "client";
119
- Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
120
- this.Message = opts.Message;
121
- }
122
- }
123
- exports.ResourceUnavailableException = ResourceUnavailableException;
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.paginateListRescoreExecutionPlans = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListRescoreExecutionPlansCommand_1 = require("../commands/ListRescoreExecutionPlansCommand");
6
- const KendraRankingClient_1 = require("../KendraRankingClient");
7
- exports.paginateListRescoreExecutionPlans = (0, core_1.createPaginator)(KendraRankingClient_1.KendraRankingClient, ListRescoreExecutionPlansCommand_1.ListRescoreExecutionPlansCommand, "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("./ListRescoreExecutionPlansPaginator"), exports);
1
+ module.exports = require("../index.js");