@aws-sdk/client-qconnect 3.699.0 → 3.709.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 +88 -0
- package/dist-cjs/index.js +1188 -127
- package/dist-es/QConnect.js +22 -0
- package/dist-es/commands/CreateAIGuardrailCommand.js +23 -0
- package/dist-es/commands/CreateAIGuardrailVersionCommand.js +23 -0
- package/dist-es/commands/CreateQuickResponseCommand.js +1 -1
- package/dist-es/commands/DeleteAIGuardrailCommand.js +22 -0
- package/dist-es/commands/DeleteAIGuardrailVersionCommand.js +22 -0
- package/dist-es/commands/GetAIGuardrailCommand.js +23 -0
- package/dist-es/commands/GetImportJobCommand.js +1 -1
- package/dist-es/commands/GetKnowledgeBaseCommand.js +1 -1
- package/dist-es/commands/GetMessageTemplateCommand.js +1 -1
- package/dist-es/commands/GetNextMessageCommand.js +23 -0
- package/dist-es/commands/GetQuickResponseCommand.js +1 -1
- package/dist-es/commands/ListAIGuardrailVersionsCommand.js +23 -0
- package/dist-es/commands/ListAIGuardrailsCommand.js +23 -0
- package/dist-es/commands/ListKnowledgeBasesCommand.js +1 -1
- package/dist-es/commands/ListMessagesCommand.js +23 -0
- package/dist-es/commands/ListQuickResponsesCommand.js +1 -1
- package/dist-es/commands/RenderMessageTemplateCommand.js +1 -1
- package/dist-es/commands/SendMessageCommand.js +23 -0
- package/dist-es/commands/UpdateAIGuardrailCommand.js +23 -0
- package/dist-es/commands/UpdateMessageTemplateCommand.js +1 -1
- package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +1 -1
- package/dist-es/commands/UpdateQuickResponseCommand.js +1 -1
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +310 -166
- package/dist-es/models/models_1.js +167 -1
- package/dist-es/pagination/ListAIGuardrailVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAIGuardrailsPaginator.js +4 -0
- package/dist-es/pagination/ListMessagesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +443 -1
- package/dist-types/QConnect.d.ts +77 -0
- package/dist-types/QConnectClient.d.ts +13 -2
- package/dist-types/commands/CreateAIAgentCommand.d.ts +62 -0
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +31 -0
- package/dist-types/commands/CreateAIGuardrailCommand.d.ts +231 -0
- package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +169 -0
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAIGuardrailCommand.d.ts +88 -0
- package/dist-types/commands/DeleteAIGuardrailVersionCommand.d.ts +89 -0
- package/dist-types/commands/DeleteImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetAIAgentCommand.d.ts +31 -0
- package/dist-types/commands/GetAIGuardrailCommand.d.ts +157 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetMessageTemplateCommand.d.ts +4 -3
- package/dist-types/commands/GetNextMessageCommand.d.ts +106 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +31 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +31 -0
- package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +105 -0
- package/dist-types/commands/ListAIGuardrailsCommand.d.ts +101 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListMessageTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListMessagesCommand.d.ts +95 -0
- package/dist-types/commands/ListQuickResponsesCommand.d.ts +1 -1
- package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +1 -2
- package/dist-types/commands/RenderMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/SendMessageCommand.d.ts +114 -0
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +62 -0
- package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +224 -0
- package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +3820 -3619
- package/dist-types/models/models_1.d.ts +1513 -1
- package/dist-types/pagination/ListAIGuardrailVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIGuardrailsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMessagesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/dist-types/ts3.4/QConnect.d.ts +187 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateAIGuardrailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAIGuardrailVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAIGuardrailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAIGuardrailVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAIGuardrailCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetNextMessageCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAIGuardrailVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAIGuardrailsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateAIGuardrailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMessageTemplateMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +482 -441
- package/dist-types/ts3.4/models/models_1.d.ts +437 -5
- package/dist-types/ts3.4/pagination/ListAIGuardrailVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIGuardrailsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMessagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
- package/package.json +35 -35
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateAIGuardrailRequest, CreateAIGuardrailResponse } from "../models/models_0";
|
|
4
|
+
import { 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 CreateAIGuardrailCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAIGuardrailCommandInput extends CreateAIGuardrailRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAIGuardrailCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAIGuardrailCommandOutput extends CreateAIGuardrailResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAIGuardrailCommand_base: {
|
|
25
|
+
new (input: CreateAIGuardrailCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAIGuardrailCommandInput, CreateAIGuardrailCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateAIGuardrailCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAIGuardrailCommandInput, CreateAIGuardrailCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an Amazon Q in Connect AI Guardrail.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QConnectClient, CreateAIGuardrailCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
35
|
+
* // const { QConnectClient, CreateAIGuardrailCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
36
|
+
* const client = new QConnectClient(config);
|
|
37
|
+
* const input = { // CreateAIGuardrailRequest
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* assistantId: "STRING_VALUE", // required
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* blockedInputMessaging: "STRING_VALUE", // required
|
|
42
|
+
* blockedOutputsMessaging: "STRING_VALUE", // required
|
|
43
|
+
* visibilityStatus: "STRING_VALUE", // required
|
|
44
|
+
* description: "STRING_VALUE",
|
|
45
|
+
* topicPolicyConfig: { // AIGuardrailTopicPolicyConfig
|
|
46
|
+
* topicsConfig: [ // GuardrailTopicsConfig // required
|
|
47
|
+
* { // GuardrailTopicConfig
|
|
48
|
+
* name: "STRING_VALUE", // required
|
|
49
|
+
* definition: "STRING_VALUE", // required
|
|
50
|
+
* examples: [ // GuardrailTopicExamples
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* type: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* contentPolicyConfig: { // AIGuardrailContentPolicyConfig
|
|
58
|
+
* filtersConfig: [ // GuardrailContentFiltersConfig // required
|
|
59
|
+
* { // GuardrailContentFilterConfig
|
|
60
|
+
* type: "STRING_VALUE", // required
|
|
61
|
+
* inputStrength: "STRING_VALUE", // required
|
|
62
|
+
* outputStrength: "STRING_VALUE", // required
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* wordPolicyConfig: { // AIGuardrailWordPolicyConfig
|
|
67
|
+
* wordsConfig: [ // GuardrailWordsConfig
|
|
68
|
+
* { // GuardrailWordConfig
|
|
69
|
+
* text: "STRING_VALUE", // required
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* managedWordListsConfig: [ // GuardrailManagedWordListsConfig
|
|
73
|
+
* { // GuardrailManagedWordsConfig
|
|
74
|
+
* type: "STRING_VALUE", // required
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* sensitiveInformationPolicyConfig: { // AIGuardrailSensitiveInformationPolicyConfig
|
|
79
|
+
* piiEntitiesConfig: [ // GuardrailPiiEntitiesConfig
|
|
80
|
+
* { // GuardrailPiiEntityConfig
|
|
81
|
+
* type: "STRING_VALUE", // required
|
|
82
|
+
* action: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* regexesConfig: [ // GuardrailRegexesConfig
|
|
86
|
+
* { // GuardrailRegexConfig
|
|
87
|
+
* name: "STRING_VALUE", // required
|
|
88
|
+
* description: "STRING_VALUE",
|
|
89
|
+
* pattern: "STRING_VALUE", // required
|
|
90
|
+
* action: "STRING_VALUE", // required
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* contextualGroundingPolicyConfig: { // AIGuardrailContextualGroundingPolicyConfig
|
|
95
|
+
* filtersConfig: [ // GuardrailContextualGroundingFiltersConfig // required
|
|
96
|
+
* { // GuardrailContextualGroundingFilterConfig
|
|
97
|
+
* type: "STRING_VALUE", // required
|
|
98
|
+
* threshold: Number("double"), // required
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* },
|
|
102
|
+
* tags: { // Tags
|
|
103
|
+
* "<keys>": "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* };
|
|
106
|
+
* const command = new CreateAIGuardrailCommand(input);
|
|
107
|
+
* const response = await client.send(command);
|
|
108
|
+
* // { // CreateAIGuardrailResponse
|
|
109
|
+
* // aiGuardrail: { // AIGuardrailData
|
|
110
|
+
* // assistantId: "STRING_VALUE", // required
|
|
111
|
+
* // assistantArn: "STRING_VALUE", // required
|
|
112
|
+
* // aiGuardrailArn: "STRING_VALUE", // required
|
|
113
|
+
* // aiGuardrailId: "STRING_VALUE", // required
|
|
114
|
+
* // name: "STRING_VALUE", // required
|
|
115
|
+
* // visibilityStatus: "STRING_VALUE", // required
|
|
116
|
+
* // blockedInputMessaging: "STRING_VALUE", // required
|
|
117
|
+
* // blockedOutputsMessaging: "STRING_VALUE", // required
|
|
118
|
+
* // description: "STRING_VALUE",
|
|
119
|
+
* // topicPolicyConfig: { // AIGuardrailTopicPolicyConfig
|
|
120
|
+
* // topicsConfig: [ // GuardrailTopicsConfig // required
|
|
121
|
+
* // { // GuardrailTopicConfig
|
|
122
|
+
* // name: "STRING_VALUE", // required
|
|
123
|
+
* // definition: "STRING_VALUE", // required
|
|
124
|
+
* // examples: [ // GuardrailTopicExamples
|
|
125
|
+
* // "STRING_VALUE",
|
|
126
|
+
* // ],
|
|
127
|
+
* // type: "STRING_VALUE", // required
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
131
|
+
* // contentPolicyConfig: { // AIGuardrailContentPolicyConfig
|
|
132
|
+
* // filtersConfig: [ // GuardrailContentFiltersConfig // required
|
|
133
|
+
* // { // GuardrailContentFilterConfig
|
|
134
|
+
* // type: "STRING_VALUE", // required
|
|
135
|
+
* // inputStrength: "STRING_VALUE", // required
|
|
136
|
+
* // outputStrength: "STRING_VALUE", // required
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // },
|
|
140
|
+
* // wordPolicyConfig: { // AIGuardrailWordPolicyConfig
|
|
141
|
+
* // wordsConfig: [ // GuardrailWordsConfig
|
|
142
|
+
* // { // GuardrailWordConfig
|
|
143
|
+
* // text: "STRING_VALUE", // required
|
|
144
|
+
* // },
|
|
145
|
+
* // ],
|
|
146
|
+
* // managedWordListsConfig: [ // GuardrailManagedWordListsConfig
|
|
147
|
+
* // { // GuardrailManagedWordsConfig
|
|
148
|
+
* // type: "STRING_VALUE", // required
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // },
|
|
152
|
+
* // sensitiveInformationPolicyConfig: { // AIGuardrailSensitiveInformationPolicyConfig
|
|
153
|
+
* // piiEntitiesConfig: [ // GuardrailPiiEntitiesConfig
|
|
154
|
+
* // { // GuardrailPiiEntityConfig
|
|
155
|
+
* // type: "STRING_VALUE", // required
|
|
156
|
+
* // action: "STRING_VALUE", // required
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
159
|
+
* // regexesConfig: [ // GuardrailRegexesConfig
|
|
160
|
+
* // { // GuardrailRegexConfig
|
|
161
|
+
* // name: "STRING_VALUE", // required
|
|
162
|
+
* // description: "STRING_VALUE",
|
|
163
|
+
* // pattern: "STRING_VALUE", // required
|
|
164
|
+
* // action: "STRING_VALUE", // required
|
|
165
|
+
* // },
|
|
166
|
+
* // ],
|
|
167
|
+
* // },
|
|
168
|
+
* // contextualGroundingPolicyConfig: { // AIGuardrailContextualGroundingPolicyConfig
|
|
169
|
+
* // filtersConfig: [ // GuardrailContextualGroundingFiltersConfig // required
|
|
170
|
+
* // { // GuardrailContextualGroundingFilterConfig
|
|
171
|
+
* // type: "STRING_VALUE", // required
|
|
172
|
+
* // threshold: Number("double"), // required
|
|
173
|
+
* // },
|
|
174
|
+
* // ],
|
|
175
|
+
* // },
|
|
176
|
+
* // tags: { // Tags
|
|
177
|
+
* // "<keys>": "STRING_VALUE",
|
|
178
|
+
* // },
|
|
179
|
+
* // status: "STRING_VALUE",
|
|
180
|
+
* // modifiedTime: new Date("TIMESTAMP"),
|
|
181
|
+
* // },
|
|
182
|
+
* // };
|
|
183
|
+
*
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
186
|
+
* @param CreateAIGuardrailCommandInput - {@link CreateAIGuardrailCommandInput}
|
|
187
|
+
* @returns {@link CreateAIGuardrailCommandOutput}
|
|
188
|
+
* @see {@link CreateAIGuardrailCommandInput} for command's `input` shape.
|
|
189
|
+
* @see {@link CreateAIGuardrailCommandOutput} for command's `response` shape.
|
|
190
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
193
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
194
|
+
*
|
|
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>
|
|
200
|
+
*
|
|
201
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
202
|
+
* <p>The specified resource does not exist.</p>
|
|
203
|
+
*
|
|
204
|
+
* @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>
|
|
207
|
+
*
|
|
208
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
209
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
210
|
+
*
|
|
211
|
+
* @throws {@link ValidationException} (client fault)
|
|
212
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
213
|
+
*
|
|
214
|
+
* @throws {@link QConnectServiceException}
|
|
215
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
216
|
+
*
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export declare class CreateAIGuardrailCommand extends CreateAIGuardrailCommand_base {
|
|
220
|
+
/** @internal type navigation helper, not in runtime. */
|
|
221
|
+
protected static __types: {
|
|
222
|
+
api: {
|
|
223
|
+
input: CreateAIGuardrailRequest;
|
|
224
|
+
output: CreateAIGuardrailResponse;
|
|
225
|
+
};
|
|
226
|
+
sdk: {
|
|
227
|
+
input: CreateAIGuardrailCommandInput;
|
|
228
|
+
output: CreateAIGuardrailCommandOutput;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateAIGuardrailVersionRequest, CreateAIGuardrailVersionResponse } from "../models/models_0";
|
|
4
|
+
import { 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 CreateAIGuardrailVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAIGuardrailVersionCommandInput extends CreateAIGuardrailVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAIGuardrailVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAIGuardrailVersionCommandOutput extends CreateAIGuardrailVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAIGuardrailVersionCommand_base: {
|
|
25
|
+
new (input: CreateAIGuardrailVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAIGuardrailVersionCommandInput, CreateAIGuardrailVersionCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateAIGuardrailVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAIGuardrailVersionCommandInput, CreateAIGuardrailVersionCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an Amazon Q in Connect AI Guardrail version.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QConnectClient, CreateAIGuardrailVersionCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
35
|
+
* // const { QConnectClient, CreateAIGuardrailVersionCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
36
|
+
* const client = new QConnectClient(config);
|
|
37
|
+
* const input = { // CreateAIGuardrailVersionRequest
|
|
38
|
+
* assistantId: "STRING_VALUE", // required
|
|
39
|
+
* aiGuardrailId: "STRING_VALUE", // required
|
|
40
|
+
* modifiedTime: new Date("TIMESTAMP"),
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new CreateAIGuardrailVersionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateAIGuardrailVersionResponse
|
|
46
|
+
* // aiGuardrail: { // AIGuardrailData
|
|
47
|
+
* // assistantId: "STRING_VALUE", // required
|
|
48
|
+
* // assistantArn: "STRING_VALUE", // required
|
|
49
|
+
* // aiGuardrailArn: "STRING_VALUE", // required
|
|
50
|
+
* // aiGuardrailId: "STRING_VALUE", // required
|
|
51
|
+
* // name: "STRING_VALUE", // required
|
|
52
|
+
* // visibilityStatus: "STRING_VALUE", // required
|
|
53
|
+
* // blockedInputMessaging: "STRING_VALUE", // required
|
|
54
|
+
* // blockedOutputsMessaging: "STRING_VALUE", // required
|
|
55
|
+
* // description: "STRING_VALUE",
|
|
56
|
+
* // topicPolicyConfig: { // AIGuardrailTopicPolicyConfig
|
|
57
|
+
* // topicsConfig: [ // GuardrailTopicsConfig // required
|
|
58
|
+
* // { // GuardrailTopicConfig
|
|
59
|
+
* // name: "STRING_VALUE", // required
|
|
60
|
+
* // definition: "STRING_VALUE", // required
|
|
61
|
+
* // examples: [ // GuardrailTopicExamples
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // type: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // contentPolicyConfig: { // AIGuardrailContentPolicyConfig
|
|
69
|
+
* // filtersConfig: [ // GuardrailContentFiltersConfig // required
|
|
70
|
+
* // { // GuardrailContentFilterConfig
|
|
71
|
+
* // type: "STRING_VALUE", // required
|
|
72
|
+
* // inputStrength: "STRING_VALUE", // required
|
|
73
|
+
* // outputStrength: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // wordPolicyConfig: { // AIGuardrailWordPolicyConfig
|
|
78
|
+
* // wordsConfig: [ // GuardrailWordsConfig
|
|
79
|
+
* // { // GuardrailWordConfig
|
|
80
|
+
* // text: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // managedWordListsConfig: [ // GuardrailManagedWordListsConfig
|
|
84
|
+
* // { // GuardrailManagedWordsConfig
|
|
85
|
+
* // type: "STRING_VALUE", // required
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // sensitiveInformationPolicyConfig: { // AIGuardrailSensitiveInformationPolicyConfig
|
|
90
|
+
* // piiEntitiesConfig: [ // GuardrailPiiEntitiesConfig
|
|
91
|
+
* // { // GuardrailPiiEntityConfig
|
|
92
|
+
* // type: "STRING_VALUE", // required
|
|
93
|
+
* // action: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // regexesConfig: [ // GuardrailRegexesConfig
|
|
97
|
+
* // { // GuardrailRegexConfig
|
|
98
|
+
* // name: "STRING_VALUE", // required
|
|
99
|
+
* // description: "STRING_VALUE",
|
|
100
|
+
* // pattern: "STRING_VALUE", // required
|
|
101
|
+
* // action: "STRING_VALUE", // required
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // contextualGroundingPolicyConfig: { // AIGuardrailContextualGroundingPolicyConfig
|
|
106
|
+
* // filtersConfig: [ // GuardrailContextualGroundingFiltersConfig // required
|
|
107
|
+
* // { // GuardrailContextualGroundingFilterConfig
|
|
108
|
+
* // type: "STRING_VALUE", // required
|
|
109
|
+
* // threshold: Number("double"), // required
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // },
|
|
113
|
+
* // tags: { // Tags
|
|
114
|
+
* // "<keys>": "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // status: "STRING_VALUE",
|
|
117
|
+
* // modifiedTime: new Date("TIMESTAMP"),
|
|
118
|
+
* // },
|
|
119
|
+
* // versionNumber: Number("long"),
|
|
120
|
+
* // };
|
|
121
|
+
*
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* @param CreateAIGuardrailVersionCommandInput - {@link CreateAIGuardrailVersionCommandInput}
|
|
125
|
+
* @returns {@link CreateAIGuardrailVersionCommandOutput}
|
|
126
|
+
* @see {@link CreateAIGuardrailVersionCommandInput} for command's `input` shape.
|
|
127
|
+
* @see {@link CreateAIGuardrailVersionCommandOutput} for command's `response` shape.
|
|
128
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
131
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
132
|
+
*
|
|
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>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
140
|
+
* <p>The specified resource does not exist.</p>
|
|
141
|
+
*
|
|
142
|
+
* @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>
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
147
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link ValidationException} (client fault)
|
|
150
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link QConnectServiceException}
|
|
153
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
154
|
+
*
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export declare class CreateAIGuardrailVersionCommand extends CreateAIGuardrailVersionCommand_base {
|
|
158
|
+
/** @internal type navigation helper, not in runtime. */
|
|
159
|
+
protected static __types: {
|
|
160
|
+
api: {
|
|
161
|
+
input: CreateAIGuardrailVersionRequest;
|
|
162
|
+
output: CreateAIGuardrailVersionResponse;
|
|
163
|
+
};
|
|
164
|
+
sdk: {
|
|
165
|
+
input: CreateAIGuardrailVersionCommandInput;
|
|
166
|
+
output: CreateAIGuardrailVersionCommandOutput;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateQuickResponseRequest, CreateQuickResponseResponse } from "../models/
|
|
3
|
+
import { CreateQuickResponseRequest, CreateQuickResponseResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeactivateMessageTemplateRequest, DeactivateMessageTemplateResponse } from "../models/
|
|
3
|
+
import { DeactivateMessageTemplateRequest, DeactivateMessageTemplateResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteAIGuardrailRequest, DeleteAIGuardrailResponse } from "../models/models_0";
|
|
4
|
+
import { 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 DeleteAIGuardrailCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAIGuardrailCommandInput extends DeleteAIGuardrailRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAIGuardrailCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAIGuardrailCommandOutput extends DeleteAIGuardrailResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAIGuardrailCommand_base: {
|
|
25
|
+
new (input: DeleteAIGuardrailCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAIGuardrailCommandInput, DeleteAIGuardrailCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteAIGuardrailCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAIGuardrailCommandInput, DeleteAIGuardrailCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an Amazon Q in Connect AI Guardrail.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QConnectClient, DeleteAIGuardrailCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
35
|
+
* // const { QConnectClient, DeleteAIGuardrailCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
36
|
+
* const client = new QConnectClient(config);
|
|
37
|
+
* const input = { // DeleteAIGuardrailRequest
|
|
38
|
+
* assistantId: "STRING_VALUE", // required
|
|
39
|
+
* aiGuardrailId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteAIGuardrailCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteAIGuardrailCommandInput - {@link DeleteAIGuardrailCommandInput}
|
|
48
|
+
* @returns {@link DeleteAIGuardrailCommandOutput}
|
|
49
|
+
* @see {@link DeleteAIGuardrailCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteAIGuardrailCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
58
|
+
* resource. For example, if you're using a <code>Create</code> API (such as
|
|
59
|
+
* <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
|
|
60
|
+
* same name) is being created or mutated.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The specified resource does not exist.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link QConnectServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteAIGuardrailCommand extends DeleteAIGuardrailCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteAIGuardrailRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteAIGuardrailCommandInput;
|
|
85
|
+
output: DeleteAIGuardrailCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteAIGuardrailVersionRequest, DeleteAIGuardrailVersionResponse } from "../models/models_0";
|
|
4
|
+
import { 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 DeleteAIGuardrailVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAIGuardrailVersionCommandInput extends DeleteAIGuardrailVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAIGuardrailVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAIGuardrailVersionCommandOutput extends DeleteAIGuardrailVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAIGuardrailVersionCommand_base: {
|
|
25
|
+
new (input: DeleteAIGuardrailVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAIGuardrailVersionCommandInput, DeleteAIGuardrailVersionCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteAIGuardrailVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAIGuardrailVersionCommandInput, DeleteAIGuardrailVersionCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Delete and Amazon Q in Connect AI Guardrail version.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QConnectClient, DeleteAIGuardrailVersionCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
35
|
+
* // const { QConnectClient, DeleteAIGuardrailVersionCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
36
|
+
* const client = new QConnectClient(config);
|
|
37
|
+
* const input = { // DeleteAIGuardrailVersionRequest
|
|
38
|
+
* assistantId: "STRING_VALUE", // required
|
|
39
|
+
* aiGuardrailId: "STRING_VALUE", // required
|
|
40
|
+
* versionNumber: Number("long"), // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteAIGuardrailVersionCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteAIGuardrailVersionCommandInput - {@link DeleteAIGuardrailVersionCommandInput}
|
|
49
|
+
* @returns {@link DeleteAIGuardrailVersionCommandOutput}
|
|
50
|
+
* @see {@link DeleteAIGuardrailVersionCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteAIGuardrailVersionCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
59
|
+
* resource. For example, if you're using a <code>Create</code> API (such as
|
|
60
|
+
* <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
|
|
61
|
+
* same name) is being created or mutated.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The specified resource does not exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link QConnectServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteAIGuardrailVersionCommand extends DeleteAIGuardrailVersionCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteAIGuardrailVersionRequest;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteAIGuardrailVersionCommandInput;
|
|
86
|
+
output: DeleteAIGuardrailVersionCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteImportJobRequest, DeleteImportJobResponse } from "../models/
|
|
3
|
+
import { DeleteImportJobRequest, DeleteImportJobResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } from "../models/
|
|
3
|
+
import { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteMessageTemplateAttachmentRequest, DeleteMessageTemplateAttachmentResponse } from "../models/
|
|
3
|
+
import { DeleteMessageTemplateAttachmentRequest, DeleteMessageTemplateAttachmentResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteMessageTemplateRequest, DeleteMessageTemplateResponse } from "../models/
|
|
3
|
+
import { DeleteMessageTemplateRequest, DeleteMessageTemplateResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteQuickResponseRequest, DeleteQuickResponseResponse } from "../models/
|
|
3
|
+
import { DeleteQuickResponseRequest, DeleteQuickResponseResponse } from "../models/models_1";
|
|
4
4
|
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|