@aws-sdk/client-qbusiness 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.
Files changed (73) hide show
  1. package/dist-cjs/index.js +340 -345
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +339 -0
  4. package/dist-es/models/errors.js +137 -0
  5. package/dist-es/models/models_0.js +0 -417
  6. package/dist-es/models/models_1.js +1 -60
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetChatResponseConfigurationCommand.d.ts +1 -1
  9. package/dist-types/commands/GetDocumentContentCommand.d.ts +1 -1
  10. package/dist-types/commands/GetGroupCommand.d.ts +1 -1
  11. package/dist-types/commands/GetMediaCommand.d.ts +1 -1
  12. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  14. package/dist-types/commands/ListAttachmentsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListChatResponseConfigurationsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListConversationsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListMessagesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListPluginActionsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +1 -1
  24. package/dist-types/commands/ListSubscriptionsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/PutFeedbackCommand.d.ts +1 -1
  27. package/dist-types/commands/PutGroupCommand.d.ts +1 -1
  28. package/dist-types/commands/SearchRelevantContentCommand.d.ts +2 -1
  29. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  30. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  31. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +2 -1
  34. package/dist-types/index.d.ts +4 -1
  35. package/dist-types/models/enums.d.ts +811 -0
  36. package/dist-types/models/errors.d.ts +164 -0
  37. package/dist-types/models/models_0.d.ts +1208 -858
  38. package/dist-types/models/models_1.d.ts +2 -1325
  39. package/dist-types/ts3.4/commands/GetChatResponseConfigurationCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListChatResponseConfigurationsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListConversationsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/index.d.ts +4 -1
  66. package/dist-types/ts3.4/models/enums.d.ts +440 -0
  67. package/dist-types/ts3.4/models/errors.d.ts +80 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +359 -453
  69. package/dist-types/ts3.4/models/models_1.d.ts +1 -392
  70. package/package.json +12 -12
  71. package/dist-es/models/index.js +0 -2
  72. package/dist-types/models/index.d.ts +0 -2
  73. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -0,0 +1,164 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
3
+ import { ValidationExceptionField } from "./models_0";
4
+ import { QBusinessServiceException as __BaseException } from "./QBusinessServiceException";
5
+ /**
6
+ * <p> You don't have access to perform this action. Make sure you have the 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
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.</p>
19
+ * @public
20
+ */
21
+ export declare class ConflictException extends __BaseException {
22
+ readonly name: "ConflictException";
23
+ readonly $fault: "client";
24
+ /**
25
+ * <p>The identifier of the resource affected.</p>
26
+ * @public
27
+ */
28
+ resourceId: string | undefined;
29
+ /**
30
+ * <p>The type of the resource affected.</p>
31
+ * @public
32
+ */
33
+ resourceType: string | undefined;
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
41
+ * @public
42
+ */
43
+ export declare class InternalServerException extends __BaseException {
44
+ readonly name: "InternalServerException";
45
+ readonly $fault: "server";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.</p>
53
+ * @public
54
+ */
55
+ export declare class ResourceNotFoundException extends __BaseException {
56
+ readonly name: "ResourceNotFoundException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * <p>The identifier of the resource affected.</p>
60
+ * @public
61
+ */
62
+ resourceId: string | undefined;
63
+ /**
64
+ * <p>The type of the resource affected.</p>
65
+ * @public
66
+ */
67
+ resourceType: string | undefined;
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p>You have exceeded the set limits for your Amazon Q Business service. </p>
75
+ * @public
76
+ */
77
+ export declare class ServiceQuotaExceededException extends __BaseException {
78
+ readonly name: "ServiceQuotaExceededException";
79
+ readonly $fault: "client";
80
+ /**
81
+ * <p>The identifier of the resource affected.</p>
82
+ * @public
83
+ */
84
+ resourceId: string | undefined;
85
+ /**
86
+ * <p>The type of the resource affected.</p>
87
+ * @public
88
+ */
89
+ resourceType: string | undefined;
90
+ /**
91
+ * @internal
92
+ */
93
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
94
+ }
95
+ /**
96
+ * <p>The request was denied due to throttling. Reduce the number of requests and try again.</p>
97
+ * @public
98
+ */
99
+ export declare class ThrottlingException extends __BaseException {
100
+ readonly name: "ThrottlingException";
101
+ readonly $fault: "client";
102
+ /**
103
+ * @internal
104
+ */
105
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
106
+ }
107
+ /**
108
+ * <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.</p>
109
+ * @public
110
+ */
111
+ export declare class ValidationException extends __BaseException {
112
+ readonly name: "ValidationException";
113
+ readonly $fault: "client";
114
+ /**
115
+ * <p>The reason for the <code>ValidationException</code>.</p>
116
+ * @public
117
+ */
118
+ reason: ValidationExceptionReason | undefined;
119
+ /**
120
+ * <p>The input field(s) that failed validation.</p>
121
+ * @public
122
+ */
123
+ fields?: ValidationExceptionField[] | undefined;
124
+ /**
125
+ * @internal
126
+ */
127
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
128
+ }
129
+ /**
130
+ * <p>An external resource that you configured with your application is returning errors and preventing this operation from succeeding. Fix those errors and try again. </p>
131
+ * @public
132
+ */
133
+ export declare class ExternalResourceException extends __BaseException {
134
+ readonly name: "ExternalResourceException";
135
+ readonly $fault: "client";
136
+ /**
137
+ * @internal
138
+ */
139
+ constructor(opts: __ExceptionOptionType<ExternalResourceException, __BaseException>);
140
+ }
141
+ /**
142
+ * <p>You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.</p>
143
+ * @public
144
+ */
145
+ export declare class LicenseNotFoundException extends __BaseException {
146
+ readonly name: "LicenseNotFoundException";
147
+ readonly $fault: "client";
148
+ /**
149
+ * @internal
150
+ */
151
+ constructor(opts: __ExceptionOptionType<LicenseNotFoundException, __BaseException>);
152
+ }
153
+ /**
154
+ * <p>The requested media object is too large to be returned.</p>
155
+ * @public
156
+ */
157
+ export declare class MediaTooLargeException extends __BaseException {
158
+ readonly name: "MediaTooLargeException";
159
+ readonly $fault: "client";
160
+ /**
161
+ * @internal
162
+ */
163
+ constructor(opts: __ExceptionOptionType<MediaTooLargeException, __BaseException>);
164
+ }