@aws-sdk/client-qconnect 3.1046.0 → 3.1047.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/README.md +7 -0
- package/dist-cjs/index.js +29 -0
- package/dist-cjs/schemas/schemas_0.js +45 -8
- package/dist-es/QConnect.js +4 -0
- package/dist-es/commands/ListModelsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/pagination/ListModelsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +38 -2
- package/dist-types/QConnect.d.ts +14 -0
- package/dist-types/QConnectClient.d.ts +3 -2
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +2 -1
- package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListModelsCommand.d.ts +112 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +92 -51
- package/dist-types/models/models_1.d.ts +50 -0
- package/dist-types/pagination/ListModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/QConnect.d.ts +24 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -13
- package/dist-types/ts3.4/models/models_1.d.ts +13 -0
- package/dist-types/ts3.4/pagination/ListModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +5 -5
|
@@ -70,6 +70,7 @@ import type { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput }
|
|
|
70
70
|
import type { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
71
71
|
import type { ListMessageTemplatesCommandInput, ListMessageTemplatesCommandOutput } from "./commands/ListMessageTemplatesCommand";
|
|
72
72
|
import type { ListMessageTemplateVersionsCommandInput, ListMessageTemplateVersionsCommandOutput } from "./commands/ListMessageTemplateVersionsCommand";
|
|
73
|
+
import type { ListModelsCommandInput, ListModelsCommandOutput } from "./commands/ListModelsCommand";
|
|
73
74
|
import type { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
|
|
74
75
|
import type { ListSpansCommandInput, ListSpansCommandOutput } from "./commands/ListSpansCommand";
|
|
75
76
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -106,11 +107,11 @@ export { __Client };
|
|
|
106
107
|
/**
|
|
107
108
|
* @public
|
|
108
109
|
*/
|
|
109
|
-
export type ServiceInputTypes = ActivateMessageTemplateCommandInput | CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIGuardrailCommandInput | CreateAIGuardrailVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateMessageTemplateAttachmentCommandInput | CreateMessageTemplateCommandInput | CreateMessageTemplateVersionCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeactivateMessageTemplateCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIGuardrailCommandInput | DeleteAIGuardrailVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteMessageTemplateAttachmentCommandInput | DeleteMessageTemplateCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIGuardrailCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetMessageTemplateCommandInput | GetNextMessageCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIGuardrailVersionsCommandInput | ListAIGuardrailsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListMessageTemplateVersionsCommandInput | ListMessageTemplatesCommandInput | ListMessagesCommandInput | ListQuickResponsesCommandInput | ListSpansCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | RenderMessageTemplateCommandInput | RetrieveCommandInput | SearchContentCommandInput | SearchMessageTemplatesCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | SendMessageCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIGuardrailCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateMessageTemplateCommandInput | UpdateMessageTemplateMetadataCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
|
|
110
|
+
export type ServiceInputTypes = ActivateMessageTemplateCommandInput | CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIGuardrailCommandInput | CreateAIGuardrailVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateMessageTemplateAttachmentCommandInput | CreateMessageTemplateCommandInput | CreateMessageTemplateVersionCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeactivateMessageTemplateCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIGuardrailCommandInput | DeleteAIGuardrailVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteMessageTemplateAttachmentCommandInput | DeleteMessageTemplateCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIGuardrailCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetMessageTemplateCommandInput | GetNextMessageCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIGuardrailVersionsCommandInput | ListAIGuardrailsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListMessageTemplateVersionsCommandInput | ListMessageTemplatesCommandInput | ListMessagesCommandInput | ListModelsCommandInput | ListQuickResponsesCommandInput | ListSpansCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | RenderMessageTemplateCommandInput | RetrieveCommandInput | SearchContentCommandInput | SearchMessageTemplatesCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | SendMessageCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIGuardrailCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateMessageTemplateCommandInput | UpdateMessageTemplateMetadataCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
|
|
110
111
|
/**
|
|
111
112
|
* @public
|
|
112
113
|
*/
|
|
113
|
-
export type ServiceOutputTypes = ActivateMessageTemplateCommandOutput | CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIGuardrailCommandOutput | CreateAIGuardrailVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateMessageTemplateAttachmentCommandOutput | CreateMessageTemplateCommandOutput | CreateMessageTemplateVersionCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeactivateMessageTemplateCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIGuardrailCommandOutput | DeleteAIGuardrailVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteMessageTemplateAttachmentCommandOutput | DeleteMessageTemplateCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIGuardrailCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetMessageTemplateCommandOutput | GetNextMessageCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIGuardrailVersionsCommandOutput | ListAIGuardrailsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListMessageTemplateVersionsCommandOutput | ListMessageTemplatesCommandOutput | ListMessagesCommandOutput | ListQuickResponsesCommandOutput | ListSpansCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | RenderMessageTemplateCommandOutput | RetrieveCommandOutput | SearchContentCommandOutput | SearchMessageTemplatesCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | SendMessageCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIGuardrailCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateMessageTemplateCommandOutput | UpdateMessageTemplateMetadataCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
|
|
114
|
+
export type ServiceOutputTypes = ActivateMessageTemplateCommandOutput | CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIGuardrailCommandOutput | CreateAIGuardrailVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateMessageTemplateAttachmentCommandOutput | CreateMessageTemplateCommandOutput | CreateMessageTemplateVersionCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeactivateMessageTemplateCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIGuardrailCommandOutput | DeleteAIGuardrailVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteMessageTemplateAttachmentCommandOutput | DeleteMessageTemplateCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIGuardrailCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetMessageTemplateCommandOutput | GetNextMessageCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIGuardrailVersionsCommandOutput | ListAIGuardrailsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListMessageTemplateVersionsCommandOutput | ListMessageTemplatesCommandOutput | ListMessagesCommandOutput | ListModelsCommandOutput | ListQuickResponsesCommandOutput | ListSpansCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | RenderMessageTemplateCommandOutput | RetrieveCommandOutput | SearchContentCommandOutput | SearchMessageTemplatesCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | SendMessageCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIGuardrailCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateMessageTemplateCommandOutput | UpdateMessageTemplateMetadataCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
|
|
114
115
|
/**
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CreateQuickResponseRequest
|
|
3
|
+
import type { CreateQuickResponseRequest } from "../models/models_0";
|
|
4
|
+
import type { CreateQuickResponseResponse } from "../models/models_1";
|
|
4
5
|
import type { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DeactivateMessageTemplateRequest, DeactivateMessageTemplateResponse } from "../models/
|
|
3
|
+
import type { DeactivateMessageTemplateRequest, DeactivateMessageTemplateResponse } from "../models/models_1";
|
|
4
4
|
import type { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListModelsRequest, ListModelsResponse } from "../models/models_0";
|
|
4
|
+
import type { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListModelsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListModelsCommandInput extends ListModelsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListModelsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListModelsCommandOutput extends ListModelsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListModelsCommand_base: {
|
|
25
|
+
new (input: ListModelsCommandInput): import("@smithy/core/client").CommandImpl<ListModelsCommandInput, ListModelsCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListModelsCommandInput): import("@smithy/core/client").CommandImpl<ListModelsCommandInput, ListModelsCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists the models available to an Amazon Q in Connect assistant in the assistant's Amazon Web Services Region. The available models are determined by the region of the specified assistant.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { QConnectClient, ListModelsCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
37
|
+
* // const { QConnectClient, ListModelsCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
38
|
+
* // import type { QConnectClientConfig } from "@aws-sdk/client-qconnect";
|
|
39
|
+
* const config = {}; // type is QConnectClientConfig
|
|
40
|
+
* const client = new QConnectClient(config);
|
|
41
|
+
* const input = { // ListModelsRequest
|
|
42
|
+
* assistantId: "STRING_VALUE", // required
|
|
43
|
+
* aiPromptType: "STRING_VALUE",
|
|
44
|
+
* modelLifecycle: "STRING_VALUE",
|
|
45
|
+
* nextToken: "STRING_VALUE",
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListModelsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListModelsResponse
|
|
51
|
+
* // modelSummaries: [ // ModelSummaryList // required
|
|
52
|
+
* // { // ModelSummary
|
|
53
|
+
* // modelId: "STRING_VALUE", // required
|
|
54
|
+
* // displayName: "STRING_VALUE", // required
|
|
55
|
+
* // crossRegionStatus: "STRING_VALUE",
|
|
56
|
+
* // supportsPromptCaching: true || false,
|
|
57
|
+
* // supportedAIPromptTypes: [ // AIPromptTypeList
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // modelLifecycle: "STRING_VALUE",
|
|
61
|
+
* // legacyTimestamp: new Date("TIMESTAMP"),
|
|
62
|
+
* // endOfLifeTimestamp: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // nextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListModelsCommandInput - {@link ListModelsCommandInput}
|
|
71
|
+
* @returns {@link ListModelsCommandOutput}
|
|
72
|
+
* @see {@link ListModelsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListModelsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ConflictException} (client fault)
|
|
80
|
+
* <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>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>The specified resource does not exist.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
89
|
+
* <p>You do not have permission to perform this action.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link QConnectServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ListModelsCommand extends ListModelsCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: ListModelsRequest;
|
|
105
|
+
output: ListModelsResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: ListModelsCommandInput;
|
|
109
|
+
output: ListModelsCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -61,6 +61,7 @@ export * from "./ListKnowledgeBasesCommand";
|
|
|
61
61
|
export * from "./ListMessageTemplateVersionsCommand";
|
|
62
62
|
export * from "./ListMessageTemplatesCommand";
|
|
63
63
|
export * from "./ListMessagesCommand";
|
|
64
|
+
export * from "./ListModelsCommand";
|
|
64
65
|
export * from "./ListQuickResponsesCommand";
|
|
65
66
|
export * from "./ListSpansCommand";
|
|
66
67
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -416,6 +416,31 @@ export declare const RecommendationTriggerType: {
|
|
|
416
416
|
* @public
|
|
417
417
|
*/
|
|
418
418
|
export type RecommendationTriggerType = (typeof RecommendationTriggerType)[keyof typeof RecommendationTriggerType];
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
* @enum
|
|
422
|
+
*/
|
|
423
|
+
export declare const ModelLifecycle: {
|
|
424
|
+
readonly ACTIVE: "ACTIVE";
|
|
425
|
+
readonly LEGACY: "LEGACY";
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
export type ModelLifecycle = (typeof ModelLifecycle)[keyof typeof ModelLifecycle];
|
|
431
|
+
/**
|
|
432
|
+
* @public
|
|
433
|
+
* @enum
|
|
434
|
+
*/
|
|
435
|
+
export declare const CrossRegionStatus: {
|
|
436
|
+
readonly GLOBAL: "GLOBAL";
|
|
437
|
+
readonly NONE: "NONE";
|
|
438
|
+
readonly REGIONAL: "REGIONAL";
|
|
439
|
+
};
|
|
440
|
+
/**
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
export type CrossRegionStatus = (typeof CrossRegionStatus)[keyof typeof CrossRegionStatus];
|
|
419
444
|
/**
|
|
420
445
|
* @public
|
|
421
446
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentDisposition, ContentStatus, ConversationStatus, ConversationStatusReason, FilterField, FilterOperator, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, QuickResponseStatus, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
|
|
2
|
+
import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentDisposition, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, ModelLifecycle, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, QuickResponseStatus, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -3778,6 +3778,97 @@ export interface ListAssistantsResponse {
|
|
|
3778
3778
|
*/
|
|
3779
3779
|
nextToken?: string | undefined;
|
|
3780
3780
|
}
|
|
3781
|
+
/**
|
|
3782
|
+
* @public
|
|
3783
|
+
*/
|
|
3784
|
+
export interface ListModelsRequest {
|
|
3785
|
+
/**
|
|
3786
|
+
* <p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN. The assistant's region determines which models are available.</p>
|
|
3787
|
+
* @public
|
|
3788
|
+
*/
|
|
3789
|
+
assistantId: string | undefined;
|
|
3790
|
+
/**
|
|
3791
|
+
* <p>The type of the AI Prompt to filter models by. When specified, only models that support the given AI Prompt type are returned.</p>
|
|
3792
|
+
* @public
|
|
3793
|
+
*/
|
|
3794
|
+
aiPromptType?: AIPromptType | undefined;
|
|
3795
|
+
/**
|
|
3796
|
+
* <p>The lifecycle status of models to filter by. When specified, only models with the given lifecycle status are returned.</p>
|
|
3797
|
+
* @public
|
|
3798
|
+
*/
|
|
3799
|
+
modelLifecycle?: ModelLifecycle | undefined;
|
|
3800
|
+
/**
|
|
3801
|
+
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
|
|
3802
|
+
* @public
|
|
3803
|
+
*/
|
|
3804
|
+
nextToken?: string | undefined;
|
|
3805
|
+
/**
|
|
3806
|
+
* <p>The maximum number of results to return per page.</p>
|
|
3807
|
+
* @public
|
|
3808
|
+
*/
|
|
3809
|
+
maxResults?: number | undefined;
|
|
3810
|
+
}
|
|
3811
|
+
/**
|
|
3812
|
+
* <p>The summary of a model available to an Amazon Q in Connect assistant.</p>
|
|
3813
|
+
* @public
|
|
3814
|
+
*/
|
|
3815
|
+
export interface ModelSummary {
|
|
3816
|
+
/**
|
|
3817
|
+
* <p>The identifier of the model.</p>
|
|
3818
|
+
* @public
|
|
3819
|
+
*/
|
|
3820
|
+
modelId: string | undefined;
|
|
3821
|
+
/**
|
|
3822
|
+
* <p>The display name of the model.</p>
|
|
3823
|
+
* @public
|
|
3824
|
+
*/
|
|
3825
|
+
displayName: string | undefined;
|
|
3826
|
+
/**
|
|
3827
|
+
* <p>The cross-region availability status of the model. <code>NONE</code> indicates the model is only available in a single region, <code>REGIONAL</code> indicates the model is available through regional inference, and <code>GLOBAL</code> indicates the model is available through global cross-region inference.</p>
|
|
3828
|
+
* @public
|
|
3829
|
+
*/
|
|
3830
|
+
crossRegionStatus?: CrossRegionStatus | undefined;
|
|
3831
|
+
/**
|
|
3832
|
+
* <p>Whether the model supports prompt caching.</p>
|
|
3833
|
+
* @public
|
|
3834
|
+
*/
|
|
3835
|
+
supportsPromptCaching?: boolean | undefined;
|
|
3836
|
+
/**
|
|
3837
|
+
* <p>The list of AI Prompt types that the model supports.</p>
|
|
3838
|
+
* @public
|
|
3839
|
+
*/
|
|
3840
|
+
supportedAIPromptTypes?: AIPromptType[] | undefined;
|
|
3841
|
+
/**
|
|
3842
|
+
* <p>The current lifecycle of the model. <code>ACTIVE</code> indicates the model is recommended for use and <code>LEGACY</code> indicates the model is still usable but is deprecated.</p>
|
|
3843
|
+
* @public
|
|
3844
|
+
*/
|
|
3845
|
+
modelLifecycle?: ModelLifecycle | undefined;
|
|
3846
|
+
/**
|
|
3847
|
+
* <p>The timestamp when the model lifecycle will transition from <code>ACTIVE</code> to <code>LEGACY</code>.</p>
|
|
3848
|
+
* @public
|
|
3849
|
+
*/
|
|
3850
|
+
legacyTimestamp?: Date | undefined;
|
|
3851
|
+
/**
|
|
3852
|
+
* <p>The timestamp when the model will reach end of life and no longer be available for use.</p>
|
|
3853
|
+
* @public
|
|
3854
|
+
*/
|
|
3855
|
+
endOfLifeTimestamp?: Date | undefined;
|
|
3856
|
+
}
|
|
3857
|
+
/**
|
|
3858
|
+
* @public
|
|
3859
|
+
*/
|
|
3860
|
+
export interface ListModelsResponse {
|
|
3861
|
+
/**
|
|
3862
|
+
* <p>The summaries of the models available to the assistant.</p>
|
|
3863
|
+
* @public
|
|
3864
|
+
*/
|
|
3865
|
+
modelSummaries: ModelSummary[] | undefined;
|
|
3866
|
+
/**
|
|
3867
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
3868
|
+
* @public
|
|
3869
|
+
*/
|
|
3870
|
+
nextToken?: string | undefined;
|
|
3871
|
+
}
|
|
3781
3872
|
/**
|
|
3782
3873
|
* @public
|
|
3783
3874
|
*/
|
|
@@ -7853,53 +7944,3 @@ export interface QuickResponseData {
|
|
|
7853
7944
|
*/
|
|
7854
7945
|
tags?: Record<string, string> | undefined;
|
|
7855
7946
|
}
|
|
7856
|
-
/**
|
|
7857
|
-
* @public
|
|
7858
|
-
*/
|
|
7859
|
-
export interface CreateQuickResponseResponse {
|
|
7860
|
-
/**
|
|
7861
|
-
* <p>The quick response.</p>
|
|
7862
|
-
* @public
|
|
7863
|
-
*/
|
|
7864
|
-
quickResponse?: QuickResponseData | undefined;
|
|
7865
|
-
}
|
|
7866
|
-
/**
|
|
7867
|
-
* @public
|
|
7868
|
-
*/
|
|
7869
|
-
export interface DeactivateMessageTemplateRequest {
|
|
7870
|
-
/**
|
|
7871
|
-
* <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
7872
|
-
* @public
|
|
7873
|
-
*/
|
|
7874
|
-
knowledgeBaseId: string | undefined;
|
|
7875
|
-
/**
|
|
7876
|
-
* <p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>
|
|
7877
|
-
* @public
|
|
7878
|
-
*/
|
|
7879
|
-
messageTemplateId: string | undefined;
|
|
7880
|
-
/**
|
|
7881
|
-
* <p>The version number of the message template version to deactivate.</p>
|
|
7882
|
-
* @public
|
|
7883
|
-
*/
|
|
7884
|
-
versionNumber: number | undefined;
|
|
7885
|
-
}
|
|
7886
|
-
/**
|
|
7887
|
-
* @public
|
|
7888
|
-
*/
|
|
7889
|
-
export interface DeactivateMessageTemplateResponse {
|
|
7890
|
-
/**
|
|
7891
|
-
* <p>The Amazon Resource Name (ARN) of the message template.</p>
|
|
7892
|
-
* @public
|
|
7893
|
-
*/
|
|
7894
|
-
messageTemplateArn: string | undefined;
|
|
7895
|
-
/**
|
|
7896
|
-
* <p>The identifier of the message template.</p>
|
|
7897
|
-
* @public
|
|
7898
|
-
*/
|
|
7899
|
-
messageTemplateId: string | undefined;
|
|
7900
|
-
/**
|
|
7901
|
-
* <p>The version number of the message template version that has been deactivated.</p>
|
|
7902
|
-
* @public
|
|
7903
|
-
*/
|
|
7904
|
-
versionNumber: number | undefined;
|
|
7905
|
-
}
|
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
import type { 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 { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, ExtendedMessageTemplateData, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttachment, MessageTemplateAttributes, MessageTemplateContentProvider, MessageTemplateData, MessageTemplateSourceConfiguration, MessageTemplateSourceConfigurationSummary, NotesChunkDataDetails, NotesDataDetails, QuickResponseContents, QuickResponseData, QuickResponseDataProvider, RankingData, RecommendationTrigger, RenderingConfiguration, SearchExpression, ServerSideEncryptionConfiguration, SourceConfiguration, SourceContentDataDetails, SpanReasoningValue, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails, VectorIngestionConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateQuickResponseResponse {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The quick response.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
quickResponse?: QuickResponseData | undefined;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export interface DeactivateMessageTemplateRequest {
|
|
17
|
+
/**
|
|
18
|
+
* <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
knowledgeBaseId: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
messageTemplateId: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The version number of the message template version to deactivate.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
versionNumber: number | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export interface DeactivateMessageTemplateResponse {
|
|
37
|
+
/**
|
|
38
|
+
* <p>The Amazon Resource Name (ARN) of the message template.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
messageTemplateArn: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The identifier of the message template.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
messageTemplateId: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The version number of the message template version that has been deactivated.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
versionNumber: number | undefined;
|
|
52
|
+
}
|
|
3
53
|
/**
|
|
4
54
|
* @public
|
|
5
55
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListModelsCommandInput, ListModelsCommandOutput } from "../commands/ListModelsCommand";
|
|
3
|
+
import type { QConnectPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListModels: (config: QConnectPaginationConfiguration, input: ListModelsCommandInput, ...rest: any[]) => Paginator<ListModelsCommandOutput>;
|
|
@@ -14,6 +14,7 @@ export * from "./ListKnowledgeBasesPaginator";
|
|
|
14
14
|
export * from "./ListMessagesPaginator";
|
|
15
15
|
export * from "./ListMessageTemplatesPaginator";
|
|
16
16
|
export * from "./ListMessageTemplateVersionsPaginator";
|
|
17
|
+
export * from "./ListModelsPaginator";
|
|
17
18
|
export * from "./ListQuickResponsesPaginator";
|
|
18
19
|
export * from "./ListSpansPaginator";
|
|
19
20
|
export * from "./QueryAssistantPaginator";
|
|
@@ -232,6 +232,8 @@ export declare var ListMessageTemplatesRequest$: StaticStructureSchema;
|
|
|
232
232
|
export declare var ListMessageTemplatesResponse$: StaticStructureSchema;
|
|
233
233
|
export declare var ListMessageTemplateVersionsRequest$: StaticStructureSchema;
|
|
234
234
|
export declare var ListMessageTemplateVersionsResponse$: StaticStructureSchema;
|
|
235
|
+
export declare var ListModelsRequest$: StaticStructureSchema;
|
|
236
|
+
export declare var ListModelsResponse$: StaticStructureSchema;
|
|
235
237
|
export declare var ListQuickResponsesRequest$: StaticStructureSchema;
|
|
236
238
|
export declare var ListQuickResponsesResponse$: StaticStructureSchema;
|
|
237
239
|
export declare var ListSpansRequest$: StaticStructureSchema;
|
|
@@ -252,6 +254,7 @@ export declare var MessageTemplateSearchExpression$: StaticStructureSchema;
|
|
|
252
254
|
export declare var MessageTemplateSearchResultData$: StaticStructureSchema;
|
|
253
255
|
export declare var MessageTemplateSummary$: StaticStructureSchema;
|
|
254
256
|
export declare var MessageTemplateVersionSummary$: StaticStructureSchema;
|
|
257
|
+
export declare var ModelSummary$: StaticStructureSchema;
|
|
255
258
|
export declare var NotesChunkDataDetails$: StaticStructureSchema;
|
|
256
259
|
export declare var NotesDataDetails$: StaticStructureSchema;
|
|
257
260
|
export declare var NoteTakingAIAgentConfiguration$: StaticStructureSchema;
|
|
@@ -473,6 +476,7 @@ export declare var ListKnowledgeBases$: StaticOperationSchema;
|
|
|
473
476
|
export declare var ListMessages$: StaticOperationSchema;
|
|
474
477
|
export declare var ListMessageTemplates$: StaticOperationSchema;
|
|
475
478
|
export declare var ListMessageTemplateVersions$: StaticOperationSchema;
|
|
479
|
+
export declare var ListModels$: StaticOperationSchema;
|
|
476
480
|
export declare var ListQuickResponses$: StaticOperationSchema;
|
|
477
481
|
export declare var ListSpans$: StaticOperationSchema;
|
|
478
482
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
@@ -255,6 +255,10 @@ import {
|
|
|
255
255
|
ListMessageTemplateVersionsCommandInput,
|
|
256
256
|
ListMessageTemplateVersionsCommandOutput,
|
|
257
257
|
} from "./commands/ListMessageTemplateVersionsCommand";
|
|
258
|
+
import {
|
|
259
|
+
ListModelsCommandInput,
|
|
260
|
+
ListModelsCommandOutput,
|
|
261
|
+
} from "./commands/ListModelsCommand";
|
|
258
262
|
import {
|
|
259
263
|
ListQuickResponsesCommandInput,
|
|
260
264
|
ListQuickResponsesCommandOutput,
|
|
@@ -1198,6 +1202,19 @@ export interface QConnect {
|
|
|
1198
1202
|
options: __HttpHandlerOptions,
|
|
1199
1203
|
cb: (err: any, data?: ListMessageTemplateVersionsCommandOutput) => void
|
|
1200
1204
|
): void;
|
|
1205
|
+
listModels(
|
|
1206
|
+
args: ListModelsCommandInput,
|
|
1207
|
+
options?: __HttpHandlerOptions
|
|
1208
|
+
): Promise<ListModelsCommandOutput>;
|
|
1209
|
+
listModels(
|
|
1210
|
+
args: ListModelsCommandInput,
|
|
1211
|
+
cb: (err: any, data?: ListModelsCommandOutput) => void
|
|
1212
|
+
): void;
|
|
1213
|
+
listModels(
|
|
1214
|
+
args: ListModelsCommandInput,
|
|
1215
|
+
options: __HttpHandlerOptions,
|
|
1216
|
+
cb: (err: any, data?: ListModelsCommandOutput) => void
|
|
1217
|
+
): void;
|
|
1201
1218
|
listQuickResponses(
|
|
1202
1219
|
args: ListQuickResponsesCommandInput,
|
|
1203
1220
|
options?: __HttpHandlerOptions
|
|
@@ -1693,6 +1710,13 @@ export interface QConnect {
|
|
|
1693
1710
|
Exclude<keyof PaginationConfiguration, "client">
|
|
1694
1711
|
>
|
|
1695
1712
|
): Paginator<ListMessageTemplateVersionsCommandOutput>;
|
|
1713
|
+
paginateListModels(
|
|
1714
|
+
args: ListModelsCommandInput,
|
|
1715
|
+
paginationConfig?: Pick<
|
|
1716
|
+
PaginationConfiguration,
|
|
1717
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1718
|
+
>
|
|
1719
|
+
): Paginator<ListModelsCommandOutput>;
|
|
1696
1720
|
paginateListQuickResponses(
|
|
1697
1721
|
args: ListQuickResponsesCommandInput,
|
|
1698
1722
|
paginationConfig?: Pick<
|
|
@@ -290,6 +290,10 @@ import {
|
|
|
290
290
|
ListMessageTemplateVersionsCommandInput,
|
|
291
291
|
ListMessageTemplateVersionsCommandOutput,
|
|
292
292
|
} from "./commands/ListMessageTemplateVersionsCommand";
|
|
293
|
+
import {
|
|
294
|
+
ListModelsCommandInput,
|
|
295
|
+
ListModelsCommandOutput,
|
|
296
|
+
} from "./commands/ListModelsCommand";
|
|
293
297
|
import {
|
|
294
298
|
ListQuickResponsesCommandInput,
|
|
295
299
|
ListQuickResponsesCommandOutput,
|
|
@@ -481,6 +485,7 @@ export type ServiceInputTypes =
|
|
|
481
485
|
| ListMessageTemplateVersionsCommandInput
|
|
482
486
|
| ListMessageTemplatesCommandInput
|
|
483
487
|
| ListMessagesCommandInput
|
|
488
|
+
| ListModelsCommandInput
|
|
484
489
|
| ListQuickResponsesCommandInput
|
|
485
490
|
| ListSpansCommandInput
|
|
486
491
|
| ListTagsForResourceCommandInput
|
|
@@ -575,6 +580,7 @@ export type ServiceOutputTypes =
|
|
|
575
580
|
| ListMessageTemplateVersionsCommandOutput
|
|
576
581
|
| ListMessageTemplatesCommandOutput
|
|
577
582
|
| ListMessagesCommandOutput
|
|
583
|
+
| ListModelsCommandOutput
|
|
578
584
|
| ListQuickResponsesCommandOutput
|
|
579
585
|
| ListSpansCommandOutput
|
|
580
586
|
| ListTagsForResourceCommandOutput
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
CreateQuickResponseResponse,
|
|
6
|
-
} from "../models/models_0";
|
|
3
|
+
import { CreateQuickResponseRequest } from "../models/models_0";
|
|
4
|
+
import { CreateQuickResponseResponse } from "../models/models_1";
|
|
7
5
|
import {
|
|
8
6
|
QConnectClientResolvedConfig,
|
|
9
7
|
ServiceInputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
DeactivateMessageTemplateRequest,
|
|
5
5
|
DeactivateMessageTemplateResponse,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_1";
|
|
7
7
|
import {
|
|
8
8
|
QConnectClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListModelsRequest, ListModelsResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
QConnectClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../QConnectClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListModelsCommandInput extends ListModelsRequest {}
|
|
12
|
+
export interface ListModelsCommandOutput
|
|
13
|
+
extends ListModelsResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListModelsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListModelsCommandInput
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
ListModelsCommandInput,
|
|
20
|
+
ListModelsCommandOutput,
|
|
21
|
+
QConnectClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: ListModelsCommandInput
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
ListModelsCommandInput,
|
|
29
|
+
ListModelsCommandOutput,
|
|
30
|
+
QConnectClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class ListModelsCommand extends ListModelsCommand_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: ListModelsRequest;
|
|
42
|
+
output: ListModelsResponse;
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: ListModelsCommandInput;
|
|
46
|
+
output: ListModelsCommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -61,6 +61,7 @@ export * from "./ListKnowledgeBasesCommand";
|
|
|
61
61
|
export * from "./ListMessageTemplateVersionsCommand";
|
|
62
62
|
export * from "./ListMessageTemplatesCommand";
|
|
63
63
|
export * from "./ListMessagesCommand";
|
|
64
|
+
export * from "./ListModelsCommand";
|
|
64
65
|
export * from "./ListQuickResponsesCommand";
|
|
65
66
|
export * from "./ListSpansCommand";
|
|
66
67
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -241,6 +241,19 @@ export declare const RecommendationTriggerType: {
|
|
|
241
241
|
};
|
|
242
242
|
export type RecommendationTriggerType =
|
|
243
243
|
(typeof RecommendationTriggerType)[keyof typeof RecommendationTriggerType];
|
|
244
|
+
export declare const ModelLifecycle: {
|
|
245
|
+
readonly ACTIVE: "ACTIVE";
|
|
246
|
+
readonly LEGACY: "LEGACY";
|
|
247
|
+
};
|
|
248
|
+
export type ModelLifecycle =
|
|
249
|
+
(typeof ModelLifecycle)[keyof typeof ModelLifecycle];
|
|
250
|
+
export declare const CrossRegionStatus: {
|
|
251
|
+
readonly GLOBAL: "GLOBAL";
|
|
252
|
+
readonly NONE: "NONE";
|
|
253
|
+
readonly REGIONAL: "REGIONAL";
|
|
254
|
+
};
|
|
255
|
+
export type CrossRegionStatus =
|
|
256
|
+
(typeof CrossRegionStatus)[keyof typeof CrossRegionStatus];
|
|
244
257
|
export declare const Relevance: {
|
|
245
258
|
readonly HELPFUL: "HELPFUL";
|
|
246
259
|
readonly NOT_HELPFUL: "NOT_HELPFUL";
|