@aws-sdk/client-qconnect 3.835.0 → 3.840.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 (92) hide show
  1. package/README.md +1 -34
  2. package/dist-cjs/index.js +50 -14
  3. package/dist-es/models/models_0.js +12 -13
  4. package/dist-es/models/models_1.js +14 -1
  5. package/dist-es/protocols/Aws_restJson1.js +17 -1
  6. package/dist-types/QConnect.d.ts +1 -34
  7. package/dist-types/QConnectClient.d.ts +1 -34
  8. package/dist-types/commands/ActivateMessageTemplateCommand.d.ts +2 -8
  9. package/dist-types/commands/CreateAIAgentCommand.d.ts +5 -6
  10. package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +5 -6
  11. package/dist-types/commands/CreateAIGuardrailCommand.d.ts +5 -6
  12. package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +5 -6
  13. package/dist-types/commands/CreateAIPromptCommand.d.ts +5 -6
  14. package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +5 -6
  15. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +3 -9
  16. package/dist-types/commands/CreateAssistantCommand.d.ts +5 -6
  17. package/dist-types/commands/CreateContentAssociationCommand.d.ts +6 -25
  18. package/dist-types/commands/CreateContentCommand.d.ts +5 -6
  19. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +6 -30
  20. package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +6 -11
  21. package/dist-types/commands/CreateMessageTemplateCommand.d.ts +3 -10
  22. package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +3 -16
  23. package/dist-types/commands/CreateQuickResponseCommand.d.ts +5 -6
  24. package/dist-types/commands/CreateSessionCommand.d.ts +5 -7
  25. package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +2 -7
  26. package/dist-types/commands/DeleteAIAgentCommand.d.ts +3 -0
  27. package/dist-types/commands/DeleteAIAgentVersionCommand.d.ts +4 -4
  28. package/dist-types/commands/DeleteAIGuardrailCommand.d.ts +4 -4
  29. package/dist-types/commands/DeleteAIGuardrailVersionCommand.d.ts +4 -4
  30. package/dist-types/commands/DeleteAIPromptCommand.d.ts +3 -0
  31. package/dist-types/commands/DeleteAIPromptVersionCommand.d.ts +4 -4
  32. package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +3 -0
  33. package/dist-types/commands/DeleteAssistantCommand.d.ts +3 -0
  34. package/dist-types/commands/DeleteContentAssociationCommand.d.ts +4 -4
  35. package/dist-types/commands/DeleteContentCommand.d.ts +4 -4
  36. package/dist-types/commands/DeleteImportJobCommand.d.ts +4 -4
  37. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +5 -13
  38. package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +2 -7
  39. package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +2 -9
  40. package/dist-types/commands/DeleteQuickResponseCommand.d.ts +3 -0
  41. package/dist-types/commands/GetAIAgentCommand.d.ts +3 -0
  42. package/dist-types/commands/GetAIGuardrailCommand.d.ts +3 -0
  43. package/dist-types/commands/GetAIPromptCommand.d.ts +3 -0
  44. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +3 -0
  45. package/dist-types/commands/GetAssistantCommand.d.ts +3 -0
  46. package/dist-types/commands/GetContentAssociationCommand.d.ts +4 -4
  47. package/dist-types/commands/GetContentCommand.d.ts +3 -0
  48. package/dist-types/commands/GetContentSummaryCommand.d.ts +3 -0
  49. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +3 -0
  50. package/dist-types/commands/GetMessageTemplateCommand.d.ts +4 -6
  51. package/dist-types/commands/GetQuickResponseCommand.d.ts +3 -0
  52. package/dist-types/commands/GetRecommendationsCommand.d.ts +1 -10
  53. package/dist-types/commands/GetSessionCommand.d.ts +3 -0
  54. package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +3 -0
  55. package/dist-types/commands/ListAIAgentsCommand.d.ts +3 -0
  56. package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +3 -0
  57. package/dist-types/commands/ListAIGuardrailsCommand.d.ts +3 -0
  58. package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +3 -0
  59. package/dist-types/commands/ListAIPromptsCommand.d.ts +3 -0
  60. package/dist-types/commands/ListAssistantsCommand.d.ts +3 -0
  61. package/dist-types/commands/ListContentAssociationsCommand.d.ts +4 -4
  62. package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +1 -2
  63. package/dist-types/commands/ListMessageTemplatesCommand.d.ts +1 -2
  64. package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +1 -3
  65. package/dist-types/commands/PutFeedbackCommand.d.ts +1 -2
  66. package/dist-types/commands/QueryAssistantCommand.d.ts +2 -11
  67. package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +1 -2
  68. package/dist-types/commands/RenderMessageTemplateCommand.d.ts +1 -5
  69. package/dist-types/commands/SearchContentCommand.d.ts +4 -2
  70. package/dist-types/commands/SearchMessageTemplatesCommand.d.ts +3 -0
  71. package/dist-types/commands/SearchQuickResponsesCommand.d.ts +4 -3
  72. package/dist-types/commands/SearchSessionsCommand.d.ts +3 -0
  73. package/dist-types/commands/SendMessageCommand.d.ts +2 -7
  74. package/dist-types/commands/StartContentUploadCommand.d.ts +4 -6
  75. package/dist-types/commands/StartImportJobCommand.d.ts +6 -16
  76. package/dist-types/commands/UpdateAIAgentCommand.d.ts +4 -4
  77. package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +4 -4
  78. package/dist-types/commands/UpdateAIPromptCommand.d.ts +4 -4
  79. package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +1 -2
  80. package/dist-types/commands/UpdateContentCommand.d.ts +4 -2
  81. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -6
  82. package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +2 -9
  83. package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +2 -9
  84. package/dist-types/commands/UpdateQuickResponseCommand.d.ts +5 -6
  85. package/dist-types/commands/UpdateSessionCommand.d.ts +4 -3
  86. package/dist-types/commands/UpdateSessionDataCommand.d.ts +3 -0
  87. package/dist-types/index.d.ts +1 -34
  88. package/dist-types/models/models_0.d.ts +229 -1216
  89. package/dist-types/models/models_1.d.ts +185 -393
  90. package/dist-types/ts3.4/models/models_0.d.ts +7 -25
  91. package/dist-types/ts3.4/models/models_1.d.ts +26 -1
  92. package/package.json +18 -18
package/README.md CHANGED
@@ -6,40 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript QConnect Client for Node.js, Browser and React Native.
8
8
 
9
- <ul>
10
- <li>
11
- <p>
12
- <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q
13
- actions</a>
14
- </p>
15
- </li>
16
- <li>
17
- <p>
18
- <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data
19
- types</a>
20
- </p>
21
- </li>
22
- </ul>
23
- <note>
24
- <p>
25
- <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse
26
- detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of
27
- the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of
28
- artificial intelligence (AI).</p>
29
- </note>
30
- <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced
31
- evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact
32
- center agents resolve customer issues quickly and accurately.</p>
33
- <p>Amazon Q in Connect automatically detects customer intent during calls and chats using conversational
34
- analytics and natural language understanding (NLU). It then provides agents with immediate,
35
- real-time generative responses and suggested actions, and links to relevant documents and
36
- articles. Agents can also query Amazon Q in Connect directly using natural language or keywords to answer
37
- customer requests.</p>
38
- <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or
39
- manage content by uploading custom files.</p>
40
- <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use Amazon Q in Connect for generative AI
41
- powered agent assistance in real-time</a> in the <i>Amazon Connect
42
- Administrator Guide</i>.</p>
9
+ <ul> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q actions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data types</a> </p> </li> </ul> <note> <p> <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of artificial intelligence (AI).</p> </note> <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.</p> <p>Amazon Q in Connect automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q in Connect directly using natural language or keywords to answer customer requests.</p> <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use Amazon Q in Connect for generative AI powered agent assistance in real-time</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
43
10
 
44
11
  ## Installing
45
12
 
package/dist-cjs/index.js CHANGED
@@ -303,6 +303,7 @@ __export(index_exports, {
303
303
  TextMessageFilterSensitiveLog: () => TextMessageFilterSensitiveLog,
304
304
  ThrottlingException: () => ThrottlingException,
305
305
  TooManyTagsException: () => TooManyTagsException,
306
+ UnauthorizedException: () => UnauthorizedException,
306
307
  UntagResourceCommand: () => UntagResourceCommand,
307
308
  UpdateAIAgentCommand: () => UpdateAIAgentCommand,
308
309
  UpdateAIGuardrailCommand: () => UpdateAIGuardrailCommand,
@@ -712,6 +713,24 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
712
713
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
713
714
  }
714
715
  };
716
+ var UnauthorizedException = class _UnauthorizedException extends QConnectServiceException {
717
+ static {
718
+ __name(this, "UnauthorizedException");
719
+ }
720
+ name = "UnauthorizedException";
721
+ $fault = "client";
722
+ /**
723
+ * @internal
724
+ */
725
+ constructor(opts) {
726
+ super({
727
+ name: "UnauthorizedException",
728
+ $fault: "client",
729
+ ...opts
730
+ });
731
+ Object.setPrototypeOf(this, _UnauthorizedException.prototype);
732
+ }
733
+ };
715
734
  var GuardrailFilterStrength = {
716
735
  HIGH: "HIGH",
717
736
  LOW: "LOW",
@@ -1666,19 +1685,6 @@ var CreateMessageTemplateAttachmentResponseFilterSensitiveLog = /* @__PURE__ */
1666
1685
  ...obj,
1667
1686
  ...obj.attachment && { attachment: MessageTemplateAttachmentFilterSensitiveLog(obj.attachment) }
1668
1687
  }), "CreateMessageTemplateAttachmentResponseFilterSensitiveLog");
1669
- var ExtendedMessageTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1670
- ...obj,
1671
- ...obj.content && { content: MessageTemplateContentProviderFilterSensitiveLog(obj.content) },
1672
- ...obj.groupingConfiguration && {
1673
- groupingConfiguration: GroupingConfigurationFilterSensitiveLog(obj.groupingConfiguration)
1674
- },
1675
- ...obj.defaultAttributes && {
1676
- defaultAttributes: MessageTemplateAttributesFilterSensitiveLog(obj.defaultAttributes)
1677
- },
1678
- ...obj.attachments && {
1679
- attachments: obj.attachments.map((item) => MessageTemplateAttachmentFilterSensitiveLog(item))
1680
- }
1681
- }), "ExtendedMessageTemplateDataFilterSensitiveLog");
1682
1688
 
1683
1689
  // src/models/models_1.ts
1684
1690
 
@@ -1780,6 +1786,19 @@ var DataDetails;
1780
1786
  return visitor._(value.$unknown[0], value.$unknown[1]);
1781
1787
  }, "visit");
1782
1788
  })(DataDetails || (DataDetails = {}));
1789
+ var ExtendedMessageTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1790
+ ...obj,
1791
+ ...obj.content && { content: MessageTemplateContentProviderFilterSensitiveLog(obj.content) },
1792
+ ...obj.groupingConfiguration && {
1793
+ groupingConfiguration: GroupingConfigurationFilterSensitiveLog(obj.groupingConfiguration)
1794
+ },
1795
+ ...obj.defaultAttributes && {
1796
+ defaultAttributes: MessageTemplateAttributesFilterSensitiveLog(obj.defaultAttributes)
1797
+ },
1798
+ ...obj.attachments && {
1799
+ attachments: obj.attachments.map((item) => MessageTemplateAttachmentFilterSensitiveLog(item))
1800
+ }
1801
+ }), "ExtendedMessageTemplateDataFilterSensitiveLog");
1783
1802
  var CreateMessageTemplateVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1784
1803
  ...obj,
1785
1804
  ...obj.messageTemplate && { messageTemplate: ExtendedMessageTemplateDataFilterSensitiveLog(obj.messageTemplate) }
@@ -4666,6 +4685,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
4666
4685
  case "ServiceQuotaExceededException":
4667
4686
  case "com.amazonaws.qconnect#ServiceQuotaExceededException":
4668
4687
  throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
4688
+ case "UnauthorizedException":
4689
+ case "com.amazonaws.qconnect#UnauthorizedException":
4690
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
4669
4691
  case "RequestTimeoutException":
4670
4692
  case "com.amazonaws.qconnect#RequestTimeoutException":
4671
4693
  throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
@@ -4791,6 +4813,19 @@ var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, con
4791
4813
  });
4792
4814
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
4793
4815
  }, "de_TooManyTagsExceptionRes");
4816
+ var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4817
+ const contents = (0, import_smithy_client.map)({});
4818
+ const data = parsedOutput.body;
4819
+ const doc = (0, import_smithy_client.take)(data, {
4820
+ message: import_smithy_client.expectString
4821
+ });
4822
+ Object.assign(contents, doc);
4823
+ const exception = new UnauthorizedException({
4824
+ $metadata: deserializeMetadata(parsedOutput),
4825
+ ...contents
4826
+ });
4827
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
4828
+ }, "de_UnauthorizedExceptionRes");
4794
4829
  var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4795
4830
  const contents = (0, import_smithy_client.map)({});
4796
4831
  const data = parsedOutput.body;
@@ -7102,6 +7137,7 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
7102
7137
  Origin,
7103
7138
  Status,
7104
7139
  ServiceQuotaExceededException,
7140
+ UnauthorizedException,
7105
7141
  GuardrailFilterStrength,
7106
7142
  GuardrailContentFilterType,
7107
7143
  GuardrailContextualGroundingFilterType,
@@ -7249,7 +7285,6 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
7249
7285
  CreateMessageTemplateAttachmentRequestFilterSensitiveLog,
7250
7286
  MessageTemplateAttachmentFilterSensitiveLog,
7251
7287
  CreateMessageTemplateAttachmentResponseFilterSensitiveLog,
7252
- ExtendedMessageTemplateDataFilterSensitiveLog,
7253
7288
  QuickResponseDataProvider,
7254
7289
  QuickResponseContentProvider,
7255
7290
  QuickResponseStatus,
@@ -7264,6 +7299,7 @@ var paginateSearchSessions = (0, import_core.createPaginator)(QConnectClient, Se
7264
7299
  QuickResponseQueryOperator,
7265
7300
  TooManyTagsException,
7266
7301
  DataDetails,
7302
+ ExtendedMessageTemplateDataFilterSensitiveLog,
7267
7303
  CreateMessageTemplateVersionResponseFilterSensitiveLog,
7268
7304
  QuickResponseDataProviderFilterSensitiveLog,
7269
7305
  CreateQuickResponseRequestFilterSensitiveLog,
@@ -145,6 +145,18 @@ export class ServiceQuotaExceededException extends __BaseException {
145
145
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
146
146
  }
147
147
  }
148
+ export class UnauthorizedException extends __BaseException {
149
+ name = "UnauthorizedException";
150
+ $fault = "client";
151
+ constructor(opts) {
152
+ super({
153
+ name: "UnauthorizedException",
154
+ $fault: "client",
155
+ ...opts,
156
+ });
157
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
158
+ }
159
+ }
148
160
  export const GuardrailFilterStrength = {
149
161
  HIGH: "HIGH",
150
162
  LOW: "LOW",
@@ -1098,16 +1110,3 @@ export const CreateMessageTemplateAttachmentResponseFilterSensitiveLog = (obj) =
1098
1110
  ...obj,
1099
1111
  ...(obj.attachment && { attachment: MessageTemplateAttachmentFilterSensitiveLog(obj.attachment) }),
1100
1112
  });
1101
- export const ExtendedMessageTemplateDataFilterSensitiveLog = (obj) => ({
1102
- ...obj,
1103
- ...(obj.content && { content: MessageTemplateContentProviderFilterSensitiveLog(obj.content) }),
1104
- ...(obj.groupingConfiguration && {
1105
- groupingConfiguration: GroupingConfigurationFilterSensitiveLog(obj.groupingConfiguration),
1106
- }),
1107
- ...(obj.defaultAttributes && {
1108
- defaultAttributes: MessageTemplateAttributesFilterSensitiveLog(obj.defaultAttributes),
1109
- }),
1110
- ...(obj.attachments && {
1111
- attachments: obj.attachments.map((item) => MessageTemplateAttachmentFilterSensitiveLog(item)),
1112
- }),
1113
- });
@@ -1,5 +1,5 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { ContentDataDetailsFilterSensitiveLog, DocumentFilterSensitiveLog, ExtendedMessageTemplateDataFilterSensitiveLog, GroupingConfigurationFilterSensitiveLog, IntentDetectedDataDetailsFilterSensitiveLog, KnowledgeBaseDataFilterSensitiveLog, MessageTemplateAttachmentFilterSensitiveLog, MessageTemplateAttributesFilterSensitiveLog, MessageTemplateContentProviderFilterSensitiveLog, MessageTemplateDataFilterSensitiveLog, RecommendationTriggerFilterSensitiveLog, SourceConfigurationFilterSensitiveLog, SourceContentDataDetailsFilterSensitiveLog, } from "./models_0";
2
+ import { ContentDataDetailsFilterSensitiveLog, DocumentFilterSensitiveLog, GroupingConfigurationFilterSensitiveLog, IntentDetectedDataDetailsFilterSensitiveLog, KnowledgeBaseDataFilterSensitiveLog, MessageTemplateAttachmentFilterSensitiveLog, MessageTemplateAttributesFilterSensitiveLog, MessageTemplateContentProviderFilterSensitiveLog, MessageTemplateDataFilterSensitiveLog, RecommendationTriggerFilterSensitiveLog, SourceConfigurationFilterSensitiveLog, SourceContentDataDetailsFilterSensitiveLog, } from "./models_0";
3
3
  import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
4
4
  export var QuickResponseDataProvider;
5
5
  (function (QuickResponseDataProvider) {
@@ -96,6 +96,19 @@ export var DataDetails;
96
96
  return visitor._(value.$unknown[0], value.$unknown[1]);
97
97
  };
98
98
  })(DataDetails || (DataDetails = {}));
99
+ export const ExtendedMessageTemplateDataFilterSensitiveLog = (obj) => ({
100
+ ...obj,
101
+ ...(obj.content && { content: MessageTemplateContentProviderFilterSensitiveLog(obj.content) }),
102
+ ...(obj.groupingConfiguration && {
103
+ groupingConfiguration: GroupingConfigurationFilterSensitiveLog(obj.groupingConfiguration),
104
+ }),
105
+ ...(obj.defaultAttributes && {
106
+ defaultAttributes: MessageTemplateAttributesFilterSensitiveLog(obj.defaultAttributes),
107
+ }),
108
+ ...(obj.attachments && {
109
+ attachments: obj.attachments.map((item) => MessageTemplateAttachmentFilterSensitiveLog(item)),
110
+ }),
111
+ });
99
112
  export const CreateMessageTemplateVersionResponseFilterSensitiveLog = (obj) => ({
100
113
  ...obj,
101
114
  ...(obj.messageTemplate && { messageTemplate: ExtendedMessageTemplateDataFilterSensitiveLog(obj.messageTemplate) }),
@@ -2,7 +2,7 @@ import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody a
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
- import { AccessDeniedException, AIAgentConfiguration, ConflictException, PreconditionFailedException, RequestTimeoutException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
+ import { AccessDeniedException, AIAgentConfiguration, ConflictException, PreconditionFailedException, RequestTimeoutException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/models_0";
6
6
  import { TooManyTagsException, } from "../models/models_1";
7
7
  import { QConnectServiceException as __BaseException } from "../models/QConnectServiceException";
8
8
  export const se_ActivateMessageTemplateCommand = async (input, context) => {
@@ -2593,6 +2593,9 @@ const de_CommandError = async (output, context) => {
2593
2593
  case "ServiceQuotaExceededException":
2594
2594
  case "com.amazonaws.qconnect#ServiceQuotaExceededException":
2595
2595
  throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2596
+ case "UnauthorizedException":
2597
+ case "com.amazonaws.qconnect#UnauthorizedException":
2598
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2596
2599
  case "RequestTimeoutException":
2597
2600
  case "com.amazonaws.qconnect#RequestTimeoutException":
2598
2601
  throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
@@ -2718,6 +2721,19 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
2718
2721
  });
2719
2722
  return __decorateServiceException(exception, parsedOutput.body);
2720
2723
  };
2724
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
2725
+ const contents = map({});
2726
+ const data = parsedOutput.body;
2727
+ const doc = take(data, {
2728
+ message: __expectString,
2729
+ });
2730
+ Object.assign(contents, doc);
2731
+ const exception = new UnauthorizedException({
2732
+ $metadata: deserializeMetadata(parsedOutput),
2733
+ ...contents,
2734
+ });
2735
+ return __decorateServiceException(exception, parsedOutput.body);
2736
+ };
2721
2737
  const de_ValidationExceptionRes = async (parsedOutput, context) => {
2722
2738
  const contents = map({});
2723
2739
  const data = parsedOutput.body;
@@ -642,40 +642,7 @@ export interface QConnect {
642
642
  updateSessionData(args: UpdateSessionDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSessionDataCommandOutput) => void): void;
643
643
  }
644
644
  /**
645
- * <ul>
646
- * <li>
647
- * <p>
648
- * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q
649
- * actions</a>
650
- * </p>
651
- * </li>
652
- * <li>
653
- * <p>
654
- * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data
655
- * types</a>
656
- * </p>
657
- * </li>
658
- * </ul>
659
- * <note>
660
- * <p>
661
- * <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse
662
- * detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of
663
- * the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of
664
- * artificial intelligence (AI).</p>
665
- * </note>
666
- * <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced
667
- * evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact
668
- * center agents resolve customer issues quickly and accurately.</p>
669
- * <p>Amazon Q in Connect automatically detects customer intent during calls and chats using conversational
670
- * analytics and natural language understanding (NLU). It then provides agents with immediate,
671
- * real-time generative responses and suggested actions, and links to relevant documents and
672
- * articles. Agents can also query Amazon Q in Connect directly using natural language or keywords to answer
673
- * customer requests.</p>
674
- * <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or
675
- * manage content by uploading custom files.</p>
676
- * <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use Amazon Q in Connect for generative AI
677
- * powered agent assistance in real-time</a> in the <i>Amazon Connect
678
- * Administrator Guide</i>.</p>
645
+ * <ul> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q actions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data types</a> </p> </li> </ul> <note> <p> <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of artificial intelligence (AI).</p> </note> <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.</p> <p>Amazon Q in Connect automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q in Connect directly using natural language or keywords to answer customer requests.</p> <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use Amazon Q in Connect for generative AI powered agent assistance in real-time</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
679
646
  * @public
680
647
  */
681
648
  export declare class QConnect extends QConnectClient implements QConnect {
@@ -260,40 +260,7 @@ export type QConnectClientResolvedConfigType = __SmithyResolvedConfiguration<__H
260
260
  export interface QConnectClientResolvedConfig extends QConnectClientResolvedConfigType {
261
261
  }
262
262
  /**
263
- * <ul>
264
- * <li>
265
- * <p>
266
- * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q
267
- * actions</a>
268
- * </p>
269
- * </li>
270
- * <li>
271
- * <p>
272
- * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data
273
- * types</a>
274
- * </p>
275
- * </li>
276
- * </ul>
277
- * <note>
278
- * <p>
279
- * <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse
280
- * detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of
281
- * the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of
282
- * artificial intelligence (AI).</p>
283
- * </note>
284
- * <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced
285
- * evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact
286
- * center agents resolve customer issues quickly and accurately.</p>
287
- * <p>Amazon Q in Connect automatically detects customer intent during calls and chats using conversational
288
- * analytics and natural language understanding (NLU). It then provides agents with immediate,
289
- * real-time generative responses and suggested actions, and links to relevant documents and
290
- * articles. Agents can also query Amazon Q in Connect directly using natural language or keywords to answer
291
- * customer requests.</p>
292
- * <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or
293
- * manage content by uploading custom files.</p>
294
- * <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use Amazon Q in Connect for generative AI
295
- * powered agent assistance in real-time</a> in the <i>Amazon Connect
296
- * Administrator Guide</i>.</p>
263
+ * <ul> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q actions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data types</a> </p> </li> </ul> <note> <p> <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of artificial intelligence (AI).</p> </note> <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.</p> <p>Amazon Q in Connect automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q in Connect directly using natural language or keywords to answer customer requests.</p> <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use Amazon Q in Connect for generative AI powered agent assistance in real-time</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
297
264
  * @public
298
265
  */
299
266
  export declare class QConnectClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, QConnectClientResolvedConfig> {
@@ -27,10 +27,7 @@ declare const ActivateMessageTemplateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Activates a specific version of the Amazon Q in Connect message template. After the
31
- * version is activated, the previous active version will be deactivated automatically. You can
32
- * use the <code>$ACTIVE_VERSION</code> qualifier later to reference the version that is in
33
- * active status.</p>
30
+ * <p>Activates a specific version of the Amazon Q in Connect message template. After the version is activated, the previous active version will be deactivated automatically. You can use the <code>$ACTIVE_VERSION</code> qualifier later to reference the version that is in active status.</p>
34
31
  * @example
35
32
  * Use a bare-bones client and the command you need to make an API call.
36
33
  * ```javascript
@@ -62,10 +59,7 @@ declare const ActivateMessageTemplateCommand_base: {
62
59
  * <p>You do not have sufficient access to perform this action.</p>
63
60
  *
64
61
  * @throws {@link ConflictException} (client fault)
65
- * <p>The request could not be processed because of conflict in the current state of the
66
- * resource. For example, if you're using a <code>Create</code> API (such as
67
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
68
- * same name) is being created or mutated.</p>
62
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
69
63
  *
70
64
  * @throws {@link ResourceNotFoundException} (client fault)
71
65
  * <p>The specified resource does not exist.</p>
@@ -280,21 +280,20 @@ declare const CreateAIAgentCommand_base: {
280
280
  * <p>You do not have sufficient access to perform this action.</p>
281
281
  *
282
282
  * @throws {@link ConflictException} (client fault)
283
- * <p>The request could not be processed because of conflict in the current state of the
284
- * resource. For example, if you're using a <code>Create</code> API (such as
285
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
286
- * same name) is being created or mutated.</p>
283
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
287
284
  *
288
285
  * @throws {@link ResourceNotFoundException} (client fault)
289
286
  * <p>The specified resource does not exist.</p>
290
287
  *
291
288
  * @throws {@link ServiceQuotaExceededException} (client fault)
292
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
293
- * relevant resources, or use service quotas to request a service quota increase.</p>
289
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.</p>
294
290
  *
295
291
  * @throws {@link ThrottlingException} (client fault)
296
292
  * <p>The throttling limit has been exceeded.</p>
297
293
  *
294
+ * @throws {@link UnauthorizedException} (client fault)
295
+ * <p>You do not have permission to perform this action.</p>
296
+ *
298
297
  * @throws {@link ValidationException} (client fault)
299
298
  * <p>The input fails to satisfy the constraints specified by a service.</p>
300
299
  *
@@ -175,21 +175,20 @@ declare const CreateAIAgentVersionCommand_base: {
175
175
  * <p>You do not have sufficient access to perform this action.</p>
176
176
  *
177
177
  * @throws {@link ConflictException} (client fault)
178
- * <p>The request could not be processed because of conflict in the current state of the
179
- * resource. For example, if you're using a <code>Create</code> API (such as
180
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
181
- * same name) is being created or mutated.</p>
178
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
182
179
  *
183
180
  * @throws {@link ResourceNotFoundException} (client fault)
184
181
  * <p>The specified resource does not exist.</p>
185
182
  *
186
183
  * @throws {@link ServiceQuotaExceededException} (client fault)
187
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
188
- * relevant resources, or use service quotas to request a service quota increase.</p>
184
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.</p>
189
185
  *
190
186
  * @throws {@link ThrottlingException} (client fault)
191
187
  * <p>The throttling limit has been exceeded.</p>
192
188
  *
189
+ * @throws {@link UnauthorizedException} (client fault)
190
+ * <p>You do not have permission to perform this action.</p>
191
+ *
193
192
  * @throws {@link ValidationException} (client fault)
194
193
  * <p>The input fails to satisfy the constraints specified by a service.</p>
195
194
  *
@@ -193,21 +193,20 @@ declare const CreateAIGuardrailCommand_base: {
193
193
  * <p>You do not have sufficient access to perform this action.</p>
194
194
  *
195
195
  * @throws {@link ConflictException} (client fault)
196
- * <p>The request could not be processed because of conflict in the current state of the
197
- * resource. For example, if you're using a <code>Create</code> API (such as
198
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
199
- * same name) is being created or mutated.</p>
196
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
200
197
  *
201
198
  * @throws {@link ResourceNotFoundException} (client fault)
202
199
  * <p>The specified resource does not exist.</p>
203
200
  *
204
201
  * @throws {@link ServiceQuotaExceededException} (client fault)
205
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
206
- * relevant resources, or use service quotas to request a service quota increase.</p>
202
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.</p>
207
203
  *
208
204
  * @throws {@link ThrottlingException} (client fault)
209
205
  * <p>The throttling limit has been exceeded.</p>
210
206
  *
207
+ * @throws {@link UnauthorizedException} (client fault)
208
+ * <p>You do not have permission to perform this action.</p>
209
+ *
211
210
  * @throws {@link ValidationException} (client fault)
212
211
  * <p>The input fails to satisfy the constraints specified by a service.</p>
213
212
  *
@@ -131,21 +131,20 @@ declare const CreateAIGuardrailVersionCommand_base: {
131
131
  * <p>You do not have sufficient access to perform this action.</p>
132
132
  *
133
133
  * @throws {@link ConflictException} (client fault)
134
- * <p>The request could not be processed because of conflict in the current state of the
135
- * resource. For example, if you're using a <code>Create</code> API (such as
136
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
137
- * same name) is being created or mutated.</p>
134
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
138
135
  *
139
136
  * @throws {@link ResourceNotFoundException} (client fault)
140
137
  * <p>The specified resource does not exist.</p>
141
138
  *
142
139
  * @throws {@link ServiceQuotaExceededException} (client fault)
143
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
144
- * relevant resources, or use service quotas to request a service quota increase.</p>
140
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.</p>
145
141
  *
146
142
  * @throws {@link ThrottlingException} (client fault)
147
143
  * <p>The throttling limit has been exceeded.</p>
148
144
  *
145
+ * @throws {@link UnauthorizedException} (client fault)
146
+ * <p>You do not have permission to perform this action.</p>
147
+ *
149
148
  * @throws {@link ValidationException} (client fault)
150
149
  * <p>The input fails to satisfy the constraints specified by a service.</p>
151
150
  *
@@ -94,21 +94,20 @@ declare const CreateAIPromptCommand_base: {
94
94
  * <p>You do not have sufficient access to perform this action.</p>
95
95
  *
96
96
  * @throws {@link ConflictException} (client fault)
97
- * <p>The request could not be processed because of conflict in the current state of the
98
- * resource. For example, if you're using a <code>Create</code> API (such as
99
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
100
- * same name) is being created or mutated.</p>
97
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
101
98
  *
102
99
  * @throws {@link ResourceNotFoundException} (client fault)
103
100
  * <p>The specified resource does not exist.</p>
104
101
  *
105
102
  * @throws {@link ServiceQuotaExceededException} (client fault)
106
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
107
- * relevant resources, or use service quotas to request a service quota increase.</p>
103
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.</p>
108
104
  *
109
105
  * @throws {@link ThrottlingException} (client fault)
110
106
  * <p>The throttling limit has been exceeded.</p>
111
107
  *
108
+ * @throws {@link UnauthorizedException} (client fault)
109
+ * <p>You do not have permission to perform this action.</p>
110
+ *
112
111
  * @throws {@link ValidationException} (client fault)
113
112
  * <p>The input fails to satisfy the constraints specified by a service.</p>
114
113
  *
@@ -82,21 +82,20 @@ declare const CreateAIPromptVersionCommand_base: {
82
82
  * <p>You do not have sufficient access to perform this action.</p>
83
83
  *
84
84
  * @throws {@link ConflictException} (client fault)
85
- * <p>The request could not be processed because of conflict in the current state of the
86
- * resource. For example, if you're using a <code>Create</code> API (such as
87
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
88
- * same name) is being created or mutated.</p>
85
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
89
86
  *
90
87
  * @throws {@link ResourceNotFoundException} (client fault)
91
88
  * <p>The specified resource does not exist.</p>
92
89
  *
93
90
  * @throws {@link ServiceQuotaExceededException} (client fault)
94
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
95
- * relevant resources, or use service quotas to request a service quota increase.</p>
91
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.</p>
96
92
  *
97
93
  * @throws {@link ThrottlingException} (client fault)
98
94
  * <p>The throttling limit has been exceeded.</p>
99
95
  *
96
+ * @throws {@link UnauthorizedException} (client fault)
97
+ * <p>You do not have permission to perform this action.</p>
98
+ *
100
99
  * @throws {@link ValidationException} (client fault)
101
100
  * <p>The input fails to satisfy the constraints specified by a service.</p>
102
101
  *
@@ -27,9 +27,7 @@ declare const CreateAssistantAssociationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an association between an Amazon Q in Connect assistant and another resource. Currently, the
31
- * only supported association is with a knowledge base. An assistant can have only a single
32
- * association.</p>
30
+ * <p>Creates an association between an Amazon Q in Connect assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.</p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -80,17 +78,13 @@ declare const CreateAssistantAssociationCommand_base: {
80
78
  * <p>You do not have sufficient access to perform this action.</p>
81
79
  *
82
80
  * @throws {@link ConflictException} (client fault)
83
- * <p>The request could not be processed because of conflict in the current state of the
84
- * resource. For example, if you're using a <code>Create</code> API (such as
85
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
86
- * same name) is being created or mutated.</p>
81
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
87
82
  *
88
83
  * @throws {@link ResourceNotFoundException} (client fault)
89
84
  * <p>The specified resource does not exist.</p>
90
85
  *
91
86
  * @throws {@link ServiceQuotaExceededException} (client fault)
92
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
93
- * relevant resources, or use service quotas to request a service quota increase.</p>
87
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.</p>
94
88
  *
95
89
  * @throws {@link ValidationException} (client fault)
96
90
  * <p>The input fails to satisfy the constraints specified by a service.</p>
@@ -88,14 +88,13 @@ declare const CreateAssistantCommand_base: {
88
88
  * <p>You do not have sufficient access to perform this action.</p>
89
89
  *
90
90
  * @throws {@link ConflictException} (client fault)
91
- * <p>The request could not be processed because of conflict in the current state of the
92
- * resource. For example, if you're using a <code>Create</code> API (such as
93
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
94
- * same name) is being created or mutated.</p>
91
+ * <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
95
92
  *
96
93
  * @throws {@link ServiceQuotaExceededException} (client fault)
97
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
98
- * relevant resources, or use service quotas to request a service quota increase.</p>
94
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.</p>
95
+ *
96
+ * @throws {@link UnauthorizedException} (client fault)
97
+ * <p>You do not have permission to perform this action.</p>
99
98
  *
100
99
  * @throws {@link ValidationException} (client fault)
101
100
  * <p>The input fails to satisfy the constraints specified by a service.</p>