aws-cdk-lib 2.206.0__py3-none-any.whl → 2.208.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 +96 -15
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.206.0.jsii.tgz → aws-cdk-lib@2.208.0.jsii.tgz} +0 -0
- aws_cdk/aws_aiops/__init__.py +70 -76
- aws_cdk/aws_amazonmq/__init__.py +8 -18
- aws_cdk/aws_appstream/__init__.py +36 -4
- aws_cdk/aws_autoscaling/__init__.py +20 -0
- aws_cdk/aws_bedrock/__init__.py +317 -142
- aws_cdk/aws_certificatemanager/__init__.py +48 -3
- aws_cdk/aws_cleanrooms/__init__.py +6 -2
- aws_cdk/aws_cloudformation/__init__.py +28 -15
- aws_cdk/aws_cloudfront/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +574 -33
- aws_cdk/aws_connect/__init__.py +107 -3
- aws_cdk/aws_customerprofiles/__init__.py +27 -22
- aws_cdk/aws_datasync/__init__.py +14 -15
- aws_cdk/aws_docdb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +59 -13
- aws_cdk/aws_ecs/__init__.py +185 -47
- aws_cdk/aws_events/__init__.py +142 -0
- aws_cdk/aws_gamelift/__init__.py +2 -2
- aws_cdk/aws_guardduty/__init__.py +86 -0
- aws_cdk/aws_iotsitewise/__init__.py +13 -9
- aws_cdk/aws_kinesisfirehose/__init__.py +377 -4
- aws_cdk/aws_kms/__init__.py +19 -17
- aws_cdk/aws_logs/__init__.py +4775 -764
- aws_cdk/aws_mediapackagev2/__init__.py +950 -48
- aws_cdk/aws_omics/__init__.py +13 -10
- aws_cdk/aws_opsworkscm/__init__.py +2 -4
- aws_cdk/aws_quicksight/__init__.py +111 -4
- aws_cdk/aws_rds/__init__.py +358 -27
- aws_cdk/aws_s3/__init__.py +781 -8
- aws_cdk/aws_s3express/__init__.py +61 -3
- aws_cdk/aws_s3tables/__init__.py +254 -0
- aws_cdk/aws_sagemaker/__init__.py +527 -140
- aws_cdk/aws_ssm/__init__.py +106 -33
- aws_cdk/aws_transfer/__init__.py +70 -11
- aws_cdk/aws_wisdom/__init__.py +1185 -100
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/RECORD +44 -44
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_wisdom/__init__.py
CHANGED
|
@@ -7857,6 +7857,13 @@ class CfnMessageTemplate(
|
|
|
7857
7857
|
values=["values"]
|
|
7858
7858
|
),
|
|
7859
7859
|
language="language",
|
|
7860
|
+
message_template_attachments=[wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty(
|
|
7861
|
+
attachment_name="attachmentName",
|
|
7862
|
+
s3_presigned_url="s3PresignedUrl",
|
|
7863
|
+
|
|
7864
|
+
# the properties below are optional
|
|
7865
|
+
attachment_id="attachmentId"
|
|
7866
|
+
)],
|
|
7860
7867
|
tags=[CfnTag(
|
|
7861
7868
|
key="key",
|
|
7862
7869
|
value="value"
|
|
@@ -7877,6 +7884,7 @@ class CfnMessageTemplate(
|
|
|
7877
7884
|
description: typing.Optional[builtins.str] = None,
|
|
7878
7885
|
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMessageTemplate.GroupingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7879
7886
|
language: typing.Optional[builtins.str] = None,
|
|
7887
|
+
message_template_attachments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMessageTemplate.MessageTemplateAttachmentProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
7880
7888
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7881
7889
|
) -> None:
|
|
7882
7890
|
'''
|
|
@@ -7890,6 +7898,7 @@ class CfnMessageTemplate(
|
|
|
7890
7898
|
:param description: The description of the message template.
|
|
7891
7899
|
:param grouping_configuration: The configuration information of the external data source.
|
|
7892
7900
|
:param language: The language code value for the language in which the quick response is written. The supported language codes include ``de_DE`` , ``en_US`` , ``es_ES`` , ``fr_FR`` , ``id_ID`` , ``it_IT`` , ``ja_JP`` , ``ko_KR`` , ``pt_BR`` , ``zh_CN`` , ``zh_TW``
|
|
7901
|
+
:param message_template_attachments: List of message template attachments.
|
|
7893
7902
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
7894
7903
|
'''
|
|
7895
7904
|
if __debug__:
|
|
@@ -7905,6 +7914,7 @@ class CfnMessageTemplate(
|
|
|
7905
7914
|
description=description,
|
|
7906
7915
|
grouping_configuration=grouping_configuration,
|
|
7907
7916
|
language=language,
|
|
7917
|
+
message_template_attachments=message_template_attachments,
|
|
7908
7918
|
tags=tags,
|
|
7909
7919
|
)
|
|
7910
7920
|
|
|
@@ -8099,6 +8109,24 @@ class CfnMessageTemplate(
|
|
|
8099
8109
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8100
8110
|
jsii.set(self, "language", value) # pyright: ignore[reportArgumentType]
|
|
8101
8111
|
|
|
8112
|
+
@builtins.property
|
|
8113
|
+
@jsii.member(jsii_name="messageTemplateAttachments")
|
|
8114
|
+
def message_template_attachments(
|
|
8115
|
+
self,
|
|
8116
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMessageTemplate.MessageTemplateAttachmentProperty"]]]]:
|
|
8117
|
+
'''List of message template attachments.'''
|
|
8118
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMessageTemplate.MessageTemplateAttachmentProperty"]]]], jsii.get(self, "messageTemplateAttachments"))
|
|
8119
|
+
|
|
8120
|
+
@message_template_attachments.setter
|
|
8121
|
+
def message_template_attachments(
|
|
8122
|
+
self,
|
|
8123
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMessageTemplate.MessageTemplateAttachmentProperty"]]]],
|
|
8124
|
+
) -> None:
|
|
8125
|
+
if __debug__:
|
|
8126
|
+
type_hints = typing.get_type_hints(_typecheckingstub__99e58f577d070d3c392b7519e6ec169337ff707d8d0fbec1d5b147b3eb27b11a)
|
|
8127
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8128
|
+
jsii.set(self, "messageTemplateAttachments", value) # pyright: ignore[reportArgumentType]
|
|
8129
|
+
|
|
8102
8130
|
@builtins.property
|
|
8103
8131
|
@jsii.member(jsii_name="tags")
|
|
8104
8132
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -9581,6 +9609,102 @@ class CfnMessageTemplate(
|
|
|
9581
9609
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
9582
9610
|
)
|
|
9583
9611
|
|
|
9612
|
+
@jsii.data_type(
|
|
9613
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty",
|
|
9614
|
+
jsii_struct_bases=[],
|
|
9615
|
+
name_mapping={
|
|
9616
|
+
"attachment_name": "attachmentName",
|
|
9617
|
+
"s3_presigned_url": "s3PresignedUrl",
|
|
9618
|
+
"attachment_id": "attachmentId",
|
|
9619
|
+
},
|
|
9620
|
+
)
|
|
9621
|
+
class MessageTemplateAttachmentProperty:
|
|
9622
|
+
def __init__(
|
|
9623
|
+
self,
|
|
9624
|
+
*,
|
|
9625
|
+
attachment_name: builtins.str,
|
|
9626
|
+
s3_presigned_url: builtins.str,
|
|
9627
|
+
attachment_id: typing.Optional[builtins.str] = None,
|
|
9628
|
+
) -> None:
|
|
9629
|
+
'''Information about the message template attachment.
|
|
9630
|
+
|
|
9631
|
+
:param attachment_name: The name of the attachment file being uploaded. The name should include the file extension.
|
|
9632
|
+
:param s3_presigned_url: The S3 Presigned URL for the attachment file. When generating the PreSignedUrl, please ensure that the expires-in time is set to 30 minutes. The URL can be generated through the AWS Console or through the AWS CLI (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html).
|
|
9633
|
+
:param attachment_id: The identifier of the attachment file.
|
|
9634
|
+
|
|
9635
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html
|
|
9636
|
+
:exampleMetadata: fixture=_generated
|
|
9637
|
+
|
|
9638
|
+
Example::
|
|
9639
|
+
|
|
9640
|
+
# The code below shows an example of how to instantiate this type.
|
|
9641
|
+
# The values are placeholders you should change.
|
|
9642
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
9643
|
+
|
|
9644
|
+
message_template_attachment_property = wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty(
|
|
9645
|
+
attachment_name="attachmentName",
|
|
9646
|
+
s3_presigned_url="s3PresignedUrl",
|
|
9647
|
+
|
|
9648
|
+
# the properties below are optional
|
|
9649
|
+
attachment_id="attachmentId"
|
|
9650
|
+
)
|
|
9651
|
+
'''
|
|
9652
|
+
if __debug__:
|
|
9653
|
+
type_hints = typing.get_type_hints(_typecheckingstub__733b704f810bd9a3eb9d75f4f3b82b249fd0f3b3c3429da2875584133affc320)
|
|
9654
|
+
check_type(argname="argument attachment_name", value=attachment_name, expected_type=type_hints["attachment_name"])
|
|
9655
|
+
check_type(argname="argument s3_presigned_url", value=s3_presigned_url, expected_type=type_hints["s3_presigned_url"])
|
|
9656
|
+
check_type(argname="argument attachment_id", value=attachment_id, expected_type=type_hints["attachment_id"])
|
|
9657
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9658
|
+
"attachment_name": attachment_name,
|
|
9659
|
+
"s3_presigned_url": s3_presigned_url,
|
|
9660
|
+
}
|
|
9661
|
+
if attachment_id is not None:
|
|
9662
|
+
self._values["attachment_id"] = attachment_id
|
|
9663
|
+
|
|
9664
|
+
@builtins.property
|
|
9665
|
+
def attachment_name(self) -> builtins.str:
|
|
9666
|
+
'''The name of the attachment file being uploaded.
|
|
9667
|
+
|
|
9668
|
+
The name should include the file extension.
|
|
9669
|
+
|
|
9670
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html#cfn-wisdom-messagetemplate-messagetemplateattachment-attachmentname
|
|
9671
|
+
'''
|
|
9672
|
+
result = self._values.get("attachment_name")
|
|
9673
|
+
assert result is not None, "Required property 'attachment_name' is missing"
|
|
9674
|
+
return typing.cast(builtins.str, result)
|
|
9675
|
+
|
|
9676
|
+
@builtins.property
|
|
9677
|
+
def s3_presigned_url(self) -> builtins.str:
|
|
9678
|
+
'''The S3 Presigned URL for the attachment file.
|
|
9679
|
+
|
|
9680
|
+
When generating the PreSignedUrl, please ensure that the expires-in time is set to 30 minutes. The URL can be generated through the AWS Console or through the AWS CLI (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html).
|
|
9681
|
+
|
|
9682
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html#cfn-wisdom-messagetemplate-messagetemplateattachment-s3presignedurl
|
|
9683
|
+
'''
|
|
9684
|
+
result = self._values.get("s3_presigned_url")
|
|
9685
|
+
assert result is not None, "Required property 's3_presigned_url' is missing"
|
|
9686
|
+
return typing.cast(builtins.str, result)
|
|
9687
|
+
|
|
9688
|
+
@builtins.property
|
|
9689
|
+
def attachment_id(self) -> typing.Optional[builtins.str]:
|
|
9690
|
+
'''The identifier of the attachment file.
|
|
9691
|
+
|
|
9692
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html#cfn-wisdom-messagetemplate-messagetemplateattachment-attachmentid
|
|
9693
|
+
'''
|
|
9694
|
+
result = self._values.get("attachment_id")
|
|
9695
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9696
|
+
|
|
9697
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9698
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9699
|
+
|
|
9700
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
9701
|
+
return not (rhs == self)
|
|
9702
|
+
|
|
9703
|
+
def __repr__(self) -> str:
|
|
9704
|
+
return "MessageTemplateAttachmentProperty(%s)" % ", ".join(
|
|
9705
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
9706
|
+
)
|
|
9707
|
+
|
|
9584
9708
|
@jsii.data_type(
|
|
9585
9709
|
jsii_type="aws-cdk-lib.aws_wisdom.CfnMessageTemplate.MessageTemplateAttributesProperty",
|
|
9586
9710
|
jsii_struct_bases=[],
|
|
@@ -10101,6 +10225,7 @@ class CfnMessageTemplate(
|
|
|
10101
10225
|
"description": "description",
|
|
10102
10226
|
"grouping_configuration": "groupingConfiguration",
|
|
10103
10227
|
"language": "language",
|
|
10228
|
+
"message_template_attachments": "messageTemplateAttachments",
|
|
10104
10229
|
"tags": "tags",
|
|
10105
10230
|
},
|
|
10106
10231
|
)
|
|
@@ -10116,6 +10241,7 @@ class CfnMessageTemplateProps:
|
|
|
10116
10241
|
description: typing.Optional[builtins.str] = None,
|
|
10117
10242
|
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10118
10243
|
language: typing.Optional[builtins.str] = None,
|
|
10244
|
+
message_template_attachments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.MessageTemplateAttachmentProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10119
10245
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10120
10246
|
) -> None:
|
|
10121
10247
|
'''Properties for defining a ``CfnMessageTemplate``.
|
|
@@ -10128,6 +10254,7 @@ class CfnMessageTemplateProps:
|
|
|
10128
10254
|
:param description: The description of the message template.
|
|
10129
10255
|
:param grouping_configuration: The configuration information of the external data source.
|
|
10130
10256
|
:param language: The language code value for the language in which the quick response is written. The supported language codes include ``de_DE`` , ``en_US`` , ``es_ES`` , ``fr_FR`` , ``id_ID`` , ``it_IT`` , ``ja_JP`` , ``ko_KR`` , ``pt_BR`` , ``zh_CN`` , ``zh_TW``
|
|
10257
|
+
:param message_template_attachments: List of message template attachments.
|
|
10131
10258
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
10132
10259
|
|
|
10133
10260
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-messagetemplate.html
|
|
@@ -10255,6 +10382,13 @@ class CfnMessageTemplateProps:
|
|
|
10255
10382
|
values=["values"]
|
|
10256
10383
|
),
|
|
10257
10384
|
language="language",
|
|
10385
|
+
message_template_attachments=[wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty(
|
|
10386
|
+
attachment_name="attachmentName",
|
|
10387
|
+
s3_presigned_url="s3PresignedUrl",
|
|
10388
|
+
|
|
10389
|
+
# the properties below are optional
|
|
10390
|
+
attachment_id="attachmentId"
|
|
10391
|
+
)],
|
|
10258
10392
|
tags=[CfnTag(
|
|
10259
10393
|
key="key",
|
|
10260
10394
|
value="value"
|
|
@@ -10271,6 +10405,7 @@ class CfnMessageTemplateProps:
|
|
|
10271
10405
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
10272
10406
|
check_type(argname="argument grouping_configuration", value=grouping_configuration, expected_type=type_hints["grouping_configuration"])
|
|
10273
10407
|
check_type(argname="argument language", value=language, expected_type=type_hints["language"])
|
|
10408
|
+
check_type(argname="argument message_template_attachments", value=message_template_attachments, expected_type=type_hints["message_template_attachments"])
|
|
10274
10409
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
10275
10410
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
10276
10411
|
"channel_subtype": channel_subtype,
|
|
@@ -10286,6 +10421,8 @@ class CfnMessageTemplateProps:
|
|
|
10286
10421
|
self._values["grouping_configuration"] = grouping_configuration
|
|
10287
10422
|
if language is not None:
|
|
10288
10423
|
self._values["language"] = language
|
|
10424
|
+
if message_template_attachments is not None:
|
|
10425
|
+
self._values["message_template_attachments"] = message_template_attachments
|
|
10289
10426
|
if tags is not None:
|
|
10290
10427
|
self._values["tags"] = tags
|
|
10291
10428
|
|
|
@@ -10375,6 +10512,17 @@ class CfnMessageTemplateProps:
|
|
|
10375
10512
|
result = self._values.get("language")
|
|
10376
10513
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
10377
10514
|
|
|
10515
|
+
@builtins.property
|
|
10516
|
+
def message_template_attachments(
|
|
10517
|
+
self,
|
|
10518
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnMessageTemplate.MessageTemplateAttachmentProperty]]]]:
|
|
10519
|
+
'''List of message template attachments.
|
|
10520
|
+
|
|
10521
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-messagetemplate.html#cfn-wisdom-messagetemplate-messagetemplateattachments
|
|
10522
|
+
'''
|
|
10523
|
+
result = self._values.get("message_template_attachments")
|
|
10524
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnMessageTemplate.MessageTemplateAttachmentProperty]]]], result)
|
|
10525
|
+
|
|
10378
10526
|
@builtins.property
|
|
10379
10527
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
10380
10528
|
'''The tags used to organize, track, or control access for this resource.
|
|
@@ -10609,119 +10757,902 @@ class CfnMessageTemplateVersionProps:
|
|
|
10609
10757
|
)
|
|
10610
10758
|
|
|
10611
10759
|
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
"
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
"CfnAIGuardrailVersion",
|
|
10620
|
-
"CfnAIGuardrailVersionProps",
|
|
10621
|
-
"CfnAIPrompt",
|
|
10622
|
-
"CfnAIPromptProps",
|
|
10623
|
-
"CfnAIPromptVersion",
|
|
10624
|
-
"CfnAIPromptVersionProps",
|
|
10625
|
-
"CfnAssistant",
|
|
10626
|
-
"CfnAssistantAssociation",
|
|
10627
|
-
"CfnAssistantAssociationProps",
|
|
10628
|
-
"CfnAssistantProps",
|
|
10629
|
-
"CfnKnowledgeBase",
|
|
10630
|
-
"CfnKnowledgeBaseProps",
|
|
10631
|
-
"CfnMessageTemplate",
|
|
10632
|
-
"CfnMessageTemplateProps",
|
|
10633
|
-
"CfnMessageTemplateVersion",
|
|
10634
|
-
"CfnMessageTemplateVersionProps",
|
|
10635
|
-
]
|
|
10760
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
10761
|
+
class CfnQuickResponse(
|
|
10762
|
+
_CfnResource_9df397a6,
|
|
10763
|
+
metaclass=jsii.JSIIMeta,
|
|
10764
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponse",
|
|
10765
|
+
):
|
|
10766
|
+
'''Creates an Amazon Q in Connect quick response.
|
|
10636
10767
|
|
|
10637
|
-
|
|
10768
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html
|
|
10769
|
+
:cloudformationResource: AWS::Wisdom::QuickResponse
|
|
10770
|
+
:exampleMetadata: fixture=_generated
|
|
10638
10771
|
|
|
10639
|
-
|
|
10640
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
10641
|
-
id: builtins.str,
|
|
10642
|
-
*,
|
|
10643
|
-
assistant_id: builtins.str,
|
|
10644
|
-
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
10645
|
-
type: builtins.str,
|
|
10646
|
-
description: typing.Optional[builtins.str] = None,
|
|
10647
|
-
name: typing.Optional[builtins.str] = None,
|
|
10648
|
-
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10649
|
-
) -> None:
|
|
10650
|
-
"""Type checking stubs"""
|
|
10651
|
-
pass
|
|
10772
|
+
Example::
|
|
10652
10773
|
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10774
|
+
# The code below shows an example of how to instantiate this type.
|
|
10775
|
+
# The values are placeholders you should change.
|
|
10776
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
10777
|
+
|
|
10778
|
+
cfn_quick_response = wisdom.CfnQuickResponse(self, "MyCfnQuickResponse",
|
|
10779
|
+
content=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
10780
|
+
content="content"
|
|
10781
|
+
),
|
|
10782
|
+
knowledge_base_arn="knowledgeBaseArn",
|
|
10783
|
+
name="name",
|
|
10784
|
+
|
|
10785
|
+
# the properties below are optional
|
|
10786
|
+
channels=["channels"],
|
|
10787
|
+
content_type="contentType",
|
|
10788
|
+
description="description",
|
|
10789
|
+
grouping_configuration=wisdom.CfnQuickResponse.GroupingConfigurationProperty(
|
|
10790
|
+
criteria="criteria",
|
|
10791
|
+
values=["values"]
|
|
10792
|
+
),
|
|
10793
|
+
is_active=False,
|
|
10794
|
+
language="language",
|
|
10795
|
+
shortcut_key="shortcutKey",
|
|
10796
|
+
tags=[CfnTag(
|
|
10797
|
+
key="key",
|
|
10798
|
+
value="value"
|
|
10799
|
+
)]
|
|
10800
|
+
)
|
|
10801
|
+
'''
|
|
10658
10802
|
|
|
10659
|
-
def
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10803
|
+
def __init__(
|
|
10804
|
+
self,
|
|
10805
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
10806
|
+
id: builtins.str,
|
|
10807
|
+
*,
|
|
10808
|
+
content: typing.Union[_IResolvable_da3f097b, typing.Union["CfnQuickResponse.QuickResponseContentProviderProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
10809
|
+
knowledge_base_arn: builtins.str,
|
|
10810
|
+
name: builtins.str,
|
|
10811
|
+
channels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10812
|
+
content_type: typing.Optional[builtins.str] = None,
|
|
10813
|
+
description: typing.Optional[builtins.str] = None,
|
|
10814
|
+
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQuickResponse.GroupingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10815
|
+
is_active: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10816
|
+
language: typing.Optional[builtins.str] = None,
|
|
10817
|
+
shortcut_key: typing.Optional[builtins.str] = None,
|
|
10818
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10819
|
+
) -> None:
|
|
10820
|
+
'''
|
|
10821
|
+
:param scope: Scope in which this resource is defined.
|
|
10822
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
10823
|
+
:param content: The content of the quick response.
|
|
10824
|
+
:param knowledge_base_arn: The Amazon Resource Name (ARN) of the knowledge base.
|
|
10825
|
+
:param name: The name of the quick response.
|
|
10826
|
+
:param channels: The Amazon Connect contact channels this quick response applies to. The supported contact channel types include ``Chat`` .
|
|
10827
|
+
:param content_type: The media type of the quick response content. - Use ``application/x.quickresponse;format=plain`` for quick response written in plain text. - Use ``application/x.quickresponse;format=markdown`` for quick response written in richtext.
|
|
10828
|
+
:param description: The description of the quick response.
|
|
10829
|
+
:param grouping_configuration: The configuration information of the user groups that the quick response is accessible to.
|
|
10830
|
+
:param is_active: Whether the quick response is active.
|
|
10831
|
+
:param language: The language code value for the language in which the quick response is written. The supported language codes include ``de_DE`` , ``en_US`` , ``es_ES`` , ``fr_FR`` , ``id_ID`` , ``it_IT`` , ``ja_JP`` , ``ko_KR`` , ``pt_BR`` , ``zh_CN`` , ``zh_TW``
|
|
10832
|
+
:param shortcut_key: The shortcut key of the quick response. The value should be unique across the knowledge base.
|
|
10833
|
+
:param tags: The tags used to organize, track, or control access for this resource.
|
|
10834
|
+
'''
|
|
10835
|
+
if __debug__:
|
|
10836
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1ea732c0aa1c75214dd603b6887da6352fe66fd3d98e2168fdc3654ffd9d1629)
|
|
10837
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
10838
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
10839
|
+
props = CfnQuickResponseProps(
|
|
10840
|
+
content=content,
|
|
10841
|
+
knowledge_base_arn=knowledge_base_arn,
|
|
10842
|
+
name=name,
|
|
10843
|
+
channels=channels,
|
|
10844
|
+
content_type=content_type,
|
|
10845
|
+
description=description,
|
|
10846
|
+
grouping_configuration=grouping_configuration,
|
|
10847
|
+
is_active=is_active,
|
|
10848
|
+
language=language,
|
|
10849
|
+
shortcut_key=shortcut_key,
|
|
10850
|
+
tags=tags,
|
|
10851
|
+
)
|
|
10664
10852
|
|
|
10665
|
-
|
|
10666
|
-
value: builtins.str,
|
|
10667
|
-
) -> None:
|
|
10668
|
-
"""Type checking stubs"""
|
|
10669
|
-
pass
|
|
10853
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
10670
10854
|
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
"""Type checking stubs"""
|
|
10675
|
-
pass
|
|
10855
|
+
@jsii.member(jsii_name="inspect")
|
|
10856
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
10857
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
10676
10858
|
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10859
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
10860
|
+
'''
|
|
10861
|
+
if __debug__:
|
|
10862
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d749875d4fcc7d4242bef84ff9a9085b8827dd339b292a8c0429c8dd8b8f394a)
|
|
10863
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
10864
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
10682
10865
|
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10866
|
+
@jsii.member(jsii_name="renderProperties")
|
|
10867
|
+
def _render_properties(
|
|
10868
|
+
self,
|
|
10869
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
10870
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
10871
|
+
'''
|
|
10872
|
+
:param props: -
|
|
10873
|
+
'''
|
|
10874
|
+
if __debug__:
|
|
10875
|
+
type_hints = typing.get_type_hints(_typecheckingstub__55603fa5b935508baa2dfab5656797245339ea337e135b1dc21a3a68319e401a)
|
|
10876
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
10877
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
10688
10878
|
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
) ->
|
|
10692
|
-
|
|
10693
|
-
|
|
10879
|
+
@jsii.python.classproperty
|
|
10880
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
10881
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
10882
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
10883
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
10694
10884
|
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
) ->
|
|
10698
|
-
|
|
10699
|
-
pass
|
|
10885
|
+
@builtins.property
|
|
10886
|
+
@jsii.member(jsii_name="attrContents")
|
|
10887
|
+
def attr_contents(self) -> _IResolvable_da3f097b:
|
|
10888
|
+
'''The content of the quick response stored in different media types.
|
|
10700
10889
|
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
manual_search_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.ManualSearchAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10705
|
-
self_service_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.SelfServiceAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10706
|
-
) -> None:
|
|
10707
|
-
"""Type checking stubs"""
|
|
10708
|
-
pass
|
|
10890
|
+
:cloudformationAttribute: Contents
|
|
10891
|
+
'''
|
|
10892
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrContents"))
|
|
10709
10893
|
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
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,
|
|
10715
|
-
intent_labeling_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
10716
|
-
locale: typing.Optional[builtins.str] = None,
|
|
10717
|
-
query_reformulation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
10718
|
-
) -> None:
|
|
10719
|
-
"""Type checking stubs"""
|
|
10720
|
-
pass
|
|
10894
|
+
@builtins.property
|
|
10895
|
+
@jsii.member(jsii_name="attrQuickResponseArn")
|
|
10896
|
+
def attr_quick_response_arn(self) -> builtins.str:
|
|
10897
|
+
'''The Amazon Resource Name (ARN) of the quick response.
|
|
10721
10898
|
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10899
|
+
:cloudformationAttribute: QuickResponseArn
|
|
10900
|
+
'''
|
|
10901
|
+
return typing.cast(builtins.str, jsii.get(self, "attrQuickResponseArn"))
|
|
10902
|
+
|
|
10903
|
+
@builtins.property
|
|
10904
|
+
@jsii.member(jsii_name="attrQuickResponseId")
|
|
10905
|
+
def attr_quick_response_id(self) -> builtins.str:
|
|
10906
|
+
'''The identifier of the quick response.
|
|
10907
|
+
|
|
10908
|
+
:cloudformationAttribute: QuickResponseId
|
|
10909
|
+
'''
|
|
10910
|
+
return typing.cast(builtins.str, jsii.get(self, "attrQuickResponseId"))
|
|
10911
|
+
|
|
10912
|
+
@builtins.property
|
|
10913
|
+
@jsii.member(jsii_name="attrStatus")
|
|
10914
|
+
def attr_status(self) -> builtins.str:
|
|
10915
|
+
'''The status of the quick response data.
|
|
10916
|
+
|
|
10917
|
+
:cloudformationAttribute: Status
|
|
10918
|
+
'''
|
|
10919
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
10920
|
+
|
|
10921
|
+
@builtins.property
|
|
10922
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
10923
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
10924
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
10925
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
10926
|
+
|
|
10927
|
+
@builtins.property
|
|
10928
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
10929
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
10930
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
10931
|
+
|
|
10932
|
+
@builtins.property
|
|
10933
|
+
@jsii.member(jsii_name="content")
|
|
10934
|
+
def content(
|
|
10935
|
+
self,
|
|
10936
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]:
|
|
10937
|
+
'''The content of the quick response.'''
|
|
10938
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"], jsii.get(self, "content"))
|
|
10939
|
+
|
|
10940
|
+
@content.setter
|
|
10941
|
+
def content(
|
|
10942
|
+
self,
|
|
10943
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"],
|
|
10944
|
+
) -> None:
|
|
10945
|
+
if __debug__:
|
|
10946
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9dfed0b86363ddee2b73b59a4f8b9559cdd5914e6289f92f15feac8409c416b)
|
|
10947
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10948
|
+
jsii.set(self, "content", value) # pyright: ignore[reportArgumentType]
|
|
10949
|
+
|
|
10950
|
+
@builtins.property
|
|
10951
|
+
@jsii.member(jsii_name="knowledgeBaseArn")
|
|
10952
|
+
def knowledge_base_arn(self) -> builtins.str:
|
|
10953
|
+
'''The Amazon Resource Name (ARN) of the knowledge base.'''
|
|
10954
|
+
return typing.cast(builtins.str, jsii.get(self, "knowledgeBaseArn"))
|
|
10955
|
+
|
|
10956
|
+
@knowledge_base_arn.setter
|
|
10957
|
+
def knowledge_base_arn(self, value: builtins.str) -> None:
|
|
10958
|
+
if __debug__:
|
|
10959
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2144e7491ad5d7946aab6f020cc3753c00cd404c7ff07340ab3cd7d070d37993)
|
|
10960
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10961
|
+
jsii.set(self, "knowledgeBaseArn", value) # pyright: ignore[reportArgumentType]
|
|
10962
|
+
|
|
10963
|
+
@builtins.property
|
|
10964
|
+
@jsii.member(jsii_name="name")
|
|
10965
|
+
def name(self) -> builtins.str:
|
|
10966
|
+
'''The name of the quick response.'''
|
|
10967
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
10968
|
+
|
|
10969
|
+
@name.setter
|
|
10970
|
+
def name(self, value: builtins.str) -> None:
|
|
10971
|
+
if __debug__:
|
|
10972
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5165c48c2f03231e6cd852d113854e793302bd6e08d080e9cccd919f79e3565e)
|
|
10973
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10974
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
10975
|
+
|
|
10976
|
+
@builtins.property
|
|
10977
|
+
@jsii.member(jsii_name="channels")
|
|
10978
|
+
def channels(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
10979
|
+
'''The Amazon Connect contact channels this quick response applies to.'''
|
|
10980
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "channels"))
|
|
10981
|
+
|
|
10982
|
+
@channels.setter
|
|
10983
|
+
def channels(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
|
|
10984
|
+
if __debug__:
|
|
10985
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e83f69c01eda758c5d6ec662eb36e57ab3b0b525a49f25b680b666ab899f00be)
|
|
10986
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10987
|
+
jsii.set(self, "channels", value) # pyright: ignore[reportArgumentType]
|
|
10988
|
+
|
|
10989
|
+
@builtins.property
|
|
10990
|
+
@jsii.member(jsii_name="contentType")
|
|
10991
|
+
def content_type(self) -> typing.Optional[builtins.str]:
|
|
10992
|
+
'''The media type of the quick response content.'''
|
|
10993
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "contentType"))
|
|
10994
|
+
|
|
10995
|
+
@content_type.setter
|
|
10996
|
+
def content_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
10997
|
+
if __debug__:
|
|
10998
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6492a4d7ba49b236142344d0d0c57fc6ca8829e7d6ecf3259503a67f78948deb)
|
|
10999
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11000
|
+
jsii.set(self, "contentType", value) # pyright: ignore[reportArgumentType]
|
|
11001
|
+
|
|
11002
|
+
@builtins.property
|
|
11003
|
+
@jsii.member(jsii_name="description")
|
|
11004
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
11005
|
+
'''The description of the quick response.'''
|
|
11006
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
11007
|
+
|
|
11008
|
+
@description.setter
|
|
11009
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
11010
|
+
if __debug__:
|
|
11011
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d7acfcd0f2c542ee39a59469bc0ea12f5507951f336da00fcd37146edb79dc73)
|
|
11012
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11013
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
11014
|
+
|
|
11015
|
+
@builtins.property
|
|
11016
|
+
@jsii.member(jsii_name="groupingConfiguration")
|
|
11017
|
+
def grouping_configuration(
|
|
11018
|
+
self,
|
|
11019
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.GroupingConfigurationProperty"]]:
|
|
11020
|
+
'''The configuration information of the user groups that the quick response is accessible to.'''
|
|
11021
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.GroupingConfigurationProperty"]], jsii.get(self, "groupingConfiguration"))
|
|
11022
|
+
|
|
11023
|
+
@grouping_configuration.setter
|
|
11024
|
+
def grouping_configuration(
|
|
11025
|
+
self,
|
|
11026
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.GroupingConfigurationProperty"]],
|
|
11027
|
+
) -> None:
|
|
11028
|
+
if __debug__:
|
|
11029
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2ec3f31a69e16fce2ffc00474e1f2852bd0e753c6a3e973b7255a9d4d7f64a45)
|
|
11030
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11031
|
+
jsii.set(self, "groupingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
11032
|
+
|
|
11033
|
+
@builtins.property
|
|
11034
|
+
@jsii.member(jsii_name="isActive")
|
|
11035
|
+
def is_active(
|
|
11036
|
+
self,
|
|
11037
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11038
|
+
'''Whether the quick response is active.'''
|
|
11039
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "isActive"))
|
|
11040
|
+
|
|
11041
|
+
@is_active.setter
|
|
11042
|
+
def is_active(
|
|
11043
|
+
self,
|
|
11044
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
11045
|
+
) -> None:
|
|
11046
|
+
if __debug__:
|
|
11047
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5d8198e1c8f2c5b8c3703976122f2d1b18fe79607316aa0a9b449b4cd01026e9)
|
|
11048
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11049
|
+
jsii.set(self, "isActive", value) # pyright: ignore[reportArgumentType]
|
|
11050
|
+
|
|
11051
|
+
@builtins.property
|
|
11052
|
+
@jsii.member(jsii_name="language")
|
|
11053
|
+
def language(self) -> typing.Optional[builtins.str]:
|
|
11054
|
+
'''The language code value for the language in which the quick response is written.'''
|
|
11055
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "language"))
|
|
11056
|
+
|
|
11057
|
+
@language.setter
|
|
11058
|
+
def language(self, value: typing.Optional[builtins.str]) -> None:
|
|
11059
|
+
if __debug__:
|
|
11060
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6278f29e4c31c723a6c5cf2bf58f08721883768d361fa4186d576bffdeb71902)
|
|
11061
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11062
|
+
jsii.set(self, "language", value) # pyright: ignore[reportArgumentType]
|
|
11063
|
+
|
|
11064
|
+
@builtins.property
|
|
11065
|
+
@jsii.member(jsii_name="shortcutKey")
|
|
11066
|
+
def shortcut_key(self) -> typing.Optional[builtins.str]:
|
|
11067
|
+
'''The shortcut key of the quick response.'''
|
|
11068
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "shortcutKey"))
|
|
11069
|
+
|
|
11070
|
+
@shortcut_key.setter
|
|
11071
|
+
def shortcut_key(self, value: typing.Optional[builtins.str]) -> None:
|
|
11072
|
+
if __debug__:
|
|
11073
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1a0dc9541d897c6f038624fe355ba3d2374e8c28f367a9049dd7553a8b466138)
|
|
11074
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11075
|
+
jsii.set(self, "shortcutKey", value) # pyright: ignore[reportArgumentType]
|
|
11076
|
+
|
|
11077
|
+
@builtins.property
|
|
11078
|
+
@jsii.member(jsii_name="tags")
|
|
11079
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
11080
|
+
'''The tags used to organize, track, or control access for this resource.'''
|
|
11081
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
11082
|
+
|
|
11083
|
+
@tags.setter
|
|
11084
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
11085
|
+
if __debug__:
|
|
11086
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2727d6beae8f791672bb80625961e3def8262f5b47864ede2817419f60527d6a)
|
|
11087
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11088
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
11089
|
+
|
|
11090
|
+
@jsii.data_type(
|
|
11091
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponse.GroupingConfigurationProperty",
|
|
11092
|
+
jsii_struct_bases=[],
|
|
11093
|
+
name_mapping={"criteria": "criteria", "values": "values"},
|
|
11094
|
+
)
|
|
11095
|
+
class GroupingConfigurationProperty:
|
|
11096
|
+
def __init__(
|
|
11097
|
+
self,
|
|
11098
|
+
*,
|
|
11099
|
+
criteria: builtins.str,
|
|
11100
|
+
values: typing.Sequence[builtins.str],
|
|
11101
|
+
) -> None:
|
|
11102
|
+
'''The configuration information of the grouping of Amazon Q in Connect users.
|
|
11103
|
+
|
|
11104
|
+
:param criteria: The criteria used for grouping Amazon Q in Connect users. The following is the list of supported criteria values. - ``RoutingProfileArn`` : Grouping the users by their `Amazon Connect routing profile ARN <https://docs.aws.amazon.com/connect/latest/APIReference/API_RoutingProfile.html>`_ . User should have `SearchRoutingProfile <https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchRoutingProfiles.html>`_ and `DescribeRoutingProfile <https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeRoutingProfile.html>`_ permissions when setting criteria to this value.
|
|
11105
|
+
:param values: The list of values that define different groups of Amazon Q in Connect users. - When setting ``criteria`` to ``RoutingProfileArn`` , you need to provide a list of ARNs of `Amazon Connect routing profiles <https://docs.aws.amazon.com/connect/latest/APIReference/API_RoutingProfile.html>`_ as values of this parameter.
|
|
11106
|
+
|
|
11107
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-groupingconfiguration.html
|
|
11108
|
+
:exampleMetadata: fixture=_generated
|
|
11109
|
+
|
|
11110
|
+
Example::
|
|
11111
|
+
|
|
11112
|
+
# The code below shows an example of how to instantiate this type.
|
|
11113
|
+
# The values are placeholders you should change.
|
|
11114
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
11115
|
+
|
|
11116
|
+
grouping_configuration_property = wisdom.CfnQuickResponse.GroupingConfigurationProperty(
|
|
11117
|
+
criteria="criteria",
|
|
11118
|
+
values=["values"]
|
|
11119
|
+
)
|
|
11120
|
+
'''
|
|
11121
|
+
if __debug__:
|
|
11122
|
+
type_hints = typing.get_type_hints(_typecheckingstub__29ad467bcbf64a9ce7a7056818b168b5e373d2ea25459103334981acb63580bc)
|
|
11123
|
+
check_type(argname="argument criteria", value=criteria, expected_type=type_hints["criteria"])
|
|
11124
|
+
check_type(argname="argument values", value=values, expected_type=type_hints["values"])
|
|
11125
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11126
|
+
"criteria": criteria,
|
|
11127
|
+
"values": values,
|
|
11128
|
+
}
|
|
11129
|
+
|
|
11130
|
+
@builtins.property
|
|
11131
|
+
def criteria(self) -> builtins.str:
|
|
11132
|
+
'''The criteria used for grouping Amazon Q in Connect users.
|
|
11133
|
+
|
|
11134
|
+
The following is the list of supported criteria values.
|
|
11135
|
+
|
|
11136
|
+
- ``RoutingProfileArn`` : Grouping the users by their `Amazon Connect routing profile ARN <https://docs.aws.amazon.com/connect/latest/APIReference/API_RoutingProfile.html>`_ . User should have `SearchRoutingProfile <https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchRoutingProfiles.html>`_ and `DescribeRoutingProfile <https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeRoutingProfile.html>`_ permissions when setting criteria to this value.
|
|
11137
|
+
|
|
11138
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-groupingconfiguration.html#cfn-wisdom-quickresponse-groupingconfiguration-criteria
|
|
11139
|
+
'''
|
|
11140
|
+
result = self._values.get("criteria")
|
|
11141
|
+
assert result is not None, "Required property 'criteria' is missing"
|
|
11142
|
+
return typing.cast(builtins.str, result)
|
|
11143
|
+
|
|
11144
|
+
@builtins.property
|
|
11145
|
+
def values(self) -> typing.List[builtins.str]:
|
|
11146
|
+
'''The list of values that define different groups of Amazon Q in Connect users.
|
|
11147
|
+
|
|
11148
|
+
- When setting ``criteria`` to ``RoutingProfileArn`` , you need to provide a list of ARNs of `Amazon Connect routing profiles <https://docs.aws.amazon.com/connect/latest/APIReference/API_RoutingProfile.html>`_ as values of this parameter.
|
|
11149
|
+
|
|
11150
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-groupingconfiguration.html#cfn-wisdom-quickresponse-groupingconfiguration-values
|
|
11151
|
+
'''
|
|
11152
|
+
result = self._values.get("values")
|
|
11153
|
+
assert result is not None, "Required property 'values' is missing"
|
|
11154
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
11155
|
+
|
|
11156
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11157
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11158
|
+
|
|
11159
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11160
|
+
return not (rhs == self)
|
|
11161
|
+
|
|
11162
|
+
def __repr__(self) -> str:
|
|
11163
|
+
return "GroupingConfigurationProperty(%s)" % ", ".join(
|
|
11164
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11165
|
+
)
|
|
11166
|
+
|
|
11167
|
+
@jsii.data_type(
|
|
11168
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponse.QuickResponseContentProviderProperty",
|
|
11169
|
+
jsii_struct_bases=[],
|
|
11170
|
+
name_mapping={"content": "content"},
|
|
11171
|
+
)
|
|
11172
|
+
class QuickResponseContentProviderProperty:
|
|
11173
|
+
def __init__(self, *, content: typing.Optional[builtins.str] = None) -> None:
|
|
11174
|
+
'''The container quick response content.
|
|
11175
|
+
|
|
11176
|
+
:param content: The content of the quick response.
|
|
11177
|
+
|
|
11178
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontentprovider.html
|
|
11179
|
+
:exampleMetadata: fixture=_generated
|
|
11180
|
+
|
|
11181
|
+
Example::
|
|
11182
|
+
|
|
11183
|
+
# The code below shows an example of how to instantiate this type.
|
|
11184
|
+
# The values are placeholders you should change.
|
|
11185
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
11186
|
+
|
|
11187
|
+
quick_response_content_provider_property = wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
11188
|
+
content="content"
|
|
11189
|
+
)
|
|
11190
|
+
'''
|
|
11191
|
+
if __debug__:
|
|
11192
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bbc837db2935bb8ba68a94a7b51c5172ece37235c44ca2b1dfad732a04eb1154)
|
|
11193
|
+
check_type(argname="argument content", value=content, expected_type=type_hints["content"])
|
|
11194
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
11195
|
+
if content is not None:
|
|
11196
|
+
self._values["content"] = content
|
|
11197
|
+
|
|
11198
|
+
@builtins.property
|
|
11199
|
+
def content(self) -> typing.Optional[builtins.str]:
|
|
11200
|
+
'''The content of the quick response.
|
|
11201
|
+
|
|
11202
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontentprovider.html#cfn-wisdom-quickresponse-quickresponsecontentprovider-content
|
|
11203
|
+
'''
|
|
11204
|
+
result = self._values.get("content")
|
|
11205
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11206
|
+
|
|
11207
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11208
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11209
|
+
|
|
11210
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11211
|
+
return not (rhs == self)
|
|
11212
|
+
|
|
11213
|
+
def __repr__(self) -> str:
|
|
11214
|
+
return "QuickResponseContentProviderProperty(%s)" % ", ".join(
|
|
11215
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11216
|
+
)
|
|
11217
|
+
|
|
11218
|
+
@jsii.data_type(
|
|
11219
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponse.QuickResponseContentsProperty",
|
|
11220
|
+
jsii_struct_bases=[],
|
|
11221
|
+
name_mapping={"markdown": "markdown", "plain_text": "plainText"},
|
|
11222
|
+
)
|
|
11223
|
+
class QuickResponseContentsProperty:
|
|
11224
|
+
def __init__(
|
|
11225
|
+
self,
|
|
11226
|
+
*,
|
|
11227
|
+
markdown: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQuickResponse.QuickResponseContentProviderProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11228
|
+
plain_text: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQuickResponse.QuickResponseContentProviderProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11229
|
+
) -> None:
|
|
11230
|
+
'''The content of the quick response stored in different media types.
|
|
11231
|
+
|
|
11232
|
+
:param markdown: The quick response content in markdown format.
|
|
11233
|
+
:param plain_text: The quick response content in plaintext format.
|
|
11234
|
+
|
|
11235
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontents.html
|
|
11236
|
+
:exampleMetadata: fixture=_generated
|
|
11237
|
+
|
|
11238
|
+
Example::
|
|
11239
|
+
|
|
11240
|
+
# The code below shows an example of how to instantiate this type.
|
|
11241
|
+
# The values are placeholders you should change.
|
|
11242
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
11243
|
+
|
|
11244
|
+
quick_response_contents_property = wisdom.CfnQuickResponse.QuickResponseContentsProperty(
|
|
11245
|
+
markdown=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
11246
|
+
content="content"
|
|
11247
|
+
),
|
|
11248
|
+
plain_text=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
11249
|
+
content="content"
|
|
11250
|
+
)
|
|
11251
|
+
)
|
|
11252
|
+
'''
|
|
11253
|
+
if __debug__:
|
|
11254
|
+
type_hints = typing.get_type_hints(_typecheckingstub__41295c77edcd7270c3f3a36764ea805915fa2a44214fd58b6530df7e0fac5f07)
|
|
11255
|
+
check_type(argname="argument markdown", value=markdown, expected_type=type_hints["markdown"])
|
|
11256
|
+
check_type(argname="argument plain_text", value=plain_text, expected_type=type_hints["plain_text"])
|
|
11257
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
11258
|
+
if markdown is not None:
|
|
11259
|
+
self._values["markdown"] = markdown
|
|
11260
|
+
if plain_text is not None:
|
|
11261
|
+
self._values["plain_text"] = plain_text
|
|
11262
|
+
|
|
11263
|
+
@builtins.property
|
|
11264
|
+
def markdown(
|
|
11265
|
+
self,
|
|
11266
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]]:
|
|
11267
|
+
'''The quick response content in markdown format.
|
|
11268
|
+
|
|
11269
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontents.html#cfn-wisdom-quickresponse-quickresponsecontents-markdown
|
|
11270
|
+
'''
|
|
11271
|
+
result = self._values.get("markdown")
|
|
11272
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]], result)
|
|
11273
|
+
|
|
11274
|
+
@builtins.property
|
|
11275
|
+
def plain_text(
|
|
11276
|
+
self,
|
|
11277
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]]:
|
|
11278
|
+
'''The quick response content in plaintext format.
|
|
11279
|
+
|
|
11280
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontents.html#cfn-wisdom-quickresponse-quickresponsecontents-plaintext
|
|
11281
|
+
'''
|
|
11282
|
+
result = self._values.get("plain_text")
|
|
11283
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]], result)
|
|
11284
|
+
|
|
11285
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11286
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11287
|
+
|
|
11288
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11289
|
+
return not (rhs == self)
|
|
11290
|
+
|
|
11291
|
+
def __repr__(self) -> str:
|
|
11292
|
+
return "QuickResponseContentsProperty(%s)" % ", ".join(
|
|
11293
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11294
|
+
)
|
|
11295
|
+
|
|
11296
|
+
|
|
11297
|
+
@jsii.data_type(
|
|
11298
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponseProps",
|
|
11299
|
+
jsii_struct_bases=[],
|
|
11300
|
+
name_mapping={
|
|
11301
|
+
"content": "content",
|
|
11302
|
+
"knowledge_base_arn": "knowledgeBaseArn",
|
|
11303
|
+
"name": "name",
|
|
11304
|
+
"channels": "channels",
|
|
11305
|
+
"content_type": "contentType",
|
|
11306
|
+
"description": "description",
|
|
11307
|
+
"grouping_configuration": "groupingConfiguration",
|
|
11308
|
+
"is_active": "isActive",
|
|
11309
|
+
"language": "language",
|
|
11310
|
+
"shortcut_key": "shortcutKey",
|
|
11311
|
+
"tags": "tags",
|
|
11312
|
+
},
|
|
11313
|
+
)
|
|
11314
|
+
class CfnQuickResponseProps:
|
|
11315
|
+
def __init__(
|
|
11316
|
+
self,
|
|
11317
|
+
*,
|
|
11318
|
+
content: typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
11319
|
+
knowledge_base_arn: builtins.str,
|
|
11320
|
+
name: builtins.str,
|
|
11321
|
+
channels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11322
|
+
content_type: typing.Optional[builtins.str] = None,
|
|
11323
|
+
description: typing.Optional[builtins.str] = None,
|
|
11324
|
+
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11325
|
+
is_active: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11326
|
+
language: typing.Optional[builtins.str] = None,
|
|
11327
|
+
shortcut_key: typing.Optional[builtins.str] = None,
|
|
11328
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11329
|
+
) -> None:
|
|
11330
|
+
'''Properties for defining a ``CfnQuickResponse``.
|
|
11331
|
+
|
|
11332
|
+
:param content: The content of the quick response.
|
|
11333
|
+
:param knowledge_base_arn: The Amazon Resource Name (ARN) of the knowledge base.
|
|
11334
|
+
:param name: The name of the quick response.
|
|
11335
|
+
:param channels: The Amazon Connect contact channels this quick response applies to. The supported contact channel types include ``Chat`` .
|
|
11336
|
+
:param content_type: The media type of the quick response content. - Use ``application/x.quickresponse;format=plain`` for quick response written in plain text. - Use ``application/x.quickresponse;format=markdown`` for quick response written in richtext.
|
|
11337
|
+
:param description: The description of the quick response.
|
|
11338
|
+
:param grouping_configuration: The configuration information of the user groups that the quick response is accessible to.
|
|
11339
|
+
:param is_active: Whether the quick response is active.
|
|
11340
|
+
:param language: The language code value for the language in which the quick response is written. The supported language codes include ``de_DE`` , ``en_US`` , ``es_ES`` , ``fr_FR`` , ``id_ID`` , ``it_IT`` , ``ja_JP`` , ``ko_KR`` , ``pt_BR`` , ``zh_CN`` , ``zh_TW``
|
|
11341
|
+
:param shortcut_key: The shortcut key of the quick response. The value should be unique across the knowledge base.
|
|
11342
|
+
:param tags: The tags used to organize, track, or control access for this resource.
|
|
11343
|
+
|
|
11344
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html
|
|
11345
|
+
:exampleMetadata: fixture=_generated
|
|
11346
|
+
|
|
11347
|
+
Example::
|
|
11348
|
+
|
|
11349
|
+
# The code below shows an example of how to instantiate this type.
|
|
11350
|
+
# The values are placeholders you should change.
|
|
11351
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
11352
|
+
|
|
11353
|
+
cfn_quick_response_props = wisdom.CfnQuickResponseProps(
|
|
11354
|
+
content=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
11355
|
+
content="content"
|
|
11356
|
+
),
|
|
11357
|
+
knowledge_base_arn="knowledgeBaseArn",
|
|
11358
|
+
name="name",
|
|
11359
|
+
|
|
11360
|
+
# the properties below are optional
|
|
11361
|
+
channels=["channels"],
|
|
11362
|
+
content_type="contentType",
|
|
11363
|
+
description="description",
|
|
11364
|
+
grouping_configuration=wisdom.CfnQuickResponse.GroupingConfigurationProperty(
|
|
11365
|
+
criteria="criteria",
|
|
11366
|
+
values=["values"]
|
|
11367
|
+
),
|
|
11368
|
+
is_active=False,
|
|
11369
|
+
language="language",
|
|
11370
|
+
shortcut_key="shortcutKey",
|
|
11371
|
+
tags=[CfnTag(
|
|
11372
|
+
key="key",
|
|
11373
|
+
value="value"
|
|
11374
|
+
)]
|
|
11375
|
+
)
|
|
11376
|
+
'''
|
|
11377
|
+
if __debug__:
|
|
11378
|
+
type_hints = typing.get_type_hints(_typecheckingstub__067c5855940164369fb121429e1673fedfb78768ee6ca862e7facdd01b2c15ac)
|
|
11379
|
+
check_type(argname="argument content", value=content, expected_type=type_hints["content"])
|
|
11380
|
+
check_type(argname="argument knowledge_base_arn", value=knowledge_base_arn, expected_type=type_hints["knowledge_base_arn"])
|
|
11381
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
11382
|
+
check_type(argname="argument channels", value=channels, expected_type=type_hints["channels"])
|
|
11383
|
+
check_type(argname="argument content_type", value=content_type, expected_type=type_hints["content_type"])
|
|
11384
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
11385
|
+
check_type(argname="argument grouping_configuration", value=grouping_configuration, expected_type=type_hints["grouping_configuration"])
|
|
11386
|
+
check_type(argname="argument is_active", value=is_active, expected_type=type_hints["is_active"])
|
|
11387
|
+
check_type(argname="argument language", value=language, expected_type=type_hints["language"])
|
|
11388
|
+
check_type(argname="argument shortcut_key", value=shortcut_key, expected_type=type_hints["shortcut_key"])
|
|
11389
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
11390
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11391
|
+
"content": content,
|
|
11392
|
+
"knowledge_base_arn": knowledge_base_arn,
|
|
11393
|
+
"name": name,
|
|
11394
|
+
}
|
|
11395
|
+
if channels is not None:
|
|
11396
|
+
self._values["channels"] = channels
|
|
11397
|
+
if content_type is not None:
|
|
11398
|
+
self._values["content_type"] = content_type
|
|
11399
|
+
if description is not None:
|
|
11400
|
+
self._values["description"] = description
|
|
11401
|
+
if grouping_configuration is not None:
|
|
11402
|
+
self._values["grouping_configuration"] = grouping_configuration
|
|
11403
|
+
if is_active is not None:
|
|
11404
|
+
self._values["is_active"] = is_active
|
|
11405
|
+
if language is not None:
|
|
11406
|
+
self._values["language"] = language
|
|
11407
|
+
if shortcut_key is not None:
|
|
11408
|
+
self._values["shortcut_key"] = shortcut_key
|
|
11409
|
+
if tags is not None:
|
|
11410
|
+
self._values["tags"] = tags
|
|
11411
|
+
|
|
11412
|
+
@builtins.property
|
|
11413
|
+
def content(
|
|
11414
|
+
self,
|
|
11415
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnQuickResponse.QuickResponseContentProviderProperty]:
|
|
11416
|
+
'''The content of the quick response.
|
|
11417
|
+
|
|
11418
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-content
|
|
11419
|
+
'''
|
|
11420
|
+
result = self._values.get("content")
|
|
11421
|
+
assert result is not None, "Required property 'content' is missing"
|
|
11422
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnQuickResponse.QuickResponseContentProviderProperty], result)
|
|
11423
|
+
|
|
11424
|
+
@builtins.property
|
|
11425
|
+
def knowledge_base_arn(self) -> builtins.str:
|
|
11426
|
+
'''The Amazon Resource Name (ARN) of the knowledge base.
|
|
11427
|
+
|
|
11428
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-knowledgebasearn
|
|
11429
|
+
'''
|
|
11430
|
+
result = self._values.get("knowledge_base_arn")
|
|
11431
|
+
assert result is not None, "Required property 'knowledge_base_arn' is missing"
|
|
11432
|
+
return typing.cast(builtins.str, result)
|
|
11433
|
+
|
|
11434
|
+
@builtins.property
|
|
11435
|
+
def name(self) -> builtins.str:
|
|
11436
|
+
'''The name of the quick response.
|
|
11437
|
+
|
|
11438
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-name
|
|
11439
|
+
'''
|
|
11440
|
+
result = self._values.get("name")
|
|
11441
|
+
assert result is not None, "Required property 'name' is missing"
|
|
11442
|
+
return typing.cast(builtins.str, result)
|
|
11443
|
+
|
|
11444
|
+
@builtins.property
|
|
11445
|
+
def channels(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
11446
|
+
'''The Amazon Connect contact channels this quick response applies to.
|
|
11447
|
+
|
|
11448
|
+
The supported contact channel types include ``Chat`` .
|
|
11449
|
+
|
|
11450
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-channels
|
|
11451
|
+
'''
|
|
11452
|
+
result = self._values.get("channels")
|
|
11453
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
11454
|
+
|
|
11455
|
+
@builtins.property
|
|
11456
|
+
def content_type(self) -> typing.Optional[builtins.str]:
|
|
11457
|
+
'''The media type of the quick response content.
|
|
11458
|
+
|
|
11459
|
+
- Use ``application/x.quickresponse;format=plain`` for quick response written in plain text.
|
|
11460
|
+
- Use ``application/x.quickresponse;format=markdown`` for quick response written in richtext.
|
|
11461
|
+
|
|
11462
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-contenttype
|
|
11463
|
+
'''
|
|
11464
|
+
result = self._values.get("content_type")
|
|
11465
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11466
|
+
|
|
11467
|
+
@builtins.property
|
|
11468
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
11469
|
+
'''The description of the quick response.
|
|
11470
|
+
|
|
11471
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-description
|
|
11472
|
+
'''
|
|
11473
|
+
result = self._values.get("description")
|
|
11474
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11475
|
+
|
|
11476
|
+
@builtins.property
|
|
11477
|
+
def grouping_configuration(
|
|
11478
|
+
self,
|
|
11479
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnQuickResponse.GroupingConfigurationProperty]]:
|
|
11480
|
+
'''The configuration information of the user groups that the quick response is accessible to.
|
|
11481
|
+
|
|
11482
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-groupingconfiguration
|
|
11483
|
+
'''
|
|
11484
|
+
result = self._values.get("grouping_configuration")
|
|
11485
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnQuickResponse.GroupingConfigurationProperty]], result)
|
|
11486
|
+
|
|
11487
|
+
@builtins.property
|
|
11488
|
+
def is_active(
|
|
11489
|
+
self,
|
|
11490
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11491
|
+
'''Whether the quick response is active.
|
|
11492
|
+
|
|
11493
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-isactive
|
|
11494
|
+
'''
|
|
11495
|
+
result = self._values.get("is_active")
|
|
11496
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
11497
|
+
|
|
11498
|
+
@builtins.property
|
|
11499
|
+
def language(self) -> typing.Optional[builtins.str]:
|
|
11500
|
+
'''The language code value for the language in which the quick response is written.
|
|
11501
|
+
|
|
11502
|
+
The supported language codes include ``de_DE`` , ``en_US`` , ``es_ES`` , ``fr_FR`` , ``id_ID`` , ``it_IT`` , ``ja_JP`` , ``ko_KR`` , ``pt_BR`` , ``zh_CN`` , ``zh_TW``
|
|
11503
|
+
|
|
11504
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-language
|
|
11505
|
+
'''
|
|
11506
|
+
result = self._values.get("language")
|
|
11507
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11508
|
+
|
|
11509
|
+
@builtins.property
|
|
11510
|
+
def shortcut_key(self) -> typing.Optional[builtins.str]:
|
|
11511
|
+
'''The shortcut key of the quick response.
|
|
11512
|
+
|
|
11513
|
+
The value should be unique across the knowledge base.
|
|
11514
|
+
|
|
11515
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-shortcutkey
|
|
11516
|
+
'''
|
|
11517
|
+
result = self._values.get("shortcut_key")
|
|
11518
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11519
|
+
|
|
11520
|
+
@builtins.property
|
|
11521
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
11522
|
+
'''The tags used to organize, track, or control access for this resource.
|
|
11523
|
+
|
|
11524
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-tags
|
|
11525
|
+
'''
|
|
11526
|
+
result = self._values.get("tags")
|
|
11527
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
11528
|
+
|
|
11529
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11530
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11531
|
+
|
|
11532
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11533
|
+
return not (rhs == self)
|
|
11534
|
+
|
|
11535
|
+
def __repr__(self) -> str:
|
|
11536
|
+
return "CfnQuickResponseProps(%s)" % ", ".join(
|
|
11537
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11538
|
+
)
|
|
11539
|
+
|
|
11540
|
+
|
|
11541
|
+
__all__ = [
|
|
11542
|
+
"CfnAIAgent",
|
|
11543
|
+
"CfnAIAgentProps",
|
|
11544
|
+
"CfnAIAgentVersion",
|
|
11545
|
+
"CfnAIAgentVersionProps",
|
|
11546
|
+
"CfnAIGuardrail",
|
|
11547
|
+
"CfnAIGuardrailProps",
|
|
11548
|
+
"CfnAIGuardrailVersion",
|
|
11549
|
+
"CfnAIGuardrailVersionProps",
|
|
11550
|
+
"CfnAIPrompt",
|
|
11551
|
+
"CfnAIPromptProps",
|
|
11552
|
+
"CfnAIPromptVersion",
|
|
11553
|
+
"CfnAIPromptVersionProps",
|
|
11554
|
+
"CfnAssistant",
|
|
11555
|
+
"CfnAssistantAssociation",
|
|
11556
|
+
"CfnAssistantAssociationProps",
|
|
11557
|
+
"CfnAssistantProps",
|
|
11558
|
+
"CfnKnowledgeBase",
|
|
11559
|
+
"CfnKnowledgeBaseProps",
|
|
11560
|
+
"CfnMessageTemplate",
|
|
11561
|
+
"CfnMessageTemplateProps",
|
|
11562
|
+
"CfnMessageTemplateVersion",
|
|
11563
|
+
"CfnMessageTemplateVersionProps",
|
|
11564
|
+
"CfnQuickResponse",
|
|
11565
|
+
"CfnQuickResponseProps",
|
|
11566
|
+
]
|
|
11567
|
+
|
|
11568
|
+
publication.publish()
|
|
11569
|
+
|
|
11570
|
+
def _typecheckingstub__e4d43de9ccaeb31eba5b0b613ecac25531a87bb9137652388e6196070f4622ab(
|
|
11571
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
11572
|
+
id: builtins.str,
|
|
11573
|
+
*,
|
|
11574
|
+
assistant_id: builtins.str,
|
|
11575
|
+
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
11576
|
+
type: builtins.str,
|
|
11577
|
+
description: typing.Optional[builtins.str] = None,
|
|
11578
|
+
name: typing.Optional[builtins.str] = None,
|
|
11579
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11580
|
+
) -> None:
|
|
11581
|
+
"""Type checking stubs"""
|
|
11582
|
+
pass
|
|
11583
|
+
|
|
11584
|
+
def _typecheckingstub__daf9bd162ab4eaa6b11972bcaf8372498a47b4ad8cf111130cabfae3f675d2b4(
|
|
11585
|
+
inspector: _TreeInspector_488e0dd5,
|
|
11586
|
+
) -> None:
|
|
11587
|
+
"""Type checking stubs"""
|
|
11588
|
+
pass
|
|
11589
|
+
|
|
11590
|
+
def _typecheckingstub__569f9e85834b9b380045c7e9789b3ac0684022e3b37642b34e232ba9b451ade6(
|
|
11591
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
11592
|
+
) -> None:
|
|
11593
|
+
"""Type checking stubs"""
|
|
11594
|
+
pass
|
|
11595
|
+
|
|
11596
|
+
def _typecheckingstub__b3d8fd38839efd97edc463e08adcbeb6d1b964aa278b19d07017fb40c806bb19(
|
|
11597
|
+
value: builtins.str,
|
|
11598
|
+
) -> None:
|
|
11599
|
+
"""Type checking stubs"""
|
|
11600
|
+
pass
|
|
11601
|
+
|
|
11602
|
+
def _typecheckingstub__2d07c289ddb2abe8b14c5f581386f3377fb7266b5b099c89c1b142b4bbd9d769(
|
|
11603
|
+
value: typing.Union[_IResolvable_da3f097b, CfnAIAgent.AIAgentConfigurationProperty],
|
|
11604
|
+
) -> None:
|
|
11605
|
+
"""Type checking stubs"""
|
|
11606
|
+
pass
|
|
11607
|
+
|
|
11608
|
+
def _typecheckingstub__9b90fdd18e60e92e1589e2bf61b55c6cd7758b9da5e26d00525cb08a2ad13830(
|
|
11609
|
+
value: builtins.str,
|
|
11610
|
+
) -> None:
|
|
11611
|
+
"""Type checking stubs"""
|
|
11612
|
+
pass
|
|
11613
|
+
|
|
11614
|
+
def _typecheckingstub__6380f3badbada0c208691bd5242dfabe1122f10b446d77f1ae5ad0c9da456ae8(
|
|
11615
|
+
value: typing.Optional[builtins.str],
|
|
11616
|
+
) -> None:
|
|
11617
|
+
"""Type checking stubs"""
|
|
11618
|
+
pass
|
|
11619
|
+
|
|
11620
|
+
def _typecheckingstub__982490f39ff188d23898421a1623ad1489db32be592625d58e01c368c7568247(
|
|
11621
|
+
value: typing.Optional[builtins.str],
|
|
11622
|
+
) -> None:
|
|
11623
|
+
"""Type checking stubs"""
|
|
11624
|
+
pass
|
|
11625
|
+
|
|
11626
|
+
def _typecheckingstub__2e3ed01afbf4aa2c01303d467dcbf5c5cd3fb267902b917f3c4f5fdd0d83ccdc(
|
|
11627
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
11628
|
+
) -> None:
|
|
11629
|
+
"""Type checking stubs"""
|
|
11630
|
+
pass
|
|
11631
|
+
|
|
11632
|
+
def _typecheckingstub__8cb84ad0dc27ffdae65e4e739c98ea6a4e7c36340f15c21ae83a2225ff763ba3(
|
|
11633
|
+
*,
|
|
11634
|
+
answer_recommendation_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11635
|
+
manual_search_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.ManualSearchAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11636
|
+
self_service_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.SelfServiceAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11637
|
+
) -> None:
|
|
11638
|
+
"""Type checking stubs"""
|
|
11639
|
+
pass
|
|
11640
|
+
|
|
11641
|
+
def _typecheckingstub__6847cf788b7def362d576a512b579b2a08c25837003298b7c57254d1dfb45112(
|
|
11642
|
+
*,
|
|
11643
|
+
answer_generation_ai_guardrail_id: typing.Optional[builtins.str] = None,
|
|
11644
|
+
answer_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
11645
|
+
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,
|
|
11646
|
+
intent_labeling_generation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
11647
|
+
locale: typing.Optional[builtins.str] = None,
|
|
11648
|
+
query_reformulation_ai_prompt_id: typing.Optional[builtins.str] = None,
|
|
11649
|
+
) -> None:
|
|
11650
|
+
"""Type checking stubs"""
|
|
11651
|
+
pass
|
|
11652
|
+
|
|
11653
|
+
def _typecheckingstub__c351d3e3386a19a82d6920c115ac6f8c911a12da4a117a9c0676a8ff0038fd41(
|
|
11654
|
+
*,
|
|
11655
|
+
knowledge_base_association_configuration_data: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
10725
11656
|
) -> None:
|
|
10726
11657
|
"""Type checking stubs"""
|
|
10727
11658
|
pass
|
|
@@ -11655,6 +12586,7 @@ def _typecheckingstub__4d99067595817364fbb03fa017437b616b3c32bdfb38c386a909328ac
|
|
|
11655
12586
|
description: typing.Optional[builtins.str] = None,
|
|
11656
12587
|
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11657
12588
|
language: typing.Optional[builtins.str] = None,
|
|
12589
|
+
message_template_attachments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.MessageTemplateAttachmentProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11658
12590
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11659
12591
|
) -> None:
|
|
11660
12592
|
"""Type checking stubs"""
|
|
@@ -11720,6 +12652,12 @@ def _typecheckingstub__f4bfbbc60d2eb951b3081015f23b57de459d734cb6ca7e17db3b5ea28
|
|
|
11720
12652
|
"""Type checking stubs"""
|
|
11721
12653
|
pass
|
|
11722
12654
|
|
|
12655
|
+
def _typecheckingstub__99e58f577d070d3c392b7519e6ec169337ff707d8d0fbec1d5b147b3eb27b11a(
|
|
12656
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnMessageTemplate.MessageTemplateAttachmentProperty]]]],
|
|
12657
|
+
) -> None:
|
|
12658
|
+
"""Type checking stubs"""
|
|
12659
|
+
pass
|
|
12660
|
+
|
|
11723
12661
|
def _typecheckingstub__2a8749d4385c7e2fd758f8b86ee5b36af0b25c3e531a4c7936791aa080a35421(
|
|
11724
12662
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
11725
12663
|
) -> None:
|
|
@@ -11839,6 +12777,15 @@ def _typecheckingstub__fe8ac046ae2df337296b1f5a22706eb034910def9d9a88cab8bf76dbc
|
|
|
11839
12777
|
"""Type checking stubs"""
|
|
11840
12778
|
pass
|
|
11841
12779
|
|
|
12780
|
+
def _typecheckingstub__733b704f810bd9a3eb9d75f4f3b82b249fd0f3b3c3429da2875584133affc320(
|
|
12781
|
+
*,
|
|
12782
|
+
attachment_name: builtins.str,
|
|
12783
|
+
s3_presigned_url: builtins.str,
|
|
12784
|
+
attachment_id: typing.Optional[builtins.str] = None,
|
|
12785
|
+
) -> None:
|
|
12786
|
+
"""Type checking stubs"""
|
|
12787
|
+
pass
|
|
12788
|
+
|
|
11842
12789
|
def _typecheckingstub__94be2b3e247d65fdf9ede2a9ef720965133047f24bfea2e9cda8dddc0b98feb1(
|
|
11843
12790
|
*,
|
|
11844
12791
|
agent_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.AgentAttributesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -11896,6 +12843,7 @@ def _typecheckingstub__ec25e0f87d8fdbd9dfa333317dee4b1a02318078d19b7a6a2b5abe028
|
|
|
11896
12843
|
description: typing.Optional[builtins.str] = None,
|
|
11897
12844
|
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11898
12845
|
language: typing.Optional[builtins.str] = None,
|
|
12846
|
+
message_template_attachments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.MessageTemplateAttachmentProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11899
12847
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11900
12848
|
) -> None:
|
|
11901
12849
|
"""Type checking stubs"""
|
|
@@ -11942,3 +12890,140 @@ def _typecheckingstub__c0b2a184adf6bc572d2575c7f11c4caa1ebc990936a7af469c6f91288
|
|
|
11942
12890
|
) -> None:
|
|
11943
12891
|
"""Type checking stubs"""
|
|
11944
12892
|
pass
|
|
12893
|
+
|
|
12894
|
+
def _typecheckingstub__1ea732c0aa1c75214dd603b6887da6352fe66fd3d98e2168fdc3654ffd9d1629(
|
|
12895
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
12896
|
+
id: builtins.str,
|
|
12897
|
+
*,
|
|
12898
|
+
content: typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
12899
|
+
knowledge_base_arn: builtins.str,
|
|
12900
|
+
name: builtins.str,
|
|
12901
|
+
channels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
12902
|
+
content_type: typing.Optional[builtins.str] = None,
|
|
12903
|
+
description: typing.Optional[builtins.str] = None,
|
|
12904
|
+
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12905
|
+
is_active: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
12906
|
+
language: typing.Optional[builtins.str] = None,
|
|
12907
|
+
shortcut_key: typing.Optional[builtins.str] = None,
|
|
12908
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12909
|
+
) -> None:
|
|
12910
|
+
"""Type checking stubs"""
|
|
12911
|
+
pass
|
|
12912
|
+
|
|
12913
|
+
def _typecheckingstub__d749875d4fcc7d4242bef84ff9a9085b8827dd339b292a8c0429c8dd8b8f394a(
|
|
12914
|
+
inspector: _TreeInspector_488e0dd5,
|
|
12915
|
+
) -> None:
|
|
12916
|
+
"""Type checking stubs"""
|
|
12917
|
+
pass
|
|
12918
|
+
|
|
12919
|
+
def _typecheckingstub__55603fa5b935508baa2dfab5656797245339ea337e135b1dc21a3a68319e401a(
|
|
12920
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
12921
|
+
) -> None:
|
|
12922
|
+
"""Type checking stubs"""
|
|
12923
|
+
pass
|
|
12924
|
+
|
|
12925
|
+
def _typecheckingstub__f9dfed0b86363ddee2b73b59a4f8b9559cdd5914e6289f92f15feac8409c416b(
|
|
12926
|
+
value: typing.Union[_IResolvable_da3f097b, CfnQuickResponse.QuickResponseContentProviderProperty],
|
|
12927
|
+
) -> None:
|
|
12928
|
+
"""Type checking stubs"""
|
|
12929
|
+
pass
|
|
12930
|
+
|
|
12931
|
+
def _typecheckingstub__2144e7491ad5d7946aab6f020cc3753c00cd404c7ff07340ab3cd7d070d37993(
|
|
12932
|
+
value: builtins.str,
|
|
12933
|
+
) -> None:
|
|
12934
|
+
"""Type checking stubs"""
|
|
12935
|
+
pass
|
|
12936
|
+
|
|
12937
|
+
def _typecheckingstub__5165c48c2f03231e6cd852d113854e793302bd6e08d080e9cccd919f79e3565e(
|
|
12938
|
+
value: builtins.str,
|
|
12939
|
+
) -> None:
|
|
12940
|
+
"""Type checking stubs"""
|
|
12941
|
+
pass
|
|
12942
|
+
|
|
12943
|
+
def _typecheckingstub__e83f69c01eda758c5d6ec662eb36e57ab3b0b525a49f25b680b666ab899f00be(
|
|
12944
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
12945
|
+
) -> None:
|
|
12946
|
+
"""Type checking stubs"""
|
|
12947
|
+
pass
|
|
12948
|
+
|
|
12949
|
+
def _typecheckingstub__6492a4d7ba49b236142344d0d0c57fc6ca8829e7d6ecf3259503a67f78948deb(
|
|
12950
|
+
value: typing.Optional[builtins.str],
|
|
12951
|
+
) -> None:
|
|
12952
|
+
"""Type checking stubs"""
|
|
12953
|
+
pass
|
|
12954
|
+
|
|
12955
|
+
def _typecheckingstub__d7acfcd0f2c542ee39a59469bc0ea12f5507951f336da00fcd37146edb79dc73(
|
|
12956
|
+
value: typing.Optional[builtins.str],
|
|
12957
|
+
) -> None:
|
|
12958
|
+
"""Type checking stubs"""
|
|
12959
|
+
pass
|
|
12960
|
+
|
|
12961
|
+
def _typecheckingstub__2ec3f31a69e16fce2ffc00474e1f2852bd0e753c6a3e973b7255a9d4d7f64a45(
|
|
12962
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnQuickResponse.GroupingConfigurationProperty]],
|
|
12963
|
+
) -> None:
|
|
12964
|
+
"""Type checking stubs"""
|
|
12965
|
+
pass
|
|
12966
|
+
|
|
12967
|
+
def _typecheckingstub__5d8198e1c8f2c5b8c3703976122f2d1b18fe79607316aa0a9b449b4cd01026e9(
|
|
12968
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
12969
|
+
) -> None:
|
|
12970
|
+
"""Type checking stubs"""
|
|
12971
|
+
pass
|
|
12972
|
+
|
|
12973
|
+
def _typecheckingstub__6278f29e4c31c723a6c5cf2bf58f08721883768d361fa4186d576bffdeb71902(
|
|
12974
|
+
value: typing.Optional[builtins.str],
|
|
12975
|
+
) -> None:
|
|
12976
|
+
"""Type checking stubs"""
|
|
12977
|
+
pass
|
|
12978
|
+
|
|
12979
|
+
def _typecheckingstub__1a0dc9541d897c6f038624fe355ba3d2374e8c28f367a9049dd7553a8b466138(
|
|
12980
|
+
value: typing.Optional[builtins.str],
|
|
12981
|
+
) -> None:
|
|
12982
|
+
"""Type checking stubs"""
|
|
12983
|
+
pass
|
|
12984
|
+
|
|
12985
|
+
def _typecheckingstub__2727d6beae8f791672bb80625961e3def8262f5b47864ede2817419f60527d6a(
|
|
12986
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
12987
|
+
) -> None:
|
|
12988
|
+
"""Type checking stubs"""
|
|
12989
|
+
pass
|
|
12990
|
+
|
|
12991
|
+
def _typecheckingstub__29ad467bcbf64a9ce7a7056818b168b5e373d2ea25459103334981acb63580bc(
|
|
12992
|
+
*,
|
|
12993
|
+
criteria: builtins.str,
|
|
12994
|
+
values: typing.Sequence[builtins.str],
|
|
12995
|
+
) -> None:
|
|
12996
|
+
"""Type checking stubs"""
|
|
12997
|
+
pass
|
|
12998
|
+
|
|
12999
|
+
def _typecheckingstub__bbc837db2935bb8ba68a94a7b51c5172ece37235c44ca2b1dfad732a04eb1154(
|
|
13000
|
+
*,
|
|
13001
|
+
content: typing.Optional[builtins.str] = None,
|
|
13002
|
+
) -> None:
|
|
13003
|
+
"""Type checking stubs"""
|
|
13004
|
+
pass
|
|
13005
|
+
|
|
13006
|
+
def _typecheckingstub__41295c77edcd7270c3f3a36764ea805915fa2a44214fd58b6530df7e0fac5f07(
|
|
13007
|
+
*,
|
|
13008
|
+
markdown: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13009
|
+
plain_text: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13010
|
+
) -> None:
|
|
13011
|
+
"""Type checking stubs"""
|
|
13012
|
+
pass
|
|
13013
|
+
|
|
13014
|
+
def _typecheckingstub__067c5855940164369fb121429e1673fedfb78768ee6ca862e7facdd01b2c15ac(
|
|
13015
|
+
*,
|
|
13016
|
+
content: typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
13017
|
+
knowledge_base_arn: builtins.str,
|
|
13018
|
+
name: builtins.str,
|
|
13019
|
+
channels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
13020
|
+
content_type: typing.Optional[builtins.str] = None,
|
|
13021
|
+
description: typing.Optional[builtins.str] = None,
|
|
13022
|
+
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13023
|
+
is_active: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
13024
|
+
language: typing.Optional[builtins.str] = None,
|
|
13025
|
+
shortcut_key: typing.Optional[builtins.str] = None,
|
|
13026
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13027
|
+
) -> None:
|
|
13028
|
+
"""Type checking stubs"""
|
|
13029
|
+
pass
|