aws-cdk-lib 2.164.1__py3-none-any.whl → 2.166.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +20 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.164.1.jsii.tgz → aws-cdk-lib@2.166.0.jsii.tgz} +0 -0
- aws_cdk/aws_appsync/__init__.py +2163 -375
- aws_cdk/aws_autoscaling/__init__.py +145 -8
- aws_cdk/aws_backup/__init__.py +627 -3
- aws_cdk/aws_bedrock/__init__.py +982 -191
- aws_cdk/aws_codebuild/__init__.py +88 -33
- aws_cdk/aws_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +656 -102
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +9 -7
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +762 -0
- aws_cdk/aws_dynamodb/__init__.py +13 -8
- aws_cdk/aws_ec2/__init__.py +134 -35
- aws_cdk/aws_ecs/__init__.py +41 -31
- aws_cdk/aws_eks/__init__.py +10 -12
- aws_cdk/aws_elasticache/__init__.py +52 -6
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- aws_cdk/aws_imagebuilder/__init__.py +183 -0
- aws_cdk/aws_iot/__init__.py +37 -43
- aws_cdk/aws_iotwireless/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +297 -1
- aws_cdk/aws_lambda/__init__.py +3 -3
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_memorydb/__init__.py +41 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +23 -14
- aws_cdk/aws_rds/__init__.py +187 -48
- aws_cdk/aws_redshift/__init__.py +23 -23
- aws_cdk/aws_refactorspaces/__init__.py +56 -61
- aws_cdk/aws_resiliencehub/__init__.py +4 -4
- aws_cdk/aws_route53/__init__.py +37 -9
- aws_cdk/aws_s3_deployment/__init__.py +13 -7
- aws_cdk/aws_sagemaker/__init__.py +128 -23
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_ses/__init__.py +19 -0
- aws_cdk/aws_synthetics/__init__.py +121 -0
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2035 -61
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/METADATA +6 -6
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/RECORD +52 -52
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_wisdom/__init__.py
CHANGED
|
@@ -70,6 +70,1527 @@ from .. import (
|
|
|
70
70
|
)
|
|
71
71
|
|
|
72
72
|
|
|
73
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
74
|
+
class CfnAIAgent(
|
|
75
|
+
_CfnResource_9df397a6,
|
|
76
|
+
metaclass=jsii.JSIIMeta,
|
|
77
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent",
|
|
78
|
+
):
|
|
79
|
+
'''Definition of AWS::Wisdom::AIAgent Resource Type.
|
|
80
|
+
|
|
81
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html
|
|
82
|
+
:cloudformationResource: AWS::Wisdom::AIAgent
|
|
83
|
+
:exampleMetadata: fixture=_generated
|
|
84
|
+
|
|
85
|
+
Example::
|
|
86
|
+
|
|
87
|
+
# The code below shows an example of how to instantiate this type.
|
|
88
|
+
# The values are placeholders you should change.
|
|
89
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
90
|
+
|
|
91
|
+
cfn_aIAgent = wisdom.CfnAIAgent(self, "MyCfnAIAgent",
|
|
92
|
+
assistant_id="assistantId",
|
|
93
|
+
configuration=wisdom.CfnAIAgent.AIAgentConfigurationProperty(
|
|
94
|
+
answer_recommendation_ai_agent_configuration=wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty(
|
|
95
|
+
answer_generation_ai_prompt_id="answerGenerationAiPromptId",
|
|
96
|
+
association_configurations=[wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
97
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
98
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
99
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
100
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
101
|
+
key="key",
|
|
102
|
+
|
|
103
|
+
# the properties below are optional
|
|
104
|
+
value="value"
|
|
105
|
+
)],
|
|
106
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
107
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
108
|
+
key="key",
|
|
109
|
+
|
|
110
|
+
# the properties below are optional
|
|
111
|
+
value="value"
|
|
112
|
+
)],
|
|
113
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
114
|
+
key="key",
|
|
115
|
+
|
|
116
|
+
# the properties below are optional
|
|
117
|
+
value="value"
|
|
118
|
+
)
|
|
119
|
+
)],
|
|
120
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
121
|
+
key="key",
|
|
122
|
+
|
|
123
|
+
# the properties below are optional
|
|
124
|
+
value="value"
|
|
125
|
+
)
|
|
126
|
+
),
|
|
127
|
+
max_results=123,
|
|
128
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
129
|
+
)
|
|
130
|
+
),
|
|
131
|
+
association_id="associationId",
|
|
132
|
+
association_type="associationType"
|
|
133
|
+
)],
|
|
134
|
+
intent_labeling_generation_ai_prompt_id="intentLabelingGenerationAiPromptId",
|
|
135
|
+
query_reformulation_ai_prompt_id="queryReformulationAiPromptId"
|
|
136
|
+
),
|
|
137
|
+
manual_search_ai_agent_configuration=wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty(
|
|
138
|
+
answer_generation_ai_prompt_id="answerGenerationAiPromptId",
|
|
139
|
+
association_configurations=[wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
140
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
141
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
142
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
143
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
144
|
+
key="key",
|
|
145
|
+
|
|
146
|
+
# the properties below are optional
|
|
147
|
+
value="value"
|
|
148
|
+
)],
|
|
149
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
150
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
151
|
+
key="key",
|
|
152
|
+
|
|
153
|
+
# the properties below are optional
|
|
154
|
+
value="value"
|
|
155
|
+
)],
|
|
156
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
157
|
+
key="key",
|
|
158
|
+
|
|
159
|
+
# the properties below are optional
|
|
160
|
+
value="value"
|
|
161
|
+
)
|
|
162
|
+
)],
|
|
163
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
164
|
+
key="key",
|
|
165
|
+
|
|
166
|
+
# the properties below are optional
|
|
167
|
+
value="value"
|
|
168
|
+
)
|
|
169
|
+
),
|
|
170
|
+
max_results=123,
|
|
171
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
172
|
+
)
|
|
173
|
+
),
|
|
174
|
+
association_id="associationId",
|
|
175
|
+
association_type="associationType"
|
|
176
|
+
)]
|
|
177
|
+
)
|
|
178
|
+
),
|
|
179
|
+
type="type",
|
|
180
|
+
|
|
181
|
+
# the properties below are optional
|
|
182
|
+
description="description",
|
|
183
|
+
name="name",
|
|
184
|
+
tags={
|
|
185
|
+
"tags_key": "tags"
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
'''
|
|
189
|
+
|
|
190
|
+
def __init__(
|
|
191
|
+
self,
|
|
192
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
193
|
+
id: builtins.str,
|
|
194
|
+
*,
|
|
195
|
+
assistant_id: builtins.str,
|
|
196
|
+
configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.AIAgentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
197
|
+
type: builtins.str,
|
|
198
|
+
description: typing.Optional[builtins.str] = None,
|
|
199
|
+
name: typing.Optional[builtins.str] = None,
|
|
200
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
201
|
+
) -> None:
|
|
202
|
+
'''
|
|
203
|
+
:param scope: Scope in which this resource is defined.
|
|
204
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
205
|
+
:param assistant_id:
|
|
206
|
+
:param configuration:
|
|
207
|
+
:param type:
|
|
208
|
+
:param description:
|
|
209
|
+
:param name:
|
|
210
|
+
:param tags:
|
|
211
|
+
'''
|
|
212
|
+
if __debug__:
|
|
213
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e4d43de9ccaeb31eba5b0b613ecac25531a87bb9137652388e6196070f4622ab)
|
|
214
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
215
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
216
|
+
props = CfnAIAgentProps(
|
|
217
|
+
assistant_id=assistant_id,
|
|
218
|
+
configuration=configuration,
|
|
219
|
+
type=type,
|
|
220
|
+
description=description,
|
|
221
|
+
name=name,
|
|
222
|
+
tags=tags,
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
226
|
+
|
|
227
|
+
@jsii.member(jsii_name="inspect")
|
|
228
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
229
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
230
|
+
|
|
231
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
232
|
+
'''
|
|
233
|
+
if __debug__:
|
|
234
|
+
type_hints = typing.get_type_hints(_typecheckingstub__daf9bd162ab4eaa6b11972bcaf8372498a47b4ad8cf111130cabfae3f675d2b4)
|
|
235
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
236
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
237
|
+
|
|
238
|
+
@jsii.member(jsii_name="renderProperties")
|
|
239
|
+
def _render_properties(
|
|
240
|
+
self,
|
|
241
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
242
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
243
|
+
'''
|
|
244
|
+
:param props: -
|
|
245
|
+
'''
|
|
246
|
+
if __debug__:
|
|
247
|
+
type_hints = typing.get_type_hints(_typecheckingstub__569f9e85834b9b380045c7e9789b3ac0684022e3b37642b34e232ba9b451ade6)
|
|
248
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
249
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
250
|
+
|
|
251
|
+
@jsii.python.classproperty
|
|
252
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
253
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
254
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
255
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
256
|
+
|
|
257
|
+
@builtins.property
|
|
258
|
+
@jsii.member(jsii_name="attrAiAgentArn")
|
|
259
|
+
def attr_ai_agent_arn(self) -> builtins.str:
|
|
260
|
+
'''
|
|
261
|
+
:cloudformationAttribute: AIAgentArn
|
|
262
|
+
'''
|
|
263
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAiAgentArn"))
|
|
264
|
+
|
|
265
|
+
@builtins.property
|
|
266
|
+
@jsii.member(jsii_name="attrAiAgentId")
|
|
267
|
+
def attr_ai_agent_id(self) -> builtins.str:
|
|
268
|
+
'''
|
|
269
|
+
:cloudformationAttribute: AIAgentId
|
|
270
|
+
'''
|
|
271
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAiAgentId"))
|
|
272
|
+
|
|
273
|
+
@builtins.property
|
|
274
|
+
@jsii.member(jsii_name="attrAssistantArn")
|
|
275
|
+
def attr_assistant_arn(self) -> builtins.str:
|
|
276
|
+
'''
|
|
277
|
+
:cloudformationAttribute: AssistantArn
|
|
278
|
+
'''
|
|
279
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAssistantArn"))
|
|
280
|
+
|
|
281
|
+
@builtins.property
|
|
282
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
283
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
284
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
285
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
286
|
+
|
|
287
|
+
@builtins.property
|
|
288
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
289
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
290
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
291
|
+
|
|
292
|
+
@builtins.property
|
|
293
|
+
@jsii.member(jsii_name="assistantId")
|
|
294
|
+
def assistant_id(self) -> builtins.str:
|
|
295
|
+
return typing.cast(builtins.str, jsii.get(self, "assistantId"))
|
|
296
|
+
|
|
297
|
+
@assistant_id.setter
|
|
298
|
+
def assistant_id(self, value: builtins.str) -> None:
|
|
299
|
+
if __debug__:
|
|
300
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b3d8fd38839efd97edc463e08adcbeb6d1b964aa278b19d07017fb40c806bb19)
|
|
301
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
302
|
+
jsii.set(self, "assistantId", value) # pyright: ignore[reportArgumentType]
|
|
303
|
+
|
|
304
|
+
@builtins.property
|
|
305
|
+
@jsii.member(jsii_name="configuration")
|
|
306
|
+
def configuration(
|
|
307
|
+
self,
|
|
308
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AIAgentConfigurationProperty"]:
|
|
309
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AIAgentConfigurationProperty"], jsii.get(self, "configuration"))
|
|
310
|
+
|
|
311
|
+
@configuration.setter
|
|
312
|
+
def configuration(
|
|
313
|
+
self,
|
|
314
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AIAgentConfigurationProperty"],
|
|
315
|
+
) -> None:
|
|
316
|
+
if __debug__:
|
|
317
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2d07c289ddb2abe8b14c5f581386f3377fb7266b5b099c89c1b142b4bbd9d769)
|
|
318
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
319
|
+
jsii.set(self, "configuration", value) # pyright: ignore[reportArgumentType]
|
|
320
|
+
|
|
321
|
+
@builtins.property
|
|
322
|
+
@jsii.member(jsii_name="type")
|
|
323
|
+
def type(self) -> builtins.str:
|
|
324
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
325
|
+
|
|
326
|
+
@type.setter
|
|
327
|
+
def type(self, value: builtins.str) -> None:
|
|
328
|
+
if __debug__:
|
|
329
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9b90fdd18e60e92e1589e2bf61b55c6cd7758b9da5e26d00525cb08a2ad13830)
|
|
330
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
331
|
+
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
332
|
+
|
|
333
|
+
@builtins.property
|
|
334
|
+
@jsii.member(jsii_name="description")
|
|
335
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
336
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
337
|
+
|
|
338
|
+
@description.setter
|
|
339
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
340
|
+
if __debug__:
|
|
341
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6380f3badbada0c208691bd5242dfabe1122f10b446d77f1ae5ad0c9da456ae8)
|
|
342
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
343
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
344
|
+
|
|
345
|
+
@builtins.property
|
|
346
|
+
@jsii.member(jsii_name="name")
|
|
347
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
348
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
349
|
+
|
|
350
|
+
@name.setter
|
|
351
|
+
def name(self, value: typing.Optional[builtins.str]) -> None:
|
|
352
|
+
if __debug__:
|
|
353
|
+
type_hints = typing.get_type_hints(_typecheckingstub__982490f39ff188d23898421a1623ad1489db32be592625d58e01c368c7568247)
|
|
354
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
355
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
356
|
+
|
|
357
|
+
@builtins.property
|
|
358
|
+
@jsii.member(jsii_name="tags")
|
|
359
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
360
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
361
|
+
|
|
362
|
+
@tags.setter
|
|
363
|
+
def tags(
|
|
364
|
+
self,
|
|
365
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
366
|
+
) -> None:
|
|
367
|
+
if __debug__:
|
|
368
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2e3ed01afbf4aa2c01303d467dcbf5c5cd3fb267902b917f3c4f5fdd0d83ccdc)
|
|
369
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
370
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
371
|
+
|
|
372
|
+
@jsii.data_type(
|
|
373
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.AIAgentConfigurationProperty",
|
|
374
|
+
jsii_struct_bases=[],
|
|
375
|
+
name_mapping={
|
|
376
|
+
"answer_recommendation_ai_agent_configuration": "answerRecommendationAiAgentConfiguration",
|
|
377
|
+
"manual_search_ai_agent_configuration": "manualSearchAiAgentConfiguration",
|
|
378
|
+
},
|
|
379
|
+
)
|
|
380
|
+
class AIAgentConfigurationProperty:
|
|
381
|
+
def __init__(
|
|
382
|
+
self,
|
|
383
|
+
*,
|
|
384
|
+
answer_recommendation_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
385
|
+
manual_search_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.ManualSearchAIAgentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
386
|
+
) -> None:
|
|
387
|
+
'''
|
|
388
|
+
:param answer_recommendation_ai_agent_configuration:
|
|
389
|
+
:param manual_search_ai_agent_configuration:
|
|
390
|
+
|
|
391
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-aiagentconfiguration.html
|
|
392
|
+
:exampleMetadata: fixture=_generated
|
|
393
|
+
|
|
394
|
+
Example::
|
|
395
|
+
|
|
396
|
+
# The code below shows an example of how to instantiate this type.
|
|
397
|
+
# The values are placeholders you should change.
|
|
398
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
399
|
+
|
|
400
|
+
a_iAgent_configuration_property = wisdom.CfnAIAgent.AIAgentConfigurationProperty(
|
|
401
|
+
answer_recommendation_ai_agent_configuration=wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty(
|
|
402
|
+
answer_generation_ai_prompt_id="answerGenerationAiPromptId",
|
|
403
|
+
association_configurations=[wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
404
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
405
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
406
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
407
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
408
|
+
key="key",
|
|
409
|
+
|
|
410
|
+
# the properties below are optional
|
|
411
|
+
value="value"
|
|
412
|
+
)],
|
|
413
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
414
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
415
|
+
key="key",
|
|
416
|
+
|
|
417
|
+
# the properties below are optional
|
|
418
|
+
value="value"
|
|
419
|
+
)],
|
|
420
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
421
|
+
key="key",
|
|
422
|
+
|
|
423
|
+
# the properties below are optional
|
|
424
|
+
value="value"
|
|
425
|
+
)
|
|
426
|
+
)],
|
|
427
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
428
|
+
key="key",
|
|
429
|
+
|
|
430
|
+
# the properties below are optional
|
|
431
|
+
value="value"
|
|
432
|
+
)
|
|
433
|
+
),
|
|
434
|
+
max_results=123,
|
|
435
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
436
|
+
)
|
|
437
|
+
),
|
|
438
|
+
association_id="associationId",
|
|
439
|
+
association_type="associationType"
|
|
440
|
+
)],
|
|
441
|
+
intent_labeling_generation_ai_prompt_id="intentLabelingGenerationAiPromptId",
|
|
442
|
+
query_reformulation_ai_prompt_id="queryReformulationAiPromptId"
|
|
443
|
+
),
|
|
444
|
+
manual_search_ai_agent_configuration=wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty(
|
|
445
|
+
answer_generation_ai_prompt_id="answerGenerationAiPromptId",
|
|
446
|
+
association_configurations=[wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
447
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
448
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
449
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
450
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
451
|
+
key="key",
|
|
452
|
+
|
|
453
|
+
# the properties below are optional
|
|
454
|
+
value="value"
|
|
455
|
+
)],
|
|
456
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
457
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
458
|
+
key="key",
|
|
459
|
+
|
|
460
|
+
# the properties below are optional
|
|
461
|
+
value="value"
|
|
462
|
+
)],
|
|
463
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
464
|
+
key="key",
|
|
465
|
+
|
|
466
|
+
# the properties below are optional
|
|
467
|
+
value="value"
|
|
468
|
+
)
|
|
469
|
+
)],
|
|
470
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
471
|
+
key="key",
|
|
472
|
+
|
|
473
|
+
# the properties below are optional
|
|
474
|
+
value="value"
|
|
475
|
+
)
|
|
476
|
+
),
|
|
477
|
+
max_results=123,
|
|
478
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
479
|
+
)
|
|
480
|
+
),
|
|
481
|
+
association_id="associationId",
|
|
482
|
+
association_type="associationType"
|
|
483
|
+
)]
|
|
484
|
+
)
|
|
485
|
+
)
|
|
486
|
+
'''
|
|
487
|
+
if __debug__:
|
|
488
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8cb84ad0dc27ffdae65e4e739c98ea6a4e7c36340f15c21ae83a2225ff763ba3)
|
|
489
|
+
check_type(argname="argument answer_recommendation_ai_agent_configuration", value=answer_recommendation_ai_agent_configuration, expected_type=type_hints["answer_recommendation_ai_agent_configuration"])
|
|
490
|
+
check_type(argname="argument manual_search_ai_agent_configuration", value=manual_search_ai_agent_configuration, expected_type=type_hints["manual_search_ai_agent_configuration"])
|
|
491
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
492
|
+
if answer_recommendation_ai_agent_configuration is not None:
|
|
493
|
+
self._values["answer_recommendation_ai_agent_configuration"] = answer_recommendation_ai_agent_configuration
|
|
494
|
+
if manual_search_ai_agent_configuration is not None:
|
|
495
|
+
self._values["manual_search_ai_agent_configuration"] = manual_search_ai_agent_configuration
|
|
496
|
+
|
|
497
|
+
@builtins.property
|
|
498
|
+
def answer_recommendation_ai_agent_configuration(
|
|
499
|
+
self,
|
|
500
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty"]]:
|
|
501
|
+
'''
|
|
502
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-aiagentconfiguration.html#cfn-wisdom-aiagent-aiagentconfiguration-answerrecommendationaiagentconfiguration
|
|
503
|
+
'''
|
|
504
|
+
result = self._values.get("answer_recommendation_ai_agent_configuration")
|
|
505
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty"]], result)
|
|
506
|
+
|
|
507
|
+
@builtins.property
|
|
508
|
+
def manual_search_ai_agent_configuration(
|
|
509
|
+
self,
|
|
510
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.ManualSearchAIAgentConfigurationProperty"]]:
|
|
511
|
+
'''
|
|
512
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-aiagentconfiguration.html#cfn-wisdom-aiagent-aiagentconfiguration-manualsearchaiagentconfiguration
|
|
513
|
+
'''
|
|
514
|
+
result = self._values.get("manual_search_ai_agent_configuration")
|
|
515
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.ManualSearchAIAgentConfigurationProperty"]], result)
|
|
516
|
+
|
|
517
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
518
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
519
|
+
|
|
520
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
521
|
+
return not (rhs == self)
|
|
522
|
+
|
|
523
|
+
def __repr__(self) -> str:
|
|
524
|
+
return "AIAgentConfigurationProperty(%s)" % ", ".join(
|
|
525
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
526
|
+
)
|
|
527
|
+
|
|
528
|
+
@jsii.data_type(
|
|
529
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty",
|
|
530
|
+
jsii_struct_bases=[],
|
|
531
|
+
name_mapping={
|
|
532
|
+
"answer_generation_ai_prompt_id": "answerGenerationAiPromptId",
|
|
533
|
+
"association_configurations": "associationConfigurations",
|
|
534
|
+
"intent_labeling_generation_ai_prompt_id": "intentLabelingGenerationAiPromptId",
|
|
535
|
+
"query_reformulation_ai_prompt_id": "queryReformulationAiPromptId",
|
|
536
|
+
},
|
|
537
|
+
)
|
|
538
|
+
class AnswerRecommendationAIAgentConfigurationProperty:
|
|
539
|
+
def __init__(
|
|
540
|
+
self,
|
|
541
|
+
*,
|
|
542
|
+
answer_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
543
|
+
association_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.AssociationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
544
|
+
intent_labeling_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
545
|
+
query_reformulation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
546
|
+
) -> None:
|
|
547
|
+
'''
|
|
548
|
+
:param answer_generation_ai_prompt_id:
|
|
549
|
+
:param association_configurations:
|
|
550
|
+
:param intent_labeling_generation_ai_prompt_id:
|
|
551
|
+
:param query_reformulation_ai_prompt_id:
|
|
552
|
+
|
|
553
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html
|
|
554
|
+
:exampleMetadata: fixture=_generated
|
|
555
|
+
|
|
556
|
+
Example::
|
|
557
|
+
|
|
558
|
+
# The code below shows an example of how to instantiate this type.
|
|
559
|
+
# The values are placeholders you should change.
|
|
560
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
561
|
+
|
|
562
|
+
answer_recommendation_aIAgent_configuration_property = wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty(
|
|
563
|
+
answer_generation_ai_prompt_id="answerGenerationAiPromptId",
|
|
564
|
+
association_configurations=[wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
565
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
566
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
567
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
568
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
569
|
+
key="key",
|
|
570
|
+
|
|
571
|
+
# the properties below are optional
|
|
572
|
+
value="value"
|
|
573
|
+
)],
|
|
574
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
575
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
576
|
+
key="key",
|
|
577
|
+
|
|
578
|
+
# the properties below are optional
|
|
579
|
+
value="value"
|
|
580
|
+
)],
|
|
581
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
582
|
+
key="key",
|
|
583
|
+
|
|
584
|
+
# the properties below are optional
|
|
585
|
+
value="value"
|
|
586
|
+
)
|
|
587
|
+
)],
|
|
588
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
589
|
+
key="key",
|
|
590
|
+
|
|
591
|
+
# the properties below are optional
|
|
592
|
+
value="value"
|
|
593
|
+
)
|
|
594
|
+
),
|
|
595
|
+
max_results=123,
|
|
596
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
597
|
+
)
|
|
598
|
+
),
|
|
599
|
+
association_id="associationId",
|
|
600
|
+
association_type="associationType"
|
|
601
|
+
)],
|
|
602
|
+
intent_labeling_generation_ai_prompt_id="intentLabelingGenerationAiPromptId",
|
|
603
|
+
query_reformulation_ai_prompt_id="queryReformulationAiPromptId"
|
|
604
|
+
)
|
|
605
|
+
'''
|
|
606
|
+
if __debug__:
|
|
607
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6847cf788b7def362d576a512b579b2a08c25837003298b7c57254d1dfb45112)
|
|
608
|
+
check_type(argname="argument answer_generation_ai_prompt_id", value=answer_generation_ai_prompt_id, expected_type=type_hints["answer_generation_ai_prompt_id"])
|
|
609
|
+
check_type(argname="argument association_configurations", value=association_configurations, expected_type=type_hints["association_configurations"])
|
|
610
|
+
check_type(argname="argument intent_labeling_generation_ai_prompt_id", value=intent_labeling_generation_ai_prompt_id, expected_type=type_hints["intent_labeling_generation_ai_prompt_id"])
|
|
611
|
+
check_type(argname="argument query_reformulation_ai_prompt_id", value=query_reformulation_ai_prompt_id, expected_type=type_hints["query_reformulation_ai_prompt_id"])
|
|
612
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
613
|
+
if answer_generation_ai_prompt_id is not None:
|
|
614
|
+
self._values["answer_generation_ai_prompt_id"] = answer_generation_ai_prompt_id
|
|
615
|
+
if association_configurations is not None:
|
|
616
|
+
self._values["association_configurations"] = association_configurations
|
|
617
|
+
if intent_labeling_generation_ai_prompt_id is not None:
|
|
618
|
+
self._values["intent_labeling_generation_ai_prompt_id"] = intent_labeling_generation_ai_prompt_id
|
|
619
|
+
if query_reformulation_ai_prompt_id is not None:
|
|
620
|
+
self._values["query_reformulation_ai_prompt_id"] = query_reformulation_ai_prompt_id
|
|
621
|
+
|
|
622
|
+
@builtins.property
|
|
623
|
+
def answer_generation_ai_prompt_id(self) -> typing.Optional[builtins.str]:
|
|
624
|
+
'''
|
|
625
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html#cfn-wisdom-aiagent-answerrecommendationaiagentconfiguration-answergenerationaipromptid
|
|
626
|
+
'''
|
|
627
|
+
result = self._values.get("answer_generation_ai_prompt_id")
|
|
628
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
629
|
+
|
|
630
|
+
@builtins.property
|
|
631
|
+
def association_configurations(
|
|
632
|
+
self,
|
|
633
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AssociationConfigurationProperty"]]]]:
|
|
634
|
+
'''
|
|
635
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html#cfn-wisdom-aiagent-answerrecommendationaiagentconfiguration-associationconfigurations
|
|
636
|
+
'''
|
|
637
|
+
result = self._values.get("association_configurations")
|
|
638
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AssociationConfigurationProperty"]]]], result)
|
|
639
|
+
|
|
640
|
+
@builtins.property
|
|
641
|
+
def intent_labeling_generation_ai_prompt_id(
|
|
642
|
+
self,
|
|
643
|
+
) -> typing.Optional[builtins.str]:
|
|
644
|
+
'''
|
|
645
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html#cfn-wisdom-aiagent-answerrecommendationaiagentconfiguration-intentlabelinggenerationaipromptid
|
|
646
|
+
'''
|
|
647
|
+
result = self._values.get("intent_labeling_generation_ai_prompt_id")
|
|
648
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
649
|
+
|
|
650
|
+
@builtins.property
|
|
651
|
+
def query_reformulation_ai_prompt_id(self) -> typing.Optional[builtins.str]:
|
|
652
|
+
'''
|
|
653
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html#cfn-wisdom-aiagent-answerrecommendationaiagentconfiguration-queryreformulationaipromptid
|
|
654
|
+
'''
|
|
655
|
+
result = self._values.get("query_reformulation_ai_prompt_id")
|
|
656
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
657
|
+
|
|
658
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
659
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
660
|
+
|
|
661
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
662
|
+
return not (rhs == self)
|
|
663
|
+
|
|
664
|
+
def __repr__(self) -> str:
|
|
665
|
+
return "AnswerRecommendationAIAgentConfigurationProperty(%s)" % ", ".join(
|
|
666
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
667
|
+
)
|
|
668
|
+
|
|
669
|
+
@jsii.data_type(
|
|
670
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.AssociationConfigurationDataProperty",
|
|
671
|
+
jsii_struct_bases=[],
|
|
672
|
+
name_mapping={
|
|
673
|
+
"knowledge_base_association_configuration_data": "knowledgeBaseAssociationConfigurationData",
|
|
674
|
+
},
|
|
675
|
+
)
|
|
676
|
+
class AssociationConfigurationDataProperty:
|
|
677
|
+
def __init__(
|
|
678
|
+
self,
|
|
679
|
+
*,
|
|
680
|
+
knowledge_base_association_configuration_data: typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
681
|
+
) -> None:
|
|
682
|
+
'''
|
|
683
|
+
:param knowledge_base_association_configuration_data:
|
|
684
|
+
|
|
685
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-associationconfigurationdata.html
|
|
686
|
+
:exampleMetadata: fixture=_generated
|
|
687
|
+
|
|
688
|
+
Example::
|
|
689
|
+
|
|
690
|
+
# The code below shows an example of how to instantiate this type.
|
|
691
|
+
# The values are placeholders you should change.
|
|
692
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
693
|
+
|
|
694
|
+
association_configuration_data_property = wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
695
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
696
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
697
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
698
|
+
key="key",
|
|
699
|
+
|
|
700
|
+
# the properties below are optional
|
|
701
|
+
value="value"
|
|
702
|
+
)],
|
|
703
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
704
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
705
|
+
key="key",
|
|
706
|
+
|
|
707
|
+
# the properties below are optional
|
|
708
|
+
value="value"
|
|
709
|
+
)],
|
|
710
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
711
|
+
key="key",
|
|
712
|
+
|
|
713
|
+
# the properties below are optional
|
|
714
|
+
value="value"
|
|
715
|
+
)
|
|
716
|
+
)],
|
|
717
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
718
|
+
key="key",
|
|
719
|
+
|
|
720
|
+
# the properties below are optional
|
|
721
|
+
value="value"
|
|
722
|
+
)
|
|
723
|
+
),
|
|
724
|
+
max_results=123,
|
|
725
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
726
|
+
)
|
|
727
|
+
)
|
|
728
|
+
'''
|
|
729
|
+
if __debug__:
|
|
730
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c351d3e3386a19a82d6920c115ac6f8c911a12da4a117a9c0676a8ff0038fd41)
|
|
731
|
+
check_type(argname="argument knowledge_base_association_configuration_data", value=knowledge_base_association_configuration_data, expected_type=type_hints["knowledge_base_association_configuration_data"])
|
|
732
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
733
|
+
"knowledge_base_association_configuration_data": knowledge_base_association_configuration_data,
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
@builtins.property
|
|
737
|
+
def knowledge_base_association_configuration_data(
|
|
738
|
+
self,
|
|
739
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty"]:
|
|
740
|
+
'''
|
|
741
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-associationconfigurationdata.html#cfn-wisdom-aiagent-associationconfigurationdata-knowledgebaseassociationconfigurationdata
|
|
742
|
+
'''
|
|
743
|
+
result = self._values.get("knowledge_base_association_configuration_data")
|
|
744
|
+
assert result is not None, "Required property 'knowledge_base_association_configuration_data' is missing"
|
|
745
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty"], result)
|
|
746
|
+
|
|
747
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
748
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
749
|
+
|
|
750
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
751
|
+
return not (rhs == self)
|
|
752
|
+
|
|
753
|
+
def __repr__(self) -> str:
|
|
754
|
+
return "AssociationConfigurationDataProperty(%s)" % ", ".join(
|
|
755
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
756
|
+
)
|
|
757
|
+
|
|
758
|
+
@jsii.data_type(
|
|
759
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.AssociationConfigurationProperty",
|
|
760
|
+
jsii_struct_bases=[],
|
|
761
|
+
name_mapping={
|
|
762
|
+
"association_configuration_data": "associationConfigurationData",
|
|
763
|
+
"association_id": "associationId",
|
|
764
|
+
"association_type": "associationType",
|
|
765
|
+
},
|
|
766
|
+
)
|
|
767
|
+
class AssociationConfigurationProperty:
|
|
768
|
+
def __init__(
|
|
769
|
+
self,
|
|
770
|
+
*,
|
|
771
|
+
association_configuration_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.AssociationConfigurationDataProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
772
|
+
association_id: typing.Optional[builtins.str] = None,
|
|
773
|
+
association_type: typing.Optional[builtins.str] = None,
|
|
774
|
+
) -> None:
|
|
775
|
+
'''
|
|
776
|
+
:param association_configuration_data:
|
|
777
|
+
:param association_id:
|
|
778
|
+
:param association_type:
|
|
779
|
+
|
|
780
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-associationconfiguration.html
|
|
781
|
+
:exampleMetadata: fixture=_generated
|
|
782
|
+
|
|
783
|
+
Example::
|
|
784
|
+
|
|
785
|
+
# The code below shows an example of how to instantiate this type.
|
|
786
|
+
# The values are placeholders you should change.
|
|
787
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
788
|
+
|
|
789
|
+
association_configuration_property = wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
790
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
791
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
792
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
793
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
794
|
+
key="key",
|
|
795
|
+
|
|
796
|
+
# the properties below are optional
|
|
797
|
+
value="value"
|
|
798
|
+
)],
|
|
799
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
800
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
801
|
+
key="key",
|
|
802
|
+
|
|
803
|
+
# the properties below are optional
|
|
804
|
+
value="value"
|
|
805
|
+
)],
|
|
806
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
807
|
+
key="key",
|
|
808
|
+
|
|
809
|
+
# the properties below are optional
|
|
810
|
+
value="value"
|
|
811
|
+
)
|
|
812
|
+
)],
|
|
813
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
814
|
+
key="key",
|
|
815
|
+
|
|
816
|
+
# the properties below are optional
|
|
817
|
+
value="value"
|
|
818
|
+
)
|
|
819
|
+
),
|
|
820
|
+
max_results=123,
|
|
821
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
822
|
+
)
|
|
823
|
+
),
|
|
824
|
+
association_id="associationId",
|
|
825
|
+
association_type="associationType"
|
|
826
|
+
)
|
|
827
|
+
'''
|
|
828
|
+
if __debug__:
|
|
829
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2df56062b7b8c55a883d0469e63c3aad05d8079bf21171f13f4e68d2f26fea44)
|
|
830
|
+
check_type(argname="argument association_configuration_data", value=association_configuration_data, expected_type=type_hints["association_configuration_data"])
|
|
831
|
+
check_type(argname="argument association_id", value=association_id, expected_type=type_hints["association_id"])
|
|
832
|
+
check_type(argname="argument association_type", value=association_type, expected_type=type_hints["association_type"])
|
|
833
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
834
|
+
if association_configuration_data is not None:
|
|
835
|
+
self._values["association_configuration_data"] = association_configuration_data
|
|
836
|
+
if association_id is not None:
|
|
837
|
+
self._values["association_id"] = association_id
|
|
838
|
+
if association_type is not None:
|
|
839
|
+
self._values["association_type"] = association_type
|
|
840
|
+
|
|
841
|
+
@builtins.property
|
|
842
|
+
def association_configuration_data(
|
|
843
|
+
self,
|
|
844
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AssociationConfigurationDataProperty"]]:
|
|
845
|
+
'''
|
|
846
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-associationconfiguration.html#cfn-wisdom-aiagent-associationconfiguration-associationconfigurationdata
|
|
847
|
+
'''
|
|
848
|
+
result = self._values.get("association_configuration_data")
|
|
849
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AssociationConfigurationDataProperty"]], result)
|
|
850
|
+
|
|
851
|
+
@builtins.property
|
|
852
|
+
def association_id(self) -> typing.Optional[builtins.str]:
|
|
853
|
+
'''
|
|
854
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-associationconfiguration.html#cfn-wisdom-aiagent-associationconfiguration-associationid
|
|
855
|
+
'''
|
|
856
|
+
result = self._values.get("association_id")
|
|
857
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
858
|
+
|
|
859
|
+
@builtins.property
|
|
860
|
+
def association_type(self) -> typing.Optional[builtins.str]:
|
|
861
|
+
'''
|
|
862
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-associationconfiguration.html#cfn-wisdom-aiagent-associationconfiguration-associationtype
|
|
863
|
+
'''
|
|
864
|
+
result = self._values.get("association_type")
|
|
865
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
866
|
+
|
|
867
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
868
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
869
|
+
|
|
870
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
871
|
+
return not (rhs == self)
|
|
872
|
+
|
|
873
|
+
def __repr__(self) -> str:
|
|
874
|
+
return "AssociationConfigurationProperty(%s)" % ", ".join(
|
|
875
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
876
|
+
)
|
|
877
|
+
|
|
878
|
+
@jsii.data_type(
|
|
879
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty",
|
|
880
|
+
jsii_struct_bases=[],
|
|
881
|
+
name_mapping={
|
|
882
|
+
"content_tag_filter": "contentTagFilter",
|
|
883
|
+
"max_results": "maxResults",
|
|
884
|
+
"override_knowledge_base_search_type": "overrideKnowledgeBaseSearchType",
|
|
885
|
+
},
|
|
886
|
+
)
|
|
887
|
+
class KnowledgeBaseAssociationConfigurationDataProperty:
|
|
888
|
+
def __init__(
|
|
889
|
+
self,
|
|
890
|
+
*,
|
|
891
|
+
content_tag_filter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.TagFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
892
|
+
max_results: typing.Optional[jsii.Number] = None,
|
|
893
|
+
override_knowledge_base_search_type: typing.Optional[builtins.str] = None,
|
|
894
|
+
) -> None:
|
|
895
|
+
'''
|
|
896
|
+
:param content_tag_filter:
|
|
897
|
+
:param max_results:
|
|
898
|
+
:param override_knowledge_base_search_type:
|
|
899
|
+
|
|
900
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-knowledgebaseassociationconfigurationdata.html
|
|
901
|
+
:exampleMetadata: fixture=_generated
|
|
902
|
+
|
|
903
|
+
Example::
|
|
904
|
+
|
|
905
|
+
# The code below shows an example of how to instantiate this type.
|
|
906
|
+
# The values are placeholders you should change.
|
|
907
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
908
|
+
|
|
909
|
+
knowledge_base_association_configuration_data_property = wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
910
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
911
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
912
|
+
key="key",
|
|
913
|
+
|
|
914
|
+
# the properties below are optional
|
|
915
|
+
value="value"
|
|
916
|
+
)],
|
|
917
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
918
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
919
|
+
key="key",
|
|
920
|
+
|
|
921
|
+
# the properties below are optional
|
|
922
|
+
value="value"
|
|
923
|
+
)],
|
|
924
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
925
|
+
key="key",
|
|
926
|
+
|
|
927
|
+
# the properties below are optional
|
|
928
|
+
value="value"
|
|
929
|
+
)
|
|
930
|
+
)],
|
|
931
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
932
|
+
key="key",
|
|
933
|
+
|
|
934
|
+
# the properties below are optional
|
|
935
|
+
value="value"
|
|
936
|
+
)
|
|
937
|
+
),
|
|
938
|
+
max_results=123,
|
|
939
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
940
|
+
)
|
|
941
|
+
'''
|
|
942
|
+
if __debug__:
|
|
943
|
+
type_hints = typing.get_type_hints(_typecheckingstub__af25ecdf7592033a618b9a411d145fb2bd7b10ae3e9b0a04a4502e0dee139e27)
|
|
944
|
+
check_type(argname="argument content_tag_filter", value=content_tag_filter, expected_type=type_hints["content_tag_filter"])
|
|
945
|
+
check_type(argname="argument max_results", value=max_results, expected_type=type_hints["max_results"])
|
|
946
|
+
check_type(argname="argument override_knowledge_base_search_type", value=override_knowledge_base_search_type, expected_type=type_hints["override_knowledge_base_search_type"])
|
|
947
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
948
|
+
if content_tag_filter is not None:
|
|
949
|
+
self._values["content_tag_filter"] = content_tag_filter
|
|
950
|
+
if max_results is not None:
|
|
951
|
+
self._values["max_results"] = max_results
|
|
952
|
+
if override_knowledge_base_search_type is not None:
|
|
953
|
+
self._values["override_knowledge_base_search_type"] = override_knowledge_base_search_type
|
|
954
|
+
|
|
955
|
+
@builtins.property
|
|
956
|
+
def content_tag_filter(
|
|
957
|
+
self,
|
|
958
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagFilterProperty"]]:
|
|
959
|
+
'''
|
|
960
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-knowledgebaseassociationconfigurationdata.html#cfn-wisdom-aiagent-knowledgebaseassociationconfigurationdata-contenttagfilter
|
|
961
|
+
'''
|
|
962
|
+
result = self._values.get("content_tag_filter")
|
|
963
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagFilterProperty"]], result)
|
|
964
|
+
|
|
965
|
+
@builtins.property
|
|
966
|
+
def max_results(self) -> typing.Optional[jsii.Number]:
|
|
967
|
+
'''
|
|
968
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-knowledgebaseassociationconfigurationdata.html#cfn-wisdom-aiagent-knowledgebaseassociationconfigurationdata-maxresults
|
|
969
|
+
'''
|
|
970
|
+
result = self._values.get("max_results")
|
|
971
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
972
|
+
|
|
973
|
+
@builtins.property
|
|
974
|
+
def override_knowledge_base_search_type(self) -> typing.Optional[builtins.str]:
|
|
975
|
+
'''
|
|
976
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-knowledgebaseassociationconfigurationdata.html#cfn-wisdom-aiagent-knowledgebaseassociationconfigurationdata-overrideknowledgebasesearchtype
|
|
977
|
+
'''
|
|
978
|
+
result = self._values.get("override_knowledge_base_search_type")
|
|
979
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
980
|
+
|
|
981
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
982
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
983
|
+
|
|
984
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
985
|
+
return not (rhs == self)
|
|
986
|
+
|
|
987
|
+
def __repr__(self) -> str:
|
|
988
|
+
return "KnowledgeBaseAssociationConfigurationDataProperty(%s)" % ", ".join(
|
|
989
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
990
|
+
)
|
|
991
|
+
|
|
992
|
+
@jsii.data_type(
|
|
993
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty",
|
|
994
|
+
jsii_struct_bases=[],
|
|
995
|
+
name_mapping={
|
|
996
|
+
"answer_generation_ai_prompt_id": "answerGenerationAiPromptId",
|
|
997
|
+
"association_configurations": "associationConfigurations",
|
|
998
|
+
},
|
|
999
|
+
)
|
|
1000
|
+
class ManualSearchAIAgentConfigurationProperty:
|
|
1001
|
+
def __init__(
|
|
1002
|
+
self,
|
|
1003
|
+
*,
|
|
1004
|
+
answer_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
1005
|
+
association_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.AssociationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1006
|
+
) -> None:
|
|
1007
|
+
'''
|
|
1008
|
+
:param answer_generation_ai_prompt_id:
|
|
1009
|
+
:param association_configurations:
|
|
1010
|
+
|
|
1011
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-manualsearchaiagentconfiguration.html
|
|
1012
|
+
:exampleMetadata: fixture=_generated
|
|
1013
|
+
|
|
1014
|
+
Example::
|
|
1015
|
+
|
|
1016
|
+
# The code below shows an example of how to instantiate this type.
|
|
1017
|
+
# The values are placeholders you should change.
|
|
1018
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
1019
|
+
|
|
1020
|
+
manual_search_aIAgent_configuration_property = wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty(
|
|
1021
|
+
answer_generation_ai_prompt_id="answerGenerationAiPromptId",
|
|
1022
|
+
association_configurations=[wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
1023
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
1024
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
1025
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
1026
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1027
|
+
key="key",
|
|
1028
|
+
|
|
1029
|
+
# the properties below are optional
|
|
1030
|
+
value="value"
|
|
1031
|
+
)],
|
|
1032
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
1033
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1034
|
+
key="key",
|
|
1035
|
+
|
|
1036
|
+
# the properties below are optional
|
|
1037
|
+
value="value"
|
|
1038
|
+
)],
|
|
1039
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1040
|
+
key="key",
|
|
1041
|
+
|
|
1042
|
+
# the properties below are optional
|
|
1043
|
+
value="value"
|
|
1044
|
+
)
|
|
1045
|
+
)],
|
|
1046
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1047
|
+
key="key",
|
|
1048
|
+
|
|
1049
|
+
# the properties below are optional
|
|
1050
|
+
value="value"
|
|
1051
|
+
)
|
|
1052
|
+
),
|
|
1053
|
+
max_results=123,
|
|
1054
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
1055
|
+
)
|
|
1056
|
+
),
|
|
1057
|
+
association_id="associationId",
|
|
1058
|
+
association_type="associationType"
|
|
1059
|
+
)]
|
|
1060
|
+
)
|
|
1061
|
+
'''
|
|
1062
|
+
if __debug__:
|
|
1063
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3346eba3a05ad4b31350bf2c54edbb6063a18cfea8a25ebbab80c402438f039a)
|
|
1064
|
+
check_type(argname="argument answer_generation_ai_prompt_id", value=answer_generation_ai_prompt_id, expected_type=type_hints["answer_generation_ai_prompt_id"])
|
|
1065
|
+
check_type(argname="argument association_configurations", value=association_configurations, expected_type=type_hints["association_configurations"])
|
|
1066
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1067
|
+
if answer_generation_ai_prompt_id is not None:
|
|
1068
|
+
self._values["answer_generation_ai_prompt_id"] = answer_generation_ai_prompt_id
|
|
1069
|
+
if association_configurations is not None:
|
|
1070
|
+
self._values["association_configurations"] = association_configurations
|
|
1071
|
+
|
|
1072
|
+
@builtins.property
|
|
1073
|
+
def answer_generation_ai_prompt_id(self) -> typing.Optional[builtins.str]:
|
|
1074
|
+
'''
|
|
1075
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-manualsearchaiagentconfiguration.html#cfn-wisdom-aiagent-manualsearchaiagentconfiguration-answergenerationaipromptid
|
|
1076
|
+
'''
|
|
1077
|
+
result = self._values.get("answer_generation_ai_prompt_id")
|
|
1078
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1079
|
+
|
|
1080
|
+
@builtins.property
|
|
1081
|
+
def association_configurations(
|
|
1082
|
+
self,
|
|
1083
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AssociationConfigurationProperty"]]]]:
|
|
1084
|
+
'''
|
|
1085
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-manualsearchaiagentconfiguration.html#cfn-wisdom-aiagent-manualsearchaiagentconfiguration-associationconfigurations
|
|
1086
|
+
'''
|
|
1087
|
+
result = self._values.get("association_configurations")
|
|
1088
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AssociationConfigurationProperty"]]]], result)
|
|
1089
|
+
|
|
1090
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1091
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1092
|
+
|
|
1093
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1094
|
+
return not (rhs == self)
|
|
1095
|
+
|
|
1096
|
+
def __repr__(self) -> str:
|
|
1097
|
+
return "ManualSearchAIAgentConfigurationProperty(%s)" % ", ".join(
|
|
1098
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1099
|
+
)
|
|
1100
|
+
|
|
1101
|
+
@jsii.data_type(
|
|
1102
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.OrConditionProperty",
|
|
1103
|
+
jsii_struct_bases=[],
|
|
1104
|
+
name_mapping={
|
|
1105
|
+
"and_conditions": "andConditions",
|
|
1106
|
+
"tag_condition": "tagCondition",
|
|
1107
|
+
},
|
|
1108
|
+
)
|
|
1109
|
+
class OrConditionProperty:
|
|
1110
|
+
def __init__(
|
|
1111
|
+
self,
|
|
1112
|
+
*,
|
|
1113
|
+
and_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.TagConditionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1114
|
+
tag_condition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.TagConditionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1115
|
+
) -> None:
|
|
1116
|
+
'''
|
|
1117
|
+
:param and_conditions:
|
|
1118
|
+
:param tag_condition:
|
|
1119
|
+
|
|
1120
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-orcondition.html
|
|
1121
|
+
:exampleMetadata: fixture=_generated
|
|
1122
|
+
|
|
1123
|
+
Example::
|
|
1124
|
+
|
|
1125
|
+
# The code below shows an example of how to instantiate this type.
|
|
1126
|
+
# The values are placeholders you should change.
|
|
1127
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
1128
|
+
|
|
1129
|
+
or_condition_property = wisdom.CfnAIAgent.OrConditionProperty(
|
|
1130
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1131
|
+
key="key",
|
|
1132
|
+
|
|
1133
|
+
# the properties below are optional
|
|
1134
|
+
value="value"
|
|
1135
|
+
)],
|
|
1136
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1137
|
+
key="key",
|
|
1138
|
+
|
|
1139
|
+
# the properties below are optional
|
|
1140
|
+
value="value"
|
|
1141
|
+
)
|
|
1142
|
+
)
|
|
1143
|
+
'''
|
|
1144
|
+
if __debug__:
|
|
1145
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bf2bbad68aea63c5546563872782e30b131382ddae5fbabf04602b928494d4d4)
|
|
1146
|
+
check_type(argname="argument and_conditions", value=and_conditions, expected_type=type_hints["and_conditions"])
|
|
1147
|
+
check_type(argname="argument tag_condition", value=tag_condition, expected_type=type_hints["tag_condition"])
|
|
1148
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1149
|
+
if and_conditions is not None:
|
|
1150
|
+
self._values["and_conditions"] = and_conditions
|
|
1151
|
+
if tag_condition is not None:
|
|
1152
|
+
self._values["tag_condition"] = tag_condition
|
|
1153
|
+
|
|
1154
|
+
@builtins.property
|
|
1155
|
+
def and_conditions(
|
|
1156
|
+
self,
|
|
1157
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagConditionProperty"]]]]:
|
|
1158
|
+
'''
|
|
1159
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-orcondition.html#cfn-wisdom-aiagent-orcondition-andconditions
|
|
1160
|
+
'''
|
|
1161
|
+
result = self._values.get("and_conditions")
|
|
1162
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagConditionProperty"]]]], result)
|
|
1163
|
+
|
|
1164
|
+
@builtins.property
|
|
1165
|
+
def tag_condition(
|
|
1166
|
+
self,
|
|
1167
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagConditionProperty"]]:
|
|
1168
|
+
'''
|
|
1169
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-orcondition.html#cfn-wisdom-aiagent-orcondition-tagcondition
|
|
1170
|
+
'''
|
|
1171
|
+
result = self._values.get("tag_condition")
|
|
1172
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagConditionProperty"]], result)
|
|
1173
|
+
|
|
1174
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1175
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1176
|
+
|
|
1177
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1178
|
+
return not (rhs == self)
|
|
1179
|
+
|
|
1180
|
+
def __repr__(self) -> str:
|
|
1181
|
+
return "OrConditionProperty(%s)" % ", ".join(
|
|
1182
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1183
|
+
)
|
|
1184
|
+
|
|
1185
|
+
@jsii.data_type(
|
|
1186
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.TagConditionProperty",
|
|
1187
|
+
jsii_struct_bases=[],
|
|
1188
|
+
name_mapping={"key": "key", "value": "value"},
|
|
1189
|
+
)
|
|
1190
|
+
class TagConditionProperty:
|
|
1191
|
+
def __init__(
|
|
1192
|
+
self,
|
|
1193
|
+
*,
|
|
1194
|
+
key: builtins.str,
|
|
1195
|
+
value: typing.Optional[builtins.str] = None,
|
|
1196
|
+
) -> None:
|
|
1197
|
+
'''
|
|
1198
|
+
:param key:
|
|
1199
|
+
:param value:
|
|
1200
|
+
|
|
1201
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagcondition.html
|
|
1202
|
+
:exampleMetadata: fixture=_generated
|
|
1203
|
+
|
|
1204
|
+
Example::
|
|
1205
|
+
|
|
1206
|
+
# The code below shows an example of how to instantiate this type.
|
|
1207
|
+
# The values are placeholders you should change.
|
|
1208
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
1209
|
+
|
|
1210
|
+
tag_condition_property = wisdom.CfnAIAgent.TagConditionProperty(
|
|
1211
|
+
key="key",
|
|
1212
|
+
|
|
1213
|
+
# the properties below are optional
|
|
1214
|
+
value="value"
|
|
1215
|
+
)
|
|
1216
|
+
'''
|
|
1217
|
+
if __debug__:
|
|
1218
|
+
type_hints = typing.get_type_hints(_typecheckingstub__76535774a57202e416fb208d73c095c91408f65fd8a1b99f6b568fd994b915e9)
|
|
1219
|
+
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
1220
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1221
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1222
|
+
"key": key,
|
|
1223
|
+
}
|
|
1224
|
+
if value is not None:
|
|
1225
|
+
self._values["value"] = value
|
|
1226
|
+
|
|
1227
|
+
@builtins.property
|
|
1228
|
+
def key(self) -> builtins.str:
|
|
1229
|
+
'''
|
|
1230
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagcondition.html#cfn-wisdom-aiagent-tagcondition-key
|
|
1231
|
+
'''
|
|
1232
|
+
result = self._values.get("key")
|
|
1233
|
+
assert result is not None, "Required property 'key' is missing"
|
|
1234
|
+
return typing.cast(builtins.str, result)
|
|
1235
|
+
|
|
1236
|
+
@builtins.property
|
|
1237
|
+
def value(self) -> typing.Optional[builtins.str]:
|
|
1238
|
+
'''
|
|
1239
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagcondition.html#cfn-wisdom-aiagent-tagcondition-value
|
|
1240
|
+
'''
|
|
1241
|
+
result = self._values.get("value")
|
|
1242
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1243
|
+
|
|
1244
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1245
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1246
|
+
|
|
1247
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1248
|
+
return not (rhs == self)
|
|
1249
|
+
|
|
1250
|
+
def __repr__(self) -> str:
|
|
1251
|
+
return "TagConditionProperty(%s)" % ", ".join(
|
|
1252
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1253
|
+
)
|
|
1254
|
+
|
|
1255
|
+
@jsii.data_type(
|
|
1256
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.TagFilterProperty",
|
|
1257
|
+
jsii_struct_bases=[],
|
|
1258
|
+
name_mapping={
|
|
1259
|
+
"and_conditions": "andConditions",
|
|
1260
|
+
"or_conditions": "orConditions",
|
|
1261
|
+
"tag_condition": "tagCondition",
|
|
1262
|
+
},
|
|
1263
|
+
)
|
|
1264
|
+
class TagFilterProperty:
|
|
1265
|
+
def __init__(
|
|
1266
|
+
self,
|
|
1267
|
+
*,
|
|
1268
|
+
and_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.TagConditionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1269
|
+
or_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.OrConditionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1270
|
+
tag_condition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.TagConditionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1271
|
+
) -> None:
|
|
1272
|
+
'''
|
|
1273
|
+
:param and_conditions:
|
|
1274
|
+
:param or_conditions:
|
|
1275
|
+
:param tag_condition:
|
|
1276
|
+
|
|
1277
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagfilter.html
|
|
1278
|
+
:exampleMetadata: fixture=_generated
|
|
1279
|
+
|
|
1280
|
+
Example::
|
|
1281
|
+
|
|
1282
|
+
# The code below shows an example of how to instantiate this type.
|
|
1283
|
+
# The values are placeholders you should change.
|
|
1284
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
1285
|
+
|
|
1286
|
+
tag_filter_property = wisdom.CfnAIAgent.TagFilterProperty(
|
|
1287
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1288
|
+
key="key",
|
|
1289
|
+
|
|
1290
|
+
# the properties below are optional
|
|
1291
|
+
value="value"
|
|
1292
|
+
)],
|
|
1293
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
1294
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1295
|
+
key="key",
|
|
1296
|
+
|
|
1297
|
+
# the properties below are optional
|
|
1298
|
+
value="value"
|
|
1299
|
+
)],
|
|
1300
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1301
|
+
key="key",
|
|
1302
|
+
|
|
1303
|
+
# the properties below are optional
|
|
1304
|
+
value="value"
|
|
1305
|
+
)
|
|
1306
|
+
)],
|
|
1307
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1308
|
+
key="key",
|
|
1309
|
+
|
|
1310
|
+
# the properties below are optional
|
|
1311
|
+
value="value"
|
|
1312
|
+
)
|
|
1313
|
+
)
|
|
1314
|
+
'''
|
|
1315
|
+
if __debug__:
|
|
1316
|
+
type_hints = typing.get_type_hints(_typecheckingstub__47961a691b994d09a0537dc7d655a0aab653585a5e8bd78b30c4bc84ec243c19)
|
|
1317
|
+
check_type(argname="argument and_conditions", value=and_conditions, expected_type=type_hints["and_conditions"])
|
|
1318
|
+
check_type(argname="argument or_conditions", value=or_conditions, expected_type=type_hints["or_conditions"])
|
|
1319
|
+
check_type(argname="argument tag_condition", value=tag_condition, expected_type=type_hints["tag_condition"])
|
|
1320
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1321
|
+
if and_conditions is not None:
|
|
1322
|
+
self._values["and_conditions"] = and_conditions
|
|
1323
|
+
if or_conditions is not None:
|
|
1324
|
+
self._values["or_conditions"] = or_conditions
|
|
1325
|
+
if tag_condition is not None:
|
|
1326
|
+
self._values["tag_condition"] = tag_condition
|
|
1327
|
+
|
|
1328
|
+
@builtins.property
|
|
1329
|
+
def and_conditions(
|
|
1330
|
+
self,
|
|
1331
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagConditionProperty"]]]]:
|
|
1332
|
+
'''
|
|
1333
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagfilter.html#cfn-wisdom-aiagent-tagfilter-andconditions
|
|
1334
|
+
'''
|
|
1335
|
+
result = self._values.get("and_conditions")
|
|
1336
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagConditionProperty"]]]], result)
|
|
1337
|
+
|
|
1338
|
+
@builtins.property
|
|
1339
|
+
def or_conditions(
|
|
1340
|
+
self,
|
|
1341
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.OrConditionProperty"]]]]:
|
|
1342
|
+
'''
|
|
1343
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagfilter.html#cfn-wisdom-aiagent-tagfilter-orconditions
|
|
1344
|
+
'''
|
|
1345
|
+
result = self._values.get("or_conditions")
|
|
1346
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.OrConditionProperty"]]]], result)
|
|
1347
|
+
|
|
1348
|
+
@builtins.property
|
|
1349
|
+
def tag_condition(
|
|
1350
|
+
self,
|
|
1351
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagConditionProperty"]]:
|
|
1352
|
+
'''
|
|
1353
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagfilter.html#cfn-wisdom-aiagent-tagfilter-tagcondition
|
|
1354
|
+
'''
|
|
1355
|
+
result = self._values.get("tag_condition")
|
|
1356
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.TagConditionProperty"]], result)
|
|
1357
|
+
|
|
1358
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1359
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1360
|
+
|
|
1361
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1362
|
+
return not (rhs == self)
|
|
1363
|
+
|
|
1364
|
+
def __repr__(self) -> str:
|
|
1365
|
+
return "TagFilterProperty(%s)" % ", ".join(
|
|
1366
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1367
|
+
)
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
@jsii.data_type(
|
|
1371
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgentProps",
|
|
1372
|
+
jsii_struct_bases=[],
|
|
1373
|
+
name_mapping={
|
|
1374
|
+
"assistant_id": "assistantId",
|
|
1375
|
+
"configuration": "configuration",
|
|
1376
|
+
"type": "type",
|
|
1377
|
+
"description": "description",
|
|
1378
|
+
"name": "name",
|
|
1379
|
+
"tags": "tags",
|
|
1380
|
+
},
|
|
1381
|
+
)
|
|
1382
|
+
class CfnAIAgentProps:
|
|
1383
|
+
def __init__(
|
|
1384
|
+
self,
|
|
1385
|
+
*,
|
|
1386
|
+
assistant_id: builtins.str,
|
|
1387
|
+
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1388
|
+
type: builtins.str,
|
|
1389
|
+
description: typing.Optional[builtins.str] = None,
|
|
1390
|
+
name: typing.Optional[builtins.str] = None,
|
|
1391
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1392
|
+
) -> None:
|
|
1393
|
+
'''Properties for defining a ``CfnAIAgent``.
|
|
1394
|
+
|
|
1395
|
+
:param assistant_id:
|
|
1396
|
+
:param configuration:
|
|
1397
|
+
:param type:
|
|
1398
|
+
:param description:
|
|
1399
|
+
:param name:
|
|
1400
|
+
:param tags:
|
|
1401
|
+
|
|
1402
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html
|
|
1403
|
+
:exampleMetadata: fixture=_generated
|
|
1404
|
+
|
|
1405
|
+
Example::
|
|
1406
|
+
|
|
1407
|
+
# The code below shows an example of how to instantiate this type.
|
|
1408
|
+
# The values are placeholders you should change.
|
|
1409
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
1410
|
+
|
|
1411
|
+
cfn_aIAgent_props = wisdom.CfnAIAgentProps(
|
|
1412
|
+
assistant_id="assistantId",
|
|
1413
|
+
configuration=wisdom.CfnAIAgent.AIAgentConfigurationProperty(
|
|
1414
|
+
answer_recommendation_ai_agent_configuration=wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty(
|
|
1415
|
+
answer_generation_ai_prompt_id="answerGenerationAiPromptId",
|
|
1416
|
+
association_configurations=[wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
1417
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
1418
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
1419
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
1420
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1421
|
+
key="key",
|
|
1422
|
+
|
|
1423
|
+
# the properties below are optional
|
|
1424
|
+
value="value"
|
|
1425
|
+
)],
|
|
1426
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
1427
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1428
|
+
key="key",
|
|
1429
|
+
|
|
1430
|
+
# the properties below are optional
|
|
1431
|
+
value="value"
|
|
1432
|
+
)],
|
|
1433
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1434
|
+
key="key",
|
|
1435
|
+
|
|
1436
|
+
# the properties below are optional
|
|
1437
|
+
value="value"
|
|
1438
|
+
)
|
|
1439
|
+
)],
|
|
1440
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1441
|
+
key="key",
|
|
1442
|
+
|
|
1443
|
+
# the properties below are optional
|
|
1444
|
+
value="value"
|
|
1445
|
+
)
|
|
1446
|
+
),
|
|
1447
|
+
max_results=123,
|
|
1448
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
1449
|
+
)
|
|
1450
|
+
),
|
|
1451
|
+
association_id="associationId",
|
|
1452
|
+
association_type="associationType"
|
|
1453
|
+
)],
|
|
1454
|
+
intent_labeling_generation_ai_prompt_id="intentLabelingGenerationAiPromptId",
|
|
1455
|
+
query_reformulation_ai_prompt_id="queryReformulationAiPromptId"
|
|
1456
|
+
),
|
|
1457
|
+
manual_search_ai_agent_configuration=wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty(
|
|
1458
|
+
answer_generation_ai_prompt_id="answerGenerationAiPromptId",
|
|
1459
|
+
association_configurations=[wisdom.CfnAIAgent.AssociationConfigurationProperty(
|
|
1460
|
+
association_configuration_data=wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
|
|
1461
|
+
knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
|
|
1462
|
+
content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
|
|
1463
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1464
|
+
key="key",
|
|
1465
|
+
|
|
1466
|
+
# the properties below are optional
|
|
1467
|
+
value="value"
|
|
1468
|
+
)],
|
|
1469
|
+
or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
|
|
1470
|
+
and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
|
|
1471
|
+
key="key",
|
|
1472
|
+
|
|
1473
|
+
# the properties below are optional
|
|
1474
|
+
value="value"
|
|
1475
|
+
)],
|
|
1476
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1477
|
+
key="key",
|
|
1478
|
+
|
|
1479
|
+
# the properties below are optional
|
|
1480
|
+
value="value"
|
|
1481
|
+
)
|
|
1482
|
+
)],
|
|
1483
|
+
tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
|
|
1484
|
+
key="key",
|
|
1485
|
+
|
|
1486
|
+
# the properties below are optional
|
|
1487
|
+
value="value"
|
|
1488
|
+
)
|
|
1489
|
+
),
|
|
1490
|
+
max_results=123,
|
|
1491
|
+
override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
|
|
1492
|
+
)
|
|
1493
|
+
),
|
|
1494
|
+
association_id="associationId",
|
|
1495
|
+
association_type="associationType"
|
|
1496
|
+
)]
|
|
1497
|
+
)
|
|
1498
|
+
),
|
|
1499
|
+
type="type",
|
|
1500
|
+
|
|
1501
|
+
# the properties below are optional
|
|
1502
|
+
description="description",
|
|
1503
|
+
name="name",
|
|
1504
|
+
tags={
|
|
1505
|
+
"tags_key": "tags"
|
|
1506
|
+
}
|
|
1507
|
+
)
|
|
1508
|
+
'''
|
|
1509
|
+
if __debug__:
|
|
1510
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b1cda9a6282ec07c28c0ef49efdf8da8f079052d26edd32bbe15324644982756)
|
|
1511
|
+
check_type(argname="argument assistant_id", value=assistant_id, expected_type=type_hints["assistant_id"])
|
|
1512
|
+
check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
|
|
1513
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
1514
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1515
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1516
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1517
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1518
|
+
"assistant_id": assistant_id,
|
|
1519
|
+
"configuration": configuration,
|
|
1520
|
+
"type": type,
|
|
1521
|
+
}
|
|
1522
|
+
if description is not None:
|
|
1523
|
+
self._values["description"] = description
|
|
1524
|
+
if name is not None:
|
|
1525
|
+
self._values["name"] = name
|
|
1526
|
+
if tags is not None:
|
|
1527
|
+
self._values["tags"] = tags
|
|
1528
|
+
|
|
1529
|
+
@builtins.property
|
|
1530
|
+
def assistant_id(self) -> builtins.str:
|
|
1531
|
+
'''
|
|
1532
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-assistantid
|
|
1533
|
+
'''
|
|
1534
|
+
result = self._values.get("assistant_id")
|
|
1535
|
+
assert result is not None, "Required property 'assistant_id' is missing"
|
|
1536
|
+
return typing.cast(builtins.str, result)
|
|
1537
|
+
|
|
1538
|
+
@builtins.property
|
|
1539
|
+
def configuration(
|
|
1540
|
+
self,
|
|
1541
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnAIAgent.AIAgentConfigurationProperty]:
|
|
1542
|
+
'''
|
|
1543
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-configuration
|
|
1544
|
+
'''
|
|
1545
|
+
result = self._values.get("configuration")
|
|
1546
|
+
assert result is not None, "Required property 'configuration' is missing"
|
|
1547
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnAIAgent.AIAgentConfigurationProperty], result)
|
|
1548
|
+
|
|
1549
|
+
@builtins.property
|
|
1550
|
+
def type(self) -> builtins.str:
|
|
1551
|
+
'''
|
|
1552
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-type
|
|
1553
|
+
'''
|
|
1554
|
+
result = self._values.get("type")
|
|
1555
|
+
assert result is not None, "Required property 'type' is missing"
|
|
1556
|
+
return typing.cast(builtins.str, result)
|
|
1557
|
+
|
|
1558
|
+
@builtins.property
|
|
1559
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1560
|
+
'''
|
|
1561
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-description
|
|
1562
|
+
'''
|
|
1563
|
+
result = self._values.get("description")
|
|
1564
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1565
|
+
|
|
1566
|
+
@builtins.property
|
|
1567
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
1568
|
+
'''
|
|
1569
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-name
|
|
1570
|
+
'''
|
|
1571
|
+
result = self._values.get("name")
|
|
1572
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1573
|
+
|
|
1574
|
+
@builtins.property
|
|
1575
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1576
|
+
'''
|
|
1577
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-tags
|
|
1578
|
+
'''
|
|
1579
|
+
result = self._values.get("tags")
|
|
1580
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
1581
|
+
|
|
1582
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1583
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1584
|
+
|
|
1585
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1586
|
+
return not (rhs == self)
|
|
1587
|
+
|
|
1588
|
+
def __repr__(self) -> str:
|
|
1589
|
+
return "CfnAIAgentProps(%s)" % ", ".join(
|
|
1590
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1591
|
+
)
|
|
1592
|
+
|
|
1593
|
+
|
|
73
1594
|
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
74
1595
|
class CfnAIPrompt(
|
|
75
1596
|
_CfnResource_9df397a6,
|
|
@@ -562,91 +2083,340 @@ class CfnAIPromptProps:
|
|
|
562
2083
|
|
|
563
2084
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-apiformat
|
|
564
2085
|
'''
|
|
565
|
-
result = self._values.get("api_format")
|
|
566
|
-
assert result is not None, "Required property 'api_format' is missing"
|
|
567
|
-
return typing.cast(builtins.str, result)
|
|
2086
|
+
result = self._values.get("api_format")
|
|
2087
|
+
assert result is not None, "Required property 'api_format' is missing"
|
|
2088
|
+
return typing.cast(builtins.str, result)
|
|
2089
|
+
|
|
2090
|
+
@builtins.property
|
|
2091
|
+
def model_id(self) -> builtins.str:
|
|
2092
|
+
'''The identifier of the model used for this AI Prompt.
|
|
2093
|
+
|
|
2094
|
+
Model Ids supported are: ``CLAUDE_3_HAIKU_20240307_V1`` .
|
|
2095
|
+
|
|
2096
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-modelid
|
|
2097
|
+
'''
|
|
2098
|
+
result = self._values.get("model_id")
|
|
2099
|
+
assert result is not None, "Required property 'model_id' is missing"
|
|
2100
|
+
return typing.cast(builtins.str, result)
|
|
2101
|
+
|
|
2102
|
+
@builtins.property
|
|
2103
|
+
def template_configuration(
|
|
2104
|
+
self,
|
|
2105
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnAIPrompt.AIPromptTemplateConfigurationProperty]:
|
|
2106
|
+
'''The configuration of the prompt template for this AI Prompt.
|
|
2107
|
+
|
|
2108
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-templateconfiguration
|
|
2109
|
+
'''
|
|
2110
|
+
result = self._values.get("template_configuration")
|
|
2111
|
+
assert result is not None, "Required property 'template_configuration' is missing"
|
|
2112
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnAIPrompt.AIPromptTemplateConfigurationProperty], result)
|
|
2113
|
+
|
|
2114
|
+
@builtins.property
|
|
2115
|
+
def template_type(self) -> builtins.str:
|
|
2116
|
+
'''The type of the prompt template for this AI Prompt.
|
|
2117
|
+
|
|
2118
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-templatetype
|
|
2119
|
+
'''
|
|
2120
|
+
result = self._values.get("template_type")
|
|
2121
|
+
assert result is not None, "Required property 'template_type' is missing"
|
|
2122
|
+
return typing.cast(builtins.str, result)
|
|
2123
|
+
|
|
2124
|
+
@builtins.property
|
|
2125
|
+
def type(self) -> builtins.str:
|
|
2126
|
+
'''The type of this AI Prompt.
|
|
2127
|
+
|
|
2128
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-type
|
|
2129
|
+
'''
|
|
2130
|
+
result = self._values.get("type")
|
|
2131
|
+
assert result is not None, "Required property 'type' is missing"
|
|
2132
|
+
return typing.cast(builtins.str, result)
|
|
2133
|
+
|
|
2134
|
+
@builtins.property
|
|
2135
|
+
def assistant_id(self) -> typing.Optional[builtins.str]:
|
|
2136
|
+
'''The identifier of the Amazon Q in Connect assistant.
|
|
2137
|
+
|
|
2138
|
+
Can be either the ID or the ARN. URLs cannot contain the ARN.
|
|
2139
|
+
|
|
2140
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-assistantid
|
|
2141
|
+
'''
|
|
2142
|
+
result = self._values.get("assistant_id")
|
|
2143
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2144
|
+
|
|
2145
|
+
@builtins.property
|
|
2146
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2147
|
+
'''The description of the AI Prompt.
|
|
2148
|
+
|
|
2149
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-description
|
|
2150
|
+
'''
|
|
2151
|
+
result = self._values.get("description")
|
|
2152
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2153
|
+
|
|
2154
|
+
@builtins.property
|
|
2155
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
2156
|
+
'''The name of the AI Prompt.
|
|
2157
|
+
|
|
2158
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-name
|
|
2159
|
+
'''
|
|
2160
|
+
result = self._values.get("name")
|
|
2161
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2162
|
+
|
|
2163
|
+
@builtins.property
|
|
2164
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
2165
|
+
'''The tags used to organize, track, or control access for this resource.
|
|
2166
|
+
|
|
2167
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-tags
|
|
2168
|
+
'''
|
|
2169
|
+
result = self._values.get("tags")
|
|
2170
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
2171
|
+
|
|
2172
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2173
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2174
|
+
|
|
2175
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2176
|
+
return not (rhs == self)
|
|
2177
|
+
|
|
2178
|
+
def __repr__(self) -> str:
|
|
2179
|
+
return "CfnAIPromptProps(%s)" % ", ".join(
|
|
2180
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2181
|
+
)
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
2185
|
+
class CfnAIPromptVersion(
|
|
2186
|
+
_CfnResource_9df397a6,
|
|
2187
|
+
metaclass=jsii.JSIIMeta,
|
|
2188
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIPromptVersion",
|
|
2189
|
+
):
|
|
2190
|
+
'''Definition of AWS::Wisdom::AIPromptVersion Resource Type.
|
|
2191
|
+
|
|
2192
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html
|
|
2193
|
+
:cloudformationResource: AWS::Wisdom::AIPromptVersion
|
|
2194
|
+
:exampleMetadata: fixture=_generated
|
|
2195
|
+
|
|
2196
|
+
Example::
|
|
2197
|
+
|
|
2198
|
+
# The code below shows an example of how to instantiate this type.
|
|
2199
|
+
# The values are placeholders you should change.
|
|
2200
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
2201
|
+
|
|
2202
|
+
cfn_aIPrompt_version = wisdom.CfnAIPromptVersion(self, "MyCfnAIPromptVersion",
|
|
2203
|
+
ai_prompt_id="aiPromptId",
|
|
2204
|
+
assistant_id="assistantId",
|
|
2205
|
+
|
|
2206
|
+
# the properties below are optional
|
|
2207
|
+
modified_time_seconds=123
|
|
2208
|
+
)
|
|
2209
|
+
'''
|
|
2210
|
+
|
|
2211
|
+
def __init__(
|
|
2212
|
+
self,
|
|
2213
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2214
|
+
id: builtins.str,
|
|
2215
|
+
*,
|
|
2216
|
+
ai_prompt_id: builtins.str,
|
|
2217
|
+
assistant_id: builtins.str,
|
|
2218
|
+
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
2219
|
+
) -> None:
|
|
2220
|
+
'''
|
|
2221
|
+
:param scope: Scope in which this resource is defined.
|
|
2222
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
2223
|
+
:param ai_prompt_id:
|
|
2224
|
+
:param assistant_id:
|
|
2225
|
+
:param modified_time_seconds:
|
|
2226
|
+
'''
|
|
2227
|
+
if __debug__:
|
|
2228
|
+
type_hints = typing.get_type_hints(_typecheckingstub__729db38c828e5e73ae0386aea45298b479e1a069777600fadadd338035a13e5d)
|
|
2229
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2230
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2231
|
+
props = CfnAIPromptVersionProps(
|
|
2232
|
+
ai_prompt_id=ai_prompt_id,
|
|
2233
|
+
assistant_id=assistant_id,
|
|
2234
|
+
modified_time_seconds=modified_time_seconds,
|
|
2235
|
+
)
|
|
2236
|
+
|
|
2237
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
2238
|
+
|
|
2239
|
+
@jsii.member(jsii_name="inspect")
|
|
2240
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2241
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
2242
|
+
|
|
2243
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
2244
|
+
'''
|
|
2245
|
+
if __debug__:
|
|
2246
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bb551060d0407b951291352d04af15e21651dd34a52774e39a2d2da6e4df3220)
|
|
2247
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
2248
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
2249
|
+
|
|
2250
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2251
|
+
def _render_properties(
|
|
2252
|
+
self,
|
|
2253
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2254
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2255
|
+
'''
|
|
2256
|
+
:param props: -
|
|
2257
|
+
'''
|
|
2258
|
+
if __debug__:
|
|
2259
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b234db791908c37519c8ae3284494dc43affe3bad0ab4eadab6407ef7ccc7627)
|
|
2260
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2261
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2262
|
+
|
|
2263
|
+
@jsii.python.classproperty
|
|
2264
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
2265
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2266
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
2267
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2268
|
+
|
|
2269
|
+
@builtins.property
|
|
2270
|
+
@jsii.member(jsii_name="attrAiPromptArn")
|
|
2271
|
+
def attr_ai_prompt_arn(self) -> builtins.str:
|
|
2272
|
+
'''
|
|
2273
|
+
:cloudformationAttribute: AIPromptArn
|
|
2274
|
+
'''
|
|
2275
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAiPromptArn"))
|
|
2276
|
+
|
|
2277
|
+
@builtins.property
|
|
2278
|
+
@jsii.member(jsii_name="attrAiPromptVersionId")
|
|
2279
|
+
def attr_ai_prompt_version_id(self) -> builtins.str:
|
|
2280
|
+
'''
|
|
2281
|
+
:cloudformationAttribute: AIPromptVersionId
|
|
2282
|
+
'''
|
|
2283
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAiPromptVersionId"))
|
|
2284
|
+
|
|
2285
|
+
@builtins.property
|
|
2286
|
+
@jsii.member(jsii_name="attrAssistantArn")
|
|
2287
|
+
def attr_assistant_arn(self) -> builtins.str:
|
|
2288
|
+
'''
|
|
2289
|
+
:cloudformationAttribute: AssistantArn
|
|
2290
|
+
'''
|
|
2291
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAssistantArn"))
|
|
2292
|
+
|
|
2293
|
+
@builtins.property
|
|
2294
|
+
@jsii.member(jsii_name="attrVersionNumber")
|
|
2295
|
+
def attr_version_number(self) -> _IResolvable_da3f097b:
|
|
2296
|
+
'''
|
|
2297
|
+
:cloudformationAttribute: VersionNumber
|
|
2298
|
+
'''
|
|
2299
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrVersionNumber"))
|
|
568
2300
|
|
|
569
2301
|
@builtins.property
|
|
570
|
-
|
|
571
|
-
|
|
2302
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
2303
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2304
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
572
2305
|
|
|
573
|
-
|
|
2306
|
+
@builtins.property
|
|
2307
|
+
@jsii.member(jsii_name="aiPromptId")
|
|
2308
|
+
def ai_prompt_id(self) -> builtins.str:
|
|
2309
|
+
return typing.cast(builtins.str, jsii.get(self, "aiPromptId"))
|
|
574
2310
|
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
2311
|
+
@ai_prompt_id.setter
|
|
2312
|
+
def ai_prompt_id(self, value: builtins.str) -> None:
|
|
2313
|
+
if __debug__:
|
|
2314
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ad29e2ee6fad75de44645890c2c623b9ccb35a02f6e75d7ed98fa3b7337272ca)
|
|
2315
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2316
|
+
jsii.set(self, "aiPromptId", value) # pyright: ignore[reportArgumentType]
|
|
580
2317
|
|
|
581
2318
|
@builtins.property
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
'''The configuration of the prompt template for this AI Prompt.
|
|
2319
|
+
@jsii.member(jsii_name="assistantId")
|
|
2320
|
+
def assistant_id(self) -> builtins.str:
|
|
2321
|
+
return typing.cast(builtins.str, jsii.get(self, "assistantId"))
|
|
586
2322
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
2323
|
+
@assistant_id.setter
|
|
2324
|
+
def assistant_id(self, value: builtins.str) -> None:
|
|
2325
|
+
if __debug__:
|
|
2326
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1b6982f0f13d49bf234e47082e4a9783bc461e6dc18d68737a370a3682f93b48)
|
|
2327
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2328
|
+
jsii.set(self, "assistantId", value) # pyright: ignore[reportArgumentType]
|
|
592
2329
|
|
|
593
2330
|
@builtins.property
|
|
594
|
-
|
|
595
|
-
|
|
2331
|
+
@jsii.member(jsii_name="modifiedTimeSeconds")
|
|
2332
|
+
def modified_time_seconds(self) -> typing.Optional[jsii.Number]:
|
|
2333
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "modifiedTimeSeconds"))
|
|
596
2334
|
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
2335
|
+
@modified_time_seconds.setter
|
|
2336
|
+
def modified_time_seconds(self, value: typing.Optional[jsii.Number]) -> None:
|
|
2337
|
+
if __debug__:
|
|
2338
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d1f64ffa51639af07e9712d95780a238db8bd368a440a159ead5f0364951dcd4)
|
|
2339
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2340
|
+
jsii.set(self, "modifiedTimeSeconds", value) # pyright: ignore[reportArgumentType]
|
|
602
2341
|
|
|
603
|
-
@builtins.property
|
|
604
|
-
def type(self) -> builtins.str:
|
|
605
|
-
'''The type of this AI Prompt.
|
|
606
2342
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
2343
|
+
@jsii.data_type(
|
|
2344
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIPromptVersionProps",
|
|
2345
|
+
jsii_struct_bases=[],
|
|
2346
|
+
name_mapping={
|
|
2347
|
+
"ai_prompt_id": "aiPromptId",
|
|
2348
|
+
"assistant_id": "assistantId",
|
|
2349
|
+
"modified_time_seconds": "modifiedTimeSeconds",
|
|
2350
|
+
},
|
|
2351
|
+
)
|
|
2352
|
+
class CfnAIPromptVersionProps:
|
|
2353
|
+
def __init__(
|
|
2354
|
+
self,
|
|
2355
|
+
*,
|
|
2356
|
+
ai_prompt_id: builtins.str,
|
|
2357
|
+
assistant_id: builtins.str,
|
|
2358
|
+
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
2359
|
+
) -> None:
|
|
2360
|
+
'''Properties for defining a ``CfnAIPromptVersion``.
|
|
612
2361
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
2362
|
+
:param ai_prompt_id:
|
|
2363
|
+
:param assistant_id:
|
|
2364
|
+
:param modified_time_seconds:
|
|
616
2365
|
|
|
617
|
-
|
|
2366
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html
|
|
2367
|
+
:exampleMetadata: fixture=_generated
|
|
618
2368
|
|
|
619
|
-
|
|
2369
|
+
Example::
|
|
2370
|
+
|
|
2371
|
+
# The code below shows an example of how to instantiate this type.
|
|
2372
|
+
# The values are placeholders you should change.
|
|
2373
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
2374
|
+
|
|
2375
|
+
cfn_aIPrompt_version_props = wisdom.CfnAIPromptVersionProps(
|
|
2376
|
+
ai_prompt_id="aiPromptId",
|
|
2377
|
+
assistant_id="assistantId",
|
|
2378
|
+
|
|
2379
|
+
# the properties below are optional
|
|
2380
|
+
modified_time_seconds=123
|
|
2381
|
+
)
|
|
620
2382
|
'''
|
|
621
|
-
|
|
622
|
-
|
|
2383
|
+
if __debug__:
|
|
2384
|
+
type_hints = typing.get_type_hints(_typecheckingstub__39068faf047cdd2f1dce0d86adaff6f71058bba08c161da563b36647959f2add)
|
|
2385
|
+
check_type(argname="argument ai_prompt_id", value=ai_prompt_id, expected_type=type_hints["ai_prompt_id"])
|
|
2386
|
+
check_type(argname="argument assistant_id", value=assistant_id, expected_type=type_hints["assistant_id"])
|
|
2387
|
+
check_type(argname="argument modified_time_seconds", value=modified_time_seconds, expected_type=type_hints["modified_time_seconds"])
|
|
2388
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2389
|
+
"ai_prompt_id": ai_prompt_id,
|
|
2390
|
+
"assistant_id": assistant_id,
|
|
2391
|
+
}
|
|
2392
|
+
if modified_time_seconds is not None:
|
|
2393
|
+
self._values["modified_time_seconds"] = modified_time_seconds
|
|
623
2394
|
|
|
624
2395
|
@builtins.property
|
|
625
|
-
def
|
|
626
|
-
'''The description of the AI Prompt.
|
|
627
|
-
|
|
628
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-description
|
|
2396
|
+
def ai_prompt_id(self) -> builtins.str:
|
|
629
2397
|
'''
|
|
630
|
-
|
|
631
|
-
|
|
2398
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html#cfn-wisdom-aipromptversion-aipromptid
|
|
2399
|
+
'''
|
|
2400
|
+
result = self._values.get("ai_prompt_id")
|
|
2401
|
+
assert result is not None, "Required property 'ai_prompt_id' is missing"
|
|
2402
|
+
return typing.cast(builtins.str, result)
|
|
632
2403
|
|
|
633
2404
|
@builtins.property
|
|
634
|
-
def
|
|
635
|
-
'''The name of the AI Prompt.
|
|
636
|
-
|
|
637
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-name
|
|
2405
|
+
def assistant_id(self) -> builtins.str:
|
|
638
2406
|
'''
|
|
639
|
-
|
|
640
|
-
|
|
2407
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html#cfn-wisdom-aipromptversion-assistantid
|
|
2408
|
+
'''
|
|
2409
|
+
result = self._values.get("assistant_id")
|
|
2410
|
+
assert result is not None, "Required property 'assistant_id' is missing"
|
|
2411
|
+
return typing.cast(builtins.str, result)
|
|
641
2412
|
|
|
642
2413
|
@builtins.property
|
|
643
|
-
def
|
|
644
|
-
'''The tags used to organize, track, or control access for this resource.
|
|
645
|
-
|
|
646
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-tags
|
|
2414
|
+
def modified_time_seconds(self) -> typing.Optional[jsii.Number]:
|
|
647
2415
|
'''
|
|
648
|
-
|
|
649
|
-
|
|
2416
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html#cfn-wisdom-aipromptversion-modifiedtimeseconds
|
|
2417
|
+
'''
|
|
2418
|
+
result = self._values.get("modified_time_seconds")
|
|
2419
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
650
2420
|
|
|
651
2421
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
652
2422
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -655,7 +2425,7 @@ class CfnAIPromptProps:
|
|
|
655
2425
|
return not (rhs == self)
|
|
656
2426
|
|
|
657
2427
|
def __repr__(self) -> str:
|
|
658
|
-
return "
|
|
2428
|
+
return "CfnAIPromptVersionProps(%s)" % ", ".join(
|
|
659
2429
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
660
2430
|
)
|
|
661
2431
|
|
|
@@ -2115,8 +3885,12 @@ class CfnKnowledgeBaseProps:
|
|
|
2115
3885
|
|
|
2116
3886
|
|
|
2117
3887
|
__all__ = [
|
|
3888
|
+
"CfnAIAgent",
|
|
3889
|
+
"CfnAIAgentProps",
|
|
2118
3890
|
"CfnAIPrompt",
|
|
2119
3891
|
"CfnAIPromptProps",
|
|
3892
|
+
"CfnAIPromptVersion",
|
|
3893
|
+
"CfnAIPromptVersionProps",
|
|
2120
3894
|
"CfnAssistant",
|
|
2121
3895
|
"CfnAssistantAssociation",
|
|
2122
3896
|
"CfnAssistantAssociationProps",
|
|
@@ -2127,6 +3901,156 @@ __all__ = [
|
|
|
2127
3901
|
|
|
2128
3902
|
publication.publish()
|
|
2129
3903
|
|
|
3904
|
+
def _typecheckingstub__e4d43de9ccaeb31eba5b0b613ecac25531a87bb9137652388e6196070f4622ab(
|
|
3905
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3906
|
+
id: builtins.str,
|
|
3907
|
+
*,
|
|
3908
|
+
assistant_id: builtins.str,
|
|
3909
|
+
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3910
|
+
type: builtins.str,
|
|
3911
|
+
description: typing.Optional[builtins.str] = None,
|
|
3912
|
+
name: typing.Optional[builtins.str] = None,
|
|
3913
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3914
|
+
) -> None:
|
|
3915
|
+
"""Type checking stubs"""
|
|
3916
|
+
pass
|
|
3917
|
+
|
|
3918
|
+
def _typecheckingstub__daf9bd162ab4eaa6b11972bcaf8372498a47b4ad8cf111130cabfae3f675d2b4(
|
|
3919
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3920
|
+
) -> None:
|
|
3921
|
+
"""Type checking stubs"""
|
|
3922
|
+
pass
|
|
3923
|
+
|
|
3924
|
+
def _typecheckingstub__569f9e85834b9b380045c7e9789b3ac0684022e3b37642b34e232ba9b451ade6(
|
|
3925
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3926
|
+
) -> None:
|
|
3927
|
+
"""Type checking stubs"""
|
|
3928
|
+
pass
|
|
3929
|
+
|
|
3930
|
+
def _typecheckingstub__b3d8fd38839efd97edc463e08adcbeb6d1b964aa278b19d07017fb40c806bb19(
|
|
3931
|
+
value: builtins.str,
|
|
3932
|
+
) -> None:
|
|
3933
|
+
"""Type checking stubs"""
|
|
3934
|
+
pass
|
|
3935
|
+
|
|
3936
|
+
def _typecheckingstub__2d07c289ddb2abe8b14c5f581386f3377fb7266b5b099c89c1b142b4bbd9d769(
|
|
3937
|
+
value: typing.Union[_IResolvable_da3f097b, CfnAIAgent.AIAgentConfigurationProperty],
|
|
3938
|
+
) -> None:
|
|
3939
|
+
"""Type checking stubs"""
|
|
3940
|
+
pass
|
|
3941
|
+
|
|
3942
|
+
def _typecheckingstub__9b90fdd18e60e92e1589e2bf61b55c6cd7758b9da5e26d00525cb08a2ad13830(
|
|
3943
|
+
value: builtins.str,
|
|
3944
|
+
) -> None:
|
|
3945
|
+
"""Type checking stubs"""
|
|
3946
|
+
pass
|
|
3947
|
+
|
|
3948
|
+
def _typecheckingstub__6380f3badbada0c208691bd5242dfabe1122f10b446d77f1ae5ad0c9da456ae8(
|
|
3949
|
+
value: typing.Optional[builtins.str],
|
|
3950
|
+
) -> None:
|
|
3951
|
+
"""Type checking stubs"""
|
|
3952
|
+
pass
|
|
3953
|
+
|
|
3954
|
+
def _typecheckingstub__982490f39ff188d23898421a1623ad1489db32be592625d58e01c368c7568247(
|
|
3955
|
+
value: typing.Optional[builtins.str],
|
|
3956
|
+
) -> None:
|
|
3957
|
+
"""Type checking stubs"""
|
|
3958
|
+
pass
|
|
3959
|
+
|
|
3960
|
+
def _typecheckingstub__2e3ed01afbf4aa2c01303d467dcbf5c5cd3fb267902b917f3c4f5fdd0d83ccdc(
|
|
3961
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
3962
|
+
) -> None:
|
|
3963
|
+
"""Type checking stubs"""
|
|
3964
|
+
pass
|
|
3965
|
+
|
|
3966
|
+
def _typecheckingstub__8cb84ad0dc27ffdae65e4e739c98ea6a4e7c36340f15c21ae83a2225ff763ba3(
|
|
3967
|
+
*,
|
|
3968
|
+
answer_recommendation_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3969
|
+
manual_search_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.ManualSearchAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3970
|
+
) -> None:
|
|
3971
|
+
"""Type checking stubs"""
|
|
3972
|
+
pass
|
|
3973
|
+
|
|
3974
|
+
def _typecheckingstub__6847cf788b7def362d576a512b579b2a08c25837003298b7c57254d1dfb45112(
|
|
3975
|
+
*,
|
|
3976
|
+
answer_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
3977
|
+
association_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AssociationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3978
|
+
intent_labeling_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
3979
|
+
query_reformulation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
3980
|
+
) -> None:
|
|
3981
|
+
"""Type checking stubs"""
|
|
3982
|
+
pass
|
|
3983
|
+
|
|
3984
|
+
def _typecheckingstub__c351d3e3386a19a82d6920c115ac6f8c911a12da4a117a9c0676a8ff0038fd41(
|
|
3985
|
+
*,
|
|
3986
|
+
knowledge_base_association_configuration_data: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3987
|
+
) -> None:
|
|
3988
|
+
"""Type checking stubs"""
|
|
3989
|
+
pass
|
|
3990
|
+
|
|
3991
|
+
def _typecheckingstub__2df56062b7b8c55a883d0469e63c3aad05d8079bf21171f13f4e68d2f26fea44(
|
|
3992
|
+
*,
|
|
3993
|
+
association_configuration_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AssociationConfigurationDataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3994
|
+
association_id: typing.Optional[builtins.str] = None,
|
|
3995
|
+
association_type: typing.Optional[builtins.str] = None,
|
|
3996
|
+
) -> None:
|
|
3997
|
+
"""Type checking stubs"""
|
|
3998
|
+
pass
|
|
3999
|
+
|
|
4000
|
+
def _typecheckingstub__af25ecdf7592033a618b9a411d145fb2bd7b10ae3e9b0a04a4502e0dee139e27(
|
|
4001
|
+
*,
|
|
4002
|
+
content_tag_filter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.TagFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4003
|
+
max_results: typing.Optional[jsii.Number] = None,
|
|
4004
|
+
override_knowledge_base_search_type: typing.Optional[builtins.str] = None,
|
|
4005
|
+
) -> None:
|
|
4006
|
+
"""Type checking stubs"""
|
|
4007
|
+
pass
|
|
4008
|
+
|
|
4009
|
+
def _typecheckingstub__3346eba3a05ad4b31350bf2c54edbb6063a18cfea8a25ebbab80c402438f039a(
|
|
4010
|
+
*,
|
|
4011
|
+
answer_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
4012
|
+
association_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AssociationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4013
|
+
) -> None:
|
|
4014
|
+
"""Type checking stubs"""
|
|
4015
|
+
pass
|
|
4016
|
+
|
|
4017
|
+
def _typecheckingstub__bf2bbad68aea63c5546563872782e30b131382ddae5fbabf04602b928494d4d4(
|
|
4018
|
+
*,
|
|
4019
|
+
and_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.TagConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4020
|
+
tag_condition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.TagConditionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4021
|
+
) -> None:
|
|
4022
|
+
"""Type checking stubs"""
|
|
4023
|
+
pass
|
|
4024
|
+
|
|
4025
|
+
def _typecheckingstub__76535774a57202e416fb208d73c095c91408f65fd8a1b99f6b568fd994b915e9(
|
|
4026
|
+
*,
|
|
4027
|
+
key: builtins.str,
|
|
4028
|
+
value: typing.Optional[builtins.str] = None,
|
|
4029
|
+
) -> None:
|
|
4030
|
+
"""Type checking stubs"""
|
|
4031
|
+
pass
|
|
4032
|
+
|
|
4033
|
+
def _typecheckingstub__47961a691b994d09a0537dc7d655a0aab653585a5e8bd78b30c4bc84ec243c19(
|
|
4034
|
+
*,
|
|
4035
|
+
and_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.TagConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4036
|
+
or_conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.OrConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4037
|
+
tag_condition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.TagConditionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4038
|
+
) -> None:
|
|
4039
|
+
"""Type checking stubs"""
|
|
4040
|
+
pass
|
|
4041
|
+
|
|
4042
|
+
def _typecheckingstub__b1cda9a6282ec07c28c0ef49efdf8da8f079052d26edd32bbe15324644982756(
|
|
4043
|
+
*,
|
|
4044
|
+
assistant_id: builtins.str,
|
|
4045
|
+
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
4046
|
+
type: builtins.str,
|
|
4047
|
+
description: typing.Optional[builtins.str] = None,
|
|
4048
|
+
name: typing.Optional[builtins.str] = None,
|
|
4049
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4050
|
+
) -> None:
|
|
4051
|
+
"""Type checking stubs"""
|
|
4052
|
+
pass
|
|
4053
|
+
|
|
2130
4054
|
def _typecheckingstub__48a265f7ec519ced4028dd8e69d5a1fe8ef89d36b11d693c968f74c8be6bb9df(
|
|
2131
4055
|
scope: _constructs_77d1e7e8.Construct,
|
|
2132
4056
|
id: builtins.str,
|
|
@@ -2239,6 +4163,56 @@ def _typecheckingstub__3a55de2153828f44950073a28af3416601dc1f09105d3fa9d8f1ec243
|
|
|
2239
4163
|
"""Type checking stubs"""
|
|
2240
4164
|
pass
|
|
2241
4165
|
|
|
4166
|
+
def _typecheckingstub__729db38c828e5e73ae0386aea45298b479e1a069777600fadadd338035a13e5d(
|
|
4167
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4168
|
+
id: builtins.str,
|
|
4169
|
+
*,
|
|
4170
|
+
ai_prompt_id: builtins.str,
|
|
4171
|
+
assistant_id: builtins.str,
|
|
4172
|
+
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
4173
|
+
) -> None:
|
|
4174
|
+
"""Type checking stubs"""
|
|
4175
|
+
pass
|
|
4176
|
+
|
|
4177
|
+
def _typecheckingstub__bb551060d0407b951291352d04af15e21651dd34a52774e39a2d2da6e4df3220(
|
|
4178
|
+
inspector: _TreeInspector_488e0dd5,
|
|
4179
|
+
) -> None:
|
|
4180
|
+
"""Type checking stubs"""
|
|
4181
|
+
pass
|
|
4182
|
+
|
|
4183
|
+
def _typecheckingstub__b234db791908c37519c8ae3284494dc43affe3bad0ab4eadab6407ef7ccc7627(
|
|
4184
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4185
|
+
) -> None:
|
|
4186
|
+
"""Type checking stubs"""
|
|
4187
|
+
pass
|
|
4188
|
+
|
|
4189
|
+
def _typecheckingstub__ad29e2ee6fad75de44645890c2c623b9ccb35a02f6e75d7ed98fa3b7337272ca(
|
|
4190
|
+
value: builtins.str,
|
|
4191
|
+
) -> None:
|
|
4192
|
+
"""Type checking stubs"""
|
|
4193
|
+
pass
|
|
4194
|
+
|
|
4195
|
+
def _typecheckingstub__1b6982f0f13d49bf234e47082e4a9783bc461e6dc18d68737a370a3682f93b48(
|
|
4196
|
+
value: builtins.str,
|
|
4197
|
+
) -> None:
|
|
4198
|
+
"""Type checking stubs"""
|
|
4199
|
+
pass
|
|
4200
|
+
|
|
4201
|
+
def _typecheckingstub__d1f64ffa51639af07e9712d95780a238db8bd368a440a159ead5f0364951dcd4(
|
|
4202
|
+
value: typing.Optional[jsii.Number],
|
|
4203
|
+
) -> None:
|
|
4204
|
+
"""Type checking stubs"""
|
|
4205
|
+
pass
|
|
4206
|
+
|
|
4207
|
+
def _typecheckingstub__39068faf047cdd2f1dce0d86adaff6f71058bba08c161da563b36647959f2add(
|
|
4208
|
+
*,
|
|
4209
|
+
ai_prompt_id: builtins.str,
|
|
4210
|
+
assistant_id: builtins.str,
|
|
4211
|
+
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
4212
|
+
) -> None:
|
|
4213
|
+
"""Type checking stubs"""
|
|
4214
|
+
pass
|
|
4215
|
+
|
|
2242
4216
|
def _typecheckingstub__8078b7e28a17a68ab6f3d362e7de3af6b6867207690b2b344e35797cd6569746(
|
|
2243
4217
|
scope: _constructs_77d1e7e8.Construct,
|
|
2244
4218
|
id: builtins.str,
|