@aws-sdk/client-kendra 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 +396 -396
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +382 -0
- package/dist-es/models/errors.js +171 -0
- package/dist-es/models/models_0.js +1 -525
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +1 -2
- package/dist-types/commands/QueryCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExperienceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +878 -0
- package/dist-types/models/errors.d.ts +185 -0
- package/dist-types/models/models_0.d.ts +1402 -1004
- package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +485 -0
- package/dist-types/ts3.4/models/errors.d.ts +101 -0
- package/dist-types/ts3.4/models/models_0.d.ts +322 -559
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -29
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -1462
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -321
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KendraServiceException as __BaseException } from "./KendraServiceException";
|
|
3
|
+
import { ConflictingItem } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You don't have sufficient access to perform this action. Please ensure you have the
|
|
6
|
+
* required permission policies and user accounts and try again.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
Message?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
20
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export declare class InternalServerException extends __BaseException {
|
|
24
|
+
readonly name: "InternalServerException";
|
|
25
|
+
readonly $fault: "server";
|
|
26
|
+
Message?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* <p>The resource you want to use already exists. Please check you have provided the
|
|
34
|
+
* correct resource and try again.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare class ResourceAlreadyExistException extends __BaseException {
|
|
38
|
+
readonly name: "ResourceAlreadyExistException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
Message?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistException, __BaseException>);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
48
|
+
* resource and try again.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
52
|
+
readonly name: "ResourceNotFoundException";
|
|
53
|
+
readonly $fault: "client";
|
|
54
|
+
Message?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p>The request was denied due to request throttling. Please reduce the number of requests
|
|
62
|
+
* and try again.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class ThrottlingException extends __BaseException {
|
|
66
|
+
readonly name: "ThrottlingException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
Message?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
76
|
+
* Please provide the correct input and try again.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ValidationException extends __BaseException {
|
|
80
|
+
readonly name: "ValidationException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
Message?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* <p>A conflict occurred with the request. Please fix any inconsistences with your
|
|
90
|
+
* resources and try again.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ConflictException extends __BaseException {
|
|
94
|
+
readonly name: "ConflictException";
|
|
95
|
+
readonly $fault: "client";
|
|
96
|
+
Message?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>You have exceeded the set limits for your Amazon Kendra service. Please see
|
|
104
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
|
|
105
|
+
* more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
|
|
106
|
+
* an increase of limits.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
110
|
+
readonly name: "ServiceQuotaExceededException";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
Message?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* <p>An error message with a list of conflicting queries used across different sets
|
|
120
|
+
* of featured results. This occurred with the request for a new featured results set.
|
|
121
|
+
* Check that the queries you specified for featured results are unique per featured
|
|
122
|
+
* results set for each index.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class FeaturedResultsConflictException extends __BaseException {
|
|
126
|
+
readonly name: "FeaturedResultsConflictException";
|
|
127
|
+
readonly $fault: "client";
|
|
128
|
+
/**
|
|
129
|
+
* <p>An explanation for the conflicting queries.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
Message?: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* <p>A list of the conflicting queries, including the query text, the name for
|
|
135
|
+
* the featured results set, and the identifier of the featured results set.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
ConflictingItems?: ConflictingItem[] | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
constructor(opts: __ExceptionOptionType<FeaturedResultsConflictException, __BaseException>);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* <p>The input to the request is not valid. Please provide the correct input and try
|
|
146
|
+
* again.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
150
|
+
readonly name: "InvalidRequestException";
|
|
151
|
+
readonly $fault: "client";
|
|
152
|
+
Message?: string | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
*/
|
|
156
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* <p>The resource you want to use isn't available. Please check you have provided the
|
|
160
|
+
* correct resource and try again.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export declare class ResourceUnavailableException extends __BaseException {
|
|
164
|
+
readonly name: "ResourceUnavailableException";
|
|
165
|
+
readonly $fault: "client";
|
|
166
|
+
Message?: string | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>The resource you want to use is currently in use. Please check you have provided the
|
|
174
|
+
* correct resource and try again.</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
178
|
+
readonly name: "ResourceInUseException";
|
|
179
|
+
readonly $fault: "client";
|
|
180
|
+
Message?: string | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
185
|
+
}
|