@aws-sdk/client-qconnect 3.968.0 → 3.970.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.
@@ -54,13 +54,11 @@ declare const CreateAIPromptCommand_base: {
54
54
  * "<keys>": "STRING_VALUE",
55
55
  * },
56
56
  * description: "STRING_VALUE",
57
- * inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
58
- * textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
59
- * temperature: Number("float"),
60
- * topP: Number("float"),
61
- * topK: Number("int"),
62
- * maxTokensToSample: Number("int"),
63
- * },
57
+ * inferenceConfiguration: { // AIPromptInferenceConfiguration
58
+ * temperature: Number("float"),
59
+ * topP: Number("float"),
60
+ * topK: Number("int"),
61
+ * maxTokensToSample: Number("int"),
64
62
  * },
65
63
  * };
66
64
  * const command = new CreateAIPromptCommand(input);
@@ -81,13 +79,11 @@ declare const CreateAIPromptCommand_base: {
81
79
  * // text: "STRING_VALUE", // required
82
80
  * // },
83
81
  * // },
84
- * // inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
85
- * // textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
86
- * // temperature: Number("float"),
87
- * // topP: Number("float"),
88
- * // topK: Number("int"),
89
- * // maxTokensToSample: Number("int"),
90
- * // },
82
+ * // inferenceConfiguration: { // AIPromptInferenceConfiguration
83
+ * // temperature: Number("float"),
84
+ * // topP: Number("float"),
85
+ * // topK: Number("int"),
86
+ * // maxTokensToSample: Number("int"),
91
87
  * // },
92
88
  * // modifiedTime: new Date("TIMESTAMP"),
93
89
  * // description: "STRING_VALUE",
@@ -60,13 +60,11 @@ declare const CreateAIPromptVersionCommand_base: {
60
60
  * // text: "STRING_VALUE", // required
61
61
  * // },
62
62
  * // },
63
- * // inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
64
- * // textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
65
- * // temperature: Number("float"),
66
- * // topP: Number("float"),
67
- * // topK: Number("int"),
68
- * // maxTokensToSample: Number("int"),
69
- * // },
63
+ * // inferenceConfiguration: { // AIPromptInferenceConfiguration
64
+ * // temperature: Number("float"),
65
+ * // topP: Number("float"),
66
+ * // topK: Number("int"),
67
+ * // maxTokensToSample: Number("int"),
70
68
  * // },
71
69
  * // modifiedTime: new Date("TIMESTAMP"),
72
70
  * // description: "STRING_VALUE",
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DeleteImportJobRequest, DeleteImportJobResponse } from "../models/models_1";
3
+ import type { DeleteImportJobRequest } from "../models/models_0";
4
+ import type { DeleteImportJobResponse } from "../models/models_1";
4
5
  import type { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
5
6
  /**
6
7
  * @public
@@ -58,13 +58,11 @@ declare const GetAIPromptCommand_base: {
58
58
  * // text: "STRING_VALUE", // required
59
59
  * // },
60
60
  * // },
61
- * // inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
62
- * // textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
63
- * // temperature: Number("float"),
64
- * // topP: Number("float"),
65
- * // topK: Number("int"),
66
- * // maxTokensToSample: Number("int"),
67
- * // },
61
+ * // inferenceConfiguration: { // AIPromptInferenceConfiguration
62
+ * // temperature: Number("float"),
63
+ * // topP: Number("float"),
64
+ * // topK: Number("int"),
65
+ * // maxTokensToSample: Number("int"),
68
66
  * // },
69
67
  * // modifiedTime: new Date("TIMESTAMP"),
70
68
  * // description: "STRING_VALUE",
@@ -48,13 +48,11 @@ declare const UpdateAIPromptCommand_base: {
48
48
  * },
49
49
  * description: "STRING_VALUE",
50
50
  * modelId: "STRING_VALUE",
51
- * inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
52
- * textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
53
- * temperature: Number("float"),
54
- * topP: Number("float"),
55
- * topK: Number("int"),
56
- * maxTokensToSample: Number("int"),
57
- * },
51
+ * inferenceConfiguration: { // AIPromptInferenceConfiguration
52
+ * temperature: Number("float"),
53
+ * topP: Number("float"),
54
+ * topK: Number("int"),
55
+ * maxTokensToSample: Number("int"),
58
56
  * },
59
57
  * };
60
58
  * const command = new UpdateAIPromptCommand(input);
@@ -75,13 +73,11 @@ declare const UpdateAIPromptCommand_base: {
75
73
  * // text: "STRING_VALUE", // required
76
74
  * // },
77
75
  * // },
78
- * // inferenceConfiguration: { // AIPromptInferenceConfiguration Union: only one key present
79
- * // textAIPromptInferenceConfiguration: { // TextAIPromptInferenceConfiguration
80
- * // temperature: Number("float"),
81
- * // topP: Number("float"),
82
- * // topK: Number("int"),
83
- * // maxTokensToSample: Number("int"),
84
- * // },
76
+ * // inferenceConfiguration: { // AIPromptInferenceConfiguration
77
+ * // temperature: Number("float"),
78
+ * // topP: Number("float"),
79
+ * // topK: Number("int"),
80
+ * // maxTokensToSample: Number("int"),
85
81
  * // },
86
82
  * // modifiedTime: new Date("TIMESTAMP"),
87
83
  * // description: "STRING_VALUE",
@@ -2057,10 +2057,10 @@ export interface AIGuardrailAssessment {
2057
2057
  blocked: boolean | undefined;
2058
2058
  }
2059
2059
  /**
2060
- * <p>Inference configuration for text-based AI Prompts.</p>
2060
+ * <p>The configuration for inference parameters when using AI Prompts.</p>
2061
2061
  * @public
2062
2062
  */
2063
- export interface TextAIPromptInferenceConfiguration {
2063
+ export interface AIPromptInferenceConfiguration {
2064
2064
  /**
2065
2065
  * <p>The temperature setting for controlling randomness in the generated response.</p>
2066
2066
  * @public
@@ -2082,39 +2082,6 @@ export interface TextAIPromptInferenceConfiguration {
2082
2082
  */
2083
2083
  maxTokensToSample?: number | undefined;
2084
2084
  }
2085
- /**
2086
- * <p>The configuration for inference parameters when using AI Prompts.</p>
2087
- * @public
2088
- */
2089
- export type AIPromptInferenceConfiguration = AIPromptInferenceConfiguration.TextAIPromptInferenceConfigurationMember | AIPromptInferenceConfiguration.$UnknownMember;
2090
- /**
2091
- * @public
2092
- */
2093
- export declare namespace AIPromptInferenceConfiguration {
2094
- /**
2095
- * <p>The inference configuration for text-based AI Prompts.</p>
2096
- * @public
2097
- */
2098
- interface TextAIPromptInferenceConfigurationMember {
2099
- textAIPromptInferenceConfiguration: TextAIPromptInferenceConfiguration;
2100
- $unknown?: never;
2101
- }
2102
- /**
2103
- * @public
2104
- */
2105
- interface $UnknownMember {
2106
- textAIPromptInferenceConfiguration?: never;
2107
- $unknown: [string, any];
2108
- }
2109
- /**
2110
- * @deprecated unused in schema-serde mode.
2111
- *
2112
- */
2113
- interface Visitor<T> {
2114
- textAIPromptInferenceConfiguration: (value: TextAIPromptInferenceConfiguration) => T;
2115
- _: (name: string, value: any) => T;
2116
- }
2117
- }
2118
2085
  /**
2119
2086
  * <p>The configuration for a prompt template that supports full textual prompt configuration using a YAML prompt.</p>
2120
2087
  * @public
@@ -7920,3 +7887,18 @@ export interface DeactivateMessageTemplateResponse {
7920
7887
  */
7921
7888
  versionNumber: number | undefined;
7922
7889
  }
7890
+ /**
7891
+ * @public
7892
+ */
7893
+ export interface DeleteImportJobRequest {
7894
+ /**
7895
+ * <p>The identifier of the knowledge base.</p>
7896
+ * @public
7897
+ */
7898
+ knowledgeBaseId: string | undefined;
7899
+ /**
7900
+ * <p>The identifier of the import job to be deleted.</p>
7901
+ * @public
7902
+ */
7903
+ importJobId: string | undefined;
7904
+ }
@@ -1,20 +1,5 @@
1
1
  import { AIAgentType, AIPromptType, ChannelSubtype, ExternalSource, ImportJobStatus, ImportJobType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageTemplateFilterOperator, MessageTemplateQueryOperator, Order, Participant, Priority, QueryResultType, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationType, RelevanceLevel, SpanStatus, SpanType } from "./enums";
2
2
  import { type Configuration, type DataReference, type Document, type ExtendedMessageTemplateData, type GroupingConfiguration, type KnowledgeBaseData, type KnowledgeSource, type MessageTemplateAttributes, type MessageTemplateContentProvider, type MessageTemplateData, type MessageTemplateSourceConfiguration, type MessageTemplateSourceConfigurationSummary, type QuickResponseContents, type QuickResponseData, type QuickResponseDataProvider, type RankingData, type RenderingConfiguration, type SearchExpression, type ServerSideEncryptionConfiguration, type SourceConfiguration, type VectorIngestionConfiguration, CaseSummarizationChunkDataDetails, ContentDataDetails, ContentSummary, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, FilterAttribute, IntentDetectedDataDetails, MessageTemplateAttachment, NotesChunkDataDetails, NotesDataDetails, RecommendationTrigger, SourceContentDataDetails, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails } from "./models_0";
3
- /**
4
- * @public
5
- */
6
- export interface DeleteImportJobRequest {
7
- /**
8
- * <p>The identifier of the knowledge base.</p>
9
- * @public
10
- */
11
- knowledgeBaseId: string | undefined;
12
- /**
13
- * <p>The identifier of the import job to be deleted.</p>
14
- * @public
15
- */
16
- importJobId: string | undefined;
17
- }
18
3
  /**
19
4
  * @public
20
5
  */
@@ -17,6 +17,7 @@ export declare var AIGuardrailTopicPolicyConfig$: StaticStructureSchema;
17
17
  export declare var AIGuardrailVersionSummary$: StaticStructureSchema;
18
18
  export declare var AIGuardrailWordPolicyConfig$: StaticStructureSchema;
19
19
  export declare var AIPromptData$: StaticStructureSchema;
20
+ export declare var AIPromptInferenceConfiguration$: StaticStructureSchema;
20
21
  export declare var AIPromptSummary$: StaticStructureSchema;
21
22
  export declare var AIPromptVersionSummary$: StaticStructureSchema;
22
23
  export declare var AmazonConnectGuideAssociationData$: StaticStructureSchema;
@@ -324,7 +325,6 @@ export declare var SystemEndpointAttributes$: StaticStructureSchema;
324
325
  export declare var TagCondition$: StaticStructureSchema;
325
326
  export declare var TagResourceRequest$: StaticStructureSchema;
326
327
  export declare var TagResourceResponse$: StaticStructureSchema;
327
- export declare var TextAIPromptInferenceConfiguration$: StaticStructureSchema;
328
328
  export declare var TextData$: StaticStructureSchema;
329
329
  export declare var TextFullAIPromptEditTemplateConfiguration$: StaticStructureSchema;
330
330
  export declare var TextMessage$: StaticStructureSchema;
@@ -374,7 +374,6 @@ export declare var WhatsAppMessageTemplateSourceConfiguration$: StaticStructureS
374
374
  export declare var WhatsAppMessageTemplateSourceConfigurationSummary$: StaticStructureSchema;
375
375
  export declare var QConnectServiceException$: StaticErrorSchema;
376
376
  export declare var AIAgentConfiguration$: StaticUnionSchema;
377
- export declare var AIPromptInferenceConfiguration$: StaticUnionSchema;
378
377
  export declare var AIPromptTemplateConfiguration$: StaticUnionSchema;
379
378
  export declare var AssistantAssociationInputData$: StaticUnionSchema;
380
379
  export declare var AssistantAssociationOutputData$: StaticUnionSchema;
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- DeleteImportJobRequest,
5
- DeleteImportJobResponse,
6
- } from "../models/models_1";
3
+ import { DeleteImportJobRequest } from "../models/models_0";
4
+ import { DeleteImportJobResponse } from "../models/models_1";
7
5
  import {
8
6
  QConnectClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -732,31 +732,12 @@ export interface UpdateAIGuardrailResponse {
732
732
  export interface AIGuardrailAssessment {
733
733
  blocked: boolean | undefined;
734
734
  }
735
- export interface TextAIPromptInferenceConfiguration {
735
+ export interface AIPromptInferenceConfiguration {
736
736
  temperature?: number | undefined;
737
737
  topP?: number | undefined;
738
738
  topK?: number | undefined;
739
739
  maxTokensToSample?: number | undefined;
740
740
  }
741
- export type AIPromptInferenceConfiguration =
742
- | AIPromptInferenceConfiguration.TextAIPromptInferenceConfigurationMember
743
- | AIPromptInferenceConfiguration.$UnknownMember;
744
- export declare namespace AIPromptInferenceConfiguration {
745
- interface TextAIPromptInferenceConfigurationMember {
746
- textAIPromptInferenceConfiguration: TextAIPromptInferenceConfiguration;
747
- $unknown?: never;
748
- }
749
- interface $UnknownMember {
750
- textAIPromptInferenceConfiguration?: never;
751
- $unknown: [string, any];
752
- }
753
- interface Visitor<T> {
754
- textAIPromptInferenceConfiguration: (
755
- value: TextAIPromptInferenceConfiguration
756
- ) => T;
757
- _: (name: string, value: any) => T;
758
- }
759
- }
760
741
  export interface TextFullAIPromptEditTemplateConfiguration {
761
742
  text: string | undefined;
762
743
  }
@@ -2422,3 +2403,7 @@ export interface DeactivateMessageTemplateResponse {
2422
2403
  messageTemplateId: string | undefined;
2423
2404
  versionNumber: number | undefined;
2424
2405
  }
2406
+ export interface DeleteImportJobRequest {
2407
+ knowledgeBaseId: string | undefined;
2408
+ importJobId: string | undefined;
2409
+ }
@@ -60,10 +60,6 @@ import {
60
60
  SpanToolUseValue,
61
61
  SuggestedMessageDataDetails,
62
62
  } from "./models_0";
63
- export interface DeleteImportJobRequest {
64
- knowledgeBaseId: string | undefined;
65
- importJobId: string | undefined;
66
- }
67
63
  export interface DeleteImportJobResponse {}
68
64
  export interface DeleteKnowledgeBaseRequest {
69
65
  knowledgeBaseId: string | undefined;
@@ -22,6 +22,7 @@ export declare var AIGuardrailTopicPolicyConfig$: StaticStructureSchema;
22
22
  export declare var AIGuardrailVersionSummary$: StaticStructureSchema;
23
23
  export declare var AIGuardrailWordPolicyConfig$: StaticStructureSchema;
24
24
  export declare var AIPromptData$: StaticStructureSchema;
25
+ export declare var AIPromptInferenceConfiguration$: StaticStructureSchema;
25
26
  export declare var AIPromptSummary$: StaticStructureSchema;
26
27
  export declare var AIPromptVersionSummary$: StaticStructureSchema;
27
28
  export declare var AmazonConnectGuideAssociationData$: StaticStructureSchema;
@@ -329,7 +330,6 @@ export declare var SystemEndpointAttributes$: StaticStructureSchema;
329
330
  export declare var TagCondition$: StaticStructureSchema;
330
331
  export declare var TagResourceRequest$: StaticStructureSchema;
331
332
  export declare var TagResourceResponse$: StaticStructureSchema;
332
- export declare var TextAIPromptInferenceConfiguration$: StaticStructureSchema;
333
333
  export declare var TextData$: StaticStructureSchema;
334
334
  export declare var TextFullAIPromptEditTemplateConfiguration$: StaticStructureSchema;
335
335
  export declare var TextMessage$: StaticStructureSchema;
@@ -379,7 +379,6 @@ export declare var WhatsAppMessageTemplateSourceConfiguration$: StaticStructureS
379
379
  export declare var WhatsAppMessageTemplateSourceConfigurationSummary$: StaticStructureSchema;
380
380
  export declare var QConnectServiceException$: StaticErrorSchema;
381
381
  export declare var AIAgentConfiguration$: StaticUnionSchema;
382
- export declare var AIPromptInferenceConfiguration$: StaticUnionSchema;
383
382
  export declare var AIPromptTemplateConfiguration$: StaticUnionSchema;
384
383
  export declare var AssistantAssociationInputData$: StaticUnionSchema;
385
384
  export declare var AssistantAssociationOutputData$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-qconnect",
3
3
  "description": "AWS SDK for JavaScript Qconnect Client for Node.js, Browser and React Native",
4
- "version": "3.968.0",
4
+ "version": "3.970.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-qconnect",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.968.0",
25
- "@aws-sdk/credential-provider-node": "3.968.0",
26
- "@aws-sdk/middleware-host-header": "3.968.0",
27
- "@aws-sdk/middleware-logger": "3.968.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.968.0",
29
- "@aws-sdk/middleware-user-agent": "3.968.0",
30
- "@aws-sdk/region-config-resolver": "3.968.0",
31
- "@aws-sdk/types": "3.968.0",
32
- "@aws-sdk/util-endpoints": "3.968.0",
33
- "@aws-sdk/util-user-agent-browser": "3.968.0",
34
- "@aws-sdk/util-user-agent-node": "3.968.0",
35
- "@smithy/config-resolver": "^4.4.5",
36
- "@smithy/core": "^3.20.3",
37
- "@smithy/fetch-http-handler": "^5.3.8",
38
- "@smithy/hash-node": "^4.2.7",
39
- "@smithy/invalid-dependency": "^4.2.7",
40
- "@smithy/middleware-content-length": "^4.2.7",
41
- "@smithy/middleware-endpoint": "^4.4.4",
42
- "@smithy/middleware-retry": "^4.4.20",
43
- "@smithy/middleware-serde": "^4.2.8",
44
- "@smithy/middleware-stack": "^4.2.7",
45
- "@smithy/node-config-provider": "^4.3.7",
46
- "@smithy/node-http-handler": "^4.4.7",
47
- "@smithy/protocol-http": "^5.3.7",
48
- "@smithy/smithy-client": "^4.10.5",
49
- "@smithy/types": "^4.11.0",
50
- "@smithy/url-parser": "^4.2.7",
24
+ "@aws-sdk/core": "3.970.0",
25
+ "@aws-sdk/credential-provider-node": "3.970.0",
26
+ "@aws-sdk/middleware-host-header": "3.969.0",
27
+ "@aws-sdk/middleware-logger": "3.969.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.969.0",
29
+ "@aws-sdk/middleware-user-agent": "3.970.0",
30
+ "@aws-sdk/region-config-resolver": "3.969.0",
31
+ "@aws-sdk/types": "3.969.0",
32
+ "@aws-sdk/util-endpoints": "3.970.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.969.0",
34
+ "@aws-sdk/util-user-agent-node": "3.970.0",
35
+ "@smithy/config-resolver": "^4.4.6",
36
+ "@smithy/core": "^3.20.6",
37
+ "@smithy/fetch-http-handler": "^5.3.9",
38
+ "@smithy/hash-node": "^4.2.8",
39
+ "@smithy/invalid-dependency": "^4.2.8",
40
+ "@smithy/middleware-content-length": "^4.2.8",
41
+ "@smithy/middleware-endpoint": "^4.4.7",
42
+ "@smithy/middleware-retry": "^4.4.23",
43
+ "@smithy/middleware-serde": "^4.2.9",
44
+ "@smithy/middleware-stack": "^4.2.8",
45
+ "@smithy/node-config-provider": "^4.3.8",
46
+ "@smithy/node-http-handler": "^4.4.8",
47
+ "@smithy/protocol-http": "^5.3.8",
48
+ "@smithy/smithy-client": "^4.10.8",
49
+ "@smithy/types": "^4.12.0",
50
+ "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.19",
55
- "@smithy/util-defaults-mode-node": "^4.2.22",
56
- "@smithy/util-endpoints": "^3.2.7",
57
- "@smithy/util-middleware": "^4.2.7",
58
- "@smithy/util-retry": "^4.2.7",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.22",
55
+ "@smithy/util-defaults-mode-node": "^4.2.25",
56
+ "@smithy/util-endpoints": "^3.2.8",
57
+ "@smithy/util-middleware": "^4.2.8",
58
+ "@smithy/util-retry": "^4.2.8",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },