aws-cdk-lib 2.195.0__py3-none-any.whl → 2.224.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 +1806 -417
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1245 -215
- aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +618 -91
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +136 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +350 -94
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +2188 -94
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +165 -60
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +370 -42
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1462 -163
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +7867 -727
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +611 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +258 -32
- aws_cdk/aws_chatbot/__init__.py +76 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +362 -189
- aws_cdk/aws_cloudfront/__init__.py +2188 -674
- aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
- aws_cdk/aws_cloudtrail/__init__.py +311 -21
- aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1303 -135
- aws_cdk/aws_codecommit/__init__.py +29 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +130 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +177 -71
- aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +22 -2
- aws_cdk/aws_cognito/__init__.py +905 -92
- aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +227 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +1514 -977
- aws_cdk/aws_datazone/__init__.py +7426 -1763
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +511 -36
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +350 -49
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +386 -16
- aws_cdk/aws_dynamodb/__init__.py +1479 -170
- aws_cdk/aws_ec2/__init__.py +10465 -1335
- aws_cdk/aws_ecr/__init__.py +637 -43
- aws_cdk/aws_ecr_assets/__init__.py +10 -0
- aws_cdk/aws_ecs/__init__.py +6629 -490
- aws_cdk/aws_ecs_patterns/__init__.py +124 -12
- aws_cdk/aws_efs/__init__.py +276 -24
- aws_cdk/aws_eks/__init__.py +1132 -227
- aws_cdk/aws_elasticache/__init__.py +378 -25
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
- aws_cdk/aws_elasticsearch/__init__.py +291 -9
- aws_cdk/aws_emr/__init__.py +219 -18
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +1007 -126
- aws_cdk/aws_events_targets/__init__.py +398 -65
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1349 -127
- aws_cdk/aws_gamelift/__init__.py +755 -94
- aws_cdk/aws_gameliftstreams/__init__.py +44 -22
- aws_cdk/aws_globalaccelerator/__init__.py +73 -14
- aws_cdk/aws_glue/__init__.py +1455 -378
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +921 -141
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1454 -199
- aws_cdk/aws_inspector/__init__.py +44 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1760 -64
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +641 -23
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
- aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +204 -45
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2236 -297
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +2162 -212
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2958 -1322
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +6014 -923
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1938 -532
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +108 -22
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1184 -164
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +283 -408
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2967 -162
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +501 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +181 -9
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +516 -64
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3721 -573
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +699 -11
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +194 -19
- aws_cdk/aws_route53/__init__.py +3965 -1436
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +189 -40
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1742 -221
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +153 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +1053 -6
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6848 -373
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +249 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +194 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +429 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +188 -47
- aws_cdk/aws_ses/__init__.py +2265 -369
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +33 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +263 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
- aws_cdk/aws_sqs/__init__.py +223 -14
- aws_cdk/aws_ssm/__init__.py +413 -58
- aws_cdk/aws_ssmcontacts/__init__.py +98 -9
- aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +823 -94
- aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +1088 -126
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
- aws_cdk/aws_voiceid/__init__.py +54 -5
- aws_cdk/aws_vpclattice/__init__.py +589 -231
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1183 -64
- aws_cdk/aws_wisdom/__init__.py +1403 -90
- aws_cdk/aws_workspaces/__init__.py +134 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +368 -48
- aws_cdk/custom_resources/__init__.py +58 -12
- aws_cdk/cx_api/__init__.py +125 -21
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +202 -52
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +66 -18
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_wisdom/__init__.py
CHANGED
|
@@ -68,9 +68,35 @@ from .. import (
|
|
|
68
68
|
TagManager as _TagManager_0a598cb3,
|
|
69
69
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
70
70
|
)
|
|
71
|
+
from ..interfaces.aws_wisdom import (
|
|
72
|
+
AIAgentReference as _AIAgentReference_3cc2e175,
|
|
73
|
+
AIAgentVersionReference as _AIAgentVersionReference_f2a18357,
|
|
74
|
+
AIGuardrailReference as _AIGuardrailReference_e80d5e6b,
|
|
75
|
+
AIGuardrailVersionReference as _AIGuardrailVersionReference_831f138e,
|
|
76
|
+
AIPromptReference as _AIPromptReference_a61cdb19,
|
|
77
|
+
AIPromptVersionReference as _AIPromptVersionReference_6f2b00b7,
|
|
78
|
+
AssistantAssociationReference as _AssistantAssociationReference_d8a4551d,
|
|
79
|
+
AssistantReference as _AssistantReference_32665e48,
|
|
80
|
+
IAIAgentRef as _IAIAgentRef_e0a197e0,
|
|
81
|
+
IAIAgentVersionRef as _IAIAgentVersionRef_fdad8a80,
|
|
82
|
+
IAIGuardrailRef as _IAIGuardrailRef_c054fef5,
|
|
83
|
+
IAIGuardrailVersionRef as _IAIGuardrailVersionRef_32a5279d,
|
|
84
|
+
IAIPromptRef as _IAIPromptRef_2afc9b84,
|
|
85
|
+
IAIPromptVersionRef as _IAIPromptVersionRef_0ff64c34,
|
|
86
|
+
IAssistantAssociationRef as _IAssistantAssociationRef_2e883ba1,
|
|
87
|
+
IAssistantRef as _IAssistantRef_253a4920,
|
|
88
|
+
IKnowledgeBaseRef as _IKnowledgeBaseRef_846dfcfb,
|
|
89
|
+
IMessageTemplateRef as _IMessageTemplateRef_33cb5cda,
|
|
90
|
+
IMessageTemplateVersionRef as _IMessageTemplateVersionRef_a8d8bbb4,
|
|
91
|
+
IQuickResponseRef as _IQuickResponseRef_d5eda766,
|
|
92
|
+
KnowledgeBaseReference as _KnowledgeBaseReference_9085f3fb,
|
|
93
|
+
MessageTemplateReference as _MessageTemplateReference_c248ed47,
|
|
94
|
+
MessageTemplateVersionReference as _MessageTemplateVersionReference_ce6119ac,
|
|
95
|
+
QuickResponseReference as _QuickResponseReference_1a8a32ff,
|
|
96
|
+
)
|
|
71
97
|
|
|
72
98
|
|
|
73
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
99
|
+
@jsii.implements(_IInspectable_c2943556, _IAIAgentRef_e0a197e0, _ITaggableV2_4e6798f8)
|
|
74
100
|
class CfnAIAgent(
|
|
75
101
|
_CfnResource_9df397a6,
|
|
76
102
|
metaclass=jsii.JSIIMeta,
|
|
@@ -246,7 +272,8 @@ class CfnAIAgent(
|
|
|
246
272
|
name: typing.Optional[builtins.str] = None,
|
|
247
273
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
248
274
|
) -> None:
|
|
249
|
-
'''
|
|
275
|
+
'''Create a new ``AWS::Wisdom::AIAgent``.
|
|
276
|
+
|
|
250
277
|
:param scope: Scope in which this resource is defined.
|
|
251
278
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
252
279
|
:param assistant_id: The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
|
@@ -301,6 +328,12 @@ class CfnAIAgent(
|
|
|
301
328
|
'''The CloudFormation resource type name for this resource class.'''
|
|
302
329
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
303
330
|
|
|
331
|
+
@builtins.property
|
|
332
|
+
@jsii.member(jsii_name="aiAgentRef")
|
|
333
|
+
def ai_agent_ref(self) -> _AIAgentReference_3cc2e175:
|
|
334
|
+
'''A reference to a AIAgent resource.'''
|
|
335
|
+
return typing.cast(_AIAgentReference_3cc2e175, jsii.get(self, "aiAgentRef"))
|
|
336
|
+
|
|
304
337
|
@builtins.property
|
|
305
338
|
@jsii.member(jsii_name="attrAiAgentArn")
|
|
306
339
|
def attr_ai_agent_arn(self) -> builtins.str:
|
|
@@ -685,7 +718,7 @@ class CfnAIAgent(
|
|
|
685
718
|
:param answer_generation_ai_prompt_id: The AI Prompt identifier for the Answer Generation prompt used by the ``ANSWER_RECOMMENDATION`` AI Agent.
|
|
686
719
|
:param association_configurations: The association configurations for overriding behavior on this AI Agent.
|
|
687
720
|
:param intent_labeling_generation_ai_prompt_id: The AI Prompt identifier for the Intent Labeling prompt used by the ``ANSWER_RECOMMENDATION`` AI Agent.
|
|
688
|
-
:param locale:
|
|
721
|
+
:param locale: The locale to which specifies the language and region settings that determine the response language for `QueryAssistant <https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html>`_ .
|
|
689
722
|
:param query_reformulation_ai_prompt_id: The AI Prompt identifier for the Query Reformulation prompt used by the ``ANSWER_RECOMMENDATION`` AI Agent.
|
|
690
723
|
|
|
691
724
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html
|
|
@@ -807,7 +840,8 @@ class CfnAIAgent(
|
|
|
807
840
|
|
|
808
841
|
@builtins.property
|
|
809
842
|
def locale(self) -> typing.Optional[builtins.str]:
|
|
810
|
-
'''
|
|
843
|
+
'''The locale to which specifies the language and region settings that determine the response language for `QueryAssistant <https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html>`_ .
|
|
844
|
+
|
|
811
845
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html#cfn-wisdom-aiagent-answerrecommendationaiagentconfiguration-locale
|
|
812
846
|
'''
|
|
813
847
|
result = self._values.get("locale")
|
|
@@ -1189,7 +1223,7 @@ class CfnAIAgent(
|
|
|
1189
1223
|
:param answer_generation_ai_guardrail_id: The ID of the answer generation AI guardrail.
|
|
1190
1224
|
:param answer_generation_ai_prompt_id: The AI Prompt identifier for the Answer Generation prompt used by the ``ANSWER_RECOMMENDATION`` AI Agent.
|
|
1191
1225
|
:param association_configurations: The association configurations for overriding behavior on this AI Agent.
|
|
1192
|
-
:param locale:
|
|
1226
|
+
:param locale: The locale to which specifies the language and region settings that determine the response language for `QueryAssistant <https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html>`_ .
|
|
1193
1227
|
|
|
1194
1228
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-manualsearchaiagentconfiguration.html
|
|
1195
1229
|
:exampleMetadata: fixture=_generated
|
|
@@ -1291,7 +1325,8 @@ class CfnAIAgent(
|
|
|
1291
1325
|
|
|
1292
1326
|
@builtins.property
|
|
1293
1327
|
def locale(self) -> typing.Optional[builtins.str]:
|
|
1294
|
-
'''
|
|
1328
|
+
'''The locale to which specifies the language and region settings that determine the response language for `QueryAssistant <https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html>`_ .
|
|
1329
|
+
|
|
1295
1330
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-manualsearchaiagentconfiguration.html#cfn-wisdom-aiagent-manualsearchaiagentconfiguration-locale
|
|
1296
1331
|
'''
|
|
1297
1332
|
result = self._values.get("locale")
|
|
@@ -2012,7 +2047,7 @@ class CfnAIAgentProps:
|
|
|
2012
2047
|
)
|
|
2013
2048
|
|
|
2014
2049
|
|
|
2015
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
2050
|
+
@jsii.implements(_IInspectable_c2943556, _IAIAgentVersionRef_fdad8a80)
|
|
2016
2051
|
class CfnAIAgentVersion(
|
|
2017
2052
|
_CfnResource_9df397a6,
|
|
2018
2053
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2048,7 +2083,8 @@ class CfnAIAgentVersion(
|
|
|
2048
2083
|
assistant_id: builtins.str,
|
|
2049
2084
|
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
2050
2085
|
) -> None:
|
|
2051
|
-
'''
|
|
2086
|
+
'''Create a new ``AWS::Wisdom::AIAgentVersion``.
|
|
2087
|
+
|
|
2052
2088
|
:param scope: Scope in which this resource is defined.
|
|
2053
2089
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2054
2090
|
:param ai_agent_id: The identifier of the AI Agent.
|
|
@@ -2097,6 +2133,12 @@ class CfnAIAgentVersion(
|
|
|
2097
2133
|
'''The CloudFormation resource type name for this resource class.'''
|
|
2098
2134
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2099
2135
|
|
|
2136
|
+
@builtins.property
|
|
2137
|
+
@jsii.member(jsii_name="aiAgentVersionRef")
|
|
2138
|
+
def ai_agent_version_ref(self) -> _AIAgentVersionReference_f2a18357:
|
|
2139
|
+
'''A reference to a AIAgentVersion resource.'''
|
|
2140
|
+
return typing.cast(_AIAgentVersionReference_f2a18357, jsii.get(self, "aiAgentVersionRef"))
|
|
2141
|
+
|
|
2100
2142
|
@builtins.property
|
|
2101
2143
|
@jsii.member(jsii_name="attrAiAgentArn")
|
|
2102
2144
|
def attr_ai_agent_arn(self) -> builtins.str:
|
|
@@ -2266,7 +2308,7 @@ class CfnAIAgentVersionProps:
|
|
|
2266
2308
|
)
|
|
2267
2309
|
|
|
2268
2310
|
|
|
2269
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
2311
|
+
@jsii.implements(_IInspectable_c2943556, _IAIGuardrailRef_c054fef5, _ITaggableV2_4e6798f8)
|
|
2270
2312
|
class CfnAIGuardrail(
|
|
2271
2313
|
_CfnResource_9df397a6,
|
|
2272
2314
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2360,7 +2402,8 @@ class CfnAIGuardrail(
|
|
|
2360
2402
|
topic_policy_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIGuardrail.AIGuardrailTopicPolicyConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2361
2403
|
word_policy_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIGuardrail.AIGuardrailWordPolicyConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2362
2404
|
) -> None:
|
|
2363
|
-
'''
|
|
2405
|
+
'''Create a new ``AWS::Wisdom::AIGuardrail``.
|
|
2406
|
+
|
|
2364
2407
|
:param scope: Scope in which this resource is defined.
|
|
2365
2408
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2366
2409
|
:param assistant_id: The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
|
@@ -2425,6 +2468,12 @@ class CfnAIGuardrail(
|
|
|
2425
2468
|
'''The CloudFormation resource type name for this resource class.'''
|
|
2426
2469
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2427
2470
|
|
|
2471
|
+
@builtins.property
|
|
2472
|
+
@jsii.member(jsii_name="aiGuardrailRef")
|
|
2473
|
+
def ai_guardrail_ref(self) -> _AIGuardrailReference_e80d5e6b:
|
|
2474
|
+
'''A reference to a AIGuardrail resource.'''
|
|
2475
|
+
return typing.cast(_AIGuardrailReference_e80d5e6b, jsii.get(self, "aiGuardrailRef"))
|
|
2476
|
+
|
|
2428
2477
|
@builtins.property
|
|
2429
2478
|
@jsii.member(jsii_name="attrAiGuardrailArn")
|
|
2430
2479
|
def attr_ai_guardrail_arn(self) -> builtins.str:
|
|
@@ -3810,7 +3859,7 @@ class CfnAIGuardrailProps:
|
|
|
3810
3859
|
)
|
|
3811
3860
|
|
|
3812
3861
|
|
|
3813
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
3862
|
+
@jsii.implements(_IInspectable_c2943556, _IAIGuardrailVersionRef_32a5279d)
|
|
3814
3863
|
class CfnAIGuardrailVersion(
|
|
3815
3864
|
_CfnResource_9df397a6,
|
|
3816
3865
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3846,7 +3895,8 @@ class CfnAIGuardrailVersion(
|
|
|
3846
3895
|
assistant_id: builtins.str,
|
|
3847
3896
|
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
3848
3897
|
) -> None:
|
|
3849
|
-
'''
|
|
3898
|
+
'''Create a new ``AWS::Wisdom::AIGuardrailVersion``.
|
|
3899
|
+
|
|
3850
3900
|
:param scope: Scope in which this resource is defined.
|
|
3851
3901
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3852
3902
|
:param ai_guardrail_id: The ID of the AI guardrail version.
|
|
@@ -3895,6 +3945,12 @@ class CfnAIGuardrailVersion(
|
|
|
3895
3945
|
'''The CloudFormation resource type name for this resource class.'''
|
|
3896
3946
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
3897
3947
|
|
|
3948
|
+
@builtins.property
|
|
3949
|
+
@jsii.member(jsii_name="aiGuardrailVersionRef")
|
|
3950
|
+
def ai_guardrail_version_ref(self) -> _AIGuardrailVersionReference_831f138e:
|
|
3951
|
+
'''A reference to a AIGuardrailVersion resource.'''
|
|
3952
|
+
return typing.cast(_AIGuardrailVersionReference_831f138e, jsii.get(self, "aiGuardrailVersionRef"))
|
|
3953
|
+
|
|
3898
3954
|
@builtins.property
|
|
3899
3955
|
@jsii.member(jsii_name="attrAiGuardrailArn")
|
|
3900
3956
|
def attr_ai_guardrail_arn(self) -> builtins.str:
|
|
@@ -4069,7 +4125,7 @@ class CfnAIGuardrailVersionProps:
|
|
|
4069
4125
|
)
|
|
4070
4126
|
|
|
4071
4127
|
|
|
4072
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
4128
|
+
@jsii.implements(_IInspectable_c2943556, _IAIPromptRef_2afc9b84, _ITaggableV2_4e6798f8)
|
|
4073
4129
|
class CfnAIPrompt(
|
|
4074
4130
|
_CfnResource_9df397a6,
|
|
4075
4131
|
metaclass=jsii.JSIIMeta,
|
|
@@ -4123,7 +4179,8 @@ class CfnAIPrompt(
|
|
|
4123
4179
|
name: typing.Optional[builtins.str] = None,
|
|
4124
4180
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4125
4181
|
) -> None:
|
|
4126
|
-
'''
|
|
4182
|
+
'''Create a new ``AWS::Wisdom::AIPrompt``.
|
|
4183
|
+
|
|
4127
4184
|
:param scope: Scope in which this resource is defined.
|
|
4128
4185
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4129
4186
|
:param api_format: The API format used for this AI Prompt.
|
|
@@ -4184,6 +4241,12 @@ class CfnAIPrompt(
|
|
|
4184
4241
|
'''The CloudFormation resource type name for this resource class.'''
|
|
4185
4242
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4186
4243
|
|
|
4244
|
+
@builtins.property
|
|
4245
|
+
@jsii.member(jsii_name="aiPromptRef")
|
|
4246
|
+
def ai_prompt_ref(self) -> _AIPromptReference_a61cdb19:
|
|
4247
|
+
'''A reference to a AIPrompt resource.'''
|
|
4248
|
+
return typing.cast(_AIPromptReference_a61cdb19, jsii.get(self, "aiPromptRef"))
|
|
4249
|
+
|
|
4187
4250
|
@builtins.property
|
|
4188
4251
|
@jsii.member(jsii_name="attrAiPromptArn")
|
|
4189
4252
|
def attr_ai_prompt_arn(self) -> builtins.str:
|
|
@@ -4690,7 +4753,7 @@ class CfnAIPromptProps:
|
|
|
4690
4753
|
)
|
|
4691
4754
|
|
|
4692
4755
|
|
|
4693
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
4756
|
+
@jsii.implements(_IInspectable_c2943556, _IAIPromptVersionRef_0ff64c34)
|
|
4694
4757
|
class CfnAIPromptVersion(
|
|
4695
4758
|
_CfnResource_9df397a6,
|
|
4696
4759
|
metaclass=jsii.JSIIMeta,
|
|
@@ -4726,7 +4789,8 @@ class CfnAIPromptVersion(
|
|
|
4726
4789
|
assistant_id: builtins.str,
|
|
4727
4790
|
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
4728
4791
|
) -> None:
|
|
4729
|
-
'''
|
|
4792
|
+
'''Create a new ``AWS::Wisdom::AIPromptVersion``.
|
|
4793
|
+
|
|
4730
4794
|
:param scope: Scope in which this resource is defined.
|
|
4731
4795
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4732
4796
|
:param ai_prompt_id: The identifier of the Amazon Q in Connect AI prompt.
|
|
@@ -4775,6 +4839,12 @@ class CfnAIPromptVersion(
|
|
|
4775
4839
|
'''The CloudFormation resource type name for this resource class.'''
|
|
4776
4840
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4777
4841
|
|
|
4842
|
+
@builtins.property
|
|
4843
|
+
@jsii.member(jsii_name="aiPromptVersionRef")
|
|
4844
|
+
def ai_prompt_version_ref(self) -> _AIPromptVersionReference_6f2b00b7:
|
|
4845
|
+
'''A reference to a AIPromptVersion resource.'''
|
|
4846
|
+
return typing.cast(_AIPromptVersionReference_6f2b00b7, jsii.get(self, "aiPromptVersionRef"))
|
|
4847
|
+
|
|
4778
4848
|
@builtins.property
|
|
4779
4849
|
@jsii.member(jsii_name="attrAiPromptArn")
|
|
4780
4850
|
def attr_ai_prompt_arn(self) -> builtins.str:
|
|
@@ -4949,7 +5019,7 @@ class CfnAIPromptVersionProps:
|
|
|
4949
5019
|
)
|
|
4950
5020
|
|
|
4951
5021
|
|
|
4952
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
5022
|
+
@jsii.implements(_IInspectable_c2943556, _IAssistantRef_253a4920, _ITaggable_36806126)
|
|
4953
5023
|
class CfnAssistant(
|
|
4954
5024
|
_CfnResource_9df397a6,
|
|
4955
5025
|
metaclass=jsii.JSIIMeta,
|
|
@@ -4994,7 +5064,8 @@ class CfnAssistant(
|
|
|
4994
5064
|
server_side_encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAssistant.ServerSideEncryptionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4995
5065
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4996
5066
|
) -> None:
|
|
4997
|
-
'''
|
|
5067
|
+
'''Create a new ``AWS::Wisdom::Assistant``.
|
|
5068
|
+
|
|
4998
5069
|
:param scope: Scope in which this resource is defined.
|
|
4999
5070
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5000
5071
|
:param name: The name of the assistant.
|
|
@@ -5017,6 +5088,48 @@ class CfnAssistant(
|
|
|
5017
5088
|
|
|
5018
5089
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
5019
5090
|
|
|
5091
|
+
@jsii.member(jsii_name="fromAssistantArn")
|
|
5092
|
+
@builtins.classmethod
|
|
5093
|
+
def from_assistant_arn(
|
|
5094
|
+
cls,
|
|
5095
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5096
|
+
id: builtins.str,
|
|
5097
|
+
arn: builtins.str,
|
|
5098
|
+
) -> _IAssistantRef_253a4920:
|
|
5099
|
+
'''Creates a new IAssistantRef from an ARN.
|
|
5100
|
+
|
|
5101
|
+
:param scope: -
|
|
5102
|
+
:param id: -
|
|
5103
|
+
:param arn: -
|
|
5104
|
+
'''
|
|
5105
|
+
if __debug__:
|
|
5106
|
+
type_hints = typing.get_type_hints(_typecheckingstub__33deac61df2a67d5267bbd073e8988b690ab64dcb4131aac4931f937d22cc02a)
|
|
5107
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5108
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5109
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
5110
|
+
return typing.cast(_IAssistantRef_253a4920, jsii.sinvoke(cls, "fromAssistantArn", [scope, id, arn]))
|
|
5111
|
+
|
|
5112
|
+
@jsii.member(jsii_name="fromAssistantId")
|
|
5113
|
+
@builtins.classmethod
|
|
5114
|
+
def from_assistant_id(
|
|
5115
|
+
cls,
|
|
5116
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5117
|
+
id: builtins.str,
|
|
5118
|
+
assistant_id: builtins.str,
|
|
5119
|
+
) -> _IAssistantRef_253a4920:
|
|
5120
|
+
'''Creates a new IAssistantRef from a assistantId.
|
|
5121
|
+
|
|
5122
|
+
:param scope: -
|
|
5123
|
+
:param id: -
|
|
5124
|
+
:param assistant_id: -
|
|
5125
|
+
'''
|
|
5126
|
+
if __debug__:
|
|
5127
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f105390dc407e28554781f8d932720c9268a30c5d232ce61e22db470e5cd2360)
|
|
5128
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5129
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5130
|
+
check_type(argname="argument assistant_id", value=assistant_id, expected_type=type_hints["assistant_id"])
|
|
5131
|
+
return typing.cast(_IAssistantRef_253a4920, jsii.sinvoke(cls, "fromAssistantId", [scope, id, assistant_id]))
|
|
5132
|
+
|
|
5020
5133
|
@jsii.member(jsii_name="inspect")
|
|
5021
5134
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
5022
5135
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -5047,6 +5160,12 @@ class CfnAssistant(
|
|
|
5047
5160
|
'''The CloudFormation resource type name for this resource class.'''
|
|
5048
5161
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
5049
5162
|
|
|
5163
|
+
@builtins.property
|
|
5164
|
+
@jsii.member(jsii_name="assistantRef")
|
|
5165
|
+
def assistant_ref(self) -> _AssistantReference_32665e48:
|
|
5166
|
+
'''A reference to a Assistant resource.'''
|
|
5167
|
+
return typing.cast(_AssistantReference_32665e48, jsii.get(self, "assistantRef"))
|
|
5168
|
+
|
|
5050
5169
|
@builtins.property
|
|
5051
5170
|
@jsii.member(jsii_name="attrAssistantArn")
|
|
5052
5171
|
def attr_assistant_arn(self) -> builtins.str:
|
|
@@ -5200,7 +5319,7 @@ class CfnAssistant(
|
|
|
5200
5319
|
)
|
|
5201
5320
|
|
|
5202
5321
|
|
|
5203
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
5322
|
+
@jsii.implements(_IInspectable_c2943556, _IAssistantAssociationRef_2e883ba1, _ITaggable_36806126)
|
|
5204
5323
|
class CfnAssistantAssociation(
|
|
5205
5324
|
_CfnResource_9df397a6,
|
|
5206
5325
|
metaclass=jsii.JSIIMeta,
|
|
@@ -5245,7 +5364,8 @@ class CfnAssistantAssociation(
|
|
|
5245
5364
|
association_type: builtins.str,
|
|
5246
5365
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5247
5366
|
) -> None:
|
|
5248
|
-
'''
|
|
5367
|
+
'''Create a new ``AWS::Wisdom::AssistantAssociation``.
|
|
5368
|
+
|
|
5249
5369
|
:param scope: Scope in which this resource is defined.
|
|
5250
5370
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5251
5371
|
:param assistant_id: The identifier of the Wisdom assistant.
|
|
@@ -5296,6 +5416,12 @@ class CfnAssistantAssociation(
|
|
|
5296
5416
|
'''The CloudFormation resource type name for this resource class.'''
|
|
5297
5417
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
5298
5418
|
|
|
5419
|
+
@builtins.property
|
|
5420
|
+
@jsii.member(jsii_name="assistantAssociationRef")
|
|
5421
|
+
def assistant_association_ref(self) -> _AssistantAssociationReference_d8a4551d:
|
|
5422
|
+
'''A reference to a AssistantAssociation resource.'''
|
|
5423
|
+
return typing.cast(_AssistantAssociationReference_d8a4551d, jsii.get(self, "assistantAssociationRef"))
|
|
5424
|
+
|
|
5299
5425
|
@builtins.property
|
|
5300
5426
|
@jsii.member(jsii_name="attrAssistantArn")
|
|
5301
5427
|
def attr_assistant_arn(self) -> builtins.str:
|
|
@@ -5694,7 +5820,7 @@ class CfnAssistantProps:
|
|
|
5694
5820
|
)
|
|
5695
5821
|
|
|
5696
5822
|
|
|
5697
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
5823
|
+
@jsii.implements(_IInspectable_c2943556, _IKnowledgeBaseRef_846dfcfb, _ITaggable_36806126)
|
|
5698
5824
|
class CfnKnowledgeBase(
|
|
5699
5825
|
_CfnResource_9df397a6,
|
|
5700
5826
|
metaclass=jsii.JSIIMeta,
|
|
@@ -5805,7 +5931,8 @@ class CfnKnowledgeBase(
|
|
|
5805
5931
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5806
5932
|
vector_ingestion_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKnowledgeBase.VectorIngestionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5807
5933
|
) -> None:
|
|
5808
|
-
'''
|
|
5934
|
+
'''Create a new ``AWS::Wisdom::KnowledgeBase``.
|
|
5935
|
+
|
|
5809
5936
|
:param scope: Scope in which this resource is defined.
|
|
5810
5937
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5811
5938
|
:param knowledge_base_type: The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
|
|
@@ -5834,6 +5961,48 @@ class CfnKnowledgeBase(
|
|
|
5834
5961
|
|
|
5835
5962
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
5836
5963
|
|
|
5964
|
+
@jsii.member(jsii_name="fromKnowledgeBaseArn")
|
|
5965
|
+
@builtins.classmethod
|
|
5966
|
+
def from_knowledge_base_arn(
|
|
5967
|
+
cls,
|
|
5968
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5969
|
+
id: builtins.str,
|
|
5970
|
+
arn: builtins.str,
|
|
5971
|
+
) -> _IKnowledgeBaseRef_846dfcfb:
|
|
5972
|
+
'''Creates a new IKnowledgeBaseRef from an ARN.
|
|
5973
|
+
|
|
5974
|
+
:param scope: -
|
|
5975
|
+
:param id: -
|
|
5976
|
+
:param arn: -
|
|
5977
|
+
'''
|
|
5978
|
+
if __debug__:
|
|
5979
|
+
type_hints = typing.get_type_hints(_typecheckingstub__467231b7f72214cbd6b35521edee7bc67d8fbbc22d0f389f57da3eb98ffad629)
|
|
5980
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5981
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5982
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
5983
|
+
return typing.cast(_IKnowledgeBaseRef_846dfcfb, jsii.sinvoke(cls, "fromKnowledgeBaseArn", [scope, id, arn]))
|
|
5984
|
+
|
|
5985
|
+
@jsii.member(jsii_name="fromKnowledgeBaseId")
|
|
5986
|
+
@builtins.classmethod
|
|
5987
|
+
def from_knowledge_base_id(
|
|
5988
|
+
cls,
|
|
5989
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5990
|
+
id: builtins.str,
|
|
5991
|
+
knowledge_base_id: builtins.str,
|
|
5992
|
+
) -> _IKnowledgeBaseRef_846dfcfb:
|
|
5993
|
+
'''Creates a new IKnowledgeBaseRef from a knowledgeBaseId.
|
|
5994
|
+
|
|
5995
|
+
:param scope: -
|
|
5996
|
+
:param id: -
|
|
5997
|
+
:param knowledge_base_id: -
|
|
5998
|
+
'''
|
|
5999
|
+
if __debug__:
|
|
6000
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e0469c506a8518566600ea4f512337a7b0e9687bf3913f2f73f84612eef004a1)
|
|
6001
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
6002
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6003
|
+
check_type(argname="argument knowledge_base_id", value=knowledge_base_id, expected_type=type_hints["knowledge_base_id"])
|
|
6004
|
+
return typing.cast(_IKnowledgeBaseRef_846dfcfb, jsii.sinvoke(cls, "fromKnowledgeBaseId", [scope, id, knowledge_base_id]))
|
|
6005
|
+
|
|
5837
6006
|
@jsii.member(jsii_name="inspect")
|
|
5838
6007
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
5839
6008
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -5887,6 +6056,12 @@ class CfnKnowledgeBase(
|
|
|
5887
6056
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5888
6057
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
5889
6058
|
|
|
6059
|
+
@builtins.property
|
|
6060
|
+
@jsii.member(jsii_name="knowledgeBaseRef")
|
|
6061
|
+
def knowledge_base_ref(self) -> _KnowledgeBaseReference_9085f3fb:
|
|
6062
|
+
'''A reference to a KnowledgeBase resource.'''
|
|
6063
|
+
return typing.cast(_KnowledgeBaseReference_9085f3fb, jsii.get(self, "knowledgeBaseRef"))
|
|
6064
|
+
|
|
5890
6065
|
@builtins.property
|
|
5891
6066
|
@jsii.member(jsii_name="tags")
|
|
5892
6067
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -7719,7 +7894,7 @@ class CfnKnowledgeBaseProps:
|
|
|
7719
7894
|
)
|
|
7720
7895
|
|
|
7721
7896
|
|
|
7722
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
7897
|
+
@jsii.implements(_IInspectable_c2943556, _IMessageTemplateRef_33cb5cda, _ITaggableV2_4e6798f8)
|
|
7723
7898
|
class CfnMessageTemplate(
|
|
7724
7899
|
_CfnResource_9df397a6,
|
|
7725
7900
|
metaclass=jsii.JSIIMeta,
|
|
@@ -7855,6 +8030,13 @@ class CfnMessageTemplate(
|
|
|
7855
8030
|
values=["values"]
|
|
7856
8031
|
),
|
|
7857
8032
|
language="language",
|
|
8033
|
+
message_template_attachments=[wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty(
|
|
8034
|
+
attachment_name="attachmentName",
|
|
8035
|
+
s3_presigned_url="s3PresignedUrl",
|
|
8036
|
+
|
|
8037
|
+
# the properties below are optional
|
|
8038
|
+
attachment_id="attachmentId"
|
|
8039
|
+
)],
|
|
7858
8040
|
tags=[CfnTag(
|
|
7859
8041
|
key="key",
|
|
7860
8042
|
value="value"
|
|
@@ -7875,9 +8057,11 @@ class CfnMessageTemplate(
|
|
|
7875
8057
|
description: typing.Optional[builtins.str] = None,
|
|
7876
8058
|
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMessageTemplate.GroupingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7877
8059
|
language: typing.Optional[builtins.str] = None,
|
|
8060
|
+
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,
|
|
7878
8061
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7879
8062
|
) -> None:
|
|
7880
|
-
'''
|
|
8063
|
+
'''Create a new ``AWS::Wisdom::MessageTemplate``.
|
|
8064
|
+
|
|
7881
8065
|
:param scope: Scope in which this resource is defined.
|
|
7882
8066
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
7883
8067
|
:param channel_subtype: The channel subtype this message template applies to.
|
|
@@ -7888,6 +8072,7 @@ class CfnMessageTemplate(
|
|
|
7888
8072
|
:param description: The description of the message template.
|
|
7889
8073
|
:param grouping_configuration: The configuration information of the external data source.
|
|
7890
8074
|
: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``
|
|
8075
|
+
:param message_template_attachments: List of message template attachments.
|
|
7891
8076
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
7892
8077
|
'''
|
|
7893
8078
|
if __debug__:
|
|
@@ -7903,6 +8088,7 @@ class CfnMessageTemplate(
|
|
|
7903
8088
|
description=description,
|
|
7904
8089
|
grouping_configuration=grouping_configuration,
|
|
7905
8090
|
language=language,
|
|
8091
|
+
message_template_attachments=message_template_attachments,
|
|
7906
8092
|
tags=tags,
|
|
7907
8093
|
)
|
|
7908
8094
|
|
|
@@ -7978,6 +8164,12 @@ class CfnMessageTemplate(
|
|
|
7978
8164
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
7979
8165
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
7980
8166
|
|
|
8167
|
+
@builtins.property
|
|
8168
|
+
@jsii.member(jsii_name="messageTemplateRef")
|
|
8169
|
+
def message_template_ref(self) -> _MessageTemplateReference_c248ed47:
|
|
8170
|
+
'''A reference to a MessageTemplate resource.'''
|
|
8171
|
+
return typing.cast(_MessageTemplateReference_c248ed47, jsii.get(self, "messageTemplateRef"))
|
|
8172
|
+
|
|
7981
8173
|
@builtins.property
|
|
7982
8174
|
@jsii.member(jsii_name="channelSubtype")
|
|
7983
8175
|
def channel_subtype(self) -> builtins.str:
|
|
@@ -8097,6 +8289,24 @@ class CfnMessageTemplate(
|
|
|
8097
8289
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8098
8290
|
jsii.set(self, "language", value) # pyright: ignore[reportArgumentType]
|
|
8099
8291
|
|
|
8292
|
+
@builtins.property
|
|
8293
|
+
@jsii.member(jsii_name="messageTemplateAttachments")
|
|
8294
|
+
def message_template_attachments(
|
|
8295
|
+
self,
|
|
8296
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMessageTemplate.MessageTemplateAttachmentProperty"]]]]:
|
|
8297
|
+
'''List of message template attachments.'''
|
|
8298
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMessageTemplate.MessageTemplateAttachmentProperty"]]]], jsii.get(self, "messageTemplateAttachments"))
|
|
8299
|
+
|
|
8300
|
+
@message_template_attachments.setter
|
|
8301
|
+
def message_template_attachments(
|
|
8302
|
+
self,
|
|
8303
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMessageTemplate.MessageTemplateAttachmentProperty"]]]],
|
|
8304
|
+
) -> None:
|
|
8305
|
+
if __debug__:
|
|
8306
|
+
type_hints = typing.get_type_hints(_typecheckingstub__99e58f577d070d3c392b7519e6ec169337ff707d8d0fbec1d5b147b3eb27b11a)
|
|
8307
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8308
|
+
jsii.set(self, "messageTemplateAttachments", value) # pyright: ignore[reportArgumentType]
|
|
8309
|
+
|
|
8100
8310
|
@builtins.property
|
|
8101
8311
|
@jsii.member(jsii_name="tags")
|
|
8102
8312
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -9579,6 +9789,102 @@ class CfnMessageTemplate(
|
|
|
9579
9789
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
9580
9790
|
)
|
|
9581
9791
|
|
|
9792
|
+
@jsii.data_type(
|
|
9793
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty",
|
|
9794
|
+
jsii_struct_bases=[],
|
|
9795
|
+
name_mapping={
|
|
9796
|
+
"attachment_name": "attachmentName",
|
|
9797
|
+
"s3_presigned_url": "s3PresignedUrl",
|
|
9798
|
+
"attachment_id": "attachmentId",
|
|
9799
|
+
},
|
|
9800
|
+
)
|
|
9801
|
+
class MessageTemplateAttachmentProperty:
|
|
9802
|
+
def __init__(
|
|
9803
|
+
self,
|
|
9804
|
+
*,
|
|
9805
|
+
attachment_name: builtins.str,
|
|
9806
|
+
s3_presigned_url: builtins.str,
|
|
9807
|
+
attachment_id: typing.Optional[builtins.str] = None,
|
|
9808
|
+
) -> None:
|
|
9809
|
+
'''Information about the message template attachment.
|
|
9810
|
+
|
|
9811
|
+
:param attachment_name: The name of the attachment file being uploaded. The name should include the file extension.
|
|
9812
|
+
: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. For more information, see `Sharing objects with presigned URLs <https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html>`_ .
|
|
9813
|
+
:param attachment_id: The identifier of the attachment file.
|
|
9814
|
+
|
|
9815
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html
|
|
9816
|
+
:exampleMetadata: fixture=_generated
|
|
9817
|
+
|
|
9818
|
+
Example::
|
|
9819
|
+
|
|
9820
|
+
# The code below shows an example of how to instantiate this type.
|
|
9821
|
+
# The values are placeholders you should change.
|
|
9822
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
9823
|
+
|
|
9824
|
+
message_template_attachment_property = wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty(
|
|
9825
|
+
attachment_name="attachmentName",
|
|
9826
|
+
s3_presigned_url="s3PresignedUrl",
|
|
9827
|
+
|
|
9828
|
+
# the properties below are optional
|
|
9829
|
+
attachment_id="attachmentId"
|
|
9830
|
+
)
|
|
9831
|
+
'''
|
|
9832
|
+
if __debug__:
|
|
9833
|
+
type_hints = typing.get_type_hints(_typecheckingstub__733b704f810bd9a3eb9d75f4f3b82b249fd0f3b3c3429da2875584133affc320)
|
|
9834
|
+
check_type(argname="argument attachment_name", value=attachment_name, expected_type=type_hints["attachment_name"])
|
|
9835
|
+
check_type(argname="argument s3_presigned_url", value=s3_presigned_url, expected_type=type_hints["s3_presigned_url"])
|
|
9836
|
+
check_type(argname="argument attachment_id", value=attachment_id, expected_type=type_hints["attachment_id"])
|
|
9837
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9838
|
+
"attachment_name": attachment_name,
|
|
9839
|
+
"s3_presigned_url": s3_presigned_url,
|
|
9840
|
+
}
|
|
9841
|
+
if attachment_id is not None:
|
|
9842
|
+
self._values["attachment_id"] = attachment_id
|
|
9843
|
+
|
|
9844
|
+
@builtins.property
|
|
9845
|
+
def attachment_name(self) -> builtins.str:
|
|
9846
|
+
'''The name of the attachment file being uploaded.
|
|
9847
|
+
|
|
9848
|
+
The name should include the file extension.
|
|
9849
|
+
|
|
9850
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html#cfn-wisdom-messagetemplate-messagetemplateattachment-attachmentname
|
|
9851
|
+
'''
|
|
9852
|
+
result = self._values.get("attachment_name")
|
|
9853
|
+
assert result is not None, "Required property 'attachment_name' is missing"
|
|
9854
|
+
return typing.cast(builtins.str, result)
|
|
9855
|
+
|
|
9856
|
+
@builtins.property
|
|
9857
|
+
def s3_presigned_url(self) -> builtins.str:
|
|
9858
|
+
'''The S3 Presigned URL for the attachment file.
|
|
9859
|
+
|
|
9860
|
+
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. For more information, see `Sharing objects with presigned URLs <https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html>`_ .
|
|
9861
|
+
|
|
9862
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html#cfn-wisdom-messagetemplate-messagetemplateattachment-s3presignedurl
|
|
9863
|
+
'''
|
|
9864
|
+
result = self._values.get("s3_presigned_url")
|
|
9865
|
+
assert result is not None, "Required property 's3_presigned_url' is missing"
|
|
9866
|
+
return typing.cast(builtins.str, result)
|
|
9867
|
+
|
|
9868
|
+
@builtins.property
|
|
9869
|
+
def attachment_id(self) -> typing.Optional[builtins.str]:
|
|
9870
|
+
'''The identifier of the attachment file.
|
|
9871
|
+
|
|
9872
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html#cfn-wisdom-messagetemplate-messagetemplateattachment-attachmentid
|
|
9873
|
+
'''
|
|
9874
|
+
result = self._values.get("attachment_id")
|
|
9875
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9876
|
+
|
|
9877
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9878
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9879
|
+
|
|
9880
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
9881
|
+
return not (rhs == self)
|
|
9882
|
+
|
|
9883
|
+
def __repr__(self) -> str:
|
|
9884
|
+
return "MessageTemplateAttachmentProperty(%s)" % ", ".join(
|
|
9885
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
9886
|
+
)
|
|
9887
|
+
|
|
9582
9888
|
@jsii.data_type(
|
|
9583
9889
|
jsii_type="aws-cdk-lib.aws_wisdom.CfnMessageTemplate.MessageTemplateAttributesProperty",
|
|
9584
9890
|
jsii_struct_bases=[],
|
|
@@ -10099,6 +10405,7 @@ class CfnMessageTemplate(
|
|
|
10099
10405
|
"description": "description",
|
|
10100
10406
|
"grouping_configuration": "groupingConfiguration",
|
|
10101
10407
|
"language": "language",
|
|
10408
|
+
"message_template_attachments": "messageTemplateAttachments",
|
|
10102
10409
|
"tags": "tags",
|
|
10103
10410
|
},
|
|
10104
10411
|
)
|
|
@@ -10114,6 +10421,7 @@ class CfnMessageTemplateProps:
|
|
|
10114
10421
|
description: typing.Optional[builtins.str] = None,
|
|
10115
10422
|
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10116
10423
|
language: typing.Optional[builtins.str] = None,
|
|
10424
|
+
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,
|
|
10117
10425
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10118
10426
|
) -> None:
|
|
10119
10427
|
'''Properties for defining a ``CfnMessageTemplate``.
|
|
@@ -10126,6 +10434,7 @@ class CfnMessageTemplateProps:
|
|
|
10126
10434
|
:param description: The description of the message template.
|
|
10127
10435
|
:param grouping_configuration: The configuration information of the external data source.
|
|
10128
10436
|
: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``
|
|
10437
|
+
:param message_template_attachments: List of message template attachments.
|
|
10129
10438
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
10130
10439
|
|
|
10131
10440
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-messagetemplate.html
|
|
@@ -10253,6 +10562,13 @@ class CfnMessageTemplateProps:
|
|
|
10253
10562
|
values=["values"]
|
|
10254
10563
|
),
|
|
10255
10564
|
language="language",
|
|
10565
|
+
message_template_attachments=[wisdom.CfnMessageTemplate.MessageTemplateAttachmentProperty(
|
|
10566
|
+
attachment_name="attachmentName",
|
|
10567
|
+
s3_presigned_url="s3PresignedUrl",
|
|
10568
|
+
|
|
10569
|
+
# the properties below are optional
|
|
10570
|
+
attachment_id="attachmentId"
|
|
10571
|
+
)],
|
|
10256
10572
|
tags=[CfnTag(
|
|
10257
10573
|
key="key",
|
|
10258
10574
|
value="value"
|
|
@@ -10269,6 +10585,7 @@ class CfnMessageTemplateProps:
|
|
|
10269
10585
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
10270
10586
|
check_type(argname="argument grouping_configuration", value=grouping_configuration, expected_type=type_hints["grouping_configuration"])
|
|
10271
10587
|
check_type(argname="argument language", value=language, expected_type=type_hints["language"])
|
|
10588
|
+
check_type(argname="argument message_template_attachments", value=message_template_attachments, expected_type=type_hints["message_template_attachments"])
|
|
10272
10589
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
10273
10590
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
10274
10591
|
"channel_subtype": channel_subtype,
|
|
@@ -10284,6 +10601,8 @@ class CfnMessageTemplateProps:
|
|
|
10284
10601
|
self._values["grouping_configuration"] = grouping_configuration
|
|
10285
10602
|
if language is not None:
|
|
10286
10603
|
self._values["language"] = language
|
|
10604
|
+
if message_template_attachments is not None:
|
|
10605
|
+
self._values["message_template_attachments"] = message_template_attachments
|
|
10287
10606
|
if tags is not None:
|
|
10288
10607
|
self._values["tags"] = tags
|
|
10289
10608
|
|
|
@@ -10373,6 +10692,17 @@ class CfnMessageTemplateProps:
|
|
|
10373
10692
|
result = self._values.get("language")
|
|
10374
10693
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
10375
10694
|
|
|
10695
|
+
@builtins.property
|
|
10696
|
+
def message_template_attachments(
|
|
10697
|
+
self,
|
|
10698
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnMessageTemplate.MessageTemplateAttachmentProperty]]]]:
|
|
10699
|
+
'''List of message template attachments.
|
|
10700
|
+
|
|
10701
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-messagetemplate.html#cfn-wisdom-messagetemplate-messagetemplateattachments
|
|
10702
|
+
'''
|
|
10703
|
+
result = self._values.get("message_template_attachments")
|
|
10704
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnMessageTemplate.MessageTemplateAttachmentProperty]]]], result)
|
|
10705
|
+
|
|
10376
10706
|
@builtins.property
|
|
10377
10707
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
10378
10708
|
'''The tags used to organize, track, or control access for this resource.
|
|
@@ -10394,7 +10724,7 @@ class CfnMessageTemplateProps:
|
|
|
10394
10724
|
)
|
|
10395
10725
|
|
|
10396
10726
|
|
|
10397
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
10727
|
+
@jsii.implements(_IInspectable_c2943556, _IMessageTemplateVersionRef_a8d8bbb4)
|
|
10398
10728
|
class CfnMessageTemplateVersion(
|
|
10399
10729
|
_CfnResource_9df397a6,
|
|
10400
10730
|
metaclass=jsii.JSIIMeta,
|
|
@@ -10430,7 +10760,8 @@ class CfnMessageTemplateVersion(
|
|
|
10430
10760
|
message_template_arn: builtins.str,
|
|
10431
10761
|
message_template_content_sha256: typing.Optional[builtins.str] = None,
|
|
10432
10762
|
) -> None:
|
|
10433
|
-
'''
|
|
10763
|
+
'''Create a new ``AWS::Wisdom::MessageTemplateVersion``.
|
|
10764
|
+
|
|
10434
10765
|
:param scope: Scope in which this resource is defined.
|
|
10435
10766
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
10436
10767
|
:param message_template_arn: The Amazon Resource Name (ARN) of the message template.
|
|
@@ -10500,6 +10831,12 @@ class CfnMessageTemplateVersion(
|
|
|
10500
10831
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
10501
10832
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
10502
10833
|
|
|
10834
|
+
@builtins.property
|
|
10835
|
+
@jsii.member(jsii_name="messageTemplateVersionRef")
|
|
10836
|
+
def message_template_version_ref(self) -> _MessageTemplateVersionReference_ce6119ac:
|
|
10837
|
+
'''A reference to a MessageTemplateVersion resource.'''
|
|
10838
|
+
return typing.cast(_MessageTemplateVersionReference_ce6119ac, jsii.get(self, "messageTemplateVersionRef"))
|
|
10839
|
+
|
|
10503
10840
|
@builtins.property
|
|
10504
10841
|
@jsii.member(jsii_name="messageTemplateArn")
|
|
10505
10842
|
def message_template_arn(self) -> builtins.str:
|
|
@@ -10607,75 +10944,865 @@ class CfnMessageTemplateVersionProps:
|
|
|
10607
10944
|
)
|
|
10608
10945
|
|
|
10609
10946
|
|
|
10610
|
-
|
|
10611
|
-
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
"
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
"CfnAIGuardrailVersion",
|
|
10618
|
-
"CfnAIGuardrailVersionProps",
|
|
10619
|
-
"CfnAIPrompt",
|
|
10620
|
-
"CfnAIPromptProps",
|
|
10621
|
-
"CfnAIPromptVersion",
|
|
10622
|
-
"CfnAIPromptVersionProps",
|
|
10623
|
-
"CfnAssistant",
|
|
10624
|
-
"CfnAssistantAssociation",
|
|
10625
|
-
"CfnAssistantAssociationProps",
|
|
10626
|
-
"CfnAssistantProps",
|
|
10627
|
-
"CfnKnowledgeBase",
|
|
10628
|
-
"CfnKnowledgeBaseProps",
|
|
10629
|
-
"CfnMessageTemplate",
|
|
10630
|
-
"CfnMessageTemplateProps",
|
|
10631
|
-
"CfnMessageTemplateVersion",
|
|
10632
|
-
"CfnMessageTemplateVersionProps",
|
|
10633
|
-
]
|
|
10634
|
-
|
|
10635
|
-
publication.publish()
|
|
10636
|
-
|
|
10637
|
-
def _typecheckingstub__e4d43de9ccaeb31eba5b0b613ecac25531a87bb9137652388e6196070f4622ab(
|
|
10638
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
10639
|
-
id: builtins.str,
|
|
10640
|
-
*,
|
|
10641
|
-
assistant_id: builtins.str,
|
|
10642
|
-
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
10643
|
-
type: builtins.str,
|
|
10644
|
-
description: typing.Optional[builtins.str] = None,
|
|
10645
|
-
name: typing.Optional[builtins.str] = None,
|
|
10646
|
-
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10647
|
-
) -> None:
|
|
10648
|
-
"""Type checking stubs"""
|
|
10649
|
-
pass
|
|
10947
|
+
@jsii.implements(_IInspectable_c2943556, _IQuickResponseRef_d5eda766, _ITaggableV2_4e6798f8)
|
|
10948
|
+
class CfnQuickResponse(
|
|
10949
|
+
_CfnResource_9df397a6,
|
|
10950
|
+
metaclass=jsii.JSIIMeta,
|
|
10951
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponse",
|
|
10952
|
+
):
|
|
10953
|
+
'''Creates an Amazon Q in Connect quick response.
|
|
10650
10954
|
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
"""Type checking stubs"""
|
|
10655
|
-
pass
|
|
10955
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html
|
|
10956
|
+
:cloudformationResource: AWS::Wisdom::QuickResponse
|
|
10957
|
+
:exampleMetadata: fixture=_generated
|
|
10656
10958
|
|
|
10657
|
-
|
|
10658
|
-
props: typing.Mapping[builtins.str, typing.Any],
|
|
10659
|
-
) -> None:
|
|
10660
|
-
"""Type checking stubs"""
|
|
10661
|
-
pass
|
|
10959
|
+
Example::
|
|
10662
10960
|
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10961
|
+
# The code below shows an example of how to instantiate this type.
|
|
10962
|
+
# The values are placeholders you should change.
|
|
10963
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
10964
|
+
|
|
10965
|
+
cfn_quick_response = wisdom.CfnQuickResponse(self, "MyCfnQuickResponse",
|
|
10966
|
+
content=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
10967
|
+
content="content"
|
|
10968
|
+
),
|
|
10969
|
+
knowledge_base_arn="knowledgeBaseArn",
|
|
10970
|
+
name="name",
|
|
10971
|
+
|
|
10972
|
+
# the properties below are optional
|
|
10973
|
+
channels=["channels"],
|
|
10974
|
+
content_type="contentType",
|
|
10975
|
+
description="description",
|
|
10976
|
+
grouping_configuration=wisdom.CfnQuickResponse.GroupingConfigurationProperty(
|
|
10977
|
+
criteria="criteria",
|
|
10978
|
+
values=["values"]
|
|
10979
|
+
),
|
|
10980
|
+
is_active=False,
|
|
10981
|
+
language="language",
|
|
10982
|
+
shortcut_key="shortcutKey",
|
|
10983
|
+
tags=[CfnTag(
|
|
10984
|
+
key="key",
|
|
10985
|
+
value="value"
|
|
10986
|
+
)]
|
|
10987
|
+
)
|
|
10988
|
+
'''
|
|
10668
10989
|
|
|
10669
|
-
def
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10990
|
+
def __init__(
|
|
10991
|
+
self,
|
|
10992
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
10993
|
+
id: builtins.str,
|
|
10994
|
+
*,
|
|
10995
|
+
content: typing.Union[_IResolvable_da3f097b, typing.Union["CfnQuickResponse.QuickResponseContentProviderProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
10996
|
+
knowledge_base_arn: builtins.str,
|
|
10997
|
+
name: builtins.str,
|
|
10998
|
+
channels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10999
|
+
content_type: typing.Optional[builtins.str] = None,
|
|
11000
|
+
description: typing.Optional[builtins.str] = None,
|
|
11001
|
+
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQuickResponse.GroupingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11002
|
+
is_active: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11003
|
+
language: typing.Optional[builtins.str] = None,
|
|
11004
|
+
shortcut_key: typing.Optional[builtins.str] = None,
|
|
11005
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11006
|
+
) -> None:
|
|
11007
|
+
'''Create a new ``AWS::Wisdom::QuickResponse``.
|
|
10674
11008
|
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
11009
|
+
:param scope: Scope in which this resource is defined.
|
|
11010
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
11011
|
+
:param content: The content of the quick response.
|
|
11012
|
+
:param knowledge_base_arn: The Amazon Resource Name (ARN) of the knowledge base.
|
|
11013
|
+
:param name: The name of the quick response.
|
|
11014
|
+
:param channels: The Amazon Connect contact channels this quick response applies to. The supported contact channel types include ``Chat`` .
|
|
11015
|
+
: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.
|
|
11016
|
+
:param description: The description of the quick response.
|
|
11017
|
+
:param grouping_configuration: The configuration information of the user groups that the quick response is accessible to.
|
|
11018
|
+
:param is_active: Whether the quick response is active.
|
|
11019
|
+
: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``
|
|
11020
|
+
:param shortcut_key: The shortcut key of the quick response. The value should be unique across the knowledge base.
|
|
11021
|
+
:param tags: The tags used to organize, track, or control access for this resource.
|
|
11022
|
+
'''
|
|
11023
|
+
if __debug__:
|
|
11024
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1ea732c0aa1c75214dd603b6887da6352fe66fd3d98e2168fdc3654ffd9d1629)
|
|
11025
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
11026
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
11027
|
+
props = CfnQuickResponseProps(
|
|
11028
|
+
content=content,
|
|
11029
|
+
knowledge_base_arn=knowledge_base_arn,
|
|
11030
|
+
name=name,
|
|
11031
|
+
channels=channels,
|
|
11032
|
+
content_type=content_type,
|
|
11033
|
+
description=description,
|
|
11034
|
+
grouping_configuration=grouping_configuration,
|
|
11035
|
+
is_active=is_active,
|
|
11036
|
+
language=language,
|
|
11037
|
+
shortcut_key=shortcut_key,
|
|
11038
|
+
tags=tags,
|
|
11039
|
+
)
|
|
11040
|
+
|
|
11041
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
11042
|
+
|
|
11043
|
+
@jsii.member(jsii_name="inspect")
|
|
11044
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
11045
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
11046
|
+
|
|
11047
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
11048
|
+
'''
|
|
11049
|
+
if __debug__:
|
|
11050
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d749875d4fcc7d4242bef84ff9a9085b8827dd339b292a8c0429c8dd8b8f394a)
|
|
11051
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
11052
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
11053
|
+
|
|
11054
|
+
@jsii.member(jsii_name="renderProperties")
|
|
11055
|
+
def _render_properties(
|
|
11056
|
+
self,
|
|
11057
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
11058
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
11059
|
+
'''
|
|
11060
|
+
:param props: -
|
|
11061
|
+
'''
|
|
11062
|
+
if __debug__:
|
|
11063
|
+
type_hints = typing.get_type_hints(_typecheckingstub__55603fa5b935508baa2dfab5656797245339ea337e135b1dc21a3a68319e401a)
|
|
11064
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
11065
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
11066
|
+
|
|
11067
|
+
@jsii.python.classproperty
|
|
11068
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
11069
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
11070
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
11071
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
11072
|
+
|
|
11073
|
+
@builtins.property
|
|
11074
|
+
@jsii.member(jsii_name="attrContents")
|
|
11075
|
+
def attr_contents(self) -> _IResolvable_da3f097b:
|
|
11076
|
+
'''The content of the quick response stored in different media types.
|
|
11077
|
+
|
|
11078
|
+
:cloudformationAttribute: Contents
|
|
11079
|
+
'''
|
|
11080
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrContents"))
|
|
11081
|
+
|
|
11082
|
+
@builtins.property
|
|
11083
|
+
@jsii.member(jsii_name="attrQuickResponseArn")
|
|
11084
|
+
def attr_quick_response_arn(self) -> builtins.str:
|
|
11085
|
+
'''The Amazon Resource Name (ARN) of the quick response.
|
|
11086
|
+
|
|
11087
|
+
:cloudformationAttribute: QuickResponseArn
|
|
11088
|
+
'''
|
|
11089
|
+
return typing.cast(builtins.str, jsii.get(self, "attrQuickResponseArn"))
|
|
11090
|
+
|
|
11091
|
+
@builtins.property
|
|
11092
|
+
@jsii.member(jsii_name="attrQuickResponseId")
|
|
11093
|
+
def attr_quick_response_id(self) -> builtins.str:
|
|
11094
|
+
'''The identifier of the quick response.
|
|
11095
|
+
|
|
11096
|
+
:cloudformationAttribute: QuickResponseId
|
|
11097
|
+
'''
|
|
11098
|
+
return typing.cast(builtins.str, jsii.get(self, "attrQuickResponseId"))
|
|
11099
|
+
|
|
11100
|
+
@builtins.property
|
|
11101
|
+
@jsii.member(jsii_name="attrStatus")
|
|
11102
|
+
def attr_status(self) -> builtins.str:
|
|
11103
|
+
'''The status of the quick response data.
|
|
11104
|
+
|
|
11105
|
+
:cloudformationAttribute: Status
|
|
11106
|
+
'''
|
|
11107
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
11108
|
+
|
|
11109
|
+
@builtins.property
|
|
11110
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
11111
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
11112
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
11113
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
11114
|
+
|
|
11115
|
+
@builtins.property
|
|
11116
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
11117
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
11118
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
11119
|
+
|
|
11120
|
+
@builtins.property
|
|
11121
|
+
@jsii.member(jsii_name="quickResponseRef")
|
|
11122
|
+
def quick_response_ref(self) -> _QuickResponseReference_1a8a32ff:
|
|
11123
|
+
'''A reference to a QuickResponse resource.'''
|
|
11124
|
+
return typing.cast(_QuickResponseReference_1a8a32ff, jsii.get(self, "quickResponseRef"))
|
|
11125
|
+
|
|
11126
|
+
@builtins.property
|
|
11127
|
+
@jsii.member(jsii_name="content")
|
|
11128
|
+
def content(
|
|
11129
|
+
self,
|
|
11130
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]:
|
|
11131
|
+
'''The content of the quick response.'''
|
|
11132
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"], jsii.get(self, "content"))
|
|
11133
|
+
|
|
11134
|
+
@content.setter
|
|
11135
|
+
def content(
|
|
11136
|
+
self,
|
|
11137
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"],
|
|
11138
|
+
) -> None:
|
|
11139
|
+
if __debug__:
|
|
11140
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9dfed0b86363ddee2b73b59a4f8b9559cdd5914e6289f92f15feac8409c416b)
|
|
11141
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11142
|
+
jsii.set(self, "content", value) # pyright: ignore[reportArgumentType]
|
|
11143
|
+
|
|
11144
|
+
@builtins.property
|
|
11145
|
+
@jsii.member(jsii_name="knowledgeBaseArn")
|
|
11146
|
+
def knowledge_base_arn(self) -> builtins.str:
|
|
11147
|
+
'''The Amazon Resource Name (ARN) of the knowledge base.'''
|
|
11148
|
+
return typing.cast(builtins.str, jsii.get(self, "knowledgeBaseArn"))
|
|
11149
|
+
|
|
11150
|
+
@knowledge_base_arn.setter
|
|
11151
|
+
def knowledge_base_arn(self, value: builtins.str) -> None:
|
|
11152
|
+
if __debug__:
|
|
11153
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2144e7491ad5d7946aab6f020cc3753c00cd404c7ff07340ab3cd7d070d37993)
|
|
11154
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11155
|
+
jsii.set(self, "knowledgeBaseArn", value) # pyright: ignore[reportArgumentType]
|
|
11156
|
+
|
|
11157
|
+
@builtins.property
|
|
11158
|
+
@jsii.member(jsii_name="name")
|
|
11159
|
+
def name(self) -> builtins.str:
|
|
11160
|
+
'''The name of the quick response.'''
|
|
11161
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
11162
|
+
|
|
11163
|
+
@name.setter
|
|
11164
|
+
def name(self, value: builtins.str) -> None:
|
|
11165
|
+
if __debug__:
|
|
11166
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5165c48c2f03231e6cd852d113854e793302bd6e08d080e9cccd919f79e3565e)
|
|
11167
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11168
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
11169
|
+
|
|
11170
|
+
@builtins.property
|
|
11171
|
+
@jsii.member(jsii_name="channels")
|
|
11172
|
+
def channels(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
11173
|
+
'''The Amazon Connect contact channels this quick response applies to.'''
|
|
11174
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "channels"))
|
|
11175
|
+
|
|
11176
|
+
@channels.setter
|
|
11177
|
+
def channels(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
|
|
11178
|
+
if __debug__:
|
|
11179
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e83f69c01eda758c5d6ec662eb36e57ab3b0b525a49f25b680b666ab899f00be)
|
|
11180
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11181
|
+
jsii.set(self, "channels", value) # pyright: ignore[reportArgumentType]
|
|
11182
|
+
|
|
11183
|
+
@builtins.property
|
|
11184
|
+
@jsii.member(jsii_name="contentType")
|
|
11185
|
+
def content_type(self) -> typing.Optional[builtins.str]:
|
|
11186
|
+
'''The media type of the quick response content.'''
|
|
11187
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "contentType"))
|
|
11188
|
+
|
|
11189
|
+
@content_type.setter
|
|
11190
|
+
def content_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
11191
|
+
if __debug__:
|
|
11192
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6492a4d7ba49b236142344d0d0c57fc6ca8829e7d6ecf3259503a67f78948deb)
|
|
11193
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11194
|
+
jsii.set(self, "contentType", value) # pyright: ignore[reportArgumentType]
|
|
11195
|
+
|
|
11196
|
+
@builtins.property
|
|
11197
|
+
@jsii.member(jsii_name="description")
|
|
11198
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
11199
|
+
'''The description of the quick response.'''
|
|
11200
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
11201
|
+
|
|
11202
|
+
@description.setter
|
|
11203
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
11204
|
+
if __debug__:
|
|
11205
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d7acfcd0f2c542ee39a59469bc0ea12f5507951f336da00fcd37146edb79dc73)
|
|
11206
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11207
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
11208
|
+
|
|
11209
|
+
@builtins.property
|
|
11210
|
+
@jsii.member(jsii_name="groupingConfiguration")
|
|
11211
|
+
def grouping_configuration(
|
|
11212
|
+
self,
|
|
11213
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.GroupingConfigurationProperty"]]:
|
|
11214
|
+
'''The configuration information of the user groups that the quick response is accessible to.'''
|
|
11215
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.GroupingConfigurationProperty"]], jsii.get(self, "groupingConfiguration"))
|
|
11216
|
+
|
|
11217
|
+
@grouping_configuration.setter
|
|
11218
|
+
def grouping_configuration(
|
|
11219
|
+
self,
|
|
11220
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.GroupingConfigurationProperty"]],
|
|
11221
|
+
) -> None:
|
|
11222
|
+
if __debug__:
|
|
11223
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2ec3f31a69e16fce2ffc00474e1f2852bd0e753c6a3e973b7255a9d4d7f64a45)
|
|
11224
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11225
|
+
jsii.set(self, "groupingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
11226
|
+
|
|
11227
|
+
@builtins.property
|
|
11228
|
+
@jsii.member(jsii_name="isActive")
|
|
11229
|
+
def is_active(
|
|
11230
|
+
self,
|
|
11231
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11232
|
+
'''Whether the quick response is active.'''
|
|
11233
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "isActive"))
|
|
11234
|
+
|
|
11235
|
+
@is_active.setter
|
|
11236
|
+
def is_active(
|
|
11237
|
+
self,
|
|
11238
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
11239
|
+
) -> None:
|
|
11240
|
+
if __debug__:
|
|
11241
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5d8198e1c8f2c5b8c3703976122f2d1b18fe79607316aa0a9b449b4cd01026e9)
|
|
11242
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11243
|
+
jsii.set(self, "isActive", value) # pyright: ignore[reportArgumentType]
|
|
11244
|
+
|
|
11245
|
+
@builtins.property
|
|
11246
|
+
@jsii.member(jsii_name="language")
|
|
11247
|
+
def language(self) -> typing.Optional[builtins.str]:
|
|
11248
|
+
'''The language code value for the language in which the quick response is written.'''
|
|
11249
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "language"))
|
|
11250
|
+
|
|
11251
|
+
@language.setter
|
|
11252
|
+
def language(self, value: typing.Optional[builtins.str]) -> None:
|
|
11253
|
+
if __debug__:
|
|
11254
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6278f29e4c31c723a6c5cf2bf58f08721883768d361fa4186d576bffdeb71902)
|
|
11255
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11256
|
+
jsii.set(self, "language", value) # pyright: ignore[reportArgumentType]
|
|
11257
|
+
|
|
11258
|
+
@builtins.property
|
|
11259
|
+
@jsii.member(jsii_name="shortcutKey")
|
|
11260
|
+
def shortcut_key(self) -> typing.Optional[builtins.str]:
|
|
11261
|
+
'''The shortcut key of the quick response.'''
|
|
11262
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "shortcutKey"))
|
|
11263
|
+
|
|
11264
|
+
@shortcut_key.setter
|
|
11265
|
+
def shortcut_key(self, value: typing.Optional[builtins.str]) -> None:
|
|
11266
|
+
if __debug__:
|
|
11267
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1a0dc9541d897c6f038624fe355ba3d2374e8c28f367a9049dd7553a8b466138)
|
|
11268
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11269
|
+
jsii.set(self, "shortcutKey", value) # pyright: ignore[reportArgumentType]
|
|
11270
|
+
|
|
11271
|
+
@builtins.property
|
|
11272
|
+
@jsii.member(jsii_name="tags")
|
|
11273
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
11274
|
+
'''The tags used to organize, track, or control access for this resource.'''
|
|
11275
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
11276
|
+
|
|
11277
|
+
@tags.setter
|
|
11278
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
11279
|
+
if __debug__:
|
|
11280
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2727d6beae8f791672bb80625961e3def8262f5b47864ede2817419f60527d6a)
|
|
11281
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11282
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
11283
|
+
|
|
11284
|
+
@jsii.data_type(
|
|
11285
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponse.GroupingConfigurationProperty",
|
|
11286
|
+
jsii_struct_bases=[],
|
|
11287
|
+
name_mapping={"criteria": "criteria", "values": "values"},
|
|
11288
|
+
)
|
|
11289
|
+
class GroupingConfigurationProperty:
|
|
11290
|
+
def __init__(
|
|
11291
|
+
self,
|
|
11292
|
+
*,
|
|
11293
|
+
criteria: builtins.str,
|
|
11294
|
+
values: typing.Sequence[builtins.str],
|
|
11295
|
+
) -> None:
|
|
11296
|
+
'''The configuration information of the grouping of Amazon Q in Connect users.
|
|
11297
|
+
|
|
11298
|
+
: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.
|
|
11299
|
+
: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.
|
|
11300
|
+
|
|
11301
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-groupingconfiguration.html
|
|
11302
|
+
:exampleMetadata: fixture=_generated
|
|
11303
|
+
|
|
11304
|
+
Example::
|
|
11305
|
+
|
|
11306
|
+
# The code below shows an example of how to instantiate this type.
|
|
11307
|
+
# The values are placeholders you should change.
|
|
11308
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
11309
|
+
|
|
11310
|
+
grouping_configuration_property = wisdom.CfnQuickResponse.GroupingConfigurationProperty(
|
|
11311
|
+
criteria="criteria",
|
|
11312
|
+
values=["values"]
|
|
11313
|
+
)
|
|
11314
|
+
'''
|
|
11315
|
+
if __debug__:
|
|
11316
|
+
type_hints = typing.get_type_hints(_typecheckingstub__29ad467bcbf64a9ce7a7056818b168b5e373d2ea25459103334981acb63580bc)
|
|
11317
|
+
check_type(argname="argument criteria", value=criteria, expected_type=type_hints["criteria"])
|
|
11318
|
+
check_type(argname="argument values", value=values, expected_type=type_hints["values"])
|
|
11319
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11320
|
+
"criteria": criteria,
|
|
11321
|
+
"values": values,
|
|
11322
|
+
}
|
|
11323
|
+
|
|
11324
|
+
@builtins.property
|
|
11325
|
+
def criteria(self) -> builtins.str:
|
|
11326
|
+
'''The criteria used for grouping Amazon Q in Connect users.
|
|
11327
|
+
|
|
11328
|
+
The following is the list of supported criteria values.
|
|
11329
|
+
|
|
11330
|
+
- ``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.
|
|
11331
|
+
|
|
11332
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-groupingconfiguration.html#cfn-wisdom-quickresponse-groupingconfiguration-criteria
|
|
11333
|
+
'''
|
|
11334
|
+
result = self._values.get("criteria")
|
|
11335
|
+
assert result is not None, "Required property 'criteria' is missing"
|
|
11336
|
+
return typing.cast(builtins.str, result)
|
|
11337
|
+
|
|
11338
|
+
@builtins.property
|
|
11339
|
+
def values(self) -> typing.List[builtins.str]:
|
|
11340
|
+
'''The list of values that define different groups of Amazon Q in Connect users.
|
|
11341
|
+
|
|
11342
|
+
- 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.
|
|
11343
|
+
|
|
11344
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-groupingconfiguration.html#cfn-wisdom-quickresponse-groupingconfiguration-values
|
|
11345
|
+
'''
|
|
11346
|
+
result = self._values.get("values")
|
|
11347
|
+
assert result is not None, "Required property 'values' is missing"
|
|
11348
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
11349
|
+
|
|
11350
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11351
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11352
|
+
|
|
11353
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11354
|
+
return not (rhs == self)
|
|
11355
|
+
|
|
11356
|
+
def __repr__(self) -> str:
|
|
11357
|
+
return "GroupingConfigurationProperty(%s)" % ", ".join(
|
|
11358
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11359
|
+
)
|
|
11360
|
+
|
|
11361
|
+
@jsii.data_type(
|
|
11362
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponse.QuickResponseContentProviderProperty",
|
|
11363
|
+
jsii_struct_bases=[],
|
|
11364
|
+
name_mapping={"content": "content"},
|
|
11365
|
+
)
|
|
11366
|
+
class QuickResponseContentProviderProperty:
|
|
11367
|
+
def __init__(self, *, content: typing.Optional[builtins.str] = None) -> None:
|
|
11368
|
+
'''The container quick response content.
|
|
11369
|
+
|
|
11370
|
+
:param content: The content of the quick response.
|
|
11371
|
+
|
|
11372
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontentprovider.html
|
|
11373
|
+
:exampleMetadata: fixture=_generated
|
|
11374
|
+
|
|
11375
|
+
Example::
|
|
11376
|
+
|
|
11377
|
+
# The code below shows an example of how to instantiate this type.
|
|
11378
|
+
# The values are placeholders you should change.
|
|
11379
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
11380
|
+
|
|
11381
|
+
quick_response_content_provider_property = wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
11382
|
+
content="content"
|
|
11383
|
+
)
|
|
11384
|
+
'''
|
|
11385
|
+
if __debug__:
|
|
11386
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bbc837db2935bb8ba68a94a7b51c5172ece37235c44ca2b1dfad732a04eb1154)
|
|
11387
|
+
check_type(argname="argument content", value=content, expected_type=type_hints["content"])
|
|
11388
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
11389
|
+
if content is not None:
|
|
11390
|
+
self._values["content"] = content
|
|
11391
|
+
|
|
11392
|
+
@builtins.property
|
|
11393
|
+
def content(self) -> typing.Optional[builtins.str]:
|
|
11394
|
+
'''The content of the quick response.
|
|
11395
|
+
|
|
11396
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontentprovider.html#cfn-wisdom-quickresponse-quickresponsecontentprovider-content
|
|
11397
|
+
'''
|
|
11398
|
+
result = self._values.get("content")
|
|
11399
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11400
|
+
|
|
11401
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11402
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11403
|
+
|
|
11404
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11405
|
+
return not (rhs == self)
|
|
11406
|
+
|
|
11407
|
+
def __repr__(self) -> str:
|
|
11408
|
+
return "QuickResponseContentProviderProperty(%s)" % ", ".join(
|
|
11409
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11410
|
+
)
|
|
11411
|
+
|
|
11412
|
+
@jsii.data_type(
|
|
11413
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponse.QuickResponseContentsProperty",
|
|
11414
|
+
jsii_struct_bases=[],
|
|
11415
|
+
name_mapping={"markdown": "markdown", "plain_text": "plainText"},
|
|
11416
|
+
)
|
|
11417
|
+
class QuickResponseContentsProperty:
|
|
11418
|
+
def __init__(
|
|
11419
|
+
self,
|
|
11420
|
+
*,
|
|
11421
|
+
markdown: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQuickResponse.QuickResponseContentProviderProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11422
|
+
plain_text: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnQuickResponse.QuickResponseContentProviderProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11423
|
+
) -> None:
|
|
11424
|
+
'''The content of the quick response stored in different media types.
|
|
11425
|
+
|
|
11426
|
+
:param markdown: The quick response content in markdown format.
|
|
11427
|
+
:param plain_text: The quick response content in plaintext format.
|
|
11428
|
+
|
|
11429
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontents.html
|
|
11430
|
+
:exampleMetadata: fixture=_generated
|
|
11431
|
+
|
|
11432
|
+
Example::
|
|
11433
|
+
|
|
11434
|
+
# The code below shows an example of how to instantiate this type.
|
|
11435
|
+
# The values are placeholders you should change.
|
|
11436
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
11437
|
+
|
|
11438
|
+
quick_response_contents_property = wisdom.CfnQuickResponse.QuickResponseContentsProperty(
|
|
11439
|
+
markdown=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
11440
|
+
content="content"
|
|
11441
|
+
),
|
|
11442
|
+
plain_text=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
11443
|
+
content="content"
|
|
11444
|
+
)
|
|
11445
|
+
)
|
|
11446
|
+
'''
|
|
11447
|
+
if __debug__:
|
|
11448
|
+
type_hints = typing.get_type_hints(_typecheckingstub__41295c77edcd7270c3f3a36764ea805915fa2a44214fd58b6530df7e0fac5f07)
|
|
11449
|
+
check_type(argname="argument markdown", value=markdown, expected_type=type_hints["markdown"])
|
|
11450
|
+
check_type(argname="argument plain_text", value=plain_text, expected_type=type_hints["plain_text"])
|
|
11451
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
11452
|
+
if markdown is not None:
|
|
11453
|
+
self._values["markdown"] = markdown
|
|
11454
|
+
if plain_text is not None:
|
|
11455
|
+
self._values["plain_text"] = plain_text
|
|
11456
|
+
|
|
11457
|
+
@builtins.property
|
|
11458
|
+
def markdown(
|
|
11459
|
+
self,
|
|
11460
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]]:
|
|
11461
|
+
'''The quick response content in markdown format.
|
|
11462
|
+
|
|
11463
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontents.html#cfn-wisdom-quickresponse-quickresponsecontents-markdown
|
|
11464
|
+
'''
|
|
11465
|
+
result = self._values.get("markdown")
|
|
11466
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]], result)
|
|
11467
|
+
|
|
11468
|
+
@builtins.property
|
|
11469
|
+
def plain_text(
|
|
11470
|
+
self,
|
|
11471
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]]:
|
|
11472
|
+
'''The quick response content in plaintext format.
|
|
11473
|
+
|
|
11474
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontents.html#cfn-wisdom-quickresponse-quickresponsecontents-plaintext
|
|
11475
|
+
'''
|
|
11476
|
+
result = self._values.get("plain_text")
|
|
11477
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnQuickResponse.QuickResponseContentProviderProperty"]], result)
|
|
11478
|
+
|
|
11479
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11480
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11481
|
+
|
|
11482
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11483
|
+
return not (rhs == self)
|
|
11484
|
+
|
|
11485
|
+
def __repr__(self) -> str:
|
|
11486
|
+
return "QuickResponseContentsProperty(%s)" % ", ".join(
|
|
11487
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11488
|
+
)
|
|
11489
|
+
|
|
11490
|
+
|
|
11491
|
+
@jsii.data_type(
|
|
11492
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnQuickResponseProps",
|
|
11493
|
+
jsii_struct_bases=[],
|
|
11494
|
+
name_mapping={
|
|
11495
|
+
"content": "content",
|
|
11496
|
+
"knowledge_base_arn": "knowledgeBaseArn",
|
|
11497
|
+
"name": "name",
|
|
11498
|
+
"channels": "channels",
|
|
11499
|
+
"content_type": "contentType",
|
|
11500
|
+
"description": "description",
|
|
11501
|
+
"grouping_configuration": "groupingConfiguration",
|
|
11502
|
+
"is_active": "isActive",
|
|
11503
|
+
"language": "language",
|
|
11504
|
+
"shortcut_key": "shortcutKey",
|
|
11505
|
+
"tags": "tags",
|
|
11506
|
+
},
|
|
11507
|
+
)
|
|
11508
|
+
class CfnQuickResponseProps:
|
|
11509
|
+
def __init__(
|
|
11510
|
+
self,
|
|
11511
|
+
*,
|
|
11512
|
+
content: typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
11513
|
+
knowledge_base_arn: builtins.str,
|
|
11514
|
+
name: builtins.str,
|
|
11515
|
+
channels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11516
|
+
content_type: typing.Optional[builtins.str] = None,
|
|
11517
|
+
description: typing.Optional[builtins.str] = None,
|
|
11518
|
+
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11519
|
+
is_active: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11520
|
+
language: typing.Optional[builtins.str] = None,
|
|
11521
|
+
shortcut_key: typing.Optional[builtins.str] = None,
|
|
11522
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11523
|
+
) -> None:
|
|
11524
|
+
'''Properties for defining a ``CfnQuickResponse``.
|
|
11525
|
+
|
|
11526
|
+
:param content: The content of the quick response.
|
|
11527
|
+
:param knowledge_base_arn: The Amazon Resource Name (ARN) of the knowledge base.
|
|
11528
|
+
:param name: The name of the quick response.
|
|
11529
|
+
:param channels: The Amazon Connect contact channels this quick response applies to. The supported contact channel types include ``Chat`` .
|
|
11530
|
+
: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.
|
|
11531
|
+
:param description: The description of the quick response.
|
|
11532
|
+
:param grouping_configuration: The configuration information of the user groups that the quick response is accessible to.
|
|
11533
|
+
:param is_active: Whether the quick response is active.
|
|
11534
|
+
: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``
|
|
11535
|
+
:param shortcut_key: The shortcut key of the quick response. The value should be unique across the knowledge base.
|
|
11536
|
+
:param tags: The tags used to organize, track, or control access for this resource.
|
|
11537
|
+
|
|
11538
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html
|
|
11539
|
+
:exampleMetadata: fixture=_generated
|
|
11540
|
+
|
|
11541
|
+
Example::
|
|
11542
|
+
|
|
11543
|
+
# The code below shows an example of how to instantiate this type.
|
|
11544
|
+
# The values are placeholders you should change.
|
|
11545
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
11546
|
+
|
|
11547
|
+
cfn_quick_response_props = wisdom.CfnQuickResponseProps(
|
|
11548
|
+
content=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
|
|
11549
|
+
content="content"
|
|
11550
|
+
),
|
|
11551
|
+
knowledge_base_arn="knowledgeBaseArn",
|
|
11552
|
+
name="name",
|
|
11553
|
+
|
|
11554
|
+
# the properties below are optional
|
|
11555
|
+
channels=["channels"],
|
|
11556
|
+
content_type="contentType",
|
|
11557
|
+
description="description",
|
|
11558
|
+
grouping_configuration=wisdom.CfnQuickResponse.GroupingConfigurationProperty(
|
|
11559
|
+
criteria="criteria",
|
|
11560
|
+
values=["values"]
|
|
11561
|
+
),
|
|
11562
|
+
is_active=False,
|
|
11563
|
+
language="language",
|
|
11564
|
+
shortcut_key="shortcutKey",
|
|
11565
|
+
tags=[CfnTag(
|
|
11566
|
+
key="key",
|
|
11567
|
+
value="value"
|
|
11568
|
+
)]
|
|
11569
|
+
)
|
|
11570
|
+
'''
|
|
11571
|
+
if __debug__:
|
|
11572
|
+
type_hints = typing.get_type_hints(_typecheckingstub__067c5855940164369fb121429e1673fedfb78768ee6ca862e7facdd01b2c15ac)
|
|
11573
|
+
check_type(argname="argument content", value=content, expected_type=type_hints["content"])
|
|
11574
|
+
check_type(argname="argument knowledge_base_arn", value=knowledge_base_arn, expected_type=type_hints["knowledge_base_arn"])
|
|
11575
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
11576
|
+
check_type(argname="argument channels", value=channels, expected_type=type_hints["channels"])
|
|
11577
|
+
check_type(argname="argument content_type", value=content_type, expected_type=type_hints["content_type"])
|
|
11578
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
11579
|
+
check_type(argname="argument grouping_configuration", value=grouping_configuration, expected_type=type_hints["grouping_configuration"])
|
|
11580
|
+
check_type(argname="argument is_active", value=is_active, expected_type=type_hints["is_active"])
|
|
11581
|
+
check_type(argname="argument language", value=language, expected_type=type_hints["language"])
|
|
11582
|
+
check_type(argname="argument shortcut_key", value=shortcut_key, expected_type=type_hints["shortcut_key"])
|
|
11583
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
11584
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11585
|
+
"content": content,
|
|
11586
|
+
"knowledge_base_arn": knowledge_base_arn,
|
|
11587
|
+
"name": name,
|
|
11588
|
+
}
|
|
11589
|
+
if channels is not None:
|
|
11590
|
+
self._values["channels"] = channels
|
|
11591
|
+
if content_type is not None:
|
|
11592
|
+
self._values["content_type"] = content_type
|
|
11593
|
+
if description is not None:
|
|
11594
|
+
self._values["description"] = description
|
|
11595
|
+
if grouping_configuration is not None:
|
|
11596
|
+
self._values["grouping_configuration"] = grouping_configuration
|
|
11597
|
+
if is_active is not None:
|
|
11598
|
+
self._values["is_active"] = is_active
|
|
11599
|
+
if language is not None:
|
|
11600
|
+
self._values["language"] = language
|
|
11601
|
+
if shortcut_key is not None:
|
|
11602
|
+
self._values["shortcut_key"] = shortcut_key
|
|
11603
|
+
if tags is not None:
|
|
11604
|
+
self._values["tags"] = tags
|
|
11605
|
+
|
|
11606
|
+
@builtins.property
|
|
11607
|
+
def content(
|
|
11608
|
+
self,
|
|
11609
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnQuickResponse.QuickResponseContentProviderProperty]:
|
|
11610
|
+
'''The content of the quick response.
|
|
11611
|
+
|
|
11612
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-content
|
|
11613
|
+
'''
|
|
11614
|
+
result = self._values.get("content")
|
|
11615
|
+
assert result is not None, "Required property 'content' is missing"
|
|
11616
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnQuickResponse.QuickResponseContentProviderProperty], result)
|
|
11617
|
+
|
|
11618
|
+
@builtins.property
|
|
11619
|
+
def knowledge_base_arn(self) -> builtins.str:
|
|
11620
|
+
'''The Amazon Resource Name (ARN) of the knowledge base.
|
|
11621
|
+
|
|
11622
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-knowledgebasearn
|
|
11623
|
+
'''
|
|
11624
|
+
result = self._values.get("knowledge_base_arn")
|
|
11625
|
+
assert result is not None, "Required property 'knowledge_base_arn' is missing"
|
|
11626
|
+
return typing.cast(builtins.str, result)
|
|
11627
|
+
|
|
11628
|
+
@builtins.property
|
|
11629
|
+
def name(self) -> builtins.str:
|
|
11630
|
+
'''The name of the quick response.
|
|
11631
|
+
|
|
11632
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-name
|
|
11633
|
+
'''
|
|
11634
|
+
result = self._values.get("name")
|
|
11635
|
+
assert result is not None, "Required property 'name' is missing"
|
|
11636
|
+
return typing.cast(builtins.str, result)
|
|
11637
|
+
|
|
11638
|
+
@builtins.property
|
|
11639
|
+
def channels(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
11640
|
+
'''The Amazon Connect contact channels this quick response applies to.
|
|
11641
|
+
|
|
11642
|
+
The supported contact channel types include ``Chat`` .
|
|
11643
|
+
|
|
11644
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-channels
|
|
11645
|
+
'''
|
|
11646
|
+
result = self._values.get("channels")
|
|
11647
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
11648
|
+
|
|
11649
|
+
@builtins.property
|
|
11650
|
+
def content_type(self) -> typing.Optional[builtins.str]:
|
|
11651
|
+
'''The media type of the quick response content.
|
|
11652
|
+
|
|
11653
|
+
- Use ``application/x.quickresponse;format=plain`` for quick response written in plain text.
|
|
11654
|
+
- Use ``application/x.quickresponse;format=markdown`` for quick response written in richtext.
|
|
11655
|
+
|
|
11656
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-contenttype
|
|
11657
|
+
'''
|
|
11658
|
+
result = self._values.get("content_type")
|
|
11659
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11660
|
+
|
|
11661
|
+
@builtins.property
|
|
11662
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
11663
|
+
'''The description of the quick response.
|
|
11664
|
+
|
|
11665
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-description
|
|
11666
|
+
'''
|
|
11667
|
+
result = self._values.get("description")
|
|
11668
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11669
|
+
|
|
11670
|
+
@builtins.property
|
|
11671
|
+
def grouping_configuration(
|
|
11672
|
+
self,
|
|
11673
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnQuickResponse.GroupingConfigurationProperty]]:
|
|
11674
|
+
'''The configuration information of the user groups that the quick response is accessible to.
|
|
11675
|
+
|
|
11676
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-groupingconfiguration
|
|
11677
|
+
'''
|
|
11678
|
+
result = self._values.get("grouping_configuration")
|
|
11679
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnQuickResponse.GroupingConfigurationProperty]], result)
|
|
11680
|
+
|
|
11681
|
+
@builtins.property
|
|
11682
|
+
def is_active(
|
|
11683
|
+
self,
|
|
11684
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11685
|
+
'''Whether the quick response is active.
|
|
11686
|
+
|
|
11687
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-isactive
|
|
11688
|
+
'''
|
|
11689
|
+
result = self._values.get("is_active")
|
|
11690
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
11691
|
+
|
|
11692
|
+
@builtins.property
|
|
11693
|
+
def language(self) -> typing.Optional[builtins.str]:
|
|
11694
|
+
'''The language code value for the language in which the quick response is written.
|
|
11695
|
+
|
|
11696
|
+
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``
|
|
11697
|
+
|
|
11698
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-language
|
|
11699
|
+
'''
|
|
11700
|
+
result = self._values.get("language")
|
|
11701
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11702
|
+
|
|
11703
|
+
@builtins.property
|
|
11704
|
+
def shortcut_key(self) -> typing.Optional[builtins.str]:
|
|
11705
|
+
'''The shortcut key of the quick response.
|
|
11706
|
+
|
|
11707
|
+
The value should be unique across the knowledge base.
|
|
11708
|
+
|
|
11709
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-shortcutkey
|
|
11710
|
+
'''
|
|
11711
|
+
result = self._values.get("shortcut_key")
|
|
11712
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11713
|
+
|
|
11714
|
+
@builtins.property
|
|
11715
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
11716
|
+
'''The tags used to organize, track, or control access for this resource.
|
|
11717
|
+
|
|
11718
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#cfn-wisdom-quickresponse-tags
|
|
11719
|
+
'''
|
|
11720
|
+
result = self._values.get("tags")
|
|
11721
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
11722
|
+
|
|
11723
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11724
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11725
|
+
|
|
11726
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11727
|
+
return not (rhs == self)
|
|
11728
|
+
|
|
11729
|
+
def __repr__(self) -> str:
|
|
11730
|
+
return "CfnQuickResponseProps(%s)" % ", ".join(
|
|
11731
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11732
|
+
)
|
|
11733
|
+
|
|
11734
|
+
|
|
11735
|
+
__all__ = [
|
|
11736
|
+
"CfnAIAgent",
|
|
11737
|
+
"CfnAIAgentProps",
|
|
11738
|
+
"CfnAIAgentVersion",
|
|
11739
|
+
"CfnAIAgentVersionProps",
|
|
11740
|
+
"CfnAIGuardrail",
|
|
11741
|
+
"CfnAIGuardrailProps",
|
|
11742
|
+
"CfnAIGuardrailVersion",
|
|
11743
|
+
"CfnAIGuardrailVersionProps",
|
|
11744
|
+
"CfnAIPrompt",
|
|
11745
|
+
"CfnAIPromptProps",
|
|
11746
|
+
"CfnAIPromptVersion",
|
|
11747
|
+
"CfnAIPromptVersionProps",
|
|
11748
|
+
"CfnAssistant",
|
|
11749
|
+
"CfnAssistantAssociation",
|
|
11750
|
+
"CfnAssistantAssociationProps",
|
|
11751
|
+
"CfnAssistantProps",
|
|
11752
|
+
"CfnKnowledgeBase",
|
|
11753
|
+
"CfnKnowledgeBaseProps",
|
|
11754
|
+
"CfnMessageTemplate",
|
|
11755
|
+
"CfnMessageTemplateProps",
|
|
11756
|
+
"CfnMessageTemplateVersion",
|
|
11757
|
+
"CfnMessageTemplateVersionProps",
|
|
11758
|
+
"CfnQuickResponse",
|
|
11759
|
+
"CfnQuickResponseProps",
|
|
11760
|
+
]
|
|
11761
|
+
|
|
11762
|
+
publication.publish()
|
|
11763
|
+
|
|
11764
|
+
def _typecheckingstub__e4d43de9ccaeb31eba5b0b613ecac25531a87bb9137652388e6196070f4622ab(
|
|
11765
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
11766
|
+
id: builtins.str,
|
|
11767
|
+
*,
|
|
11768
|
+
assistant_id: builtins.str,
|
|
11769
|
+
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
11770
|
+
type: builtins.str,
|
|
11771
|
+
description: typing.Optional[builtins.str] = None,
|
|
11772
|
+
name: typing.Optional[builtins.str] = None,
|
|
11773
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11774
|
+
) -> None:
|
|
11775
|
+
"""Type checking stubs"""
|
|
11776
|
+
pass
|
|
11777
|
+
|
|
11778
|
+
def _typecheckingstub__daf9bd162ab4eaa6b11972bcaf8372498a47b4ad8cf111130cabfae3f675d2b4(
|
|
11779
|
+
inspector: _TreeInspector_488e0dd5,
|
|
11780
|
+
) -> None:
|
|
11781
|
+
"""Type checking stubs"""
|
|
11782
|
+
pass
|
|
11783
|
+
|
|
11784
|
+
def _typecheckingstub__569f9e85834b9b380045c7e9789b3ac0684022e3b37642b34e232ba9b451ade6(
|
|
11785
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
11786
|
+
) -> None:
|
|
11787
|
+
"""Type checking stubs"""
|
|
11788
|
+
pass
|
|
11789
|
+
|
|
11790
|
+
def _typecheckingstub__b3d8fd38839efd97edc463e08adcbeb6d1b964aa278b19d07017fb40c806bb19(
|
|
11791
|
+
value: builtins.str,
|
|
11792
|
+
) -> None:
|
|
11793
|
+
"""Type checking stubs"""
|
|
11794
|
+
pass
|
|
11795
|
+
|
|
11796
|
+
def _typecheckingstub__2d07c289ddb2abe8b14c5f581386f3377fb7266b5b099c89c1b142b4bbd9d769(
|
|
11797
|
+
value: typing.Union[_IResolvable_da3f097b, CfnAIAgent.AIAgentConfigurationProperty],
|
|
11798
|
+
) -> None:
|
|
11799
|
+
"""Type checking stubs"""
|
|
11800
|
+
pass
|
|
11801
|
+
|
|
11802
|
+
def _typecheckingstub__9b90fdd18e60e92e1589e2bf61b55c6cd7758b9da5e26d00525cb08a2ad13830(
|
|
11803
|
+
value: builtins.str,
|
|
11804
|
+
) -> None:
|
|
11805
|
+
"""Type checking stubs"""
|
|
10679
11806
|
pass
|
|
10680
11807
|
|
|
10681
11808
|
def _typecheckingstub__6380f3badbada0c208691bd5242dfabe1122f10b446d77f1ae5ad0c9da456ae8(
|
|
@@ -11284,6 +12411,22 @@ def _typecheckingstub__8078b7e28a17a68ab6f3d362e7de3af6b6867207690b2b344e35797cd
|
|
|
11284
12411
|
"""Type checking stubs"""
|
|
11285
12412
|
pass
|
|
11286
12413
|
|
|
12414
|
+
def _typecheckingstub__33deac61df2a67d5267bbd073e8988b690ab64dcb4131aac4931f937d22cc02a(
|
|
12415
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
12416
|
+
id: builtins.str,
|
|
12417
|
+
arn: builtins.str,
|
|
12418
|
+
) -> None:
|
|
12419
|
+
"""Type checking stubs"""
|
|
12420
|
+
pass
|
|
12421
|
+
|
|
12422
|
+
def _typecheckingstub__f105390dc407e28554781f8d932720c9268a30c5d232ce61e22db470e5cd2360(
|
|
12423
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
12424
|
+
id: builtins.str,
|
|
12425
|
+
assistant_id: builtins.str,
|
|
12426
|
+
) -> None:
|
|
12427
|
+
"""Type checking stubs"""
|
|
12428
|
+
pass
|
|
12429
|
+
|
|
11287
12430
|
def _typecheckingstub__67a0860b53a1867e3124a155db57aa1ab8bbb2d50c48a1553f8766101996d0b8(
|
|
11288
12431
|
inspector: _TreeInspector_488e0dd5,
|
|
11289
12432
|
) -> None:
|
|
@@ -11425,6 +12568,22 @@ def _typecheckingstub__99512a2eb8a3e47802b889aac668fc94bdc0534ee683313dac712b200
|
|
|
11425
12568
|
"""Type checking stubs"""
|
|
11426
12569
|
pass
|
|
11427
12570
|
|
|
12571
|
+
def _typecheckingstub__467231b7f72214cbd6b35521edee7bc67d8fbbc22d0f389f57da3eb98ffad629(
|
|
12572
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
12573
|
+
id: builtins.str,
|
|
12574
|
+
arn: builtins.str,
|
|
12575
|
+
) -> None:
|
|
12576
|
+
"""Type checking stubs"""
|
|
12577
|
+
pass
|
|
12578
|
+
|
|
12579
|
+
def _typecheckingstub__e0469c506a8518566600ea4f512337a7b0e9687bf3913f2f73f84612eef004a1(
|
|
12580
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
12581
|
+
id: builtins.str,
|
|
12582
|
+
knowledge_base_id: builtins.str,
|
|
12583
|
+
) -> None:
|
|
12584
|
+
"""Type checking stubs"""
|
|
12585
|
+
pass
|
|
12586
|
+
|
|
11428
12587
|
def _typecheckingstub__e12fde615d3c7854b4e97326fea29e89d837485efe274039378606ee08a4be76(
|
|
11429
12588
|
inspector: _TreeInspector_488e0dd5,
|
|
11430
12589
|
) -> None:
|
|
@@ -11653,6 +12812,7 @@ def _typecheckingstub__4d99067595817364fbb03fa017437b616b3c32bdfb38c386a909328ac
|
|
|
11653
12812
|
description: typing.Optional[builtins.str] = None,
|
|
11654
12813
|
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11655
12814
|
language: typing.Optional[builtins.str] = None,
|
|
12815
|
+
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,
|
|
11656
12816
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11657
12817
|
) -> None:
|
|
11658
12818
|
"""Type checking stubs"""
|
|
@@ -11718,6 +12878,12 @@ def _typecheckingstub__f4bfbbc60d2eb951b3081015f23b57de459d734cb6ca7e17db3b5ea28
|
|
|
11718
12878
|
"""Type checking stubs"""
|
|
11719
12879
|
pass
|
|
11720
12880
|
|
|
12881
|
+
def _typecheckingstub__99e58f577d070d3c392b7519e6ec169337ff707d8d0fbec1d5b147b3eb27b11a(
|
|
12882
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnMessageTemplate.MessageTemplateAttachmentProperty]]]],
|
|
12883
|
+
) -> None:
|
|
12884
|
+
"""Type checking stubs"""
|
|
12885
|
+
pass
|
|
12886
|
+
|
|
11721
12887
|
def _typecheckingstub__2a8749d4385c7e2fd758f8b86ee5b36af0b25c3e531a4c7936791aa080a35421(
|
|
11722
12888
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
11723
12889
|
) -> None:
|
|
@@ -11837,6 +13003,15 @@ def _typecheckingstub__fe8ac046ae2df337296b1f5a22706eb034910def9d9a88cab8bf76dbc
|
|
|
11837
13003
|
"""Type checking stubs"""
|
|
11838
13004
|
pass
|
|
11839
13005
|
|
|
13006
|
+
def _typecheckingstub__733b704f810bd9a3eb9d75f4f3b82b249fd0f3b3c3429da2875584133affc320(
|
|
13007
|
+
*,
|
|
13008
|
+
attachment_name: builtins.str,
|
|
13009
|
+
s3_presigned_url: builtins.str,
|
|
13010
|
+
attachment_id: typing.Optional[builtins.str] = None,
|
|
13011
|
+
) -> None:
|
|
13012
|
+
"""Type checking stubs"""
|
|
13013
|
+
pass
|
|
13014
|
+
|
|
11840
13015
|
def _typecheckingstub__94be2b3e247d65fdf9ede2a9ef720965133047f24bfea2e9cda8dddc0b98feb1(
|
|
11841
13016
|
*,
|
|
11842
13017
|
agent_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.AgentAttributesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -11894,6 +13069,7 @@ def _typecheckingstub__ec25e0f87d8fdbd9dfa333317dee4b1a02318078d19b7a6a2b5abe028
|
|
|
11894
13069
|
description: typing.Optional[builtins.str] = None,
|
|
11895
13070
|
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMessageTemplate.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11896
13071
|
language: typing.Optional[builtins.str] = None,
|
|
13072
|
+
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,
|
|
11897
13073
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11898
13074
|
) -> None:
|
|
11899
13075
|
"""Type checking stubs"""
|
|
@@ -11940,3 +13116,140 @@ def _typecheckingstub__c0b2a184adf6bc572d2575c7f11c4caa1ebc990936a7af469c6f91288
|
|
|
11940
13116
|
) -> None:
|
|
11941
13117
|
"""Type checking stubs"""
|
|
11942
13118
|
pass
|
|
13119
|
+
|
|
13120
|
+
def _typecheckingstub__1ea732c0aa1c75214dd603b6887da6352fe66fd3d98e2168fdc3654ffd9d1629(
|
|
13121
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
13122
|
+
id: builtins.str,
|
|
13123
|
+
*,
|
|
13124
|
+
content: typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
13125
|
+
knowledge_base_arn: builtins.str,
|
|
13126
|
+
name: builtins.str,
|
|
13127
|
+
channels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
13128
|
+
content_type: typing.Optional[builtins.str] = None,
|
|
13129
|
+
description: typing.Optional[builtins.str] = None,
|
|
13130
|
+
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13131
|
+
is_active: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
13132
|
+
language: typing.Optional[builtins.str] = None,
|
|
13133
|
+
shortcut_key: typing.Optional[builtins.str] = None,
|
|
13134
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13135
|
+
) -> None:
|
|
13136
|
+
"""Type checking stubs"""
|
|
13137
|
+
pass
|
|
13138
|
+
|
|
13139
|
+
def _typecheckingstub__d749875d4fcc7d4242bef84ff9a9085b8827dd339b292a8c0429c8dd8b8f394a(
|
|
13140
|
+
inspector: _TreeInspector_488e0dd5,
|
|
13141
|
+
) -> None:
|
|
13142
|
+
"""Type checking stubs"""
|
|
13143
|
+
pass
|
|
13144
|
+
|
|
13145
|
+
def _typecheckingstub__55603fa5b935508baa2dfab5656797245339ea337e135b1dc21a3a68319e401a(
|
|
13146
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
13147
|
+
) -> None:
|
|
13148
|
+
"""Type checking stubs"""
|
|
13149
|
+
pass
|
|
13150
|
+
|
|
13151
|
+
def _typecheckingstub__f9dfed0b86363ddee2b73b59a4f8b9559cdd5914e6289f92f15feac8409c416b(
|
|
13152
|
+
value: typing.Union[_IResolvable_da3f097b, CfnQuickResponse.QuickResponseContentProviderProperty],
|
|
13153
|
+
) -> None:
|
|
13154
|
+
"""Type checking stubs"""
|
|
13155
|
+
pass
|
|
13156
|
+
|
|
13157
|
+
def _typecheckingstub__2144e7491ad5d7946aab6f020cc3753c00cd404c7ff07340ab3cd7d070d37993(
|
|
13158
|
+
value: builtins.str,
|
|
13159
|
+
) -> None:
|
|
13160
|
+
"""Type checking stubs"""
|
|
13161
|
+
pass
|
|
13162
|
+
|
|
13163
|
+
def _typecheckingstub__5165c48c2f03231e6cd852d113854e793302bd6e08d080e9cccd919f79e3565e(
|
|
13164
|
+
value: builtins.str,
|
|
13165
|
+
) -> None:
|
|
13166
|
+
"""Type checking stubs"""
|
|
13167
|
+
pass
|
|
13168
|
+
|
|
13169
|
+
def _typecheckingstub__e83f69c01eda758c5d6ec662eb36e57ab3b0b525a49f25b680b666ab899f00be(
|
|
13170
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
13171
|
+
) -> None:
|
|
13172
|
+
"""Type checking stubs"""
|
|
13173
|
+
pass
|
|
13174
|
+
|
|
13175
|
+
def _typecheckingstub__6492a4d7ba49b236142344d0d0c57fc6ca8829e7d6ecf3259503a67f78948deb(
|
|
13176
|
+
value: typing.Optional[builtins.str],
|
|
13177
|
+
) -> None:
|
|
13178
|
+
"""Type checking stubs"""
|
|
13179
|
+
pass
|
|
13180
|
+
|
|
13181
|
+
def _typecheckingstub__d7acfcd0f2c542ee39a59469bc0ea12f5507951f336da00fcd37146edb79dc73(
|
|
13182
|
+
value: typing.Optional[builtins.str],
|
|
13183
|
+
) -> None:
|
|
13184
|
+
"""Type checking stubs"""
|
|
13185
|
+
pass
|
|
13186
|
+
|
|
13187
|
+
def _typecheckingstub__2ec3f31a69e16fce2ffc00474e1f2852bd0e753c6a3e973b7255a9d4d7f64a45(
|
|
13188
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnQuickResponse.GroupingConfigurationProperty]],
|
|
13189
|
+
) -> None:
|
|
13190
|
+
"""Type checking stubs"""
|
|
13191
|
+
pass
|
|
13192
|
+
|
|
13193
|
+
def _typecheckingstub__5d8198e1c8f2c5b8c3703976122f2d1b18fe79607316aa0a9b449b4cd01026e9(
|
|
13194
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
13195
|
+
) -> None:
|
|
13196
|
+
"""Type checking stubs"""
|
|
13197
|
+
pass
|
|
13198
|
+
|
|
13199
|
+
def _typecheckingstub__6278f29e4c31c723a6c5cf2bf58f08721883768d361fa4186d576bffdeb71902(
|
|
13200
|
+
value: typing.Optional[builtins.str],
|
|
13201
|
+
) -> None:
|
|
13202
|
+
"""Type checking stubs"""
|
|
13203
|
+
pass
|
|
13204
|
+
|
|
13205
|
+
def _typecheckingstub__1a0dc9541d897c6f038624fe355ba3d2374e8c28f367a9049dd7553a8b466138(
|
|
13206
|
+
value: typing.Optional[builtins.str],
|
|
13207
|
+
) -> None:
|
|
13208
|
+
"""Type checking stubs"""
|
|
13209
|
+
pass
|
|
13210
|
+
|
|
13211
|
+
def _typecheckingstub__2727d6beae8f791672bb80625961e3def8262f5b47864ede2817419f60527d6a(
|
|
13212
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
13213
|
+
) -> None:
|
|
13214
|
+
"""Type checking stubs"""
|
|
13215
|
+
pass
|
|
13216
|
+
|
|
13217
|
+
def _typecheckingstub__29ad467bcbf64a9ce7a7056818b168b5e373d2ea25459103334981acb63580bc(
|
|
13218
|
+
*,
|
|
13219
|
+
criteria: builtins.str,
|
|
13220
|
+
values: typing.Sequence[builtins.str],
|
|
13221
|
+
) -> None:
|
|
13222
|
+
"""Type checking stubs"""
|
|
13223
|
+
pass
|
|
13224
|
+
|
|
13225
|
+
def _typecheckingstub__bbc837db2935bb8ba68a94a7b51c5172ece37235c44ca2b1dfad732a04eb1154(
|
|
13226
|
+
*,
|
|
13227
|
+
content: typing.Optional[builtins.str] = None,
|
|
13228
|
+
) -> None:
|
|
13229
|
+
"""Type checking stubs"""
|
|
13230
|
+
pass
|
|
13231
|
+
|
|
13232
|
+
def _typecheckingstub__41295c77edcd7270c3f3a36764ea805915fa2a44214fd58b6530df7e0fac5f07(
|
|
13233
|
+
*,
|
|
13234
|
+
markdown: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13235
|
+
plain_text: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13236
|
+
) -> None:
|
|
13237
|
+
"""Type checking stubs"""
|
|
13238
|
+
pass
|
|
13239
|
+
|
|
13240
|
+
def _typecheckingstub__067c5855940164369fb121429e1673fedfb78768ee6ca862e7facdd01b2c15ac(
|
|
13241
|
+
*,
|
|
13242
|
+
content: typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.QuickResponseContentProviderProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
13243
|
+
knowledge_base_arn: builtins.str,
|
|
13244
|
+
name: builtins.str,
|
|
13245
|
+
channels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
13246
|
+
content_type: typing.Optional[builtins.str] = None,
|
|
13247
|
+
description: typing.Optional[builtins.str] = None,
|
|
13248
|
+
grouping_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnQuickResponse.GroupingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13249
|
+
is_active: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
13250
|
+
language: typing.Optional[builtins.str] = None,
|
|
13251
|
+
shortcut_key: typing.Optional[builtins.str] = None,
|
|
13252
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13253
|
+
) -> None:
|
|
13254
|
+
"""Type checking stubs"""
|
|
13255
|
+
pass
|