AWS SDK for PHP 3.x
  • Namespace
  • Class
Did this page help you? SUBMIT FEEDBACK!

Namespaces

  • Aws
    • AccessAnalyzer
      • Exception
    • Account
      • Exception
    • Acm
      • Exception
    • ACMPCA
      • Exception
    • AlexaForBusiness
      • Exception
    • Amplify
      • Exception
    • AmplifyBackend
      • Exception
    • AmplifyUIBuilder
      • Exception
    • Api
      • ErrorParser
      • Parser
        • Exception
      • Serializer
    • ApiGateway
      • Exception
    • ApiGatewayManagementApi
      • Exception
    • ApiGatewayV2
      • Exception
    • AppConfig
      • Exception
    • AppConfigData
      • Exception
    • Appflow
      • Exception
    • AppIntegrationsService
      • Exception
    • ApplicationAutoScaling
      • Exception
    • ApplicationCostProfiler
      • Exception
    • ApplicationDiscoveryService
      • Exception
    • ApplicationInsights
      • Exception
    • AppMesh
      • Exception
    • AppRegistry
      • Exception
    • AppRunner
      • Exception
    • Appstream
      • Exception
    • AppSync
      • Exception
    • ARCZonalShift
      • Exception
    • Arn
      • Exception
    • Athena
      • Exception
    • AuditManager
      • Exception
    • AugmentedAIRuntime
      • Exception
    • AutoScaling
      • Exception
    • AutoScalingPlans
      • Exception
    • Backup
      • Exception
    • BackupGateway
      • Exception
    • BackupStorage
      • Exception
    • Batch
      • Exception
    • BillingConductor
      • Exception
    • Braket
      • Exception
    • Budgets
      • Exception
    • Chime
      • Exception
    • ChimeSDKIdentity
      • Exception
    • ChimeSDKMediaPipelines
      • Exception
    • ChimeSDKMeetings
      • Exception
    • ChimeSDKMessaging
      • Exception
    • ChimeSDKVoice
      • Exception
    • CleanRooms
      • Exception
    • ClientSideMonitoring
      • Exception
    • Cloud9
      • Exception
    • CloudControlApi
      • Exception
    • CloudDirectory
      • Exception
    • CloudFormation
      • Exception
    • CloudFront
      • Exception
    • CloudHsm
      • Exception
    • CloudHSMV2
      • Exception
    • CloudSearch
      • Exception
    • CloudSearchDomain
      • Exception
    • CloudTrail
      • Exception
    • CloudTrailData
      • Exception
    • CloudWatch
      • Exception
    • CloudWatchEvents
      • Exception
    • CloudWatchEvidently
      • Exception
    • CloudWatchLogs
      • Exception
    • CloudWatchRUM
      • Exception
    • CodeArtifact
      • Exception
    • CodeBuild
      • Exception
    • CodeCatalyst
      • Exception
    • CodeCommit
      • Exception
    • CodeDeploy
      • Exception
    • CodeGuruProfiler
      • Exception
    • CodeGuruReviewer
      • Exception
    • CodePipeline
      • Exception
    • CodeStar
      • Exception
    • CodeStarconnections
      • Exception
    • CodeStarNotifications
      • Exception
    • CognitoIdentity
      • Exception
    • CognitoIdentityProvider
      • Exception
    • CognitoSync
      • Exception
    • Comprehend
      • Exception
    • ComprehendMedical
      • Exception
    • ComputeOptimizer
      • Exception
    • ConfigService
      • Exception
    • Connect
      • Exception
    • ConnectCampaignService
      • Exception
    • ConnectCases
      • Exception
    • ConnectContactLens
      • Exception
    • ConnectParticipant
      • Exception
    • ConnectWisdomService
      • Exception
    • ControlTower
      • Exception
    • CostandUsageReportService
      • Exception
    • CostExplorer
      • Exception
    • Credentials
    • Crypto
      • Cipher
      • Polyfill
    • CustomerProfiles
      • Exception
    • DatabaseMigrationService
      • Exception
    • DataExchange
      • Exception
    • DataPipeline
      • Exception
    • DataSync
      • Exception
    • DAX
      • Exception
    • DefaultsMode
      • Exception
    • Detective
      • Exception
    • DeviceFarm
      • Exception
    • DevOpsGuru
      • Exception
    • DirectConnect
      • Exception
    • DirectoryService
      • Exception
    • DLM
      • Exception
    • DocDB
      • Exception
    • DocDBElastic
      • Exception
    • drs
      • Exception
    • DynamoDb
      • Exception
    • DynamoDbStreams
      • Exception
    • EBS
      • Exception
    • Ec2
      • Exception
    • EC2InstanceConnect
      • Exception
    • Ecr
      • Exception
    • ECRPublic
      • Exception
    • Ecs
      • Exception
    • Efs
      • Exception
    • EKS
      • Exception
    • ElastiCache
      • Exception
    • ElasticBeanstalk
      • Exception
    • ElasticInference
      • Exception
    • ElasticLoadBalancing
      • Exception
    • ElasticLoadBalancingV2
      • Exception
    • ElasticsearchService
      • Exception
    • ElasticTranscoder
      • Exception
    • Emr
      • Exception
    • EMRContainers
      • Exception
    • EMRServerless
      • Exception
    • Endpoint
      • UseDualstackEndpoint
        • Exception
      • UseFipsEndpoint
        • Exception
    • EndpointDiscovery
      • Exception
    • EndpointV2
      • Rule
      • Ruleset
    • EventBridge
      • Exception
    • Exception
    • finspace
      • Exception
    • FinSpaceData
      • Exception
    • Firehose
      • Exception
    • FIS
      • Exception
    • FMS
      • Exception
    • ForecastQueryService
      • Exception
    • ForecastService
      • Exception
    • FraudDetector
      • Exception
    • FSx
      • Exception
    • GameLift
      • Exception
    • GameSparks
      • Exception
    • Glacier
      • Exception
    • GlobalAccelerator
      • Exception
    • Glue
      • Exception
    • GlueDataBrew
      • Exception
    • Greengrass
      • Exception
    • GreengrassV2
      • Exception
    • GroundStation
      • Exception
    • GuardDuty
      • Exception
    • Handler
      • GuzzleV5
      • GuzzleV6
    • Health
      • Exception
    • HealthLake
      • Exception
    • Honeycode
      • Exception
    • Iam
      • Exception
    • IdentityStore
      • Exception
    • imagebuilder
      • Exception
    • ImportExport
      • Exception
    • Inspector
      • Exception
    • Inspector2
      • Exception
    • InternetMonitor
      • Exception
    • Iot
      • Exception
    • IoT1ClickDevicesService
      • Exception
    • IoT1ClickProjects
      • Exception
    • IoTAnalytics
      • Exception
    • IotDataPlane
      • Exception
    • IoTDeviceAdvisor
      • Exception
    • IoTEvents
      • Exception
    • IoTEventsData
      • Exception
    • IoTFleetHub
      • Exception
    • IoTFleetWise
      • Exception
    • IoTJobsDataPlane
      • Exception
    • IoTRoboRunner
      • Exception
    • IoTSecureTunneling
      • Exception
    • IoTSiteWise
      • Exception
    • IoTThingsGraph
      • Exception
    • IoTTwinMaker
      • Exception
    • IoTWireless
      • Exception
    • IVS
      • Exception
    • ivschat
      • Exception
    • IVSRealTime
      • Exception
    • Kafka
      • Exception
    • KafkaConnect
      • Exception
    • kendra
      • Exception
    • KendraRanking
      • Exception
    • Keyspaces
      • Exception
    • Kinesis
      • Exception
    • KinesisAnalytics
      • Exception
    • KinesisAnalyticsV2
      • Exception
    • KinesisVideo
      • Exception
    • KinesisVideoArchivedMedia
      • Exception
    • KinesisVideoMedia
      • Exception
    • KinesisVideoSignalingChannels
      • Exception
    • KinesisVideoWebRTCStorage
      • Exception
    • Kms
      • Exception
    • LakeFormation
      • Exception
    • Lambda
      • Exception
    • LexModelBuildingService
      • Exception
    • LexModelsV2
      • Exception
    • LexRuntimeService
      • Exception
    • LexRuntimeV2
      • Exception
    • LicenseManager
      • Exception
    • LicenseManagerLinuxSubscriptions
      • Exception
    • LicenseManagerUserSubscriptions
      • Exception
    • Lightsail
      • Exception
    • LocationService
      • Exception
    • LookoutEquipment
      • Exception
    • LookoutforVision
      • Exception
    • LookoutMetrics
      • Exception
    • MachineLearning
      • Exception
    • Macie
      • Exception
    • Macie2
      • Exception
    • MainframeModernization
      • Exception
    • ManagedBlockchain
      • Exception
    • ManagedGrafana
      • Exception
    • MarketplaceCatalog
      • Exception
    • MarketplaceCommerceAnalytics
      • Exception
    • MarketplaceEntitlementService
      • Exception
    • MarketplaceMetering
      • Exception
    • MediaConnect
      • Exception
    • MediaConvert
      • Exception
    • MediaLive
      • Exception
    • MediaPackage
      • Exception
    • MediaPackageVod
      • Exception
    • MediaStore
      • Exception
    • MediaStoreData
      • Exception
    • MediaTailor
      • Exception
    • MemoryDB
      • Exception
    • mgn
      • Exception
    • MigrationHub
      • Exception
    • MigrationHubConfig
      • Exception
    • MigrationHubOrchestrator
      • Exception
    • MigrationHubRefactorSpaces
      • Exception
    • MigrationHubStrategyRecommendations
      • Exception
    • Mobile
      • Exception
    • MQ
      • Exception
    • MTurk
      • Exception
    • Multipart
    • MWAA
      • Exception
    • Neptune
      • Exception
    • NetworkFirewall
      • Exception
    • NetworkManager
      • Exception
    • NimbleStudio
      • Exception
    • OAM
      • Exception
    • Omics
      • Exception
    • OpenSearchServerless
      • Exception
    • OpenSearchService
      • Exception
    • OpsWorks
      • Exception
    • OpsWorksCM
      • Exception
    • Organizations
      • Exception
    • Outposts
      • Exception
    • Panorama
      • Exception
    • Personalize
      • Exception
    • PersonalizeEvents
      • Exception
    • PersonalizeRuntime
      • Exception
    • PI
      • Exception
    • Pinpoint
      • Exception
    • PinpointEmail
      • Exception
    • PinpointSMSVoice
      • Exception
    • PinpointSMSVoiceV2
      • Exception
    • Pipes
      • Exception
    • Polly
      • Exception
    • Pricing
      • Exception
    • PrivateNetworks
      • Exception
    • PrometheusService
      • Exception
    • Proton
      • Exception
    • QLDB
      • Exception
    • QLDBSession
      • Exception
    • QuickSight
      • Exception
    • RAM
      • Exception
    • Rds
      • Exception
    • RDSDataService
      • Exception
    • RecycleBin
      • Exception
    • Redshift
      • Exception
    • RedshiftDataAPIService
      • Exception
    • RedshiftServerless
      • Exception
    • Rekognition
      • Exception
    • ResilienceHub
      • Exception
    • ResourceExplorer2
      • Exception
    • ResourceGroups
      • Exception
    • ResourceGroupsTaggingAPI
      • Exception
    • Retry
      • Exception
    • RoboMaker
      • Exception
    • RolesAnywhere
      • Exception
    • Route53
      • Exception
    • Route53Domains
      • Exception
    • Route53RecoveryCluster
      • Exception
    • Route53RecoveryControlConfig
      • Exception
    • Route53RecoveryReadiness
      • Exception
    • Route53Resolver
      • Exception
    • S3
      • Crypto
      • Exception
      • RegionalEndpoint
        • Exception
      • UseArnRegion
        • Exception
    • S3Control
      • Exception
    • S3Outposts
      • Exception
    • SageMaker
      • Exception
    • SagemakerEdgeManager
      • Exception
    • SageMakerFeatureStoreRuntime
      • Exception
    • SageMakerGeospatial
      • Exception
    • SageMakerMetrics
      • Exception
    • SageMakerRuntime
      • Exception
    • SavingsPlans
      • Exception
    • Scheduler
      • Exception
    • Schemas
      • Exception
    • Script
      • Composer
    • SecretsManager
      • Exception
    • SecurityHub
      • Exception
    • SecurityLake
      • Exception
    • ServerlessApplicationRepository
      • Exception
    • ServiceCatalog
      • Exception
    • ServiceDiscovery
      • Exception
    • ServiceQuotas
      • Exception
    • Ses
      • Exception
    • SesV2
      • Exception
    • Sfn
      • Exception
    • Shield
      • Exception
    • Signature
    • signer
      • Exception
    • SimSpaceWeaver
      • Exception
    • Sms
      • Exception
    • SnowBall
      • Exception
    • SnowDeviceManagement
      • Exception
    • Sns
      • Exception
    • Sqs
      • Exception
    • Ssm
      • Exception
    • SSMContacts
      • Exception
    • SSMIncidents
      • Exception
    • SsmSap
      • Exception
    • SSO
      • Exception
    • SSOAdmin
      • Exception
    • SSOOIDC
      • Exception
    • StorageGateway
      • Exception
    • Sts
      • Exception
      • RegionalEndpoints
        • Exception
    • Support
      • Exception
    • SupportApp
      • Exception
    • Swf
      • Exception
    • Synthetics
      • Exception
    • Textract
      • Exception
    • TimestreamQuery
      • Exception
    • TimestreamWrite
      • Exception
    • Tnb
      • Exception
    • Token
    • TranscribeService
      • Exception
    • Transfer
      • Exception
    • Translate
      • Exception
    • VoiceID
      • Exception
    • Waf
      • Exception
    • WafRegional
      • Exception
    • WAFV2
      • Exception
    • WellArchitected
      • Exception
    • WorkDocs
      • Exception
    • WorkLink
      • Exception
    • WorkMail
      • Exception
    • WorkMailMessageFlow
      • Exception
    • WorkSpaces
      • Exception
    • WorkSpacesWeb
      • Exception
    • XRay
      • Exception
  • GuzzleHttp
    • Promise
    • Psr7
  • Psr
    • Http
      • Message

Classes

  • Aws\AbstractConfigurationProvider
  • Aws\AccessAnalyzer\AccessAnalyzerClient
  • Aws\Account\AccountClient
  • Aws\Acm\AcmClient
  • Aws\ACMPCA\ACMPCAClient
  • Aws\AlexaForBusiness\AlexaForBusinessClient
  • Aws\Amplify\AmplifyClient
  • Aws\AmplifyBackend\AmplifyBackendClient
  • Aws\AmplifyUIBuilder\AmplifyUIBuilderClient
  • Aws\Api\AbstractModel
  • Aws\Api\ApiProvider
  • Aws\Api\DateTimeResult
  • Aws\Api\DocModel
  • Aws\Api\ErrorParser\AbstractErrorParser
  • Aws\Api\ErrorParser\JsonRpcErrorParser
  • Aws\Api\ErrorParser\RestJsonErrorParser
  • Aws\Api\ErrorParser\XmlErrorParser
  • Aws\Api\ListShape
  • Aws\Api\MapShape
  • Aws\Api\Operation
  • Aws\Api\Parser\Crc32ValidatingParser
  • Aws\Api\Parser\DecodingEventStreamIterator
  • Aws\Api\Parser\EventParsingIterator
  • Aws\Api\Parser\JsonParser
  • Aws\Api\Parser\JsonRpcParser
  • Aws\Api\Parser\QueryParser
  • Aws\Api\Parser\RestJsonParser
  • Aws\Api\Parser\RestXmlParser
  • Aws\Api\Parser\XmlParser
  • Aws\Api\Serializer\XmlBody
  • Aws\Api\Service
  • Aws\Api\Shape
  • Aws\Api\ShapeMap
  • Aws\Api\StructureShape
  • Aws\Api\TimestampShape
  • Aws\Api\Validator
  • Aws\ApiGateway\ApiGatewayClient
  • Aws\ApiGatewayManagementApi\ApiGatewayManagementApiClient
  • Aws\ApiGatewayV2\ApiGatewayV2Client
  • Aws\AppConfig\AppConfigClient
  • Aws\AppConfigData\AppConfigDataClient
  • Aws\Appflow\AppflowClient
  • Aws\AppIntegrationsService\AppIntegrationsServiceClient
  • Aws\ApplicationAutoScaling\ApplicationAutoScalingClient
  • Aws\ApplicationCostProfiler\ApplicationCostProfilerClient
  • Aws\ApplicationDiscoveryService\ApplicationDiscoveryServiceClient
  • Aws\ApplicationInsights\ApplicationInsightsClient
  • Aws\AppMesh\AppMeshClient
  • Aws\AppRegistry\AppRegistryClient
  • Aws\AppRunner\AppRunnerClient
  • Aws\Appstream\AppstreamClient
  • Aws\AppSync\AppSyncClient
  • Aws\ARCZonalShift\ARCZonalShiftClient
  • Aws\Athena\AthenaClient
  • Aws\AuditManager\AuditManagerClient
  • Aws\AugmentedAIRuntime\AugmentedAIRuntimeClient
  • Aws\AutoScaling\AutoScalingClient
  • Aws\AutoScalingPlans\AutoScalingPlansClient
  • Aws\AwsClient
  • Aws\Backup\BackupClient
  • Aws\BackupGateway\BackupGatewayClient
  • Aws\BackupStorage\BackupStorageClient
  • Aws\Batch\BatchClient
  • Aws\BillingConductor\BillingConductorClient
  • Aws\Braket\BraketClient
  • Aws\Budgets\BudgetsClient
  • Aws\Chime\ChimeClient
  • Aws\ChimeSDKIdentity\ChimeSDKIdentityClient
  • Aws\ChimeSDKMediaPipelines\ChimeSDKMediaPipelinesClient
  • Aws\ChimeSDKMeetings\ChimeSDKMeetingsClient
  • Aws\ChimeSDKMessaging\ChimeSDKMessagingClient
  • Aws\ChimeSDKVoice\ChimeSDKVoiceClient
  • Aws\CleanRooms\CleanRoomsClient
  • Aws\ClientResolver
  • Aws\ClientSideMonitoring\Configuration
  • Aws\ClientSideMonitoring\ConfigurationProvider
  • Aws\Cloud9\Cloud9Client
  • Aws\CloudControlApi\CloudControlApiClient
  • Aws\CloudDirectory\CloudDirectoryClient
  • Aws\CloudFormation\CloudFormationClient
  • Aws\CloudFront\CloudFrontClient
  • Aws\CloudFront\CookieSigner
  • Aws\CloudFront\UrlSigner
  • Aws\CloudHsm\CloudHsmClient
  • Aws\CloudHSMV2\CloudHSMV2Client
  • Aws\CloudSearch\CloudSearchClient
  • Aws\CloudSearchDomain\CloudSearchDomainClient
  • Aws\CloudTrail\CloudTrailClient
  • Aws\CloudTrail\LogFileIterator
  • Aws\CloudTrail\LogFileReader
  • Aws\CloudTrail\LogRecordIterator
  • Aws\CloudTrailData\CloudTrailDataClient
  • Aws\CloudWatch\CloudWatchClient
  • Aws\CloudWatchEvents\CloudWatchEventsClient
  • Aws\CloudWatchEvidently\CloudWatchEvidentlyClient
  • Aws\CloudWatchLogs\CloudWatchLogsClient
  • Aws\CloudWatchRUM\CloudWatchRUMClient
  • Aws\CodeArtifact\CodeArtifactClient
  • Aws\CodeBuild\CodeBuildClient
  • Aws\CodeCatalyst\CodeCatalystClient
  • Aws\CodeCommit\CodeCommitClient
  • Aws\CodeDeploy\CodeDeployClient
  • Aws\CodeGuruProfiler\CodeGuruProfilerClient
  • Aws\CodeGuruReviewer\CodeGuruReviewerClient
  • Aws\CodePipeline\CodePipelineClient
  • Aws\CodeStar\CodeStarClient
  • Aws\CodeStarconnections\CodeStarconnectionsClient
  • Aws\CodeStarNotifications\CodeStarNotificationsClient
  • Aws\CognitoIdentity\CognitoIdentityClient
  • Aws\CognitoIdentity\CognitoIdentityProvider
  • Aws\CognitoIdentityProvider\CognitoIdentityProviderClient
  • Aws\CognitoSync\CognitoSyncClient
  • Aws\Command
  • Aws\CommandPool
  • Aws\Comprehend\ComprehendClient
  • Aws\ComprehendMedical\ComprehendMedicalClient
  • Aws\ComputeOptimizer\ComputeOptimizerClient
  • Aws\ConfigService\ConfigServiceClient
  • Aws\Connect\ConnectClient
  • Aws\ConnectCampaignService\ConnectCampaignServiceClient
  • Aws\ConnectCases\ConnectCasesClient
  • Aws\ConnectContactLens\ConnectContactLensClient
  • Aws\ConnectParticipant\ConnectParticipantClient
  • Aws\ConnectWisdomService\ConnectWisdomServiceClient
  • Aws\ControlTower\ControlTowerClient
  • Aws\CostandUsageReportService\CostandUsageReportServiceClient
  • Aws\CostExplorer\CostExplorerClient
  • Aws\Credentials\AssumeRoleCredentialProvider
  • Aws\Credentials\AssumeRoleWithWebIdentityCredentialProvider
  • Aws\Credentials\CredentialProvider
  • Aws\Credentials\Credentials
  • Aws\Credentials\EcsCredentialProvider
  • Aws\Credentials\InstanceProfileProvider
  • Aws\Crypto\AesDecryptingStream
  • Aws\Crypto\AesEncryptingStream
  • Aws\Crypto\AesGcmDecryptingStream
  • Aws\Crypto\AesGcmEncryptingStream
  • Aws\Crypto\Cipher\Cbc
  • Aws\Crypto\KmsMaterialsProvider
  • Aws\Crypto\KmsMaterialsProviderV2
  • Aws\Crypto\MaterialsProvider
  • Aws\Crypto\MaterialsProviderV2
  • Aws\Crypto\Polyfill\AesGcm
  • Aws\Crypto\Polyfill\ByteArray
  • Aws\Crypto\Polyfill\Gmac
  • Aws\Crypto\Polyfill\Key
  • Aws\CustomerProfiles\CustomerProfilesClient
  • Aws\DatabaseMigrationService\DatabaseMigrationServiceClient
  • Aws\DataExchange\DataExchangeClient
  • Aws\DataPipeline\DataPipelineClient
  • Aws\DataSync\DataSyncClient
  • Aws\DAX\DAXClient
  • Aws\DefaultsMode\Configuration
  • Aws\DefaultsMode\ConfigurationProvider
  • Aws\Detective\DetectiveClient
  • Aws\DeviceFarm\DeviceFarmClient
  • Aws\DevOpsGuru\DevOpsGuruClient
  • Aws\DirectConnect\DirectConnectClient
  • Aws\DirectoryService\DirectoryServiceClient
  • Aws\DLM\DLMClient
  • Aws\DocDB\DocDBClient
  • Aws\DocDBElastic\DocDBElasticClient
  • Aws\DoctrineCacheAdapter
  • Aws\drs\drsClient
  • Aws\DynamoDb\BinaryValue
  • Aws\DynamoDb\DynamoDbClient
  • Aws\DynamoDb\LockingSessionConnection
  • Aws\DynamoDb\Marshaler
  • Aws\DynamoDb\NumberValue
  • Aws\DynamoDb\SessionHandler
  • Aws\DynamoDb\SetValue
  • Aws\DynamoDb\StandardSessionConnection
  • Aws\DynamoDb\WriteRequestBatch
  • Aws\DynamoDbStreams\DynamoDbStreamsClient
  • Aws\EBS\EBSClient
  • Aws\Ec2\Ec2Client
  • Aws\EC2InstanceConnect\EC2InstanceConnectClient
  • Aws\Ecr\EcrClient
  • Aws\ECRPublic\ECRPublicClient
  • Aws\Ecs\EcsClient
  • Aws\Efs\EfsClient
  • Aws\EKS\EKSClient
  • Aws\ElastiCache\ElastiCacheClient
  • Aws\ElasticBeanstalk\ElasticBeanstalkClient
  • Aws\ElasticInference\ElasticInferenceClient
  • Aws\ElasticLoadBalancing\ElasticLoadBalancingClient
  • Aws\ElasticLoadBalancingV2\ElasticLoadBalancingV2Client
  • Aws\ElasticsearchService\ElasticsearchServiceClient
  • Aws\ElasticTranscoder\ElasticTranscoderClient
  • Aws\Emr\EmrClient
  • Aws\EMRContainers\EMRContainersClient
  • Aws\EMRServerless\EMRServerlessClient
  • Aws\Endpoint\EndpointProvider
  • Aws\Endpoint\Partition
  • Aws\Endpoint\PartitionEndpointProvider
  • Aws\Endpoint\PatternEndpointProvider
  • Aws\Endpoint\UseDualstackEndpoint\Configuration
  • Aws\Endpoint\UseDualstackEndpoint\ConfigurationProvider
  • Aws\Endpoint\UseFipsEndpoint\Configuration
  • Aws\Endpoint\UseFipsEndpoint\ConfigurationProvider
  • Aws\EndpointDiscovery\Configuration
  • Aws\EndpointDiscovery\ConfigurationProvider
  • Aws\EndpointDiscovery\EndpointDiscoveryMiddleware
  • Aws\EndpointDiscovery\EndpointList
  • Aws\EndpointV2\EndpointDefinitionProvider
  • Aws\EndpointV2\EndpointProviderV2
  • Aws\EndpointV2\Rule\AbstractRule
  • Aws\EndpointV2\Rule\EndpointRule
  • Aws\EndpointV2\Rule\ErrorRule
  • Aws\EndpointV2\Rule\RuleCreator
  • Aws\EndpointV2\Rule\TreeRule
  • Aws\EndpointV2\Ruleset\Ruleset
  • Aws\EndpointV2\Ruleset\RulesetEndpoint
  • Aws\EndpointV2\Ruleset\RulesetParameter
  • Aws\EventBridge\EventBridgeClient
  • Aws\finspace\finspaceClient
  • Aws\FinSpaceData\FinSpaceDataClient
  • Aws\Firehose\FirehoseClient
  • Aws\FIS\FISClient
  • Aws\FMS\FMSClient
  • Aws\ForecastQueryService\ForecastQueryServiceClient
  • Aws\ForecastService\ForecastServiceClient
  • Aws\FraudDetector\FraudDetectorClient
  • Aws\FSx\FSxClient
  • Aws\GameLift\GameLiftClient
  • Aws\GameSparks\GameSparksClient
  • Aws\Glacier\GlacierClient
  • Aws\Glacier\MultipartUploader
  • Aws\Glacier\TreeHash
  • Aws\GlobalAccelerator\GlobalAcceleratorClient
  • Aws\Glue\GlueClient
  • Aws\GlueDataBrew\GlueDataBrewClient
  • Aws\Greengrass\GreengrassClient
  • Aws\GreengrassV2\GreengrassV2Client
  • Aws\GroundStation\GroundStationClient
  • Aws\GuardDuty\GuardDutyClient
  • Aws\Handler\GuzzleV5\GuzzleHandler
  • Aws\Handler\GuzzleV5\GuzzleStream
  • Aws\Handler\GuzzleV5\PsrStream
  • Aws\Handler\GuzzleV6\GuzzleHandler
  • Aws\HandlerList
  • Aws\HashingStream
  • Aws\Health\HealthClient
  • Aws\HealthLake\HealthLakeClient
  • Aws\History
  • Aws\Honeycode\HoneycodeClient
  • Aws\Iam\IamClient
  • Aws\IdempotencyTokenMiddleware
  • Aws\IdentityStore\IdentityStoreClient
  • Aws\imagebuilder\imagebuilderClient
  • Aws\ImportExport\ImportExportClient
  • Aws\Inspector2\Inspector2Client
  • Aws\Inspector\InspectorClient
  • Aws\InternetMonitor\InternetMonitorClient
  • Aws\IoT1ClickDevicesService\IoT1ClickDevicesServiceClient
  • Aws\IoT1ClickProjects\IoT1ClickProjectsClient
  • Aws\Iot\IotClient
  • Aws\IoTAnalytics\IoTAnalyticsClient
  • Aws\IotDataPlane\IotDataPlaneClient
  • Aws\IoTDeviceAdvisor\IoTDeviceAdvisorClient
  • Aws\IoTEvents\IoTEventsClient
  • Aws\IoTEventsData\IoTEventsDataClient
  • Aws\IoTFleetHub\IoTFleetHubClient
  • Aws\IoTFleetWise\IoTFleetWiseClient
  • Aws\IoTJobsDataPlane\IoTJobsDataPlaneClient
  • Aws\IoTRoboRunner\IoTRoboRunnerClient
  • Aws\IoTSecureTunneling\IoTSecureTunnelingClient
  • Aws\IoTSiteWise\IoTSiteWiseClient
  • Aws\IoTThingsGraph\IoTThingsGraphClient
  • Aws\IoTTwinMaker\IoTTwinMakerClient
  • Aws\IoTWireless\IoTWirelessClient
  • Aws\IVS\IVSClient
  • Aws\ivschat\ivschatClient
  • Aws\IVSRealTime\IVSRealTimeClient
  • Aws\JsonCompiler
  • Aws\Kafka\KafkaClient
  • Aws\KafkaConnect\KafkaConnectClient
  • Aws\kendra\kendraClient
  • Aws\KendraRanking\KendraRankingClient
  • Aws\Keyspaces\KeyspacesClient
  • Aws\Kinesis\KinesisClient
  • Aws\KinesisAnalytics\KinesisAnalyticsClient
  • Aws\KinesisAnalyticsV2\KinesisAnalyticsV2Client
  • Aws\KinesisVideo\KinesisVideoClient
  • Aws\KinesisVideoArchivedMedia\KinesisVideoArchivedMediaClient
  • Aws\KinesisVideoMedia\KinesisVideoMediaClient
  • Aws\KinesisVideoSignalingChannels\KinesisVideoSignalingChannelsClient
  • Aws\KinesisVideoWebRTCStorage\KinesisVideoWebRTCStorageClient
  • Aws\Kms\KmsClient
  • Aws\LakeFormation\LakeFormationClient
  • Aws\Lambda\LambdaClient
  • Aws\LexModelBuildingService\LexModelBuildingServiceClient
  • Aws\LexModelsV2\LexModelsV2Client
  • Aws\LexRuntimeService\LexRuntimeServiceClient
  • Aws\LexRuntimeV2\LexRuntimeV2Client
  • Aws\LicenseManager\LicenseManagerClient
  • Aws\LicenseManagerLinuxSubscriptions\LicenseManagerLinuxSubscriptionsClient
  • Aws\LicenseManagerUserSubscriptions\LicenseManagerUserSubscriptionsClient
  • Aws\Lightsail\LightsailClient
  • Aws\LocationService\LocationServiceClient
  • Aws\LookoutEquipment\LookoutEquipmentClient
  • Aws\LookoutforVision\LookoutforVisionClient
  • Aws\LookoutMetrics\LookoutMetricsClient
  • Aws\LruArrayCache
  • Aws\MachineLearning\MachineLearningClient
  • Aws\Macie2\Macie2Client
  • Aws\Macie\MacieClient
  • Aws\MainframeModernization\MainframeModernizationClient
  • Aws\ManagedBlockchain\ManagedBlockchainClient
  • Aws\ManagedGrafana\ManagedGrafanaClient
  • Aws\MarketplaceCatalog\MarketplaceCatalogClient
  • Aws\MarketplaceCommerceAnalytics\MarketplaceCommerceAnalyticsClient
  • Aws\MarketplaceEntitlementService\MarketplaceEntitlementServiceClient
  • Aws\MarketplaceMetering\MarketplaceMeteringClient
  • Aws\MediaConnect\MediaConnectClient
  • Aws\MediaConvert\MediaConvertClient
  • Aws\MediaLive\MediaLiveClient
  • Aws\MediaPackage\MediaPackageClient
  • Aws\MediaPackageVod\MediaPackageVodClient
  • Aws\MediaStore\MediaStoreClient
  • Aws\MediaStoreData\MediaStoreDataClient
  • Aws\MediaTailor\MediaTailorClient
  • Aws\MemoryDB\MemoryDBClient
  • Aws\mgn\mgnClient
  • Aws\Middleware
  • Aws\MigrationHub\MigrationHubClient
  • Aws\MigrationHubConfig\MigrationHubConfigClient
  • Aws\MigrationHubOrchestrator\MigrationHubOrchestratorClient
  • Aws\MigrationHubRefactorSpaces\MigrationHubRefactorSpacesClient
  • Aws\MigrationHubStrategyRecommendations\MigrationHubStrategyRecommendationsClient
  • Aws\Mobile\MobileClient
  • Aws\MockHandler
  • Aws\MQ\MQClient
  • Aws\MTurk\MTurkClient
  • Aws\Multipart\UploadState
  • Aws\MultiRegionClient
  • Aws\MWAA\MWAAClient
  • Aws\Neptune\NeptuneClient
  • Aws\NetworkFirewall\NetworkFirewallClient
  • Aws\NetworkManager\NetworkManagerClient
  • Aws\NimbleStudio\NimbleStudioClient
  • Aws\OAM\OAMClient
  • Aws\Omics\OmicsClient
  • Aws\OpenSearchServerless\OpenSearchServerlessClient
  • Aws\OpenSearchService\OpenSearchServiceClient
  • Aws\OpsWorks\OpsWorksClient
  • Aws\OpsWorksCM\OpsWorksCMClient
  • Aws\Organizations\OrganizationsClient
  • Aws\Outposts\OutpostsClient
  • Aws\Panorama\PanoramaClient
  • Aws\Personalize\PersonalizeClient
  • Aws\PersonalizeEvents\PersonalizeEventsClient
  • Aws\PersonalizeRuntime\PersonalizeRuntimeClient
  • Aws\PhpHash
  • Aws\PI\PIClient
  • Aws\Pinpoint\PinpointClient
  • Aws\PinpointEmail\PinpointEmailClient
  • Aws\PinpointSMSVoice\PinpointSMSVoiceClient
  • Aws\PinpointSMSVoiceV2\PinpointSMSVoiceV2Client
  • Aws\Pipes\PipesClient
  • Aws\Polly\PollyClient
  • Aws\PresignUrlMiddleware
  • Aws\Pricing\PricingClient
  • Aws\PrivateNetworks\PrivateNetworksClient
  • Aws\PrometheusService\PrometheusServiceClient
  • Aws\Proton\ProtonClient
  • Aws\Psr16CacheAdapter
  • Aws\PsrCacheAdapter
  • Aws\QLDB\QLDBClient
  • Aws\QLDBSession\QLDBSessionClient
  • Aws\QuickSight\QuickSightClient
  • Aws\RAM\RAMClient
  • Aws\Rds\AuthTokenGenerator
  • Aws\Rds\RdsClient
  • Aws\RDSDataService\RDSDataServiceClient
  • Aws\RecycleBin\RecycleBinClient
  • Aws\Redshift\RedshiftClient
  • Aws\RedshiftDataAPIService\RedshiftDataAPIServiceClient
  • Aws\RedshiftServerless\RedshiftServerlessClient
  • Aws\Rekognition\RekognitionClient
  • Aws\ResilienceHub\ResilienceHubClient
  • Aws\ResourceExplorer2\ResourceExplorer2Client
  • Aws\ResourceGroups\ResourceGroupsClient
  • Aws\ResourceGroupsTaggingAPI\ResourceGroupsTaggingAPIClient
  • Aws\Result
  • Aws\ResultPaginator
  • Aws\Retry\Configuration
  • Aws\Retry\ConfigurationProvider
  • Aws\RoboMaker\RoboMakerClient
  • Aws\RolesAnywhere\RolesAnywhereClient
  • Aws\Route53\Route53Client
  • Aws\Route53Domains\Route53DomainsClient
  • Aws\Route53RecoveryCluster\Route53RecoveryClusterClient
  • Aws\Route53RecoveryControlConfig\Route53RecoveryControlConfigClient
  • Aws\Route53RecoveryReadiness\Route53RecoveryReadinessClient
  • Aws\Route53Resolver\Route53ResolverClient
  • Aws\S3\BatchDelete
  • Aws\S3\Crypto\HeadersMetadataStrategy
  • Aws\S3\Crypto\InstructionFileMetadataStrategy
  • Aws\S3\Crypto\S3EncryptionClient
  • Aws\S3\Crypto\S3EncryptionClientV2
  • Aws\S3\Crypto\S3EncryptionMultipartUploader
  • Aws\S3\Crypto\S3EncryptionMultipartUploaderV2
  • Aws\S3\GetBucketLocationParser
  • Aws\S3\MultipartUploader
  • Aws\S3\ObjectCopier
  • Aws\S3\ObjectUploader
  • Aws\S3\PostObject
  • Aws\S3\PostObjectV4
  • Aws\S3\RegionalEndpoint\Configuration
  • Aws\S3\RegionalEndpoint\ConfigurationProvider
  • Aws\S3\S3Client
  • Aws\S3\S3MultiRegionClient
  • Aws\S3\S3UriParser
  • Aws\S3\StreamWrapper
  • Aws\S3\Transfer
  • Aws\S3\UseArnRegion\Configuration
  • Aws\S3\UseArnRegion\ConfigurationProvider
  • Aws\S3\ValidateResponseChecksumParser
  • Aws\S3Control\S3ControlClient
  • Aws\S3Outposts\S3OutpostsClient
  • Aws\SageMaker\SageMakerClient
  • Aws\SagemakerEdgeManager\SagemakerEdgeManagerClient
  • Aws\SageMakerFeatureStoreRuntime\SageMakerFeatureStoreRuntimeClient
  • Aws\SageMakerGeospatial\SageMakerGeospatialClient
  • Aws\SageMakerMetrics\SageMakerMetricsClient
  • Aws\SageMakerRuntime\SageMakerRuntimeClient
  • Aws\SavingsPlans\SavingsPlansClient
  • Aws\Scheduler\SchedulerClient
  • Aws\Schemas\SchemasClient
  • Aws\Script\Composer\Composer
  • Aws\Sdk
  • Aws\SecretsManager\SecretsManagerClient
  • Aws\SecurityHub\SecurityHubClient
  • Aws\SecurityLake\SecurityLakeClient
  • Aws\ServerlessApplicationRepository\ServerlessApplicationRepositoryClient
  • Aws\ServiceCatalog\ServiceCatalogClient
  • Aws\ServiceDiscovery\ServiceDiscoveryClient
  • Aws\ServiceQuotas\ServiceQuotasClient
  • Aws\Ses\SesClient
  • Aws\SesV2\SesV2Client
  • Aws\Sfn\SfnClient
  • Aws\Shield\ShieldClient
  • Aws\Signature\AnonymousSignature
  • Aws\Signature\S3SignatureV4
  • Aws\Signature\SignatureProvider
  • Aws\Signature\SignatureV4
  • Aws\signer\signerClient
  • Aws\SimSpaceWeaver\SimSpaceWeaverClient
  • Aws\Sms\SmsClient
  • Aws\SnowBall\SnowBallClient
  • Aws\SnowDeviceManagement\SnowDeviceManagementClient
  • Aws\Sns\Message
  • Aws\Sns\MessageValidator
  • Aws\Sns\SnsClient
  • Aws\Sqs\SqsClient
  • Aws\Ssm\SsmClient
  • Aws\SSMContacts\SSMContactsClient
  • Aws\SSMIncidents\SSMIncidentsClient
  • Aws\SsmSap\SsmSapClient
  • Aws\SSO\SSOClient
  • Aws\SSOAdmin\SSOAdminClient
  • Aws\SSOOIDC\SSOOIDCClient
  • Aws\StorageGateway\StorageGatewayClient
  • Aws\Sts\RegionalEndpoints\Configuration
  • Aws\Sts\RegionalEndpoints\ConfigurationProvider
  • Aws\Sts\StsClient
  • Aws\Support\SupportClient
  • Aws\SupportApp\SupportAppClient
  • Aws\Swf\SwfClient
  • Aws\Synthetics\SyntheticsClient
  • Aws\Textract\TextractClient
  • Aws\TimestreamQuery\TimestreamQueryClient
  • Aws\TimestreamWrite\TimestreamWriteClient
  • Aws\Tnb\TnbClient
  • Aws\Token\BearerTokenAuthorization
  • Aws\Token\SsoToken
  • Aws\Token\SsoTokenProvider
  • Aws\Token\Token
  • Aws\Token\TokenProvider
  • Aws\TraceMiddleware
  • Aws\TranscribeService\TranscribeServiceClient
  • Aws\Transfer\TransferClient
  • Aws\Translate\TranslateClient
  • Aws\VoiceID\VoiceIDClient
  • Aws\Waf\WafClient
  • Aws\WafRegional\WafRegionalClient
  • Aws\WAFV2\WAFV2Client
  • Aws\Waiter
  • Aws\WellArchitected\WellArchitectedClient
  • Aws\WorkDocs\WorkDocsClient
  • Aws\WorkLink\WorkLinkClient
  • Aws\WorkMail\WorkMailClient
  • Aws\WorkMailMessageFlow\WorkMailMessageFlowClient
  • Aws\WorkSpaces\WorkSpacesClient
  • Aws\WorkSpacesWeb\WorkSpacesWebClient
  • Aws\WrappedHttpHandler
  • Aws\XRay\XRayClient

Interfaces

  • Aws\AwsClientInterface
  • Aws\CacheInterface
  • Aws\ClientSideMonitoring\ConfigurationInterface
  • Aws\CommandInterface
  • Aws\ConfigurationProviderInterface
  • Aws\Credentials\CredentialsInterface
  • Aws\Crypto\AesStreamInterface
  • Aws\Crypto\AesStreamInterfaceV2
  • Aws\Crypto\Cipher\CipherMethod
  • Aws\Crypto\MaterialsProviderInterface
  • Aws\Crypto\MaterialsProviderInterfaceV2
  • Aws\Crypto\MetadataStrategyInterface
  • Aws\DefaultsMode\ConfigurationInterface
  • Aws\DynamoDb\SessionConnectionInterface
  • Aws\Endpoint\PartitionInterface
  • Aws\Endpoint\UseDualstackEndpoint\ConfigurationInterface
  • Aws\Endpoint\UseFipsEndpoint\ConfigurationInterface
  • Aws\EndpointDiscovery\ConfigurationInterface
  • Aws\HashInterface
  • Aws\MonitoringEventsInterface
  • Aws\ResponseContainerInterface
  • Aws\ResultInterface
  • Aws\Retry\ConfigurationInterface
  • Aws\S3\RegionalEndpoint\ConfigurationInterface
  • Aws\S3\S3ClientInterface
  • Aws\S3\UseArnRegion\ConfigurationInterface
  • Aws\Signature\SignatureInterface
  • Aws\Sts\RegionalEndpoints\ConfigurationInterface
  • Aws\Token\RefreshableTokenProviderInterface
  • Aws\Token\TokenAuthorization
  • Aws\Token\TokenInterface

Traits

  • Aws\Api\ErrorParser\JsonParserTrait
  • Aws\Api\Parser\MetadataParserTrait
  • Aws\Api\Parser\PayloadParserTrait
  • Aws\AwsClientTrait
  • Aws\Crypto\Cipher\CipherBuilderTrait
  • Aws\Crypto\DecryptionTrait
  • Aws\Crypto\DecryptionTraitV2
  • Aws\Crypto\EncryptionTrait
  • Aws\Crypto\EncryptionTraitV2
  • Aws\Crypto\Polyfill\NeedsTrait
  • Aws\DynamoDb\SessionConnectionConfigTrait
  • Aws\HasDataTrait
  • Aws\HasMonitoringEventsTrait
  • Aws\Retry\RetryHelperTrait
  • Aws\S3\CalculatesChecksumTrait
  • Aws\S3\Crypto\CryptoParamsTrait
  • Aws\S3\Crypto\CryptoParamsTraitV2
  • Aws\S3\Crypto\UserAgentTrait
  • Aws\S3\MultipartUploadingTrait
  • Aws\S3\S3ClientTrait
  • Aws\Signature\SignatureTrait
  • Aws\Token\ParsesIniTrait

Exceptions

  • Aws\AccessAnalyzer\Exception\AccessAnalyzerException
  • Aws\Account\Exception\AccountException
  • Aws\Acm\Exception\AcmException
  • Aws\ACMPCA\Exception\ACMPCAException
  • Aws\AlexaForBusiness\Exception\AlexaForBusinessException
  • Aws\Amplify\Exception\AmplifyException
  • Aws\AmplifyBackend\Exception\AmplifyBackendException
  • Aws\AmplifyUIBuilder\Exception\AmplifyUIBuilderException
  • Aws\Api\Parser\Exception\ParserException
  • Aws\ApiGateway\Exception\ApiGatewayException
  • Aws\ApiGatewayManagementApi\Exception\ApiGatewayManagementApiException
  • Aws\ApiGatewayV2\Exception\ApiGatewayV2Exception
  • Aws\AppConfig\Exception\AppConfigException
  • Aws\AppConfigData\Exception\AppConfigDataException
  • Aws\Appflow\Exception\AppflowException
  • Aws\AppIntegrationsService\Exception\AppIntegrationsServiceException
  • Aws\ApplicationAutoScaling\Exception\ApplicationAutoScalingException
  • Aws\ApplicationCostProfiler\Exception\ApplicationCostProfilerException
  • Aws\ApplicationDiscoveryService\Exception\ApplicationDiscoveryServiceException
  • Aws\ApplicationInsights\Exception\ApplicationInsightsException
  • Aws\AppMesh\Exception\AppMeshException
  • Aws\AppRegistry\Exception\AppRegistryException
  • Aws\AppRunner\Exception\AppRunnerException
  • Aws\Appstream\Exception\AppstreamException
  • Aws\AppSync\Exception\AppSyncException
  • Aws\ARCZonalShift\Exception\ARCZonalShiftException
  • Aws\Arn\Exception\InvalidArnException
  • Aws\Athena\Exception\AthenaException
  • Aws\AuditManager\Exception\AuditManagerException
  • Aws\AugmentedAIRuntime\Exception\AugmentedAIRuntimeException
  • Aws\AutoScaling\Exception\AutoScalingException
  • Aws\AutoScalingPlans\Exception\AutoScalingPlansException
  • Aws\Backup\Exception\BackupException
  • Aws\BackupGateway\Exception\BackupGatewayException
  • Aws\BackupStorage\Exception\BackupStorageException
  • Aws\Batch\Exception\BatchException
  • Aws\BillingConductor\Exception\BillingConductorException
  • Aws\Braket\Exception\BraketException
  • Aws\Budgets\Exception\BudgetsException
  • Aws\Chime\Exception\ChimeException
  • Aws\ChimeSDKIdentity\Exception\ChimeSDKIdentityException
  • Aws\ChimeSDKMediaPipelines\Exception\ChimeSDKMediaPipelinesException
  • Aws\ChimeSDKMeetings\Exception\ChimeSDKMeetingsException
  • Aws\ChimeSDKMessaging\Exception\ChimeSDKMessagingException
  • Aws\ChimeSDKVoice\Exception\ChimeSDKVoiceException
  • Aws\CleanRooms\Exception\CleanRoomsException
  • Aws\ClientSideMonitoring\Exception\ConfigurationException
  • Aws\Cloud9\Exception\Cloud9Exception
  • Aws\CloudControlApi\Exception\CloudControlApiException
  • Aws\CloudDirectory\Exception\CloudDirectoryException
  • Aws\CloudFormation\Exception\CloudFormationException
  • Aws\CloudFront\Exception\CloudFrontException
  • Aws\CloudHsm\Exception\CloudHsmException
  • Aws\CloudHSMV2\Exception\CloudHSMV2Exception
  • Aws\CloudSearch\Exception\CloudSearchException
  • Aws\CloudSearchDomain\Exception\CloudSearchDomainException
  • Aws\CloudTrail\Exception\CloudTrailException
  • Aws\CloudTrailData\Exception\CloudTrailDataException
  • Aws\CloudWatch\Exception\CloudWatchException
  • Aws\CloudWatchEvents\Exception\CloudWatchEventsException
  • Aws\CloudWatchEvidently\Exception\CloudWatchEvidentlyException
  • Aws\CloudWatchLogs\Exception\CloudWatchLogsException
  • Aws\CloudWatchRUM\Exception\CloudWatchRUMException
  • Aws\CodeArtifact\Exception\CodeArtifactException
  • Aws\CodeBuild\Exception\CodeBuildException
  • Aws\CodeCatalyst\Exception\CodeCatalystException
  • Aws\CodeCommit\Exception\CodeCommitException
  • Aws\CodeDeploy\Exception\CodeDeployException
  • Aws\CodeGuruProfiler\Exception\CodeGuruProfilerException
  • Aws\CodeGuruReviewer\Exception\CodeGuruReviewerException
  • Aws\CodePipeline\Exception\CodePipelineException
  • Aws\CodeStar\Exception\CodeStarException
  • Aws\CodeStarconnections\Exception\CodeStarconnectionsException
  • Aws\CodeStarNotifications\Exception\CodeStarNotificationsException
  • Aws\CognitoIdentity\Exception\CognitoIdentityException
  • Aws\CognitoIdentityProvider\Exception\CognitoIdentityProviderException
  • Aws\CognitoSync\Exception\CognitoSyncException
  • Aws\Comprehend\Exception\ComprehendException
  • Aws\ComprehendMedical\Exception\ComprehendMedicalException
  • Aws\ComputeOptimizer\Exception\ComputeOptimizerException
  • Aws\ConfigService\Exception\ConfigServiceException
  • Aws\Connect\Exception\ConnectException
  • Aws\ConnectCampaignService\Exception\ConnectCampaignServiceException
  • Aws\ConnectCases\Exception\ConnectCasesException
  • Aws\ConnectContactLens\Exception\ConnectContactLensException
  • Aws\ConnectParticipant\Exception\ConnectParticipantException
  • Aws\ConnectWisdomService\Exception\ConnectWisdomServiceException
  • Aws\ControlTower\Exception\ControlTowerException
  • Aws\CostandUsageReportService\Exception\CostandUsageReportServiceException
  • Aws\CostExplorer\Exception\CostExplorerException
  • Aws\CustomerProfiles\Exception\CustomerProfilesException
  • Aws\DatabaseMigrationService\Exception\DatabaseMigrationServiceException
  • Aws\DataExchange\Exception\DataExchangeException
  • Aws\DataPipeline\Exception\DataPipelineException
  • Aws\DataSync\Exception\DataSyncException
  • Aws\DAX\Exception\DAXException
  • Aws\DefaultsMode\Exception\ConfigurationException
  • Aws\Detective\Exception\DetectiveException
  • Aws\DeviceFarm\Exception\DeviceFarmException
  • Aws\DevOpsGuru\Exception\DevOpsGuruException
  • Aws\DirectConnect\Exception\DirectConnectException
  • Aws\DirectoryService\Exception\DirectoryServiceException
  • Aws\DLM\Exception\DLMException
  • Aws\DocDB\Exception\DocDBException
  • Aws\DocDBElastic\Exception\DocDBElasticException
  • Aws\drs\Exception\drsException
  • Aws\DynamoDb\Exception\DynamoDbException
  • Aws\DynamoDbStreams\Exception\DynamoDbStreamsException
  • Aws\EBS\Exception\EBSException
  • Aws\Ec2\Exception\Ec2Exception
  • Aws\EC2InstanceConnect\Exception\EC2InstanceConnectException
  • Aws\Ecr\Exception\EcrException
  • Aws\ECRPublic\Exception\ECRPublicException
  • Aws\Ecs\Exception\EcsException
  • Aws\Efs\Exception\EfsException
  • Aws\EKS\Exception\EKSException
  • Aws\ElastiCache\Exception\ElastiCacheException
  • Aws\ElasticBeanstalk\Exception\ElasticBeanstalkException
  • Aws\ElasticInference\Exception\ElasticInferenceException
  • Aws\ElasticLoadBalancing\Exception\ElasticLoadBalancingException
  • Aws\ElasticLoadBalancingV2\Exception\ElasticLoadBalancingV2Exception
  • Aws\ElasticsearchService\Exception\ElasticsearchServiceException
  • Aws\ElasticTranscoder\Exception\ElasticTranscoderException
  • Aws\Emr\Exception\EmrException
  • Aws\EMRContainers\Exception\EMRContainersException
  • Aws\EMRServerless\Exception\EMRServerlessException
  • Aws\Endpoint\UseDualstackEndpoint\Exception\ConfigurationException
  • Aws\Endpoint\UseFipsEndpoint\Exception\ConfigurationException
  • Aws\EndpointDiscovery\Exception\ConfigurationException
  • Aws\EventBridge\Exception\EventBridgeException
  • Aws\Exception\AwsException
  • Aws\Exception\CommonRuntimeException
  • Aws\Exception\CouldNotCreateChecksumException
  • Aws\Exception\CredentialsException
  • Aws\Exception\CryptoException
  • Aws\Exception\CryptoPolyfillException
  • Aws\Exception\EventStreamDataException
  • Aws\Exception\IncalculablePayloadException
  • Aws\Exception\InvalidJsonException
  • Aws\Exception\InvalidRegionException
  • Aws\Exception\MultipartUploadException
  • Aws\Exception\TokenException
  • Aws\Exception\UnresolvedApiException
  • Aws\Exception\UnresolvedEndpointException
  • Aws\Exception\UnresolvedSignatureException
  • Aws\finspace\Exception\finspaceException
  • Aws\FinSpaceData\Exception\FinSpaceDataException
  • Aws\Firehose\Exception\FirehoseException
  • Aws\FIS\Exception\FISException
  • Aws\FMS\Exception\FMSException
  • Aws\ForecastQueryService\Exception\ForecastQueryServiceException
  • Aws\ForecastService\Exception\ForecastServiceException
  • Aws\FraudDetector\Exception\FraudDetectorException
  • Aws\FSx\Exception\FSxException
  • Aws\GameLift\Exception\GameLiftException
  • Aws\GameSparks\Exception\GameSparksException
  • Aws\Glacier\Exception\GlacierException
  • Aws\GlobalAccelerator\Exception\GlobalAcceleratorException
  • Aws\Glue\Exception\GlueException
  • Aws\GlueDataBrew\Exception\GlueDataBrewException
  • Aws\Greengrass\Exception\GreengrassException
  • Aws\GreengrassV2\Exception\GreengrassV2Exception
  • Aws\GroundStation\Exception\GroundStationException
  • Aws\GuardDuty\Exception\GuardDutyException
  • Aws\Health\Exception\HealthException
  • Aws\HealthLake\Exception\HealthLakeException
  • Aws\Honeycode\Exception\HoneycodeException
  • Aws\Iam\Exception\IamException
  • Aws\IdentityStore\Exception\IdentityStoreException
  • Aws\imagebuilder\Exception\imagebuilderException
  • Aws\ImportExport\Exception\ImportExportException
  • Aws\Inspector2\Exception\Inspector2Exception
  • Aws\Inspector\Exception\InspectorException
  • Aws\InternetMonitor\Exception\InternetMonitorException
  • Aws\IoT1ClickDevicesService\Exception\IoT1ClickDevicesServiceException
  • Aws\IoT1ClickProjects\Exception\IoT1ClickProjectsException
  • Aws\Iot\Exception\IotException
  • Aws\IoTAnalytics\Exception\IoTAnalyticsException
  • Aws\IotDataPlane\Exception\IotDataPlaneException
  • Aws\IoTDeviceAdvisor\Exception\IoTDeviceAdvisorException
  • Aws\IoTEvents\Exception\IoTEventsException
  • Aws\IoTEventsData\Exception\IoTEventsDataException
  • Aws\IoTFleetHub\Exception\IoTFleetHubException
  • Aws\IoTFleetWise\Exception\IoTFleetWiseException
  • Aws\IoTJobsDataPlane\Exception\IoTJobsDataPlaneException
  • Aws\IoTRoboRunner\Exception\IoTRoboRunnerException
  • Aws\IoTSecureTunneling\Exception\IoTSecureTunnelingException
  • Aws\IoTSiteWise\Exception\IoTSiteWiseException
  • Aws\IoTThingsGraph\Exception\IoTThingsGraphException
  • Aws\IoTTwinMaker\Exception\IoTTwinMakerException
  • Aws\IoTWireless\Exception\IoTWirelessException
  • Aws\IVS\Exception\IVSException
  • Aws\ivschat\Exception\ivschatException
  • Aws\IVSRealTime\Exception\IVSRealTimeException
  • Aws\Kafka\Exception\KafkaException
  • Aws\KafkaConnect\Exception\KafkaConnectException
  • Aws\kendra\Exception\kendraException
  • Aws\KendraRanking\Exception\KendraRankingException
  • Aws\Keyspaces\Exception\KeyspacesException
  • Aws\Kinesis\Exception\KinesisException
  • Aws\KinesisAnalytics\Exception\KinesisAnalyticsException
  • Aws\KinesisAnalyticsV2\Exception\KinesisAnalyticsV2Exception
  • Aws\KinesisVideo\Exception\KinesisVideoException
  • Aws\KinesisVideoArchivedMedia\Exception\KinesisVideoArchivedMediaException
  • Aws\KinesisVideoMedia\Exception\KinesisVideoMediaException
  • Aws\KinesisVideoSignalingChannels\Exception\KinesisVideoSignalingChannelsException
  • Aws\KinesisVideoWebRTCStorage\Exception\KinesisVideoWebRTCStorageException
  • Aws\Kms\Exception\KmsException
  • Aws\LakeFormation\Exception\LakeFormationException
  • Aws\Lambda\Exception\LambdaException
  • Aws\LexModelBuildingService\Exception\LexModelBuildingServiceException
  • Aws\LexModelsV2\Exception\LexModelsV2Exception
  • Aws\LexRuntimeService\Exception\LexRuntimeServiceException
  • Aws\LexRuntimeV2\Exception\LexRuntimeV2Exception
  • Aws\LicenseManager\Exception\LicenseManagerException
  • Aws\LicenseManagerLinuxSubscriptions\Exception\LicenseManagerLinuxSubscriptionsException
  • Aws\LicenseManagerUserSubscriptions\Exception\LicenseManagerUserSubscriptionsException
  • Aws\Lightsail\Exception\LightsailException
  • Aws\LocationService\Exception\LocationServiceException
  • Aws\LookoutEquipment\Exception\LookoutEquipmentException
  • Aws\LookoutforVision\Exception\LookoutforVisionException
  • Aws\LookoutMetrics\Exception\LookoutMetricsException
  • Aws\MachineLearning\Exception\MachineLearningException
  • Aws\Macie2\Exception\Macie2Exception
  • Aws\Macie\Exception\MacieException
  • Aws\MainframeModernization\Exception\MainframeModernizationException
  • Aws\ManagedBlockchain\Exception\ManagedBlockchainException
  • Aws\ManagedGrafana\Exception\ManagedGrafanaException
  • Aws\MarketplaceCatalog\Exception\MarketplaceCatalogException
  • Aws\MarketplaceCommerceAnalytics\Exception\MarketplaceCommerceAnalyticsException
  • Aws\MarketplaceEntitlementService\Exception\MarketplaceEntitlementServiceException
  • Aws\MarketplaceMetering\Exception\MarketplaceMeteringException
  • Aws\MediaConnect\Exception\MediaConnectException
  • Aws\MediaConvert\Exception\MediaConvertException
  • Aws\MediaLive\Exception\MediaLiveException
  • Aws\MediaPackage\Exception\MediaPackageException
  • Aws\MediaPackageVod\Exception\MediaPackageVodException
  • Aws\MediaStore\Exception\MediaStoreException
  • Aws\MediaStoreData\Exception\MediaStoreDataException
  • Aws\MediaTailor\Exception\MediaTailorException
  • Aws\MemoryDB\Exception\MemoryDBException
  • Aws\mgn\Exception\mgnException
  • Aws\MigrationHub\Exception\MigrationHubException
  • Aws\MigrationHubConfig\Exception\MigrationHubConfigException
  • Aws\MigrationHubOrchestrator\Exception\MigrationHubOrchestratorException
  • Aws\MigrationHubRefactorSpaces\Exception\MigrationHubRefactorSpacesException
  • Aws\MigrationHubStrategyRecommendations\Exception\MigrationHubStrategyRecommendationsException
  • Aws\Mobile\Exception\MobileException
  • Aws\MQ\Exception\MQException
  • Aws\MTurk\Exception\MTurkException
  • Aws\MWAA\Exception\MWAAException
  • Aws\Neptune\Exception\NeptuneException
  • Aws\NetworkFirewall\Exception\NetworkFirewallException
  • Aws\NetworkManager\Exception\NetworkManagerException
  • Aws\NimbleStudio\Exception\NimbleStudioException
  • Aws\OAM\Exception\OAMException
  • Aws\Omics\Exception\OmicsException
  • Aws\OpenSearchServerless\Exception\OpenSearchServerlessException
  • Aws\OpenSearchService\Exception\OpenSearchServiceException
  • Aws\OpsWorks\Exception\OpsWorksException
  • Aws\OpsWorksCM\Exception\OpsWorksCMException
  • Aws\Organizations\Exception\OrganizationsException
  • Aws\Outposts\Exception\OutpostsException
  • Aws\Panorama\Exception\PanoramaException
  • Aws\Personalize\Exception\PersonalizeException
  • Aws\PersonalizeEvents\Exception\PersonalizeEventsException
  • Aws\PersonalizeRuntime\Exception\PersonalizeRuntimeException
  • Aws\PI\Exception\PIException
  • Aws\Pinpoint\Exception\PinpointException
  • Aws\PinpointEmail\Exception\PinpointEmailException
  • Aws\PinpointSMSVoice\Exception\PinpointSMSVoiceException
  • Aws\PinpointSMSVoiceV2\Exception\PinpointSMSVoiceV2Exception
  • Aws\Pipes\Exception\PipesException
  • Aws\Polly\Exception\PollyException
  • Aws\Pricing\Exception\PricingException
  • Aws\PrivateNetworks\Exception\PrivateNetworksException
  • Aws\PrometheusService\Exception\PrometheusServiceException
  • Aws\Proton\Exception\ProtonException
  • Aws\QLDB\Exception\QLDBException
  • Aws\QLDBSession\Exception\QLDBSessionException
  • Aws\QuickSight\Exception\QuickSightException
  • Aws\RAM\Exception\RAMException
  • Aws\Rds\Exception\RdsException
  • Aws\RDSDataService\Exception\RDSDataServiceException
  • Aws\RecycleBin\Exception\RecycleBinException
  • Aws\Redshift\Exception\RedshiftException
  • Aws\RedshiftDataAPIService\Exception\RedshiftDataAPIServiceException
  • Aws\RedshiftServerless\Exception\RedshiftServerlessException
  • Aws\Rekognition\Exception\RekognitionException
  • Aws\ResilienceHub\Exception\ResilienceHubException
  • Aws\ResourceExplorer2\Exception\ResourceExplorer2Exception
  • Aws\ResourceGroups\Exception\ResourceGroupsException
  • Aws\ResourceGroupsTaggingAPI\Exception\ResourceGroupsTaggingAPIException
  • Aws\Retry\Exception\ConfigurationException
  • Aws\RoboMaker\Exception\RoboMakerException
  • Aws\RolesAnywhere\Exception\RolesAnywhereException
  • Aws\Route53\Exception\Route53Exception
  • Aws\Route53Domains\Exception\Route53DomainsException
  • Aws\Route53RecoveryCluster\Exception\Route53RecoveryClusterException
  • Aws\Route53RecoveryControlConfig\Exception\Route53RecoveryControlConfigException
  • Aws\Route53RecoveryReadiness\Exception\Route53RecoveryReadinessException
  • Aws\Route53Resolver\Exception\Route53ResolverException
  • Aws\S3\Exception\DeleteMultipleObjectsException
  • Aws\S3\Exception\PermanentRedirectException
  • Aws\S3\Exception\S3Exception
  • Aws\S3\Exception\S3MultipartUploadException
  • Aws\S3\RegionalEndpoint\Exception\ConfigurationException
  • Aws\S3\UseArnRegion\Exception\ConfigurationException
  • Aws\S3Control\Exception\S3ControlException
  • Aws\S3Outposts\Exception\S3OutpostsException
  • Aws\SageMaker\Exception\SageMakerException
  • Aws\SagemakerEdgeManager\Exception\SagemakerEdgeManagerException
  • Aws\SageMakerFeatureStoreRuntime\Exception\SageMakerFeatureStoreRuntimeException
  • Aws\SageMakerGeospatial\Exception\SageMakerGeospatialException
  • Aws\SageMakerMetrics\Exception\SageMakerMetricsException
  • Aws\SageMakerRuntime\Exception\SageMakerRuntimeException
  • Aws\SavingsPlans\Exception\SavingsPlansException
  • Aws\Scheduler\Exception\SchedulerException
  • Aws\Schemas\Exception\SchemasException
  • Aws\SecretsManager\Exception\SecretsManagerException
  • Aws\SecurityHub\Exception\SecurityHubException
  • Aws\SecurityLake\Exception\SecurityLakeException
  • Aws\ServerlessApplicationRepository\Exception\ServerlessApplicationRepositoryException
  • Aws\ServiceCatalog\Exception\ServiceCatalogException
  • Aws\ServiceDiscovery\Exception\ServiceDiscoveryException
  • Aws\ServiceQuotas\Exception\ServiceQuotasException
  • Aws\Ses\Exception\SesException
  • Aws\SesV2\Exception\SesV2Exception
  • Aws\Sfn\Exception\SfnException
  • Aws\Shield\Exception\ShieldException
  • Aws\signer\Exception\signerException
  • Aws\SimSpaceWeaver\Exception\SimSpaceWeaverException
  • Aws\Sms\Exception\SmsException
  • Aws\SnowBall\Exception\SnowBallException
  • Aws\SnowDeviceManagement\Exception\SnowDeviceManagementException
  • Aws\Sns\Exception\InvalidSnsMessageException
  • Aws\Sns\Exception\SnsException
  • Aws\Sqs\Exception\SqsException
  • Aws\Ssm\Exception\SsmException
  • Aws\SSMContacts\Exception\SSMContactsException
  • Aws\SSMIncidents\Exception\SSMIncidentsException
  • Aws\SsmSap\Exception\SsmSapException
  • Aws\SSO\Exception\SSOException
  • Aws\SSOAdmin\Exception\SSOAdminException
  • Aws\SSOOIDC\Exception\SSOOIDCException
  • Aws\StorageGateway\Exception\StorageGatewayException
  • Aws\Sts\Exception\StsException
  • Aws\Sts\RegionalEndpoints\Exception\ConfigurationException
  • Aws\Support\Exception\SupportException
  • Aws\SupportApp\Exception\SupportAppException
  • Aws\Swf\Exception\SwfException
  • Aws\Synthetics\Exception\SyntheticsException
  • Aws\Textract\Exception\TextractException
  • Aws\TimestreamQuery\Exception\TimestreamQueryException
  • Aws\TimestreamWrite\Exception\TimestreamWriteException
  • Aws\Tnb\Exception\TnbException
  • Aws\TranscribeService\Exception\TranscribeServiceException
  • Aws\Transfer\Exception\TransferException
  • Aws\Translate\Exception\TranslateException
  • Aws\VoiceID\Exception\VoiceIDException
  • Aws\Waf\Exception\WafException
  • Aws\WafRegional\Exception\WafRegionalException
  • Aws\WAFV2\Exception\WAFV2Exception
  • Aws\WellArchitected\Exception\WellArchitectedException
  • Aws\WorkDocs\Exception\WorkDocsException
  • Aws\WorkLink\Exception\WorkLinkException
  • Aws\WorkMail\Exception\WorkMailException
  • Aws\WorkMailMessageFlow\Exception\WorkMailMessageFlowException
  • Aws\WorkSpaces\Exception\WorkSpacesException
  • Aws\WorkSpacesWeb\Exception\WorkSpacesWebException
  • Aws\XRay\Exception\XRayException

Functions

  • Aws\boolean_value
  • Aws\clear_compiled_json
  • Aws\constantly
  • Aws\default_http_handler
  • Aws\default_user_agent
  • Aws\describe_type
  • Aws\dir_iterator
  • Aws\filter
  • Aws\flatmap
  • Aws\guzzle_major_version
  • Aws\is_fips_pseudo_region
  • Aws\is_valid_epoch
  • Aws\is_valid_hostlabel
  • Aws\is_valid_hostname
  • Aws\load_compiled_json
  • Aws\manifest
  • Aws\map
  • Aws\or_chain
  • Aws\parse_ini_file
  • Aws\partition
  • Aws\recursive_dir_iterator
  • Aws\serialize
  • Aws\strip_fips_pseudo_regions

AWSKendraFrontendService 2019-02-03

Client: Aws\kendra\kendraClient
Service ID: kendra
Version: 2019-02-03

This page describes the parameters and results for the operations of the AWSKendraFrontendService (2019-02-03), and shows how to use the Aws\kendra\kendraClient object to call the described operations. This documentation is specific to the 2019-02-03 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

  • AssociateEntitiesToExperience ( array $params = [] )

    Grants users or groups in your IAM Identity Center identity source access to your Amazon Kendra experience.

  • AssociatePersonasToEntities ( array $params = [] )

    Defines the specific permissions of users or groups in your IAM Identity Center identity source with access to your Amazon Kendra experience.

  • BatchDeleteDocument ( array $params = [] )

    Removes one or more documents from an index.

  • BatchGetDocumentStatus ( array $params = [] )

    Returns the indexing status for one or more documents submitted with the BatchPutDocument API.

  • BatchPutDocument ( array $params = [] )

    Adds one or more documents to an index.

  • ClearQuerySuggestions ( array $params = [] )

    Clears existing query suggestions from an index.

  • CreateAccessControlConfiguration ( array $params = [] )

    Creates an access configuration for your documents.

  • CreateDataSource ( array $params = [] )

    Creates a data source connector that you want to use with an Amazon Kendra index.

  • CreateExperience ( array $params = [] )

    Creates an Amazon Kendra experience such as a search application.

  • CreateFaq ( array $params = [] )

    Creates an new set of frequently asked question (FAQ) questions and answers.

  • CreateIndex ( array $params = [] )

    Creates an Amazon Kendra index.

  • CreateQuerySuggestionsBlockList ( array $params = [] )

    Creates a block list to exlcude certain queries from suggestions.

  • CreateThesaurus ( array $params = [] )

    Creates a thesaurus for an index.

  • DeleteAccessControlConfiguration ( array $params = [] )

    Deletes an access control configuration that you created for your documents in an index.

  • DeleteDataSource ( array $params = [] )

    Deletes an Amazon Kendra data source connector.

  • DeleteExperience ( array $params = [] )

    Deletes your Amazon Kendra experience such as a search application.

  • DeleteFaq ( array $params = [] )

    Removes an FAQ from an index.

  • DeleteIndex ( array $params = [] )

    Deletes an existing Amazon Kendra index.

  • DeletePrincipalMapping ( array $params = [] )

    Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group.

  • DeleteQuerySuggestionsBlockList ( array $params = [] )

    Deletes a block list used for query suggestions for an index.

  • DeleteThesaurus ( array $params = [] )

    Deletes an existing Amazon Kendra thesaurus.

  • DescribeAccessControlConfiguration ( array $params = [] )

    Gets information about an access control configuration that you created for your documents in an index.

  • DescribeDataSource ( array $params = [] )

    Gets information about an Amazon Kendra data source connector.

  • DescribeExperience ( array $params = [] )

    Gets information about your Amazon Kendra experience such as a search application.

  • DescribeFaq ( array $params = [] )

    Gets information about an FAQ list.

  • DescribeIndex ( array $params = [] )

    Gets information about an existing Amazon Kendra index.

  • DescribePrincipalMapping ( array $params = [] )

    Describes the processing of PUT and DELETE actions for mapping users to their groups.

  • DescribeQuerySuggestionsBlockList ( array $params = [] )

    Gets information about a block list used for query suggestions for an index.

  • DescribeQuerySuggestionsConfig ( array $params = [] )

    Gets information on the settings of query suggestions for an index.

  • DescribeThesaurus ( array $params = [] )

    Gets information about an existing Amazon Kendra thesaurus.

  • DisassociateEntitiesFromExperience ( array $params = [] )

    Prevents users or groups in your IAM Identity Center identity source from accessing your Amazon Kendra experience.

  • DisassociatePersonasFromEntities ( array $params = [] )

    Removes the specific permissions of users or groups in your IAM Identity Center identity source with access to your Amazon Kendra experience.

  • GetQuerySuggestions ( array $params = [] )

    Fetches the queries that are suggested to your users.

  • GetSnapshots ( array $params = [] )

    Retrieves search metrics data.

  • ListAccessControlConfigurations ( array $params = [] )

    Lists one or more access control configurations for an index.

  • ListDataSourceSyncJobs ( array $params = [] )

    Gets statistics about synchronizing a data source connector.

  • ListDataSources ( array $params = [] )

    Lists the data source connectors that you have created.

  • ListEntityPersonas ( array $params = [] )

    Lists specific permissions of users and groups with access to your Amazon Kendra experience.

  • ListExperienceEntities ( array $params = [] )

    Lists users or groups in your IAM Identity Center identity source that are granted access to your Amazon Kendra experience.

  • ListExperiences ( array $params = [] )

    Lists one or more Amazon Kendra experiences.

  • ListFaqs ( array $params = [] )

    Gets a list of FAQ lists associated with an index.

  • ListGroupsOlderThanOrderingId ( array $params = [] )

    Provides a list of groups that are mapped to users before a given ordering or timestamp identifier.

  • ListIndices ( array $params = [] )

    Lists the Amazon Kendra indexes that you created.

  • ListQuerySuggestionsBlockLists ( array $params = [] )

    Lists the block lists used for query suggestions for an index.

  • ListTagsForResource ( array $params = [] )

    Gets a list of tags associated with a specified resource.

  • ListThesauri ( array $params = [] )

    Lists the thesauri for an index.

  • PutPrincipalMapping ( array $params = [] )

    Maps users to their groups so that you only need to provide the user ID when you issue the query.

  • Query ( array $params = [] )

    Searches an active index.

  • StartDataSourceSyncJob ( array $params = [] )

    Starts a synchronization job for a data source connector.

  • StopDataSourceSyncJob ( array $params = [] )

    Stops a synchronization job that is currently running.

  • SubmitFeedback ( array $params = [] )

    Enables you to provide feedback to Amazon Kendra to improve the performance of your index.

  • TagResource ( array $params = [] )

    Adds the specified tag to the specified index, FAQ, or data source resource.

  • UntagResource ( array $params = [] )

    Removes a tag from an index, FAQ, or a data source.

  • UpdateAccessControlConfiguration ( array $params = [] )

    Updates an access control configuration for your documents in an index.

  • UpdateDataSource ( array $params = [] )

    Updates an existing Amazon Kendra data source connector.

  • UpdateExperience ( array $params = [] )

    Updates your Amazon Kendra experience such as a search application.

  • UpdateIndex ( array $params = [] )

    Updates an existing Amazon Kendra index.

  • UpdateQuerySuggestionsBlockList ( array $params = [] )

    Updates a block list used for query suggestions for an index.

  • UpdateQuerySuggestionsConfig ( array $params = [] )

    Updates the settings of query suggestions for an index.

  • UpdateThesaurus ( array $params = [] )

    Updates a thesaurus for an index.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

  • GetSnapshots
  • ListAccessControlConfigurations
  • ListDataSourceSyncJobs
  • ListDataSources
  • ListEntityPersonas
  • ListExperienceEntities
  • ListExperiences
  • ListFaqs
  • ListGroupsOlderThanOrderingId
  • ListIndices
  • ListQuerySuggestionsBlockLists
  • ListThesauri

Operations

AssociateEntitiesToExperience

$result = $client->associateEntitiesToExperience([/* ... */]);
$promise = $client->associateEntitiesToExperienceAsync([/* ... */]);

Grants users or groups in your IAM Identity Center identity source access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->associateEntitiesToExperience([
    'EntityList' => [ // REQUIRED
        [
            'EntityId' => '<string>', // REQUIRED
            'EntityType' => 'USER|GROUP', // REQUIRED
        ],
        // ...
    ],
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
EntityList
  • Required: Yes
  • Type: Array of EntityConfiguration structures

Lists users or groups in your IAM Identity Center identity source.

Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

Result Syntax

[
    'FailedEntityList' => [
        [
            'EntityId' => '<string>',
            'ErrorMessage' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
FailedEntityList
  • Type: Array of FailedEntity structures

Lists the users or groups in your IAM Identity Center identity source that failed to properly configure with your Amazon Kendra experience.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ResourceAlreadyExistException:

    The resource you want to use already exists. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

AssociatePersonasToEntities

$result = $client->associatePersonasToEntities([/* ... */]);
$promise = $client->associatePersonasToEntitiesAsync([/* ... */]);

Defines the specific permissions of users or groups in your IAM Identity Center identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->associatePersonasToEntities([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'Personas' => [ // REQUIRED
        [
            'EntityId' => '<string>', // REQUIRED
            'Persona' => 'OWNER|VIEWER', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

Personas
  • Required: Yes
  • Type: Array of EntityPersonaConfiguration structures

The personas that define the specific permissions of users or groups in your IAM Identity Center identity source. The available personas or access roles are Owner and Viewer. For more information on these personas, see Providing access to your search page.

Result Syntax

[
    'FailedEntityList' => [
        [
            'EntityId' => '<string>',
            'ErrorMessage' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
FailedEntityList
  • Type: Array of FailedEntity structures

Lists the users or groups in your IAM Identity Center identity source that failed to properly configure with your Amazon Kendra experience.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ResourceAlreadyExistException:

    The resource you want to use already exists. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

BatchDeleteDocument

$result = $client->batchDeleteDocument([/* ... */]);
$promise = $client->batchDeleteDocumentAsync([/* ... */]);

Removes one or more documents from an index. The documents must have been added with the BatchPutDocument API.

The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to you CloudWatch log.

Parameter Syntax

$result = $client->batchDeleteDocument([
    'DataSourceSyncJobMetricTarget' => [
        'DataSourceId' => '<string>', // REQUIRED
        'DataSourceSyncJobId' => '<string>',
    ],
    'DocumentIdList' => ['<string>', ...], // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
DataSourceSyncJobMetricTarget
  • Type: DataSourceSyncJobMetricTarget structure

Maps a particular data source sync job to a particular data source.

DocumentIdList
  • Required: Yes
  • Type: Array of strings

One or more identifiers for documents to delete from the index.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index that contains the documents to delete.

Result Syntax

[
    'FailedDocuments' => [
        [
            'ErrorCode' => 'InternalError|InvalidRequest',
            'ErrorMessage' => '<string>',
            'Id' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
FailedDocuments
  • Type: Array of BatchDeleteDocumentResponseFailedDocument structures

A list of documents that could not be removed from the index. Each entry contains an error message that indicates why the document couldn't be removed from the index.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

BatchGetDocumentStatus

$result = $client->batchGetDocumentStatus([/* ... */]);
$promise = $client->batchGetDocumentStatusAsync([/* ... */]);

Returns the indexing status for one or more documents submitted with the BatchPutDocument API.

When you use the BatchPutDocument API, documents are indexed asynchronously. You can use the BatchGetDocumentStatus API to get the current status of a list of documents so that you can determine if they have been successfully indexed.

You can also use the BatchGetDocumentStatus API to check the status of the BatchDeleteDocument API. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND as the status.

Parameter Syntax

$result = $client->batchGetDocumentStatus([
    'DocumentInfoList' => [ // REQUIRED
        [
            'Attributes' => [
                [
                    'Key' => '<string>', // REQUIRED
                    'Value' => [ // REQUIRED
                        'DateValue' => <integer || string || DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                ],
                // ...
            ],
            'DocumentId' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
DocumentInfoList
  • Required: Yes
  • Type: Array of DocumentInfo structures

A list of DocumentInfo objects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index to add documents to. The index ID is returned by the CreateIndex API.

Result Syntax

[
    'DocumentStatusList' => [
        [
            'DocumentId' => '<string>',
            'DocumentStatus' => 'NOT_FOUND|PROCESSING|INDEXED|UPDATED|FAILED|UPDATE_FAILED',
            'FailureCode' => '<string>',
            'FailureReason' => '<string>',
        ],
        // ...
    ],
    'Errors' => [
        [
            'DocumentId' => '<string>',
            'ErrorCode' => 'InternalError|InvalidRequest',
            'ErrorMessage' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
DocumentStatusList
  • Type: Array of Status structures

The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.

Errors
  • Type: Array of BatchGetDocumentStatusResponseError structures

A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

BatchPutDocument

$result = $client->batchPutDocument([/* ... */]);
$promise = $client->batchPutDocumentAsync([/* ... */]);

Adds one or more documents to an index.

The BatchPutDocument API enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this API to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index.

The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log.

For an example of ingesting inline documents using Python and Java SDKs, see Adding files directly to an index.

Parameter Syntax

$result = $client->batchPutDocument([
    'CustomDocumentEnrichmentConfiguration' => [
        'InlineConfigurations' => [
            [
                'Condition' => [
                    'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                    'ConditionOnValue' => [
                        'DateValue' => <integer || string || DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
                ],
                'DocumentContentDeletion' => true || false,
                'Target' => [
                    'TargetDocumentAttributeKey' => '<string>',
                    'TargetDocumentAttributeValue' => [
                        'DateValue' => <integer || string || DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'TargetDocumentAttributeValueDeletion' => true || false,
                ],
            ],
            // ...
        ],
        'PostExtractionHookConfiguration' => [
            'InvocationCondition' => [
                'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                'ConditionOnValue' => [
                    'DateValue' => <integer || string || DateTime>,
                    'LongValue' => <integer>,
                    'StringListValue' => ['<string>', ...],
                    'StringValue' => '<string>',
                ],
                'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
            ],
            'LambdaArn' => '<string>', // REQUIRED
            'S3Bucket' => '<string>', // REQUIRED
        ],
        'PreExtractionHookConfiguration' => [
            'InvocationCondition' => [
                'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                'ConditionOnValue' => [
                    'DateValue' => <integer || string || DateTime>,
                    'LongValue' => <integer>,
                    'StringListValue' => ['<string>', ...],
                    'StringValue' => '<string>',
                ],
                'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
            ],
            'LambdaArn' => '<string>', // REQUIRED
            'S3Bucket' => '<string>', // REQUIRED
        ],
        'RoleArn' => '<string>',
    ],
    'Documents' => [ // REQUIRED
        [
            'AccessControlConfigurationId' => '<string>',
            'AccessControlList' => [
                [
                    'Access' => 'ALLOW|DENY', // REQUIRED
                    'DataSourceId' => '<string>',
                    'Name' => '<string>', // REQUIRED
                    'Type' => 'USER|GROUP', // REQUIRED
                ],
                // ...
            ],
            'Attributes' => [
                [
                    'Key' => '<string>', // REQUIRED
                    'Value' => [ // REQUIRED
                        'DateValue' => <integer || string || DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                ],
                // ...
            ],
            'Blob' => <string || resource || Psr\Http\Message\StreamInterface>,
            'ContentType' => 'PDF|HTML|MS_WORD|PLAIN_TEXT|PPT|RTF|XML|XSLT|MS_EXCEL|CSV|JSON|MD',
            'HierarchicalAccessControlList' => [
                [
                    'PrincipalList' => [ // REQUIRED
                        [
                            'Access' => 'ALLOW|DENY', // REQUIRED
                            'DataSourceId' => '<string>',
                            'Name' => '<string>', // REQUIRED
                            'Type' => 'USER|GROUP', // REQUIRED
                        ],
                        // ...
                    ],
                ],
                // ...
            ],
            'Id' => '<string>', // REQUIRED
            'S3Path' => [
                'Bucket' => '<string>', // REQUIRED
                'Key' => '<string>', // REQUIRED
            ],
            'Title' => '<string>',
        ],
        // ...
    ],
    'IndexId' => '<string>', // REQUIRED
    'RoleArn' => '<string>',
]);

Parameter Details

Members
CustomDocumentEnrichmentConfiguration
  • Type: CustomDocumentEnrichmentConfiguration structure

Configuration information for altering your document metadata and content during the document ingestion process when you use the BatchPutDocument API.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

Documents
  • Required: Yes
  • Type: Array of Document structures

One or more documents to add to the index.

Documents have the following file size limits.

  • 5 MB total size for inline documents

  • 50 MB total size for files from an S3 bucket

  • 5 MB extracted text for any file

For more information about file size and transaction per second quotas, see Quotas.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index to add the documents to. You need to create the index first using the CreateIndex API.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of a role that is allowed to run the BatchPutDocument API. For more information, see IAM Roles for Amazon Kendra.

Result Syntax

[
    'FailedDocuments' => [
        [
            'ErrorCode' => 'InternalError|InvalidRequest',
            'ErrorMessage' => '<string>',
            'Id' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
FailedDocuments
  • Type: Array of BatchPutDocumentResponseFailedDocument structures

A list of documents that were not added to the index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.

If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch Logs

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ClearQuerySuggestions

$result = $client->clearQuerySuggestions([/* ... */]);
$promise = $client->clearQuerySuggestionsAsync([/* ... */]);

Clears existing query suggestions from an index.

This deletes existing suggestions only, not the queries in the query log. After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. If you do not see any new suggestions, then please allow Amazon Kendra to collect enough queries to learn new suggestions.

ClearQuerySuggestions is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->clearQuerySuggestions([
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index you want to clear query suggestions from.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

CreateAccessControlConfiguration

$result = $client->createAccessControlConfiguration([/* ... */]);
$promise = $client->createAccessControlConfigurationAsync([/* ... */]);

Creates an access configuration for your documents. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

You can use this to re-configure your existing document level access control without indexing all of your documents again. For example, your index contains top-secret company documents that only certain employees or users should access. One of these users leaves the company or switches to a team that should be blocked from accessing top-secret documents. The user still has access to top-secret documents because the user had access when your documents were previously indexed. You can create a specific access control configuration for the user with deny access. You can later update the access control configuration to allow access if the user returns to the company and re-joins the 'top-secret' team. You can re-configure access control for your documents as circumstances change.

To apply your access control configuration to certain documents, you call the BatchPutDocument API with the AccessControlConfigurationId included in the Document object. If you use an S3 bucket as a data source, you update the .metadata.json with the AccessControlConfigurationId and synchronize your data source. Amazon Kendra currently only supports access control configuration for S3 data sources and documents indexed using the BatchPutDocument API.

Parameter Syntax

$result = $client->createAccessControlConfiguration([
    'AccessControlList' => [
        [
            'Access' => 'ALLOW|DENY', // REQUIRED
            'DataSourceId' => '<string>',
            'Name' => '<string>', // REQUIRED
            'Type' => 'USER|GROUP', // REQUIRED
        ],
        // ...
    ],
    'ClientToken' => '<string>',
    'Description' => '<string>',
    'HierarchicalAccessControlList' => [
        [
            'PrincipalList' => [ // REQUIRED
                [
                    'Access' => 'ALLOW|DENY', // REQUIRED
                    'DataSourceId' => '<string>',
                    'Name' => '<string>', // REQUIRED
                    'Type' => 'USER|GROUP', // REQUIRED
                ],
                // ...
            ],
        ],
        // ...
    ],
    'IndexId' => '<string>', // REQUIRED
    'Name' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccessControlList
  • Type: Array of Principal structures

Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

ClientToken
  • Type: string

A token that you provide to identify the request to create an access control configuration. Multiple calls to the CreateAccessControlConfiguration API with the same client token will create only one access control configuration.

Description
  • Type: string

A description for the access control configuration.

HierarchicalAccessControlList
  • Type: Array of HierarchicalPrincipal structures

The list of principal lists that define the hierarchy for which documents users should have access to.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index to create an access control configuration for your documents.

Name
  • Required: Yes
  • Type: string

A name for the access control configuration.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the access control configuration for your documents in an index.

Errors

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

CreateDataSource

$result = $client->createDataSource([/* ... */]);
$promise = $client->createDataSourceAsync([/* ... */]);

Creates a data source connector that you want to use with an Amazon Kendra index.

You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector.

CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.

Amazon S3 and custom data sources are the only supported data sources in the Amazon Web Services GovCloud (US-West) region.

For an example of creating an index and data source using the Python SDK, see Getting started with Python SDK. For an example of creating an index and data source using the Java SDK, see Getting started with Java SDK.

Parameter Syntax

$result = $client->createDataSource([
    'ClientToken' => '<string>',
    'Configuration' => [
        'AlfrescoConfiguration' => [
            'BlogFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'CrawlComments' => true || false,
            'CrawlSystemFolders' => true || false,
            'DocumentLibraryFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'EntityFilter' => ['<string>', ...],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>', // REQUIRED
            'SiteId' => '<string>', // REQUIRED
            'SiteUrl' => '<string>', // REQUIRED
            'SslCertificateS3Path' => [ // REQUIRED
                'Bucket' => '<string>', // REQUIRED
                'Key' => '<string>', // REQUIRED
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
            'WikiFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
        ],
        'BoxConfiguration' => [
            'CommentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'CrawlComments' => true || false,
            'CrawlTasks' => true || false,
            'CrawlWebLinks' => true || false,
            'EnterpriseId' => '<string>', // REQUIRED
            'ExclusionPatterns' => ['<string>', ...],
            'FileFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>', // REQUIRED
            'TaskFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
            'WebLinkFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
        ],
        'ConfluenceConfiguration' => [
            'AttachmentConfiguration' => [
                'AttachmentFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|CONTENT_TYPE|CREATED_DATE|DISPLAY_URL|FILE_SIZE|ITEM_TYPE|PARENT_ID|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
                'CrawlAttachments' => true || false,
            ],
            'AuthenticationType' => 'HTTP_BASIC|PAT',
            'BlogConfiguration' => [
                'BlogFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|DISPLAY_URL|ITEM_TYPE|LABELS|PUBLISH_DATE|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'PageConfiguration' => [
                'PageFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|CONTENT_STATUS|CREATED_DATE|DISPLAY_URL|ITEM_TYPE|LABELS|MODIFIED_DATE|PARENT_ID|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>', // REQUIRED
                'Port' => <integer>, // REQUIRED
            ],
            'SecretArn' => '<string>', // REQUIRED
            'ServerUrl' => '<string>', // REQUIRED
            'SpaceConfiguration' => [
                'CrawlArchivedSpaces' => true || false,
                'CrawlPersonalSpaces' => true || false,
                'ExcludeSpaces' => ['<string>', ...],
                'IncludeSpaces' => ['<string>', ...],
                'SpaceFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'DISPLAY_URL|ITEM_TYPE|SPACE_KEY|URL',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'Version' => 'CLOUD|SERVER', // REQUIRED
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'DatabaseConfiguration' => [
            'AclConfiguration' => [
                'AllowedGroupsColumnName' => '<string>', // REQUIRED
            ],
            'ColumnConfiguration' => [ // REQUIRED
                'ChangeDetectingColumns' => ['<string>', ...], // REQUIRED
                'DocumentDataColumnName' => '<string>', // REQUIRED
                'DocumentIdColumnName' => '<string>', // REQUIRED
                'DocumentTitleColumnName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
            ],
            'ConnectionConfiguration' => [ // REQUIRED
                'DatabaseHost' => '<string>', // REQUIRED
                'DatabaseName' => '<string>', // REQUIRED
                'DatabasePort' => <integer>, // REQUIRED
                'SecretArn' => '<string>', // REQUIRED
                'TableName' => '<string>', // REQUIRED
            ],
            'DatabaseEngineType' => 'RDS_AURORA_MYSQL|RDS_AURORA_POSTGRESQL|RDS_MYSQL|RDS_POSTGRESQL', // REQUIRED
            'SqlConfiguration' => [
                'QueryIdentifiersEnclosingOption' => 'DOUBLE_QUOTES|NONE',
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'FsxConfiguration' => [
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'FileSystemId' => '<string>', // REQUIRED
            'FileSystemType' => 'WINDOWS', // REQUIRED
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>',
            'VpcConfiguration' => [ // REQUIRED
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'GitHubConfiguration' => [
            'ExclusionFileNamePatterns' => ['<string>', ...],
            'ExclusionFileTypePatterns' => ['<string>', ...],
            'ExclusionFolderNamePatterns' => ['<string>', ...],
            'GitHubCommitConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubDocumentCrawlProperties' => [
                'CrawlIssue' => true || false,
                'CrawlIssueComment' => true || false,
                'CrawlIssueCommentAttachment' => true || false,
                'CrawlPullRequest' => true || false,
                'CrawlPullRequestComment' => true || false,
                'CrawlPullRequestCommentAttachment' => true || false,
                'CrawlRepositoryDocuments' => true || false,
            ],
            'GitHubIssueAttachmentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubIssueCommentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubIssueDocumentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubPullRequestCommentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubPullRequestDocumentAttachmentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubPullRequestDocumentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubRepositoryConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionFileNamePatterns' => ['<string>', ...],
            'InclusionFileTypePatterns' => ['<string>', ...],
            'InclusionFolderNamePatterns' => ['<string>', ...],
            'OnPremiseConfiguration' => [
                'HostUrl' => '<string>', // REQUIRED
                'OrganizationName' => '<string>', // REQUIRED
                'SslCertificateS3Path' => [ // REQUIRED
                    'Bucket' => '<string>', // REQUIRED
                    'Key' => '<string>', // REQUIRED
                ],
            ],
            'RepositoryFilter' => ['<string>', ...],
            'SaaSConfiguration' => [
                'HostUrl' => '<string>', // REQUIRED
                'OrganizationName' => '<string>', // REQUIRED
            ],
            'SecretArn' => '<string>', // REQUIRED
            'Type' => 'SAAS|ON_PREMISE',
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'GoogleDriveConfiguration' => [
            'ExcludeMimeTypes' => ['<string>', ...],
            'ExcludeSharedDrives' => ['<string>', ...],
            'ExcludeUserAccounts' => ['<string>', ...],
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>', // REQUIRED
        ],
        'JiraConfiguration' => [
            'AttachmentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'CommentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'IssueFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'IssueSubEntityFilter' => ['<string>', ...],
            'IssueType' => ['<string>', ...],
            'JiraAccountUrl' => '<string>', // REQUIRED
            'Project' => ['<string>', ...],
            'ProjectFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'SecretArn' => '<string>', // REQUIRED
            'Status' => ['<string>', ...],
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
            'WorkLogFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
        ],
        'OneDriveConfiguration' => [
            'DisableLocalGroups' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'OneDriveUsers' => [ // REQUIRED
                'OneDriveUserList' => ['<string>', ...],
                'OneDriveUserS3Path' => [
                    'Bucket' => '<string>', // REQUIRED
                    'Key' => '<string>', // REQUIRED
                ],
            ],
            'SecretArn' => '<string>', // REQUIRED
            'TenantDomain' => '<string>', // REQUIRED
        ],
        'QuipConfiguration' => [
            'AttachmentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'CrawlAttachments' => true || false,
            'CrawlChatRooms' => true || false,
            'CrawlFileComments' => true || false,
            'Domain' => '<string>', // REQUIRED
            'ExclusionPatterns' => ['<string>', ...],
            'FolderIds' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'MessageFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'SecretArn' => '<string>', // REQUIRED
            'ThreadFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'S3Configuration' => [
            'AccessControlListConfiguration' => [
                'KeyPath' => '<string>',
            ],
            'BucketName' => '<string>', // REQUIRED
            'DocumentsMetadataConfiguration' => [
                'S3Prefix' => '<string>',
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'InclusionPrefixes' => ['<string>', ...],
        ],
        'SalesforceConfiguration' => [
            'ChatterFeedConfiguration' => [
                'DocumentDataFieldName' => '<string>', // REQUIRED
                'DocumentTitleFieldName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'IncludeFilterTypes' => ['<string>', ...],
            ],
            'CrawlAttachments' => true || false,
            'ExcludeAttachmentFilePatterns' => ['<string>', ...],
            'IncludeAttachmentFilePatterns' => ['<string>', ...],
            'KnowledgeArticleConfiguration' => [
                'CustomKnowledgeArticleTypeConfigurations' => [
                    [
                        'DocumentDataFieldName' => '<string>', // REQUIRED
                        'DocumentTitleFieldName' => '<string>',
                        'FieldMappings' => [
                            [
                                'DataSourceFieldName' => '<string>', // REQUIRED
                                'DateFieldFormat' => '<string>',
                                'IndexFieldName' => '<string>', // REQUIRED
                            ],
                            // ...
                        ],
                        'Name' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'IncludedStates' => ['<string>', ...], // REQUIRED
                'StandardKnowledgeArticleTypeConfiguration' => [
                    'DocumentDataFieldName' => '<string>', // REQUIRED
                    'DocumentTitleFieldName' => '<string>',
                    'FieldMappings' => [
                        [
                            'DataSourceFieldName' => '<string>', // REQUIRED
                            'DateFieldFormat' => '<string>',
                            'IndexFieldName' => '<string>', // REQUIRED
                        ],
                        // ...
                    ],
                ],
            ],
            'SecretArn' => '<string>', // REQUIRED
            'ServerUrl' => '<string>', // REQUIRED
            'StandardObjectAttachmentConfiguration' => [
                'DocumentTitleFieldName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
            ],
            'StandardObjectConfigurations' => [
                [
                    'DocumentDataFieldName' => '<string>', // REQUIRED
                    'DocumentTitleFieldName' => '<string>',
                    'FieldMappings' => [
                        [
                            'DataSourceFieldName' => '<string>', // REQUIRED
                            'DateFieldFormat' => '<string>',
                            'IndexFieldName' => '<string>', // REQUIRED
                        ],
                        // ...
                    ],
                    'Name' => 'ACCOUNT|CAMPAIGN|CASE|CONTACT|CONTRACT|DOCUMENT|GROUP|IDEA|LEAD|OPPORTUNITY|PARTNER|PRICEBOOK|PRODUCT|PROFILE|SOLUTION|TASK|USER', // REQUIRED
                ],
                // ...
            ],
        ],
        'ServiceNowConfiguration' => [
            'AuthenticationType' => 'HTTP_BASIC|OAUTH2',
            'HostUrl' => '<string>', // REQUIRED
            'KnowledgeArticleConfiguration' => [
                'CrawlAttachments' => true || false,
                'DocumentDataFieldName' => '<string>', // REQUIRED
                'DocumentTitleFieldName' => '<string>',
                'ExcludeAttachmentFilePatterns' => ['<string>', ...],
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'FilterQuery' => '<string>',
                'IncludeAttachmentFilePatterns' => ['<string>', ...],
            ],
            'SecretArn' => '<string>', // REQUIRED
            'ServiceCatalogConfiguration' => [
                'CrawlAttachments' => true || false,
                'DocumentDataFieldName' => '<string>', // REQUIRED
                'DocumentTitleFieldName' => '<string>',
                'ExcludeAttachmentFilePatterns' => ['<string>', ...],
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'IncludeAttachmentFilePatterns' => ['<string>', ...],
            ],
            'ServiceNowBuildVersion' => 'LONDON|OTHERS', // REQUIRED
        ],
        'SharePointConfiguration' => [
            'AuthenticationType' => 'HTTP_BASIC|OAUTH2',
            'CrawlAttachments' => true || false,
            'DisableLocalGroups' => true || false,
            'DocumentTitleFieldName' => '<string>',
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>', // REQUIRED
                'Port' => <integer>, // REQUIRED
            ],
            'SecretArn' => '<string>', // REQUIRED
            'SharePointVersion' => 'SHAREPOINT_2013|SHAREPOINT_2016|SHAREPOINT_ONLINE|SHAREPOINT_2019', // REQUIRED
            'SslCertificateS3Path' => [
                'Bucket' => '<string>', // REQUIRED
                'Key' => '<string>', // REQUIRED
            ],
            'Urls' => ['<string>', ...], // REQUIRED
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'SlackConfiguration' => [
            'CrawlBotMessage' => true || false,
            'ExcludeArchived' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'LookBackPeriod' => <integer>,
            'PrivateChannelFilter' => ['<string>', ...],
            'PublicChannelFilter' => ['<string>', ...],
            'SecretArn' => '<string>', // REQUIRED
            'SinceCrawlDate' => '<string>', // REQUIRED
            'SlackEntityList' => ['<string>', ...], // REQUIRED
            'TeamId' => '<string>', // REQUIRED
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'TemplateConfiguration' => [
            'Template' => [
            ],
        ],
        'WebCrawlerConfiguration' => [
            'AuthenticationConfiguration' => [
                'BasicAuthentication' => [
                    [
                        'Credentials' => '<string>', // REQUIRED
                        'Host' => '<string>', // REQUIRED
                        'Port' => <integer>, // REQUIRED
                    ],
                    // ...
                ],
            ],
            'CrawlDepth' => <integer>,
            'MaxContentSizePerPageInMegaBytes' => <float>,
            'MaxLinksPerPage' => <integer>,
            'MaxUrlsPerMinuteCrawlRate' => <integer>,
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>', // REQUIRED
                'Port' => <integer>, // REQUIRED
            ],
            'UrlExclusionPatterns' => ['<string>', ...],
            'UrlInclusionPatterns' => ['<string>', ...],
            'Urls' => [ // REQUIRED
                'SeedUrlConfiguration' => [
                    'SeedUrls' => ['<string>', ...], // REQUIRED
                    'WebCrawlerMode' => 'HOST_ONLY|SUBDOMAINS|EVERYTHING',
                ],
                'SiteMapsConfiguration' => [
                    'SiteMaps' => ['<string>', ...], // REQUIRED
                ],
            ],
        ],
        'WorkDocsConfiguration' => [
            'CrawlComments' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'OrganizationId' => '<string>', // REQUIRED
            'UseChangeLog' => true || false,
        ],
    ],
    'CustomDocumentEnrichmentConfiguration' => [
        'InlineConfigurations' => [
            [
                'Condition' => [
                    'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                    'ConditionOnValue' => [
                        'DateValue' => <integer || string || DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
                ],
                'DocumentContentDeletion' => true || false,
                'Target' => [
                    'TargetDocumentAttributeKey' => '<string>',
                    'TargetDocumentAttributeValue' => [
                        'DateValue' => <integer || string || DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'TargetDocumentAttributeValueDeletion' => true || false,
                ],
            ],
            // ...
        ],
        'PostExtractionHookConfiguration' => [
            'InvocationCondition' => [
                'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                'ConditionOnValue' => [
                    'DateValue' => <integer || string || DateTime>,
                    'LongValue' => <integer>,
                    'StringListValue' => ['<string>', ...],
                    'StringValue' => '<string>',
                ],
                'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
            ],
            'LambdaArn' => '<string>', // REQUIRED
            'S3Bucket' => '<string>', // REQUIRED
        ],
        'PreExtractionHookConfiguration' => [
            'InvocationCondition' => [
                'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                'ConditionOnValue' => [
                    'DateValue' => <integer || string || DateTime>,
                    'LongValue' => <integer>,
                    'StringListValue' => ['<string>', ...],
                    'StringValue' => '<string>',
                ],
                'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
            ],
            'LambdaArn' => '<string>', // REQUIRED
            'S3Bucket' => '<string>', // REQUIRED
        ],
        'RoleArn' => '<string>',
    ],
    'Description' => '<string>',
    'IndexId' => '<string>', // REQUIRED
    'LanguageCode' => '<string>',
    'Name' => '<string>', // REQUIRED
    'RoleArn' => '<string>',
    'Schedule' => '<string>',
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'Type' => 'S3|SHAREPOINT|DATABASE|SALESFORCE|ONEDRIVE|SERVICENOW|CUSTOM|CONFLUENCE|GOOGLEDRIVE|WEBCRAWLER|WORKDOCS|FSX|SLACK|BOX|QUIP|JIRA|GITHUB|ALFRESCO|TEMPLATE', // REQUIRED
    'VpcConfiguration' => [
        'SecurityGroupIds' => ['<string>', ...], // REQUIRED
        'SubnetIds' => ['<string>', ...], // REQUIRED
    ],
]);

Parameter Details

Members
ClientToken
  • Type: string

A token that you provide to identify the request to create a data source connector. Multiple calls to the CreateDataSource API with the same client token will create only one data source connector.

Configuration
  • Type: DataSourceConfiguration structure

Configuration information to connect to your data source repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

CustomDocumentEnrichmentConfiguration
  • Type: CustomDocumentEnrichmentConfiguration structure

Configuration information for altering document metadata and content during the document ingestion process.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

Description
  • Type: string

A description for the data source connector.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index you want to use with the data source connector.

LanguageCode
  • Type: string

The code for a language. This allows you to support a language for all documents when creating the data source connector. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

Name
  • Required: Yes
  • Type: string

A name for the data source connector.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources. For more information, see IAM roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

Schedule
  • Type: string

Sets the frequency for Amazon Kendra to check the documents in your data source repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob API to update the index.

You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

Tags
  • Type: Array of Tag structures

A list of key-value pairs that identify the data source connector. You can use the tags to identify and organize your resources and to control access to resources.

Type
  • Required: Yes
  • Type: string

The type of data source repository. For example, SHAREPOINT.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the data source connector.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ResourceAlreadyExistException:

    The resource you want to use already exists. Please check you have provided the correct resource and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

CreateExperience

$result = $client->createExperience([/* ... */]);
$promise = $client->createExperienceAsync([/* ... */]);

Creates an Amazon Kendra experience such as a search application. For more information on creating a search application experience, including using the Python and Java SDKs, see Building a search experience with no code.

Parameter Syntax

$result = $client->createExperience([
    'ClientToken' => '<string>',
    'Configuration' => [
        'ContentSourceConfiguration' => [
            'DataSourceIds' => ['<string>', ...],
            'DirectPutContent' => true || false,
            'FaqIds' => ['<string>', ...],
        ],
        'UserIdentityConfiguration' => [
            'IdentityAttributeName' => '<string>',
        ],
    ],
    'Description' => '<string>',
    'IndexId' => '<string>', // REQUIRED
    'Name' => '<string>', // REQUIRED
    'RoleArn' => '<string>',
]);

Parameter Details

Members
ClientToken
  • Type: string

A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the CreateExperience API with the same client token creates only one Amazon Kendra experience.

Configuration
  • Type: ExperienceConfiguration structure

Configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience.

Description
  • Type: string

A description for your Amazon Kendra experience.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

Name
  • Required: Yes
  • Type: string

A name for your Amazon Kendra experience.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your user and group information. For more information, see IAM roles for Amazon Kendra.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
  • Required: Yes
  • Type: string

The identifier for your created Amazon Kendra experience.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

CreateFaq

$result = $client->createFaq([/* ... */]);
$promise = $client->createFaqAsync([/* ... */]);

Creates an new set of frequently asked question (FAQ) questions and answers.

Adding FAQs to an index is an asynchronous operation.

For an example of adding an FAQ to an index using Python and Java SDKs, see Using your FAQ file.

Parameter Syntax

$result = $client->createFaq([
    'ClientToken' => '<string>',
    'Description' => '<string>',
    'FileFormat' => 'CSV|CSV_WITH_HEADER|JSON',
    'IndexId' => '<string>', // REQUIRED
    'LanguageCode' => '<string>',
    'Name' => '<string>', // REQUIRED
    'RoleArn' => '<string>', // REQUIRED
    'S3Path' => [ // REQUIRED
        'Bucket' => '<string>', // REQUIRED
        'Key' => '<string>', // REQUIRED
    ],
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
ClientToken
  • Type: string

A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest API with the same client token will create only one FAQ.

Description
  • Type: string

A description for the FAQ.

FileFormat
  • Type: string

The format of the FAQ input file. You can choose between a basic CSV format, a CSV format that includes customs attributes in a header, and a JSON format that includes custom attributes.

The format must match the format of the file stored in the S3 bucket identified in the S3Path parameter.

For more information, see Adding questions and answers.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the FAQ.

LanguageCode
  • Type: string

The code for a language. This allows you to support a language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

Name
  • Required: Yes
  • Type: string

A name for the FAQ.

RoleArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.

S3Path
  • Required: Yes
  • Type: S3Path structure

The path to the FAQ file in S3.

Tags
  • Type: Array of Tag structures

A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
  • Type: string

The identifier of the FAQ.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

CreateIndex

$result = $client->createIndex([/* ... */]);
$promise = $client->createIndexAsync([/* ... */]);

Creates an Amazon Kendra index. Index creation is an asynchronous API. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use.

Once the index is active you can index your documents using the BatchPutDocument API or using one of the supported data sources.

For an example of creating an index and data source using the Python SDK, see Getting started with Python SDK. For an example of creating an index and data source using the Java SDK, see Getting started with Java SDK.

Parameter Syntax

$result = $client->createIndex([
    'ClientToken' => '<string>',
    'Description' => '<string>',
    'Edition' => 'DEVELOPER_EDITION|ENTERPRISE_EDITION',
    'Name' => '<string>', // REQUIRED
    'RoleArn' => '<string>', // REQUIRED
    'ServerSideEncryptionConfiguration' => [
        'KmsKeyId' => '<string>',
    ],
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'UserContextPolicy' => 'ATTRIBUTE_FILTER|USER_TOKEN',
    'UserGroupResolutionConfiguration' => [
        'UserGroupResolutionMode' => 'AWS_SSO|NONE', // REQUIRED
    ],
    'UserTokenConfigurations' => [
        [
            'JsonTokenTypeConfiguration' => [
                'GroupAttributeField' => '<string>', // REQUIRED
                'UserNameAttributeField' => '<string>', // REQUIRED
            ],
            'JwtTokenTypeConfiguration' => [
                'ClaimRegex' => '<string>',
                'GroupAttributeField' => '<string>',
                'Issuer' => '<string>',
                'KeyLocation' => 'URL|SECRET_MANAGER', // REQUIRED
                'SecretManagerArn' => '<string>',
                'URL' => '<string>',
                'UserNameAttributeField' => '<string>',
            ],
        ],
        // ...
    ],
]);

Parameter Details

Members
ClientToken
  • Type: string

A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex API with the same client token will create only one index.

Description
  • Type: string

A description for the index.

Edition
  • Type: string

The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production databases. Once you set the edition for an index, it can't be changed.

The Edition parameter is optional. If you don't supply a value, the default is ENTERPRISE_EDITION.

For more information on quota limits for enterprise and developer editions, see Quotas.

Name
  • Required: Yes
  • Type: string

A name for the index.

RoleArn
  • Required: Yes
  • Type: string

An Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role you use when you call the BatchPutDocument API to index documents from an Amazon S3 bucket.

ServerSideEncryptionConfiguration
  • Type: ServerSideEncryptionConfiguration structure

The identifier of the KMS customer managed key (CMK) that's used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.

Tags
  • Type: Array of Tag structures

A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.

UserContextPolicy
  • Type: string

The user context policy.

ATTRIBUTE_FILTER

All indexed content is searchable and displayable for all users. If you want to filter search results on user context, you can use the attribute filters of _user_id and _group_ids or you can provide user and group information in UserContext.

USER_TOKEN

Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.

UserGroupResolutionConfiguration
  • Type: UserGroupResolutionConfiguration structure

Enables fetching access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source. To configure this, see UserGroupResolutionConfiguration.

UserTokenConfigurations
  • Type: Array of UserTokenConfiguration structures

The user token configuration.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
  • Type: string

The identifier of the index. Use this identifier when you query an index, set up a data source, or index a document.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceAlreadyExistException:

    The resource you want to use already exists. Please check you have provided the correct resource and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

CreateQuerySuggestionsBlockList

$result = $client->createQuerySuggestionsBlockList([/* ... */]);
$promise = $client->createQuerySuggestionsBlockListAsync([/* ... */]);

Creates a block list to exlcude certain queries from suggestions.

Any query that contains words or phrases specified in the block list is blocked or filtered out from being shown as a suggestion.

You need to provide the file location of your block list text file in your S3 bucket. In your text file, enter each block word or phrase on a separate line.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

CreateQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.

For an example of creating a block list for query suggestions using the Python SDK, see Query suggestions block list.

Parameter Syntax

$result = $client->createQuerySuggestionsBlockList([
    'ClientToken' => '<string>',
    'Description' => '<string>',
    'IndexId' => '<string>', // REQUIRED
    'Name' => '<string>', // REQUIRED
    'RoleArn' => '<string>', // REQUIRED
    'SourceS3Path' => [ // REQUIRED
        'Bucket' => '<string>', // REQUIRED
        'Key' => '<string>', // REQUIRED
    ],
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
ClientToken
  • Type: string

A token that you provide to identify the request to create a query suggestions block list.

Description
  • Type: string

A user-friendly description for the block list.

For example, the description "List of all offensive words that can appear in user queries and need to be blocked from suggestions."

IndexId
  • Required: Yes
  • Type: string

The identifier of the index you want to create a query suggestions block list for.

Name
  • Required: Yes
  • Type: string

A user friendly name for the block list.

For example, the block list named 'offensive-words' includes all offensive words that could appear in user queries and need to be blocked from suggestions.

RoleArn
  • Required: Yes
  • Type: string

The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in your S3 bucket.

You need permissions to the role ARN (Amazon Web Services Resource Name). The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.

SourceS3Path
  • Required: Yes
  • Type: S3Path structure

The S3 path to your block list text file in your S3 bucket.

Each block word or phrase should be on a separate line in a text file.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

Tags
  • Type: Array of Tag structures

A tag that you can assign to a block list that categorizes the block list.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
  • Type: string

The identifier of the created block list.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

CreateThesaurus

$result = $client->createThesaurus([/* ... */]);
$promise = $client->createThesaurusAsync([/* ... */]);

Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.

For an example of adding a thesaurus file to an index, see Adding custom synonyms to an index.

Parameter Syntax

$result = $client->createThesaurus([
    'ClientToken' => '<string>',
    'Description' => '<string>',
    'IndexId' => '<string>', // REQUIRED
    'Name' => '<string>', // REQUIRED
    'RoleArn' => '<string>', // REQUIRED
    'SourceS3Path' => [ // REQUIRED
        'Bucket' => '<string>', // REQUIRED
        'Key' => '<string>', // REQUIRED
    ],
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
ClientToken
  • Type: string

A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus API with the same client token will create only one thesaurus.

Description
  • Type: string

A description for the thesaurus.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the thesaurus.

Name
  • Required: Yes
  • Type: string

A name for the thesaurus.

RoleArn
  • Required: Yes
  • Type: string

An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path.

SourceS3Path
  • Required: Yes
  • Type: S3Path structure

The path to the thesaurus file in S3.

Tags
  • Type: Array of Tag structures

A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize your resources and to control access to resources.

Result Syntax

[
    'Id' => '<string>',
]

Result Details

Members
Id
  • Type: string

The identifier of the thesaurus.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DeleteAccessControlConfiguration

$result = $client->deleteAccessControlConfiguration([/* ... */]);
$promise = $client->deleteAccessControlConfigurationAsync([/* ... */]);

Deletes an access control configuration that you created for your documents in an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Parameter Syntax

$result = $client->deleteAccessControlConfiguration([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the access control configuration you want to delete.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for an access control configuration.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DeleteDataSource

$result = $client->deleteDataSource([/* ... */]);
$promise = $client->deleteDataSourceAsync([/* ... */]);

Deletes an Amazon Kendra data source connector. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING. For more information, see Deleting Data Sources.

Parameter Syntax

$result = $client->deleteDataSource([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the data source connector you want to delete.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index used with the data source connector.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DeleteExperience

$result = $client->deleteExperience([/* ... */]);
$promise = $client->deleteExperienceAsync([/* ... */]);

Deletes your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->deleteExperience([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience you want to delete.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DeleteFaq

$result = $client->deleteFaq([/* ... */]);
$promise = $client->deleteFaqAsync([/* ... */]);

Removes an FAQ from an index.

Parameter Syntax

$result = $client->deleteFaq([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the FAQ you want to remove.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the FAQ.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DeleteIndex

$result = $client->deleteIndex([/* ... */]);
$promise = $client->deleteIndexAsync([/* ... */]);

Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the Status field returned by a call to the DescribeIndex API is set to DELETING.

Parameter Syntax

$result = $client->deleteIndex([
    'Id' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the index you want to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DeletePrincipalMapping

$result = $client->deletePrincipalMapping([/* ... */]);
$promise = $client->deletePrincipalMappingAsync([/* ... */]);

Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group.

For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their search results.

If you want to delete or replace users or sub groups of a group, you need to use the PutPrincipalMapping operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when calling PutPrincipalMapping. You can update your internal list of users or sub groups and input this list when calling PutPrincipalMapping.

DeletePrincipalMapping is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->deletePrincipalMapping([
    'DataSourceId' => '<string>',
    'GroupId' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'OrderingId' => <integer>,
]);

Parameter Details

Members
DataSourceId
  • Type: string

The identifier of the data source you want to delete a group from.

A group can be tied to multiple data sources. You can delete a group from accessing documents in a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. You want to delete "Research" and "Engineering" groups from Salesforce, so that these groups cannot access customer-related documents stored in Salesforce. Only "Sales and Marketing" should access documents in the Salesforce data source.

GroupId
  • Required: Yes
  • Type: string

The identifier of the group you want to delete.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index you want to delete a group from.

OrderingId
  • Type: long (int|float)

The timestamp identifier you specify to ensure Amazon Kendra does not override the latest DELETE action with previous actions. The highest number ID, which is the ordering ID, is the latest action you want to process and apply on top of other actions with lower number IDs. This prevents previous actions with lower number IDs from possibly overriding the latest action.

The ordering ID can be the UNIX time of the last update you made to a group members list. You would then provide this list when calling PutPrincipalMapping. This ensures your DELETE action for that updated group with the latest members list doesn't get overwritten by earlier DELETE actions for the same group which are yet to be processed.

The default ordering ID is the current UNIX time in milliseconds that the action was received by Amazon Kendra.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DeleteQuerySuggestionsBlockList

$result = $client->deleteQuerySuggestionsBlockList([/* ... */]);
$promise = $client->deleteQuerySuggestionsBlockListAsync([/* ... */]);

Deletes a block list used for query suggestions for an index.

A deleted block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to add back the queries that were previously blocked.

DeleteQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->deleteQuerySuggestionsBlockList([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the block list you want to delete.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the block list.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DeleteThesaurus

$result = $client->deleteThesaurus([/* ... */]);
$promise = $client->deleteThesaurusAsync([/* ... */]);

Deletes an existing Amazon Kendra thesaurus.

Parameter Syntax

$result = $client->deleteThesaurus([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the thesaurus you want to delete.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the thesaurus.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribeAccessControlConfiguration

$result = $client->describeAccessControlConfiguration([/* ... */]);
$promise = $client->describeAccessControlConfigurationAsync([/* ... */]);

Gets information about an access control configuration that you created for your documents in an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Parameter Syntax

$result = $client->describeAccessControlConfiguration([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the access control configuration you want to get information on.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for an access control configuration.

Result Syntax

[
    'AccessControlList' => [
        [
            'Access' => 'ALLOW|DENY',
            'DataSourceId' => '<string>',
            'Name' => '<string>',
            'Type' => 'USER|GROUP',
        ],
        // ...
    ],
    'Description' => '<string>',
    'ErrorMessage' => '<string>',
    'HierarchicalAccessControlList' => [
        [
            'PrincipalList' => [
                [
                    'Access' => 'ALLOW|DENY',
                    'DataSourceId' => '<string>',
                    'Name' => '<string>',
                    'Type' => 'USER|GROUP',
                ],
                // ...
            ],
        ],
        // ...
    ],
    'Name' => '<string>',
]

Result Details

Members
AccessControlList
  • Type: Array of Principal structures

Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Description
  • Type: string

The description for the access control configuration.

ErrorMessage
  • Type: string

The error message containing details if there are issues processing the access control configuration.

HierarchicalAccessControlList
  • Type: Array of HierarchicalPrincipal structures

The list of principal lists that define the hierarchy for which documents users should have access to.

Name
  • Required: Yes
  • Type: string

The name for the access control configuration.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribeDataSource

$result = $client->describeDataSource([/* ... */]);
$promise = $client->describeDataSourceAsync([/* ... */]);

Gets information about an Amazon Kendra data source connector.

Parameter Syntax

$result = $client->describeDataSource([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the data source connector.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index used with the data source connector.

Result Syntax

[
    'Configuration' => [
        'AlfrescoConfiguration' => [
            'BlogFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'CrawlComments' => true || false,
            'CrawlSystemFolders' => true || false,
            'DocumentLibraryFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'EntityFilter' => ['<string>', ...],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>',
            'SiteId' => '<string>',
            'SiteUrl' => '<string>',
            'SslCertificateS3Path' => [
                'Bucket' => '<string>',
                'Key' => '<string>',
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
            'WikiFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
        ],
        'BoxConfiguration' => [
            'CommentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'CrawlComments' => true || false,
            'CrawlTasks' => true || false,
            'CrawlWebLinks' => true || false,
            'EnterpriseId' => '<string>',
            'ExclusionPatterns' => ['<string>', ...],
            'FileFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>',
            'TaskFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
            'WebLinkFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
        ],
        'ConfluenceConfiguration' => [
            'AttachmentConfiguration' => [
                'AttachmentFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|CONTENT_TYPE|CREATED_DATE|DISPLAY_URL|FILE_SIZE|ITEM_TYPE|PARENT_ID|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
                'CrawlAttachments' => true || false,
            ],
            'AuthenticationType' => 'HTTP_BASIC|PAT',
            'BlogConfiguration' => [
                'BlogFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|DISPLAY_URL|ITEM_TYPE|LABELS|PUBLISH_DATE|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'PageConfiguration' => [
                'PageFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|CONTENT_STATUS|CREATED_DATE|DISPLAY_URL|ITEM_TYPE|LABELS|MODIFIED_DATE|PARENT_ID|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>',
                'Port' => <integer>,
            ],
            'SecretArn' => '<string>',
            'ServerUrl' => '<string>',
            'SpaceConfiguration' => [
                'CrawlArchivedSpaces' => true || false,
                'CrawlPersonalSpaces' => true || false,
                'ExcludeSpaces' => ['<string>', ...],
                'IncludeSpaces' => ['<string>', ...],
                'SpaceFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'DISPLAY_URL|ITEM_TYPE|SPACE_KEY|URL',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'Version' => 'CLOUD|SERVER',
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
        ],
        'DatabaseConfiguration' => [
            'AclConfiguration' => [
                'AllowedGroupsColumnName' => '<string>',
            ],
            'ColumnConfiguration' => [
                'ChangeDetectingColumns' => ['<string>', ...],
                'DocumentDataColumnName' => '<string>',
                'DocumentIdColumnName' => '<string>',
                'DocumentTitleColumnName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'ConnectionConfiguration' => [
                'DatabaseHost' => '<string>',
                'DatabaseName' => '<string>',
                'DatabasePort' => <integer>,
                'SecretArn' => '<string>',
                'TableName' => '<string>',
            ],
            'DatabaseEngineType' => 'RDS_AURORA_MYSQL|RDS_AURORA_POSTGRESQL|RDS_MYSQL|RDS_POSTGRESQL',
            'SqlConfiguration' => [
                'QueryIdentifiersEnclosingOption' => 'DOUBLE_QUOTES|NONE',
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
        ],
        'FsxConfiguration' => [
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'FileSystemId' => '<string>',
            'FileSystemType' => 'WINDOWS',
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>',
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
        ],
        'GitHubConfiguration' => [
            'ExclusionFileNamePatterns' => ['<string>', ...],
            'ExclusionFileTypePatterns' => ['<string>', ...],
            'ExclusionFolderNamePatterns' => ['<string>', ...],
            'GitHubCommitConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'GitHubDocumentCrawlProperties' => [
                'CrawlIssue' => true || false,
                'CrawlIssueComment' => true || false,
                'CrawlIssueCommentAttachment' => true || false,
                'CrawlPullRequest' => true || false,
                'CrawlPullRequestComment' => true || false,
                'CrawlPullRequestCommentAttachment' => true || false,
                'CrawlRepositoryDocuments' => true || false,
            ],
            'GitHubIssueAttachmentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'GitHubIssueCommentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'GitHubIssueDocumentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'GitHubPullRequestCommentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'GitHubPullRequestDocumentAttachmentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'GitHubPullRequestDocumentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'GitHubRepositoryConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'InclusionFileNamePatterns' => ['<string>', ...],
            'InclusionFileTypePatterns' => ['<string>', ...],
            'InclusionFolderNamePatterns' => ['<string>', ...],
            'OnPremiseConfiguration' => [
                'HostUrl' => '<string>',
                'OrganizationName' => '<string>',
                'SslCertificateS3Path' => [
                    'Bucket' => '<string>',
                    'Key' => '<string>',
                ],
            ],
            'RepositoryFilter' => ['<string>', ...],
            'SaaSConfiguration' => [
                'HostUrl' => '<string>',
                'OrganizationName' => '<string>',
            ],
            'SecretArn' => '<string>',
            'Type' => 'SAAS|ON_PREMISE',
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
        ],
        'GoogleDriveConfiguration' => [
            'ExcludeMimeTypes' => ['<string>', ...],
            'ExcludeSharedDrives' => ['<string>', ...],
            'ExcludeUserAccounts' => ['<string>', ...],
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>',
        ],
        'JiraConfiguration' => [
            'AttachmentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'CommentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'IssueFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'IssueSubEntityFilter' => ['<string>', ...],
            'IssueType' => ['<string>', ...],
            'JiraAccountUrl' => '<string>',
            'Project' => ['<string>', ...],
            'ProjectFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'SecretArn' => '<string>',
            'Status' => ['<string>', ...],
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
            'WorkLogFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
        ],
        'OneDriveConfiguration' => [
            'DisableLocalGroups' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'OneDriveUsers' => [
                'OneDriveUserList' => ['<string>', ...],
                'OneDriveUserS3Path' => [
                    'Bucket' => '<string>',
                    'Key' => '<string>',
                ],
            ],
            'SecretArn' => '<string>',
            'TenantDomain' => '<string>',
        ],
        'QuipConfiguration' => [
            'AttachmentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'CrawlAttachments' => true || false,
            'CrawlChatRooms' => true || false,
            'CrawlFileComments' => true || false,
            'Domain' => '<string>',
            'ExclusionPatterns' => ['<string>', ...],
            'FolderIds' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'MessageFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'SecretArn' => '<string>',
            'ThreadFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
        ],
        'S3Configuration' => [
            'AccessControlListConfiguration' => [
                'KeyPath' => '<string>',
            ],
            'BucketName' => '<string>',
            'DocumentsMetadataConfiguration' => [
                'S3Prefix' => '<string>',
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'InclusionPrefixes' => ['<string>', ...],
        ],
        'SalesforceConfiguration' => [
            'ChatterFeedConfiguration' => [
                'DocumentDataFieldName' => '<string>',
                'DocumentTitleFieldName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
                'IncludeFilterTypes' => ['<string>', ...],
            ],
            'CrawlAttachments' => true || false,
            'ExcludeAttachmentFilePatterns' => ['<string>', ...],
            'IncludeAttachmentFilePatterns' => ['<string>', ...],
            'KnowledgeArticleConfiguration' => [
                'CustomKnowledgeArticleTypeConfigurations' => [
                    [
                        'DocumentDataFieldName' => '<string>',
                        'DocumentTitleFieldName' => '<string>',
                        'FieldMappings' => [
                            [
                                'DataSourceFieldName' => '<string>',
                                'DateFieldFormat' => '<string>',
                                'IndexFieldName' => '<string>',
                            ],
                            // ...
                        ],
                        'Name' => '<string>',
                    ],
                    // ...
                ],
                'IncludedStates' => ['<string>', ...],
                'StandardKnowledgeArticleTypeConfiguration' => [
                    'DocumentDataFieldName' => '<string>',
                    'DocumentTitleFieldName' => '<string>',
                    'FieldMappings' => [
                        [
                            'DataSourceFieldName' => '<string>',
                            'DateFieldFormat' => '<string>',
                            'IndexFieldName' => '<string>',
                        ],
                        // ...
                    ],
                ],
            ],
            'SecretArn' => '<string>',
            'ServerUrl' => '<string>',
            'StandardObjectAttachmentConfiguration' => [
                'DocumentTitleFieldName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'StandardObjectConfigurations' => [
                [
                    'DocumentDataFieldName' => '<string>',
                    'DocumentTitleFieldName' => '<string>',
                    'FieldMappings' => [
                        [
                            'DataSourceFieldName' => '<string>',
                            'DateFieldFormat' => '<string>',
                            'IndexFieldName' => '<string>',
                        ],
                        // ...
                    ],
                    'Name' => 'ACCOUNT|CAMPAIGN|CASE|CONTACT|CONTRACT|DOCUMENT|GROUP|IDEA|LEAD|OPPORTUNITY|PARTNER|PRICEBOOK|PRODUCT|PROFILE|SOLUTION|TASK|USER',
                ],
                // ...
            ],
        ],
        'ServiceNowConfiguration' => [
            'AuthenticationType' => 'HTTP_BASIC|OAUTH2',
            'HostUrl' => '<string>',
            'KnowledgeArticleConfiguration' => [
                'CrawlAttachments' => true || false,
                'DocumentDataFieldName' => '<string>',
                'DocumentTitleFieldName' => '<string>',
                'ExcludeAttachmentFilePatterns' => ['<string>', ...],
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
                'FilterQuery' => '<string>',
                'IncludeAttachmentFilePatterns' => ['<string>', ...],
            ],
            'SecretArn' => '<string>',
            'ServiceCatalogConfiguration' => [
                'CrawlAttachments' => true || false,
                'DocumentDataFieldName' => '<string>',
                'DocumentTitleFieldName' => '<string>',
                'ExcludeAttachmentFilePatterns' => ['<string>', ...],
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
                'IncludeAttachmentFilePatterns' => ['<string>', ...],
            ],
            'ServiceNowBuildVersion' => 'LONDON|OTHERS',
        ],
        'SharePointConfiguration' => [
            'AuthenticationType' => 'HTTP_BASIC|OAUTH2',
            'CrawlAttachments' => true || false,
            'DisableLocalGroups' => true || false,
            'DocumentTitleFieldName' => '<string>',
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>',
                'Port' => <integer>,
            ],
            'SecretArn' => '<string>',
            'SharePointVersion' => 'SHAREPOINT_2013|SHAREPOINT_2016|SHAREPOINT_ONLINE|SHAREPOINT_2019',
            'SslCertificateS3Path' => [
                'Bucket' => '<string>',
                'Key' => '<string>',
            ],
            'Urls' => ['<string>', ...],
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
        ],
        'SlackConfiguration' => [
            'CrawlBotMessage' => true || false,
            'ExcludeArchived' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'LookBackPeriod' => <integer>,
            'PrivateChannelFilter' => ['<string>', ...],
            'PublicChannelFilter' => ['<string>', ...],
            'SecretArn' => '<string>',
            'SinceCrawlDate' => '<string>',
            'SlackEntityList' => ['<string>', ...],
            'TeamId' => '<string>',
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...],
                'SubnetIds' => ['<string>', ...],
            ],
        ],
        'TemplateConfiguration' => [
            'Template' => [
            ],
        ],
        'WebCrawlerConfiguration' => [
            'AuthenticationConfiguration' => [
                'BasicAuthentication' => [
                    [
                        'Credentials' => '<string>',
                        'Host' => '<string>',
                        'Port' => <integer>,
                    ],
                    // ...
                ],
            ],
            'CrawlDepth' => <integer>,
            'MaxContentSizePerPageInMegaBytes' => <float>,
            'MaxLinksPerPage' => <integer>,
            'MaxUrlsPerMinuteCrawlRate' => <integer>,
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>',
                'Port' => <integer>,
            ],
            'UrlExclusionPatterns' => ['<string>', ...],
            'UrlInclusionPatterns' => ['<string>', ...],
            'Urls' => [
                'SeedUrlConfiguration' => [
                    'SeedUrls' => ['<string>', ...],
                    'WebCrawlerMode' => 'HOST_ONLY|SUBDOMAINS|EVERYTHING',
                ],
                'SiteMapsConfiguration' => [
                    'SiteMaps' => ['<string>', ...],
                ],
            ],
        ],
        'WorkDocsConfiguration' => [
            'CrawlComments' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>',
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>',
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'OrganizationId' => '<string>',
            'UseChangeLog' => true || false,
        ],
    ],
    'CreatedAt' => <DateTime>,
    'CustomDocumentEnrichmentConfiguration' => [
        'InlineConfigurations' => [
            [
                'Condition' => [
                    'ConditionDocumentAttributeKey' => '<string>',
                    'ConditionOnValue' => [
                        'DateValue' => <DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith',
                ],
                'DocumentContentDeletion' => true || false,
                'Target' => [
                    'TargetDocumentAttributeKey' => '<string>',
                    'TargetDocumentAttributeValue' => [
                        'DateValue' => <DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'TargetDocumentAttributeValueDeletion' => true || false,
                ],
            ],
            // ...
        ],
        'PostExtractionHookConfiguration' => [
            'InvocationCondition' => [
                'ConditionDocumentAttributeKey' => '<string>',
                'ConditionOnValue' => [
                    'DateValue' => <DateTime>,
                    'LongValue' => <integer>,
                    'StringListValue' => ['<string>', ...],
                    'StringValue' => '<string>',
                ],
                'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith',
            ],
            'LambdaArn' => '<string>',
            'S3Bucket' => '<string>',
        ],
        'PreExtractionHookConfiguration' => [
            'InvocationCondition' => [
                'ConditionDocumentAttributeKey' => '<string>',
                'ConditionOnValue' => [
                    'DateValue' => <DateTime>,
                    'LongValue' => <integer>,
                    'StringListValue' => ['<string>', ...],
                    'StringValue' => '<string>',
                ],
                'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith',
            ],
            'LambdaArn' => '<string>',
            'S3Bucket' => '<string>',
        ],
        'RoleArn' => '<string>',
    ],
    'Description' => '<string>',
    'ErrorMessage' => '<string>',
    'Id' => '<string>',
    'IndexId' => '<string>',
    'LanguageCode' => '<string>',
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'Schedule' => '<string>',
    'Status' => 'CREATING|DELETING|FAILED|UPDATING|ACTIVE',
    'Type' => 'S3|SHAREPOINT|DATABASE|SALESFORCE|ONEDRIVE|SERVICENOW|CUSTOM|CONFLUENCE|GOOGLEDRIVE|WEBCRAWLER|WORKDOCS|FSX|SLACK|BOX|QUIP|JIRA|GITHUB|ALFRESCO|TEMPLATE',
    'UpdatedAt' => <DateTime>,
    'VpcConfiguration' => [
        'SecurityGroupIds' => ['<string>', ...],
        'SubnetIds' => ['<string>', ...],
    ],
]

Result Details

Members
Configuration
  • Type: DataSourceConfiguration structure

Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.

CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix timestamp of when the data source connector was created.

CustomDocumentEnrichmentConfiguration
  • Type: CustomDocumentEnrichmentConfiguration structure

Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

Description
  • Type: string

The description for the data source connector.

ErrorMessage
  • Type: string

When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source to fail.

Id
  • Type: string

The identifier of the data source connector.

IndexId
  • Type: string

The identifier of the index used with the data source connector.

LanguageCode
  • Type: string

The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

Name
  • Type: string

The name for the data source connector.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.

Schedule
  • Type: string

The schedule for Amazon Kendra to update the index.

Status
  • Type: string

The current status of the data source connector. When the status is ACTIVE the data source is ready to use. When the status is FAILED, the ErrorMessage field contains the reason that the data source failed.

Type
  • Type: string

The type of the data source. For example, SHAREPOINT.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix timestamp of when the data source connector was last updated.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribeExperience

$result = $client->describeExperience([/* ... */]);
$promise = $client->describeExperienceAsync([/* ... */]);

Gets information about your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->describeExperience([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience you want to get information on.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

Result Syntax

[
    'Configuration' => [
        'ContentSourceConfiguration' => [
            'DataSourceIds' => ['<string>', ...],
            'DirectPutContent' => true || false,
            'FaqIds' => ['<string>', ...],
        ],
        'UserIdentityConfiguration' => [
            'IdentityAttributeName' => '<string>',
        ],
    ],
    'CreatedAt' => <DateTime>,
    'Description' => '<string>',
    'Endpoints' => [
        [
            'Endpoint' => '<string>',
            'EndpointType' => 'HOME',
        ],
        // ...
    ],
    'ErrorMessage' => '<string>',
    'Id' => '<string>',
    'IndexId' => '<string>',
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'Status' => 'CREATING|ACTIVE|DELETING|FAILED',
    'UpdatedAt' => <DateTime>,
]

Result Details

Members
Configuration
  • Type: ExperienceConfiguration structure

Shows the configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience.

CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

Shows the date-time your Amazon Kendra experience was created.

Description
  • Type: string

Shows the description for your Amazon Kendra experience.

Endpoints
  • Type: Array of ExperienceEndpoint structures

Shows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by Amazon Web Services.

ErrorMessage
  • Type: string

The reason your Amazon Kendra experience could not properly process.

Id
  • Type: string

Shows the identifier of your Amazon Kendra experience.

IndexId
  • Type: string

Shows the identifier of the index for your Amazon Kendra experience.

Name
  • Type: string

Shows the name of your Amazon Kendra experience.

RoleArn
  • Type: string

Shows the Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your user and group information.

Status
  • Type: string

The current processing status of your Amazon Kendra experience. When the status is ACTIVE, your Amazon Kendra experience is ready to use. When the status is FAILED, the ErrorMessage field contains the reason that this failed.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

Shows the date-time your Amazon Kendra experience was last updated.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribeFaq

$result = $client->describeFaq([/* ... */]);
$promise = $client->describeFaqAsync([/* ... */]);

Gets information about an FAQ list.

Parameter Syntax

$result = $client->describeFaq([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the FAQ you want to get information on.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the FAQ.

Result Syntax

[
    'CreatedAt' => <DateTime>,
    'Description' => '<string>',
    'ErrorMessage' => '<string>',
    'FileFormat' => 'CSV|CSV_WITH_HEADER|JSON',
    'Id' => '<string>',
    'IndexId' => '<string>',
    'LanguageCode' => '<string>',
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'S3Path' => [
        'Bucket' => '<string>',
        'Key' => '<string>',
    ],
    'Status' => 'CREATING|UPDATING|ACTIVE|DELETING|FAILED',
    'UpdatedAt' => <DateTime>,
]

Result Details

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time that the FAQ was created.

Description
  • Type: string

The description of the FAQ that you provided when it was created.

ErrorMessage
  • Type: string

If the Status field is FAILED, the ErrorMessage field contains the reason why the FAQ failed.

FileFormat
  • Type: string

The file format used by the input files for the FAQ.

Id
  • Type: string

The identifier of the FAQ.

IndexId
  • Type: string

The identifier of the index for the FAQ.

LanguageCode
  • Type: string

The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

Name
  • Type: string

The name that you gave the FAQ when it was created.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.

S3Path
  • Type: S3Path structure

Information required to find a specific file in an Amazon S3 bucket.

Status
  • Type: string

The status of the FAQ. It is ready to use when the status is ACTIVE.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time that the FAQ was last updated.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribeIndex

$result = $client->describeIndex([/* ... */]);
$promise = $client->describeIndexAsync([/* ... */]);

Gets information about an existing Amazon Kendra index.

Parameter Syntax

$result = $client->describeIndex([
    'Id' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the index you want to get information on.

Result Syntax

[
    'CapacityUnits' => [
        'QueryCapacityUnits' => <integer>,
        'StorageCapacityUnits' => <integer>,
    ],
    'CreatedAt' => <DateTime>,
    'Description' => '<string>',
    'DocumentMetadataConfigurations' => [
        [
            'Name' => '<string>',
            'Relevance' => [
                'Duration' => '<string>',
                'Freshness' => true || false,
                'Importance' => <integer>,
                'RankOrder' => 'ASCENDING|DESCENDING',
                'ValueImportanceMap' => [<integer>, ...],
            ],
            'Search' => [
                'Displayable' => true || false,
                'Facetable' => true || false,
                'Searchable' => true || false,
                'Sortable' => true || false,
            ],
            'Type' => 'STRING_VALUE|STRING_LIST_VALUE|LONG_VALUE|DATE_VALUE',
        ],
        // ...
    ],
    'Edition' => 'DEVELOPER_EDITION|ENTERPRISE_EDITION',
    'ErrorMessage' => '<string>',
    'Id' => '<string>',
    'IndexStatistics' => [
        'FaqStatistics' => [
            'IndexedQuestionAnswersCount' => <integer>,
        ],
        'TextDocumentStatistics' => [
            'IndexedTextBytes' => <integer>,
            'IndexedTextDocumentsCount' => <integer>,
        ],
    ],
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'ServerSideEncryptionConfiguration' => [
        'KmsKeyId' => '<string>',
    ],
    'Status' => 'CREATING|ACTIVE|DELETING|FAILED|UPDATING|SYSTEM_UPDATING',
    'UpdatedAt' => <DateTime>,
    'UserContextPolicy' => 'ATTRIBUTE_FILTER|USER_TOKEN',
    'UserGroupResolutionConfiguration' => [
        'UserGroupResolutionMode' => 'AWS_SSO|NONE',
    ],
    'UserTokenConfigurations' => [
        [
            'JsonTokenTypeConfiguration' => [
                'GroupAttributeField' => '<string>',
                'UserNameAttributeField' => '<string>',
            ],
            'JwtTokenTypeConfiguration' => [
                'ClaimRegex' => '<string>',
                'GroupAttributeField' => '<string>',
                'Issuer' => '<string>',
                'KeyLocation' => 'URL|SECRET_MANAGER',
                'SecretManagerArn' => '<string>',
                'URL' => '<string>',
                'UserNameAttributeField' => '<string>',
            ],
        ],
        // ...
    ],
]

Result Details

Members
CapacityUnits
  • Type: CapacityUnitsConfiguration structure

For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.

CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix datetime that the index was created.

Description
  • Type: string

The description for the index.

DocumentMetadataConfigurations
  • Type: Array of DocumentMetadataConfiguration structures

Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.

Edition
  • Type: string

The Amazon Kendra edition used for the index. You decide the edition when you create the index.

ErrorMessage
  • Type: string

When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

Id
  • Type: string

The identifier of the index.

IndexStatistics
  • Type: IndexStatistics structure

Provides information about the number of FAQ questions and answers and the number of text documents indexed.

Name
  • Type: string

The name of the index.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon Cloudwatch logs.

ServerSideEncryptionConfiguration
  • Type: ServerSideEncryptionConfiguration structure

The identifier of the KMScustomer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.

Status
  • Type: string

The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix datetime that the index was last updated.

UserContextPolicy
  • Type: string

The user context policy for the Amazon Kendra index.

UserGroupResolutionConfiguration
  • Type: UserGroupResolutionConfiguration structure

Whether you have enabled the configuration for fetching access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source.

UserTokenConfigurations
  • Type: Array of UserTokenConfiguration structures

The user token configuration for the Amazon Kendra index.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribePrincipalMapping

$result = $client->describePrincipalMapping([/* ... */]);
$promise = $client->describePrincipalMappingAsync([/* ... */]);

Describes the processing of PUT and DELETE actions for mapping users to their groups. This includes information on the status of actions currently processing or yet to be processed, when actions were last updated, when actions were received by Amazon Kendra, the latest action that should process and apply after other actions, and useful error messages if an action could not be processed.

DescribePrincipalMapping is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->describePrincipalMapping([
    'DataSourceId' => '<string>',
    'GroupId' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
DataSourceId
  • Type: string

The identifier of the data source to check the processing of PUT and DELETE actions for mapping users to their groups.

GroupId
  • Required: Yes
  • Type: string

The identifier of the group required to check the processing of PUT and DELETE actions for mapping users to their groups.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index required to check the processing of PUT and DELETE actions for mapping users to their groups.

Result Syntax

[
    'DataSourceId' => '<string>',
    'GroupId' => '<string>',
    'GroupOrderingIdSummaries' => [
        [
            'FailureReason' => '<string>',
            'LastUpdatedAt' => <DateTime>,
            'OrderingId' => <integer>,
            'ReceivedAt' => <DateTime>,
            'Status' => 'FAILED|SUCCEEDED|PROCESSING|DELETING|DELETED',
        ],
        // ...
    ],
    'IndexId' => '<string>',
]

Result Details

Members
DataSourceId
  • Type: string

Shows the identifier of the data source to see information on the processing of PUT and DELETE actions for mapping users to their groups.

GroupId
  • Type: string

Shows the identifier of the group to see information on the processing of PUT and DELETE actions for mapping users to their groups.

GroupOrderingIdSummaries
  • Type: Array of GroupOrderingIdSummary structures

Shows the following information on the processing of PUT and DELETE actions for mapping users to their groups:

  • Status – the status can be either PROCESSING, SUCCEEDED, DELETING, DELETED, or FAILED.

  • Last updated – the last date-time an action was updated.

  • Received – the last date-time an action was received or submitted.

  • Ordering ID – the latest action that should process and apply after other actions.

  • Failure reason – the reason an action could not be processed.

IndexId
  • Type: string

Shows the identifier of the index to see information on the processing of PUT and DELETE actions for mapping users to their groups.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribeQuerySuggestionsBlockList

$result = $client->describeQuerySuggestionsBlockList([/* ... */]);
$promise = $client->describeQuerySuggestionsBlockListAsync([/* ... */]);

Gets information about a block list used for query suggestions for an index.

This is used to check the current settings that are applied to a block list.

DescribeQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->describeQuerySuggestionsBlockList([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the block list you want to get information on.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the block list.

Result Syntax

[
    'CreatedAt' => <DateTime>,
    'Description' => '<string>',
    'ErrorMessage' => '<string>',
    'FileSizeBytes' => <integer>,
    'Id' => '<string>',
    'IndexId' => '<string>',
    'ItemCount' => <integer>,
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'SourceS3Path' => [
        'Bucket' => '<string>',
        'Key' => '<string>',
    ],
    'Status' => 'ACTIVE|CREATING|DELETING|UPDATING|ACTIVE_BUT_UPDATE_FAILED|FAILED',
    'UpdatedAt' => <DateTime>,
]

Result Details

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time a block list for query suggestions was created.

Description
  • Type: string

The description for the block list.

ErrorMessage
  • Type: string

The error message containing details if there are issues processing the block list.

FileSizeBytes
  • Type: long (int|float)

The current size of the block list text file in S3.

Id
  • Type: string

The identifier of the block list.

IndexId
  • Type: string

The identifier of the index for the block list.

ItemCount
  • Type: int

The current number of valid, non-empty words or phrases in the block list text file.

Name
  • Type: string

The name of the block list.

RoleArn
  • Type: string

The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.

The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.

SourceS3Path
  • Type: S3Path structure

Shows the current S3 path to your block list text file in your S3 bucket.

Each block word or phrase should be on a separate line in a text file.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

Status
  • Type: string

The current status of the block list. When the value is ACTIVE, the block list is ready for use.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time a block list for query suggestions was last updated.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribeQuerySuggestionsConfig

$result = $client->describeQuerySuggestionsConfig([/* ... */]);
$promise = $client->describeQuerySuggestionsConfigAsync([/* ... */]);

Gets information on the settings of query suggestions for an index.

This is used to check the current settings applied to query suggestions.

DescribeQuerySuggestionsConfig is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->describeQuerySuggestionsConfig([
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index with query suggestions that you want to get information on.

Result Syntax

[
    'IncludeQueriesWithoutUserInformation' => true || false,
    'LastClearTime' => <DateTime>,
    'LastSuggestionsBuildTime' => <DateTime>,
    'MinimumNumberOfQueryingUsers' => <integer>,
    'MinimumQueryCount' => <integer>,
    'Mode' => 'ENABLED|LEARN_ONLY',
    'QueryLogLookBackWindowInDays' => <integer>,
    'Status' => 'ACTIVE|UPDATING',
    'TotalSuggestionsCount' => <integer>,
]

Result Details

Members
IncludeQueriesWithoutUserInformation
  • Type: boolean

TRUE to use all queries, otherwise use only queries that include user information to generate the query suggestions.

LastClearTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time query suggestions for an index was last cleared.

After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions.

LastSuggestionsBuildTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time query suggestions for an index was last updated.

MinimumNumberOfQueryingUsers
  • Type: int

The minimum number of unique users who must search a query in order for the query to be eligible to suggest to your users.

MinimumQueryCount
  • Type: int

The minimum number of times a query must be searched in order for the query to be eligible to suggest to your users.

Mode
  • Type: string

Whether query suggestions are currently in ENABLED mode or LEARN_ONLY mode.

By default, Amazon Kendra enables query suggestions.LEARN_ONLY turns off query suggestions for your users. You can change the mode using the UpdateQuerySuggestionsConfig API.

QueryLogLookBackWindowInDays
  • Type: int

How recent your queries are in your query log time window (in days).

Status
  • Type: string

Whether the status of query suggestions settings is currently ACTIVE or UPDATING.

Active means the current settings apply and Updating means your changed settings are in the process of applying.

TotalSuggestionsCount
  • Type: int

The current total count of query suggestions for an index.

This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DescribeThesaurus

$result = $client->describeThesaurus([/* ... */]);
$promise = $client->describeThesaurusAsync([/* ... */]);

Gets information about an existing Amazon Kendra thesaurus.

Parameter Syntax

$result = $client->describeThesaurus([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the thesaurus you want to get information on.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the thesaurus.

Result Syntax

[
    'CreatedAt' => <DateTime>,
    'Description' => '<string>',
    'ErrorMessage' => '<string>',
    'FileSizeBytes' => <integer>,
    'Id' => '<string>',
    'IndexId' => '<string>',
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'SourceS3Path' => [
        'Bucket' => '<string>',
        'Key' => '<string>',
    ],
    'Status' => 'CREATING|ACTIVE|DELETING|UPDATING|ACTIVE_BUT_UPDATE_FAILED|FAILED',
    'SynonymRuleCount' => <integer>,
    'TermCount' => <integer>,
    'UpdatedAt' => <DateTime>,
]

Result Details

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix datetime that the thesaurus was created.

Description
  • Type: string

The thesaurus description.

ErrorMessage
  • Type: string

When the Status field value is FAILED, the ErrorMessage field provides more information.

FileSizeBytes
  • Type: long (int|float)

The size of the thesaurus file in bytes.

Id
  • Type: string

The identifier of the thesaurus.

IndexId
  • Type: string

The identifier of the index for the thesaurus.

Name
  • Type: string

The thesaurus name.

RoleArn
  • Type: string

An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path.

SourceS3Path
  • Type: S3Path structure

Information required to find a specific file in an Amazon S3 bucket.

Status
  • Type: string

The current status of the thesaurus. When the value is ACTIVE, queries are able to use the thesaurus. If the Status field value is FAILED, the ErrorMessage field provides more information.

If the status is ACTIVE_BUT_UPDATE_FAILED, it means that Amazon Kendra could not ingest the new thesaurus file. The old thesaurus file is still active.

SynonymRuleCount
  • Type: long (int|float)

The number of synonym rules in the thesaurus file.

TermCount
  • Type: long (int|float)

The number of unique terms in the thesaurus file. For example, the synonyms a,b,c and a=>d, the term count would be 4.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix datetime that the thesaurus was last updated.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DisassociateEntitiesFromExperience

$result = $client->disassociateEntitiesFromExperience([/* ... */]);
$promise = $client->disassociateEntitiesFromExperienceAsync([/* ... */]);

Prevents users or groups in your IAM Identity Center identity source from accessing your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->disassociateEntitiesFromExperience([
    'EntityList' => [ // REQUIRED
        [
            'EntityId' => '<string>', // REQUIRED
            'EntityType' => 'USER|GROUP', // REQUIRED
        ],
        // ...
    ],
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
EntityList
  • Required: Yes
  • Type: Array of EntityConfiguration structures

Lists users or groups in your IAM Identity Center identity source.

Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

Result Syntax

[
    'FailedEntityList' => [
        [
            'EntityId' => '<string>',
            'ErrorMessage' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
FailedEntityList
  • Type: Array of FailedEntity structures

Lists the users or groups in your IAM Identity Center identity source that failed to properly remove access to your Amazon Kendra experience.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

DisassociatePersonasFromEntities

$result = $client->disassociatePersonasFromEntities([/* ... */]);
$promise = $client->disassociatePersonasFromEntitiesAsync([/* ... */]);

Removes the specific permissions of users or groups in your IAM Identity Center identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->disassociatePersonasFromEntities([
    'EntityIds' => ['<string>', ...], // REQUIRED
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
EntityIds
  • Required: Yes
  • Type: Array of strings

The identifiers of users or groups in your IAM Identity Center identity source. For example, user IDs could be user emails.

Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

Result Syntax

[
    'FailedEntityList' => [
        [
            'EntityId' => '<string>',
            'ErrorMessage' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
FailedEntityList
  • Type: Array of FailedEntity structures

Lists the users or groups in your IAM Identity Center identity source that failed to properly remove access to your Amazon Kendra experience.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

GetQuerySuggestions

$result = $client->getQuerySuggestions([/* ... */]);
$promise = $client->getQuerySuggestionsAsync([/* ... */]);

Fetches the queries that are suggested to your users.

GetQuerySuggestions is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->getQuerySuggestions([
    'IndexId' => '<string>', // REQUIRED
    'MaxSuggestionsCount' => <integer>,
    'QueryText' => '<string>', // REQUIRED
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index you want to get query suggestions from.

MaxSuggestionsCount
  • Type: int

The maximum number of query suggestions you want to show to your users.

QueryText
  • Required: Yes
  • Type: string

The text of a user's query to generate query suggestions.

A query is suggested if the query prefix matches what a user starts to type as their query.

Amazon Kendra does not show any suggestions if a user types fewer than two characters or more than 60 characters. A query must also have at least one search result and contain at least one word of more than four characters.

Result Syntax

[
    'QuerySuggestionsId' => '<string>',
    'Suggestions' => [
        [
            'Id' => '<string>',
            'Value' => [
                'Text' => [
                    'Highlights' => [
                        [
                            'BeginOffset' => <integer>,
                            'EndOffset' => <integer>,
                        ],
                        // ...
                    ],
                    'Text' => '<string>',
                ],
            ],
        ],
        // ...
    ],
]

Result Details

Members
QuerySuggestionsId
  • Type: string

The identifier for a list of query suggestions for an index.

Suggestions
  • Type: Array of Suggestion structures

A list of query suggestions for an index.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

GetSnapshots

$result = $client->getSnapshots([/* ... */]);
$promise = $client->getSnapshotsAsync([/* ... */]);

Retrieves search metrics data. The data provides a snapshot of how your users interact with your search application and how effective the application is.

Parameter Syntax

$result = $client->getSnapshots([
    'IndexId' => '<string>', // REQUIRED
    'Interval' => 'THIS_MONTH|THIS_WEEK|ONE_WEEK_AGO|TWO_WEEKS_AGO|ONE_MONTH_AGO|TWO_MONTHS_AGO', // REQUIRED
    'MaxResults' => <integer>,
    'MetricType' => 'QUERIES_BY_COUNT|QUERIES_BY_ZERO_CLICK_RATE|QUERIES_BY_ZERO_RESULT_RATE|DOCS_BY_CLICK_COUNT|AGG_QUERY_DOC_METRICS|TREND_QUERY_DOC_METRICS', // REQUIRED
    'NextToken' => '<string>',
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index to get search metrics data.

Interval
  • Required: Yes
  • Type: string

The time interval or time window to get search metrics data. The time interval uses the time zone of your index. You can view data in the following time windows:

  • THIS_WEEK: The current week, starting on the Sunday and ending on the day before the current date.

  • ONE_WEEK_AGO: The previous week, starting on the Sunday and ending on the following Saturday.

  • TWO_WEEKS_AGO: The week before the previous week, starting on the Sunday and ending on the following Saturday.

  • THIS_MONTH: The current month, starting on the first day of the month and ending on the day before the current date.

  • ONE_MONTH_AGO: The previous month, starting on the first day of the month and ending on the last day of the month.

  • TWO_MONTHS_AGO: The month before the previous month, starting on the first day of the month and ending on last day of the month.

MaxResults
  • Type: int

The maximum number of returned data for the metric.

MetricType
  • Required: Yes
  • Type: string

The metric you want to retrieve. You can specify only one metric per call.

For more information about the metrics you can view, see Gaining insights with search analytics.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of search metrics data.

Result Syntax

[
    'NextToken' => '<string>',
    'SnapShotTimeFilter' => [
        'EndTime' => <DateTime>,
        'StartTime' => <DateTime>,
    ],
    'SnapshotsData' => [
        ['<string>', ...],
        // ...
    ],
    'SnapshotsDataHeader' => ['<string>', ...],
]

Result Details

Members
NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of search metrics data.

SnapShotTimeFilter
  • Type: TimeRange structure

The date-time for the beginning and end of the time window for the search metrics data.

SnapshotsData
  • Type: Array of stringss

The search metrics data. The data returned depends on the metric type you requested.

SnapshotsDataHeader
  • Type: Array of strings

The column headers for the search metrics data.

Errors

  • InvalidRequestException:

    The input to the request is not valid. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListAccessControlConfigurations

$result = $client->listAccessControlConfigurations([/* ... */]);
$promise = $client->listAccessControlConfigurationsAsync([/* ... */]);

Lists one or more access control configurations for an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Parameter Syntax

$result = $client->listAccessControlConfigurations([
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the access control configuration.

MaxResults
  • Type: int

The maximum number of access control configurations to return.

NextToken
  • Type: string

If the previous response was incomplete (because there's more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of access control configurations.

Result Syntax

[
    'AccessControlConfigurations' => [
        [
            'Id' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
AccessControlConfigurations
  • Required: Yes
  • Type: Array of AccessControlConfigurationSummary structures

The details of your access control configurations.

NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token, which you can use in the subsequent request to retrieve the next set of access control configurations.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListDataSourceSyncJobs

$result = $client->listDataSourceSyncJobs([/* ... */]);
$promise = $client->listDataSourceSyncJobsAsync([/* ... */]);

Gets statistics about synchronizing a data source connector.

Parameter Syntax

$result = $client->listDataSourceSyncJobs([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'StartTimeFilter' => [
        'EndTime' => <integer || string || DateTime>,
        'StartTime' => <integer || string || DateTime>,
    ],
    'StatusFilter' => 'FAILED|SUCCEEDED|SYNCING|INCOMPLETE|STOPPING|ABORTED|SYNCING_INDEXING',
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the data source connector.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index used with the data source connector.

MaxResults
  • Type: int

The maximum number of synchronization jobs to return in the response. If there are fewer results in the list, this response contains only the actual results.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of jobs.

StartTimeFilter
  • Type: TimeRange structure

When specified, the synchronization jobs returned in the list are limited to jobs between the specified dates.

StatusFilter
  • Type: string

Only returns synchronization jobs with the Status field equal to the specified status.

Result Syntax

[
    'History' => [
        [
            'DataSourceErrorCode' => '<string>',
            'EndTime' => <DateTime>,
            'ErrorCode' => 'InternalError|InvalidRequest',
            'ErrorMessage' => '<string>',
            'ExecutionId' => '<string>',
            'Metrics' => [
                'DocumentsAdded' => '<string>',
                'DocumentsDeleted' => '<string>',
                'DocumentsFailed' => '<string>',
                'DocumentsModified' => '<string>',
                'DocumentsScanned' => '<string>',
            ],
            'StartTime' => <DateTime>,
            'Status' => 'FAILED|SUCCEEDED|SYNCING|INCOMPLETE|STOPPING|ABORTED|SYNCING_INDEXING',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
History
  • Type: Array of DataSourceSyncJob structures

A history of synchronization jobs for the data source connector.

NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListDataSources

$result = $client->listDataSources([/* ... */]);
$promise = $client->listDataSourcesAsync([/* ... */]);

Lists the data source connectors that you have created.

Parameter Syntax

$result = $client->listDataSources([
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index used with one or more data source connectors.

MaxResults
  • Type: int

The maximum number of data source connectors to return.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of data source connectors.

Result Syntax

[
    'NextToken' => '<string>',
    'SummaryItems' => [
        [
            'CreatedAt' => <DateTime>,
            'Id' => '<string>',
            'LanguageCode' => '<string>',
            'Name' => '<string>',
            'Status' => 'CREATING|DELETING|FAILED|UPDATING|ACTIVE',
            'Type' => 'S3|SHAREPOINT|DATABASE|SALESFORCE|ONEDRIVE|SERVICENOW|CUSTOM|CONFLUENCE|GOOGLEDRIVE|WEBCRAWLER|WORKDOCS|FSX|SLACK|BOX|QUIP|JIRA|GITHUB|ALFRESCO|TEMPLATE',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of data source connectors.

SummaryItems
  • Type: Array of DataSourceSummary structures

An array of summary information for one or more data source connector.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListEntityPersonas

$result = $client->listEntityPersonas([/* ... */]);
$promise = $client->listEntityPersonasAsync([/* ... */]);

Lists specific permissions of users and groups with access to your Amazon Kendra experience.

Parameter Syntax

$result = $client->listEntityPersonas([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

MaxResults
  • Type: int

The maximum number of returned users or groups.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of users or groups.

Result Syntax

[
    'NextToken' => '<string>',
    'SummaryItems' => [
        [
            'CreatedAt' => <DateTime>,
            'EntityId' => '<string>',
            'Persona' => 'OWNER|VIEWER',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of users or groups.

SummaryItems
  • Type: Array of PersonasSummary structures

An array of summary information for one or more users or groups.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListExperienceEntities

$result = $client->listExperienceEntities([/* ... */]);
$promise = $client->listExperienceEntitiesAsync([/* ... */]);

Lists users or groups in your IAM Identity Center identity source that are granted access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->listExperienceEntities([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'NextToken' => '<string>',
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of users or groups.

Result Syntax

[
    'NextToken' => '<string>',
    'SummaryItems' => [
        [
            'DisplayData' => [
                'FirstName' => '<string>',
                'GroupName' => '<string>',
                'IdentifiedUserName' => '<string>',
                'LastName' => '<string>',
                'UserName' => '<string>',
            ],
            'EntityId' => '<string>',
            'EntityType' => 'USER|GROUP',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of users or groups.

SummaryItems
  • Type: Array of ExperienceEntitiesSummary structures

An array of summary information for one or more users or groups.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListExperiences

$result = $client->listExperiences([/* ... */]);
$promise = $client->listExperiencesAsync([/* ... */]);

Lists one or more Amazon Kendra experiences. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->listExperiences([
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

MaxResults
  • Type: int

The maximum number of returned Amazon Kendra experiences.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Kendra experiences.

Result Syntax

[
    'NextToken' => '<string>',
    'SummaryItems' => [
        [
            'CreatedAt' => <DateTime>,
            'Endpoints' => [
                [
                    'Endpoint' => '<string>',
                    'EndpointType' => 'HOME',
                ],
                // ...
            ],
            'Id' => '<string>',
            'Name' => '<string>',
            'Status' => 'CREATING|ACTIVE|DELETING|FAILED',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of Amazon Kendra experiences.

SummaryItems
  • Type: Array of ExperiencesSummary structures

An array of summary information for one or more Amazon Kendra experiences.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListFaqs

$result = $client->listFaqs([/* ... */]);
$promise = $client->listFaqsAsync([/* ... */]);

Gets a list of FAQ lists associated with an index.

Parameter Syntax

$result = $client->listFaqs([
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The index that contains the FAQ lists.

MaxResults
  • Type: int

The maximum number of FAQs to return in the response. If there are fewer results in the list, this response contains only the actual results.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of FAQs.

Result Syntax

[
    'FaqSummaryItems' => [
        [
            'CreatedAt' => <DateTime>,
            'FileFormat' => 'CSV|CSV_WITH_HEADER|JSON',
            'Id' => '<string>',
            'LanguageCode' => '<string>',
            'Name' => '<string>',
            'Status' => 'CREATING|UPDATING|ACTIVE|DELETING|FAILED',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
FaqSummaryItems
  • Type: Array of FaqSummary structures

information about the FAQs associated with the specified index.

NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of FAQs.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListGroupsOlderThanOrderingId

$result = $client->listGroupsOlderThanOrderingId([/* ... */]);
$promise = $client->listGroupsOlderThanOrderingIdAsync([/* ... */]);

Provides a list of groups that are mapped to users before a given ordering or timestamp identifier.

ListGroupsOlderThanOrderingId is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->listGroupsOlderThanOrderingId([
    'DataSourceId' => '<string>',
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'OrderingId' => <integer>, // REQUIRED
]);

Parameter Details

Members
DataSourceId
  • Type: string

The identifier of the data source for getting a list of groups mapped to users before a given ordering timestamp identifier.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for getting a list of groups mapped to users before a given ordering or timestamp identifier.

MaxResults
  • Type: int

The maximum number of returned groups that are mapped to users before a given ordering or timestamp identifier.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users before a given ordering or timestamp identifier.

OrderingId
  • Required: Yes
  • Type: long (int|float)

The timestamp identifier used for the latest PUT or DELETE action for mapping users to their groups.

Result Syntax

[
    'GroupsSummaries' => [
        [
            'GroupId' => '<string>',
            'OrderingId' => <integer>,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
GroupsSummaries
  • Type: Array of GroupSummary structures

Summary information for list of groups that are mapped to users before a given ordering or timestamp identifier.

NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users before a given ordering or timestamp identifier.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListIndices

$result = $client->listIndices([/* ... */]);
$promise = $client->listIndicesAsync([/* ... */]);

Lists the Amazon Kendra indexes that you created.

Parameter Syntax

$result = $client->listIndices([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
  • Type: int

The maximum number of indices to return.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of indexes.

Result Syntax

[
    'IndexConfigurationSummaryItems' => [
        [
            'CreatedAt' => <DateTime>,
            'Edition' => 'DEVELOPER_EDITION|ENTERPRISE_EDITION',
            'Id' => '<string>',
            'Name' => '<string>',
            'Status' => 'CREATING|ACTIVE|DELETING|FAILED|UPDATING|SYSTEM_UPDATING',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
IndexConfigurationSummaryItems
  • Type: Array of IndexConfigurationSummary structures

An array of summary information on the configuration of one or more indexes.

NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of indexes.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListQuerySuggestionsBlockLists

$result = $client->listQuerySuggestionsBlockLists([/* ... */]);
$promise = $client->listQuerySuggestionsBlockListsAsync([/* ... */]);

Lists the block lists used for query suggestions for an index.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

ListQuerySuggestionsBlockLists is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->listQuerySuggestionsBlockLists([
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index for a list of all block lists that exist for that index.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

MaxResults
  • Type: int

The maximum number of block lists to return.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of block lists (BlockListSummaryItems).

Result Syntax

[
    'BlockListSummaryItems' => [
        [
            'CreatedAt' => <DateTime>,
            'Id' => '<string>',
            'ItemCount' => <integer>,
            'Name' => '<string>',
            'Status' => 'ACTIVE|CREATING|DELETING|UPDATING|ACTIVE_BUT_UPDATE_FAILED|FAILED',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
BlockListSummaryItems
  • Type: Array of QuerySuggestionsBlockListSummary structures

Summary items for a block list.

This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of block lists.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Gets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.

Parameter Syntax

$result = $client->listTagsForResource([
    'ResourceARN' => '<string>', // REQUIRED
]);

Parameter Details

Members
ResourceARN
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of the index, FAQ, or data source to get a list of tags for.

Result Syntax

[
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
Tags
  • Type: Array of Tag structures

A list of tags associated with the index, FAQ, or data source.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceUnavailableException:

    The resource you want to use isn't available. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

ListThesauri

$result = $client->listThesauri([/* ... */]);
$promise = $client->listThesauriAsync([/* ... */]);

Lists the thesauri for an index.

Parameter Syntax

$result = $client->listThesauri([
    'IndexId' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
IndexId
  • Required: Yes
  • Type: string

The identifier of the index with one or more thesauri.

MaxResults
  • Type: int

The maximum number of thesauri to return.

NextToken
  • Type: string

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of thesauri (ThesaurusSummaryItems).

Result Syntax

[
    'NextToken' => '<string>',
    'ThesaurusSummaryItems' => [
        [
            'CreatedAt' => <DateTime>,
            'Id' => '<string>',
            'Name' => '<string>',
            'Status' => 'CREATING|ACTIVE|DELETING|UPDATING|ACTIVE_BUT_UPDATE_FAILED|FAILED',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
NextToken
  • Type: string

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of thesauri.

ThesaurusSummaryItems
  • Type: Array of ThesaurusSummary structures

An array of summary information for a thesaurus or multiple thesauri.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

PutPrincipalMapping

$result = $client->putPrincipalMapping([/* ... */]);
$promise = $client->putPrincipalMappingAsync([/* ... */]);

Maps users to their groups so that you only need to provide the user ID when you issue the query.

You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results.

This is useful for user context filtering, where search results are filtered based on the user or their group access to documents. For more information, see Filtering on user context.

If more than five PUT actions for a group are currently processing, a validation exception is thrown.

PutPrincipalMapping is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->putPrincipalMapping([
    'DataSourceId' => '<string>',
    'GroupId' => '<string>', // REQUIRED
    'GroupMembers' => [ // REQUIRED
        'MemberGroups' => [
            [
                'DataSourceId' => '<string>',
                'GroupId' => '<string>', // REQUIRED
            ],
            // ...
        ],
        'MemberUsers' => [
            [
                'UserId' => '<string>', // REQUIRED
            ],
            // ...
        ],
        'S3PathforGroupMembers' => [
            'Bucket' => '<string>', // REQUIRED
            'Key' => '<string>', // REQUIRED
        ],
    ],
    'IndexId' => '<string>', // REQUIRED
    'OrderingId' => <integer>,
    'RoleArn' => '<string>',
]);

Parameter Details

Members
DataSourceId
  • Type: string

The identifier of the data source you want to map users to their groups.

This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only needs access to customer-related documents stored in Salesforce.

GroupId
  • Required: Yes
  • Type: string

The identifier of the group you want to map its users to.

GroupMembers
  • Required: Yes
  • Type: GroupMembers structure

The list that contains your users or sub groups that belong the same group.

For example, the group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and "Sales and Marketing".

If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index you want to map users to their groups.

OrderingId
  • Type: long (int|float)

The timestamp identifier you specify to ensure Amazon Kendra does not override the latest PUT action with previous actions. The highest number ID, which is the ordering ID, is the latest action you want to process and apply on top of other actions with lower number IDs. This prevents previous actions with lower number IDs from possibly overriding the latest action.

The ordering ID can be the UNIX time of the last update you made to a group members list. You would then provide this list when calling PutPrincipalMapping. This ensures your PUT action for that updated group with the latest members list doesn't get overwritten by earlier PUT actions for the same group which are yet to be processed.

The default ordering ID is the current UNIX time in milliseconds that the action was received by Amazon Kendra.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of a role that has access to the S3 file that contains your list of users or sub groups that belong to a group.

For more information, see IAM roles for Amazon Kendra.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

Query

$result = $client->query([/* ... */]);
$promise = $client->queryAsync([/* ... */]);

Searches an active index. Use this API to search your documents using query. The Query API enables to do faceted search and to filter results based on document attributes.

It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results.

Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results.

  • Relevant passages

  • Matching FAQs

  • Relevant documents

You can specify that the query return only one type of result using the QueryResultTypeFilter parameter.

Each query returns the 100 most relevant results.

Parameter Syntax

$result = $client->query([
    'AttributeFilter' => [
        'AndAllFilters' => [
            [...], // RECURSIVE
            // ...
        ],
        'ContainsAll' => [
            'Key' => '<string>', // REQUIRED
            'Value' => [ // REQUIRED
                'DateValue' => <integer || string || DateTime>,
                'LongValue' => <integer>,
                'StringListValue' => ['<string>', ...],
                'StringValue' => '<string>',
            ],
        ],
        'ContainsAny' => [
            'Key' => '<string>', // REQUIRED
            'Value' => [ // REQUIRED
                'DateValue' => <integer || string || DateTime>,
                'LongValue' => <integer>,
                'StringListValue' => ['<string>', ...],
                'StringValue' => '<string>',
            ],
        ],
        'EqualsTo' => [
            'Key' => '<string>', // REQUIRED
            'Value' => [ // REQUIRED
                'DateValue' => <integer || string || DateTime>,
                'LongValue' => <integer>,
                'StringListValue' => ['<string>', ...],
                'StringValue' => '<string>',
            ],
        ],
        'GreaterThan' => [
            'Key' => '<string>', // REQUIRED
            'Value' => [ // REQUIRED
                'DateValue' => <integer || string || DateTime>,
                'LongValue' => <integer>,
                'StringListValue' => ['<string>', ...],
                'StringValue' => '<string>',
            ],
        ],
        'GreaterThanOrEquals' => [
            'Key' => '<string>', // REQUIRED
            'Value' => [ // REQUIRED
                'DateValue' => <integer || string || DateTime>,
                'LongValue' => <integer>,
                'StringListValue' => ['<string>', ...],
                'StringValue' => '<string>',
            ],
        ],
        'LessThan' => [
            'Key' => '<string>', // REQUIRED
            'Value' => [ // REQUIRED
                'DateValue' => <integer || string || DateTime>,
                'LongValue' => <integer>,
                'StringListValue' => ['<string>', ...],
                'StringValue' => '<string>',
            ],
        ],
        'LessThanOrEquals' => [
            'Key' => '<string>', // REQUIRED
            'Value' => [ // REQUIRED
                'DateValue' => <integer || string || DateTime>,
                'LongValue' => <integer>,
                'StringListValue' => ['<string>', ...],
                'StringValue' => '<string>',
            ],
        ],
        'NotFilter' => [...], // RECURSIVE
        'OrAllFilters' => [
            [...], // RECURSIVE
            // ...
        ],
    ],
    'DocumentRelevanceOverrideConfigurations' => [
        [
            'Name' => '<string>', // REQUIRED
            'Relevance' => [ // REQUIRED
                'Duration' => '<string>',
                'Freshness' => true || false,
                'Importance' => <integer>,
                'RankOrder' => 'ASCENDING|DESCENDING',
                'ValueImportanceMap' => [<integer>, ...],
            ],
        ],
        // ...
    ],
    'Facets' => [
        [
            'DocumentAttributeKey' => '<string>',
            'Facets' => [...], // RECURSIVE
            'MaxResults' => <integer>,
        ],
        // ...
    ],
    'IndexId' => '<string>', // REQUIRED
    'PageNumber' => <integer>,
    'PageSize' => <integer>,
    'QueryResultTypeFilter' => 'DOCUMENT|QUESTION_ANSWER|ANSWER',
    'QueryText' => '<string>',
    'RequestedDocumentAttributes' => ['<string>', ...],
    'SortingConfiguration' => [
        'DocumentAttributeKey' => '<string>', // REQUIRED
        'SortOrder' => 'DESC|ASC', // REQUIRED
    ],
    'SpellCorrectionConfiguration' => [
        'IncludeQuerySpellCheckSuggestions' => true || false, // REQUIRED
    ],
    'UserContext' => [
        'DataSourceGroups' => [
            [
                'DataSourceId' => '<string>', // REQUIRED
                'GroupId' => '<string>', // REQUIRED
            ],
            // ...
        ],
        'Groups' => ['<string>', ...],
        'Token' => '<string>',
        'UserId' => '<string>',
    ],
    'VisitorId' => '<string>',
]);

Parameter Details

Members
AttributeFilter
  • Type: AttributeFilter structure

Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters parameters contain a list of other filters.

The AttributeFilter parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.

DocumentRelevanceOverrideConfigurations
  • Type: Array of DocumentRelevanceConfiguration structures

Overrides relevance tuning configurations of fields or attributes set at the index level.

If you use this API to override the relevance tuning configured at the index level, but there is no relevance tuning configured at the index level, then Amazon Kendra does not apply any relevance tuning.

If there is relevance tuning configured at the index level, but you do not use this API to override any relevance tuning in the index, then Amazon Kendra uses the relevance tuning that is configured at the index level.

If there is relevance tuning configured for fields at the index level, but you use this API to override only some of these fields, then for the fields you did not override, the importance is set to 1.

Facets
  • Type: Array of Facet structures

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. This helps your users narrow their search.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index to search. The identifier is returned in the response from the CreateIndex API.

PageNumber
  • Type: int

Query results are returned in pages the size of the PageSize parameter. By default, Amazon Kendra returns the first page of results. Use this parameter to get result pages after the first one.

PageSize
  • Type: int

Sets the number of results that are returned in each page of results. The default page size is 10. The maximum number of results returned is 100. If you ask for more than 100 results, only 100 are returned.

QueryResultTypeFilter
  • Type: string

Sets the type of query. Only results for the specified query type are returned.

QueryText
  • Type: string

The input query text for the search. Amazon Kendra truncates queries at 30 token words, which excludes punctuation and stop words. Truncation still applies if you use Boolean or more advanced, complex queries.

RequestedDocumentAttributes
  • Type: Array of strings

An array of document attributes to include in the response. You can limit the response to include certain document attributes. By default all document attributes are included in the response.

SortingConfiguration
  • Type: SortingConfiguration structure

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

SpellCorrectionConfiguration
  • Type: SpellCorrectionConfiguration structure

Enables suggested spell corrections for queries.

UserContext
  • Type: UserContext structure

The user context token or user and group information.

VisitorId
  • Type: string

Provides an identifier for a specific user. The VisitorId should be a unique identifier, such as a GUID. Don't use personally identifiable information, such as the user's email address, as the VisitorId.

Result Syntax

[
    'FacetResults' => [
        [
            'DocumentAttributeKey' => '<string>',
            'DocumentAttributeValueCountPairs' => [
                [
                    'Count' => <integer>,
                    'DocumentAttributeValue' => [
                        'DateValue' => <DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'FacetResults' => [...], // RECURSIVE
                ],
                // ...
            ],
            'DocumentAttributeValueType' => 'STRING_VALUE|STRING_LIST_VALUE|LONG_VALUE|DATE_VALUE',
        ],
        // ...
    ],
    'QueryId' => '<string>',
    'ResultItems' => [
        [
            'AdditionalAttributes' => [
                [
                    'Key' => '<string>',
                    'Value' => [
                        'TextWithHighlightsValue' => [
                            'Highlights' => [
                                [
                                    'BeginOffset' => <integer>,
                                    'EndOffset' => <integer>,
                                    'TopAnswer' => true || false,
                                    'Type' => 'STANDARD|THESAURUS_SYNONYM',
                                ],
                                // ...
                            ],
                            'Text' => '<string>',
                        ],
                    ],
                    'ValueType' => 'TEXT_WITH_HIGHLIGHTS_VALUE',
                ],
                // ...
            ],
            'DocumentAttributes' => [
                [
                    'Key' => '<string>',
                    'Value' => [
                        'DateValue' => <DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                ],
                // ...
            ],
            'DocumentExcerpt' => [
                'Highlights' => [
                    [
                        'BeginOffset' => <integer>,
                        'EndOffset' => <integer>,
                        'TopAnswer' => true || false,
                        'Type' => 'STANDARD|THESAURUS_SYNONYM',
                    ],
                    // ...
                ],
                'Text' => '<string>',
            ],
            'DocumentId' => '<string>',
            'DocumentTitle' => [
                'Highlights' => [
                    [
                        'BeginOffset' => <integer>,
                        'EndOffset' => <integer>,
                        'TopAnswer' => true || false,
                        'Type' => 'STANDARD|THESAURUS_SYNONYM',
                    ],
                    // ...
                ],
                'Text' => '<string>',
            ],
            'DocumentURI' => '<string>',
            'FeedbackToken' => '<string>',
            'Format' => 'TABLE|TEXT',
            'Id' => '<string>',
            'ScoreAttributes' => [
                'ScoreConfidence' => 'VERY_HIGH|HIGH|MEDIUM|LOW|NOT_AVAILABLE',
            ],
            'TableExcerpt' => [
                'Rows' => [
                    [
                        'Cells' => [
                            [
                                'Header' => true || false,
                                'Highlighted' => true || false,
                                'TopAnswer' => true || false,
                                'Value' => '<string>',
                            ],
                            // ...
                        ],
                    ],
                    // ...
                ],
                'TotalNumberOfRows' => <integer>,
            ],
            'Type' => 'DOCUMENT|QUESTION_ANSWER|ANSWER',
        ],
        // ...
    ],
    'SpellCorrectedQueries' => [
        [
            'Corrections' => [
                [
                    'BeginOffset' => <integer>,
                    'CorrectedTerm' => '<string>',
                    'EndOffset' => <integer>,
                    'Term' => '<string>',
                ],
                // ...
            ],
            'SuggestedQueryText' => '<string>',
        ],
        // ...
    ],
    'TotalNumberOfResults' => <integer>,
    'Warnings' => [
        [
            'Code' => 'QUERY_LANGUAGE_INVALID_SYNTAX',
            'Message' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
FacetResults
  • Type: Array of FacetResult structures

Contains the facet results. A FacetResult contains the counts for each attribute key that was specified in the Facets input parameter.

QueryId
  • Type: string

The identifier for the search. You use QueryId to identify the search when using the feedback API.

ResultItems
  • Type: Array of QueryResultItem structures

The results of the search.

SpellCorrectedQueries
  • Type: Array of SpellCorrectedQuery structures

A list of information related to suggested spell corrections for a query.

TotalNumberOfResults
  • Type: int

The total number of items found by the search; however, you can only retrieve up to 100 items. For example, if the search found 192 items, you can only retrieve the first 100 of the items.

Warnings
  • Type: Array of Warning structures

A list of warning codes and their messages on problems with your query.

Amazon Kendra currently only supports one type of warning, which is a warning on invalid syntax used in the query. For examples of invalid query syntax, see Searching with advanced query syntax.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

StartDataSourceSyncJob

$result = $client->startDataSourceSyncJob([/* ... */]);
$promise = $client->startDataSourceSyncJobAsync([/* ... */]);

Starts a synchronization job for a data source connector. If a synchronization job is already in progress, Amazon Kendra returns a ResourceInUseException exception.

Parameter Syntax

$result = $client->startDataSourceSyncJob([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the data source connector to synchronize.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index used with the data source connector.

Result Syntax

[
    'ExecutionId' => '<string>',
]

Result Details

Members
ExecutionId
  • Type: string

Identifies a particular synchronization job.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ResourceInUseException:

    The resource you want to use is currently in use. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

StopDataSourceSyncJob

$result = $client->stopDataSourceSyncJob([/* ... */]);
$promise = $client->stopDataSourceSyncJobAsync([/* ... */]);

Stops a synchronization job that is currently running. You can't stop a scheduled synchronization job.

Parameter Syntax

$result = $client->stopDataSourceSyncJob([
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
]);

Parameter Details

Members
Id
  • Required: Yes
  • Type: string

The identifier of the data source connector for which to stop the synchronization jobs.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index used with the data source connector.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

SubmitFeedback

$result = $client->submitFeedback([/* ... */]);
$promise = $client->submitFeedbackAsync([/* ... */]);

Enables you to provide feedback to Amazon Kendra to improve the performance of your index.

SubmitFeedback is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->submitFeedback([
    'ClickFeedbackItems' => [
        [
            'ClickTime' => <integer || string || DateTime>, // REQUIRED
            'ResultId' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'IndexId' => '<string>', // REQUIRED
    'QueryId' => '<string>', // REQUIRED
    'RelevanceFeedbackItems' => [
        [
            'RelevanceValue' => 'RELEVANT|NOT_RELEVANT', // REQUIRED
            'ResultId' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
ClickFeedbackItems
  • Type: Array of ClickFeedback structures

Tells Amazon Kendra that a particular search result link was chosen by the user.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index that was queried.

QueryId
  • Required: Yes
  • Type: string

The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the Query API.

RelevanceFeedbackItems
  • Type: Array of RelevanceFeedback structures

Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceUnavailableException:

    The resource you want to use isn't available. Please check you have provided the correct resource and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Adds the specified tag to the specified index, FAQ, or data source resource. If the tag already exists, the existing value is replaced with the new value.

Parameter Syntax

$result = $client->tagResource([
    'ResourceARN' => '<string>', // REQUIRED
    'Tags' => [ // REQUIRED
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
ResourceARN
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of the index, FAQ, or data source to tag.

Tags
  • Required: Yes
  • Type: Array of Tag structures

A list of tag keys to add to the index, FAQ, or data source. If a tag already exists, the existing value is replaced with the new value.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceUnavailableException:

    The resource you want to use isn't available. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes a tag from an index, FAQ, or a data source.

Parameter Syntax

$result = $client->untagResource([
    'ResourceARN' => '<string>', // REQUIRED
    'TagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ResourceARN
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of the index, FAQ, or data source to remove the tag from.

TagKeys
  • Required: Yes
  • Type: Array of strings

A list of tag keys to remove from the index, FAQ, or data source. If a tag key does not exist on the resource, it is ignored.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceUnavailableException:

    The resource you want to use isn't available. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

UpdateAccessControlConfiguration

$result = $client->updateAccessControlConfiguration([/* ... */]);
$promise = $client->updateAccessControlConfigurationAsync([/* ... */]);

Updates an access control configuration for your documents in an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

You can update an access control configuration you created without indexing all of your documents again. For example, your index contains top-secret company documents that only certain employees or users should access. You created an 'allow' access control configuration for one user who recently joined the 'top-secret' team, switching from a team with 'deny' access to top-secret documents. However, the user suddenly returns to their previous team and should no longer have access to top secret documents. You can update the access control configuration to re-configure access control for your documents as circumstances change.

You call the BatchPutDocument API to apply the updated access control configuration, with the AccessControlConfigurationId included in the Document object. If you use an S3 bucket as a data source, you synchronize your data source to apply the AccessControlConfigurationId in the .metadata.json file. Amazon Kendra currently only supports access control configuration for S3 data sources and documents indexed using the BatchPutDocument API.

Parameter Syntax

$result = $client->updateAccessControlConfiguration([
    'AccessControlList' => [
        [
            'Access' => 'ALLOW|DENY', // REQUIRED
            'DataSourceId' => '<string>',
            'Name' => '<string>', // REQUIRED
            'Type' => 'USER|GROUP', // REQUIRED
        ],
        // ...
    ],
    'Description' => '<string>',
    'HierarchicalAccessControlList' => [
        [
            'PrincipalList' => [ // REQUIRED
                [
                    'Access' => 'ALLOW|DENY', // REQUIRED
                    'DataSourceId' => '<string>',
                    'Name' => '<string>', // REQUIRED
                    'Type' => 'USER|GROUP', // REQUIRED
                ],
                // ...
            ],
        ],
        // ...
    ],
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'Name' => '<string>',
]);

Parameter Details

Members
AccessControlList
  • Type: Array of Principal structures

Information you want to update on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Description
  • Type: string

A new description for the access control configuration.

HierarchicalAccessControlList
  • Type: Array of HierarchicalPrincipal structures

The updated list of principal lists that define the hierarchy for which documents users should have access to.

Id
  • Required: Yes
  • Type: string

The identifier of the access control configuration you want to update.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for an access control configuration.

Name
  • Type: string

A new name for the access control configuration.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

UpdateDataSource

$result = $client->updateDataSource([/* ... */]);
$promise = $client->updateDataSourceAsync([/* ... */]);

Updates an existing Amazon Kendra data source connector.

Parameter Syntax

$result = $client->updateDataSource([
    'Configuration' => [
        'AlfrescoConfiguration' => [
            'BlogFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'CrawlComments' => true || false,
            'CrawlSystemFolders' => true || false,
            'DocumentLibraryFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'EntityFilter' => ['<string>', ...],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>', // REQUIRED
            'SiteId' => '<string>', // REQUIRED
            'SiteUrl' => '<string>', // REQUIRED
            'SslCertificateS3Path' => [ // REQUIRED
                'Bucket' => '<string>', // REQUIRED
                'Key' => '<string>', // REQUIRED
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
            'WikiFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
        ],
        'BoxConfiguration' => [
            'CommentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'CrawlComments' => true || false,
            'CrawlTasks' => true || false,
            'CrawlWebLinks' => true || false,
            'EnterpriseId' => '<string>', // REQUIRED
            'ExclusionPatterns' => ['<string>', ...],
            'FileFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>', // REQUIRED
            'TaskFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
            'WebLinkFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
        ],
        'ConfluenceConfiguration' => [
            'AttachmentConfiguration' => [
                'AttachmentFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|CONTENT_TYPE|CREATED_DATE|DISPLAY_URL|FILE_SIZE|ITEM_TYPE|PARENT_ID|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
                'CrawlAttachments' => true || false,
            ],
            'AuthenticationType' => 'HTTP_BASIC|PAT',
            'BlogConfiguration' => [
                'BlogFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|DISPLAY_URL|ITEM_TYPE|LABELS|PUBLISH_DATE|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'PageConfiguration' => [
                'PageFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'AUTHOR|CONTENT_STATUS|CREATED_DATE|DISPLAY_URL|ITEM_TYPE|LABELS|MODIFIED_DATE|PARENT_ID|SPACE_KEY|SPACE_NAME|URL|VERSION',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>', // REQUIRED
                'Port' => <integer>, // REQUIRED
            ],
            'SecretArn' => '<string>', // REQUIRED
            'ServerUrl' => '<string>', // REQUIRED
            'SpaceConfiguration' => [
                'CrawlArchivedSpaces' => true || false,
                'CrawlPersonalSpaces' => true || false,
                'ExcludeSpaces' => ['<string>', ...],
                'IncludeSpaces' => ['<string>', ...],
                'SpaceFieldMappings' => [
                    [
                        'DataSourceFieldName' => 'DISPLAY_URL|ITEM_TYPE|SPACE_KEY|URL',
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>',
                    ],
                    // ...
                ],
            ],
            'Version' => 'CLOUD|SERVER', // REQUIRED
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'DatabaseConfiguration' => [
            'AclConfiguration' => [
                'AllowedGroupsColumnName' => '<string>', // REQUIRED
            ],
            'ColumnConfiguration' => [ // REQUIRED
                'ChangeDetectingColumns' => ['<string>', ...], // REQUIRED
                'DocumentDataColumnName' => '<string>', // REQUIRED
                'DocumentIdColumnName' => '<string>', // REQUIRED
                'DocumentTitleColumnName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
            ],
            'ConnectionConfiguration' => [ // REQUIRED
                'DatabaseHost' => '<string>', // REQUIRED
                'DatabaseName' => '<string>', // REQUIRED
                'DatabasePort' => <integer>, // REQUIRED
                'SecretArn' => '<string>', // REQUIRED
                'TableName' => '<string>', // REQUIRED
            ],
            'DatabaseEngineType' => 'RDS_AURORA_MYSQL|RDS_AURORA_POSTGRESQL|RDS_MYSQL|RDS_POSTGRESQL', // REQUIRED
            'SqlConfiguration' => [
                'QueryIdentifiersEnclosingOption' => 'DOUBLE_QUOTES|NONE',
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'FsxConfiguration' => [
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'FileSystemId' => '<string>', // REQUIRED
            'FileSystemType' => 'WINDOWS', // REQUIRED
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>',
            'VpcConfiguration' => [ // REQUIRED
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'GitHubConfiguration' => [
            'ExclusionFileNamePatterns' => ['<string>', ...],
            'ExclusionFileTypePatterns' => ['<string>', ...],
            'ExclusionFolderNamePatterns' => ['<string>', ...],
            'GitHubCommitConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubDocumentCrawlProperties' => [
                'CrawlIssue' => true || false,
                'CrawlIssueComment' => true || false,
                'CrawlIssueCommentAttachment' => true || false,
                'CrawlPullRequest' => true || false,
                'CrawlPullRequestComment' => true || false,
                'CrawlPullRequestCommentAttachment' => true || false,
                'CrawlRepositoryDocuments' => true || false,
            ],
            'GitHubIssueAttachmentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubIssueCommentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubIssueDocumentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubPullRequestCommentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubPullRequestDocumentAttachmentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubPullRequestDocumentConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'GitHubRepositoryConfigurationFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionFileNamePatterns' => ['<string>', ...],
            'InclusionFileTypePatterns' => ['<string>', ...],
            'InclusionFolderNamePatterns' => ['<string>', ...],
            'OnPremiseConfiguration' => [
                'HostUrl' => '<string>', // REQUIRED
                'OrganizationName' => '<string>', // REQUIRED
                'SslCertificateS3Path' => [ // REQUIRED
                    'Bucket' => '<string>', // REQUIRED
                    'Key' => '<string>', // REQUIRED
                ],
            ],
            'RepositoryFilter' => ['<string>', ...],
            'SaaSConfiguration' => [
                'HostUrl' => '<string>', // REQUIRED
                'OrganizationName' => '<string>', // REQUIRED
            ],
            'SecretArn' => '<string>', // REQUIRED
            'Type' => 'SAAS|ON_PREMISE',
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'GoogleDriveConfiguration' => [
            'ExcludeMimeTypes' => ['<string>', ...],
            'ExcludeSharedDrives' => ['<string>', ...],
            'ExcludeUserAccounts' => ['<string>', ...],
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'SecretArn' => '<string>', // REQUIRED
        ],
        'JiraConfiguration' => [
            'AttachmentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'CommentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'IssueFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'IssueSubEntityFilter' => ['<string>', ...],
            'IssueType' => ['<string>', ...],
            'JiraAccountUrl' => '<string>', // REQUIRED
            'Project' => ['<string>', ...],
            'ProjectFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'SecretArn' => '<string>', // REQUIRED
            'Status' => ['<string>', ...],
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
            'WorkLogFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
        ],
        'OneDriveConfiguration' => [
            'DisableLocalGroups' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'OneDriveUsers' => [ // REQUIRED
                'OneDriveUserList' => ['<string>', ...],
                'OneDriveUserS3Path' => [
                    'Bucket' => '<string>', // REQUIRED
                    'Key' => '<string>', // REQUIRED
                ],
            ],
            'SecretArn' => '<string>', // REQUIRED
            'TenantDomain' => '<string>', // REQUIRED
        ],
        'QuipConfiguration' => [
            'AttachmentFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'CrawlAttachments' => true || false,
            'CrawlChatRooms' => true || false,
            'CrawlFileComments' => true || false,
            'Domain' => '<string>', // REQUIRED
            'ExclusionPatterns' => ['<string>', ...],
            'FolderIds' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'MessageFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'SecretArn' => '<string>', // REQUIRED
            'ThreadFieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'S3Configuration' => [
            'AccessControlListConfiguration' => [
                'KeyPath' => '<string>',
            ],
            'BucketName' => '<string>', // REQUIRED
            'DocumentsMetadataConfiguration' => [
                'S3Prefix' => '<string>',
            ],
            'ExclusionPatterns' => ['<string>', ...],
            'InclusionPatterns' => ['<string>', ...],
            'InclusionPrefixes' => ['<string>', ...],
        ],
        'SalesforceConfiguration' => [
            'ChatterFeedConfiguration' => [
                'DocumentDataFieldName' => '<string>', // REQUIRED
                'DocumentTitleFieldName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'IncludeFilterTypes' => ['<string>', ...],
            ],
            'CrawlAttachments' => true || false,
            'ExcludeAttachmentFilePatterns' => ['<string>', ...],
            'IncludeAttachmentFilePatterns' => ['<string>', ...],
            'KnowledgeArticleConfiguration' => [
                'CustomKnowledgeArticleTypeConfigurations' => [
                    [
                        'DocumentDataFieldName' => '<string>', // REQUIRED
                        'DocumentTitleFieldName' => '<string>',
                        'FieldMappings' => [
                            [
                                'DataSourceFieldName' => '<string>', // REQUIRED
                                'DateFieldFormat' => '<string>',
                                'IndexFieldName' => '<string>', // REQUIRED
                            ],
                            // ...
                        ],
                        'Name' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'IncludedStates' => ['<string>', ...], // REQUIRED
                'StandardKnowledgeArticleTypeConfiguration' => [
                    'DocumentDataFieldName' => '<string>', // REQUIRED
                    'DocumentTitleFieldName' => '<string>',
                    'FieldMappings' => [
                        [
                            'DataSourceFieldName' => '<string>', // REQUIRED
                            'DateFieldFormat' => '<string>',
                            'IndexFieldName' => '<string>', // REQUIRED
                        ],
                        // ...
                    ],
                ],
            ],
            'SecretArn' => '<string>', // REQUIRED
            'ServerUrl' => '<string>', // REQUIRED
            'StandardObjectAttachmentConfiguration' => [
                'DocumentTitleFieldName' => '<string>',
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
            ],
            'StandardObjectConfigurations' => [
                [
                    'DocumentDataFieldName' => '<string>', // REQUIRED
                    'DocumentTitleFieldName' => '<string>',
                    'FieldMappings' => [
                        [
                            'DataSourceFieldName' => '<string>', // REQUIRED
                            'DateFieldFormat' => '<string>',
                            'IndexFieldName' => '<string>', // REQUIRED
                        ],
                        // ...
                    ],
                    'Name' => 'ACCOUNT|CAMPAIGN|CASE|CONTACT|CONTRACT|DOCUMENT|GROUP|IDEA|LEAD|OPPORTUNITY|PARTNER|PRICEBOOK|PRODUCT|PROFILE|SOLUTION|TASK|USER', // REQUIRED
                ],
                // ...
            ],
        ],
        'ServiceNowConfiguration' => [
            'AuthenticationType' => 'HTTP_BASIC|OAUTH2',
            'HostUrl' => '<string>', // REQUIRED
            'KnowledgeArticleConfiguration' => [
                'CrawlAttachments' => true || false,
                'DocumentDataFieldName' => '<string>', // REQUIRED
                'DocumentTitleFieldName' => '<string>',
                'ExcludeAttachmentFilePatterns' => ['<string>', ...],
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'FilterQuery' => '<string>',
                'IncludeAttachmentFilePatterns' => ['<string>', ...],
            ],
            'SecretArn' => '<string>', // REQUIRED
            'ServiceCatalogConfiguration' => [
                'CrawlAttachments' => true || false,
                'DocumentDataFieldName' => '<string>', // REQUIRED
                'DocumentTitleFieldName' => '<string>',
                'ExcludeAttachmentFilePatterns' => ['<string>', ...],
                'FieldMappings' => [
                    [
                        'DataSourceFieldName' => '<string>', // REQUIRED
                        'DateFieldFormat' => '<string>',
                        'IndexFieldName' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                'IncludeAttachmentFilePatterns' => ['<string>', ...],
            ],
            'ServiceNowBuildVersion' => 'LONDON|OTHERS', // REQUIRED
        ],
        'SharePointConfiguration' => [
            'AuthenticationType' => 'HTTP_BASIC|OAUTH2',
            'CrawlAttachments' => true || false,
            'DisableLocalGroups' => true || false,
            'DocumentTitleFieldName' => '<string>',
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>', // REQUIRED
                'Port' => <integer>, // REQUIRED
            ],
            'SecretArn' => '<string>', // REQUIRED
            'SharePointVersion' => 'SHAREPOINT_2013|SHAREPOINT_2016|SHAREPOINT_ONLINE|SHAREPOINT_2019', // REQUIRED
            'SslCertificateS3Path' => [
                'Bucket' => '<string>', // REQUIRED
                'Key' => '<string>', // REQUIRED
            ],
            'Urls' => ['<string>', ...], // REQUIRED
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'SlackConfiguration' => [
            'CrawlBotMessage' => true || false,
            'ExcludeArchived' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'LookBackPeriod' => <integer>,
            'PrivateChannelFilter' => ['<string>', ...],
            'PublicChannelFilter' => ['<string>', ...],
            'SecretArn' => '<string>', // REQUIRED
            'SinceCrawlDate' => '<string>', // REQUIRED
            'SlackEntityList' => ['<string>', ...], // REQUIRED
            'TeamId' => '<string>', // REQUIRED
            'UseChangeLog' => true || false,
            'VpcConfiguration' => [
                'SecurityGroupIds' => ['<string>', ...], // REQUIRED
                'SubnetIds' => ['<string>', ...], // REQUIRED
            ],
        ],
        'TemplateConfiguration' => [
            'Template' => [
            ],
        ],
        'WebCrawlerConfiguration' => [
            'AuthenticationConfiguration' => [
                'BasicAuthentication' => [
                    [
                        'Credentials' => '<string>', // REQUIRED
                        'Host' => '<string>', // REQUIRED
                        'Port' => <integer>, // REQUIRED
                    ],
                    // ...
                ],
            ],
            'CrawlDepth' => <integer>,
            'MaxContentSizePerPageInMegaBytes' => <float>,
            'MaxLinksPerPage' => <integer>,
            'MaxUrlsPerMinuteCrawlRate' => <integer>,
            'ProxyConfiguration' => [
                'Credentials' => '<string>',
                'Host' => '<string>', // REQUIRED
                'Port' => <integer>, // REQUIRED
            ],
            'UrlExclusionPatterns' => ['<string>', ...],
            'UrlInclusionPatterns' => ['<string>', ...],
            'Urls' => [ // REQUIRED
                'SeedUrlConfiguration' => [
                    'SeedUrls' => ['<string>', ...], // REQUIRED
                    'WebCrawlerMode' => 'HOST_ONLY|SUBDOMAINS|EVERYTHING',
                ],
                'SiteMapsConfiguration' => [
                    'SiteMaps' => ['<string>', ...], // REQUIRED
                ],
            ],
        ],
        'WorkDocsConfiguration' => [
            'CrawlComments' => true || false,
            'ExclusionPatterns' => ['<string>', ...],
            'FieldMappings' => [
                [
                    'DataSourceFieldName' => '<string>', // REQUIRED
                    'DateFieldFormat' => '<string>',
                    'IndexFieldName' => '<string>', // REQUIRED
                ],
                // ...
            ],
            'InclusionPatterns' => ['<string>', ...],
            'OrganizationId' => '<string>', // REQUIRED
            'UseChangeLog' => true || false,
        ],
    ],
    'CustomDocumentEnrichmentConfiguration' => [
        'InlineConfigurations' => [
            [
                'Condition' => [
                    'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                    'ConditionOnValue' => [
                        'DateValue' => <integer || string || DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
                ],
                'DocumentContentDeletion' => true || false,
                'Target' => [
                    'TargetDocumentAttributeKey' => '<string>',
                    'TargetDocumentAttributeValue' => [
                        'DateValue' => <integer || string || DateTime>,
                        'LongValue' => <integer>,
                        'StringListValue' => ['<string>', ...],
                        'StringValue' => '<string>',
                    ],
                    'TargetDocumentAttributeValueDeletion' => true || false,
                ],
            ],
            // ...
        ],
        'PostExtractionHookConfiguration' => [
            'InvocationCondition' => [
                'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                'ConditionOnValue' => [
                    'DateValue' => <integer || string || DateTime>,
                    'LongValue' => <integer>,
                    'StringListValue' => ['<string>', ...],
                    'StringValue' => '<string>',
                ],
                'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
            ],
            'LambdaArn' => '<string>', // REQUIRED
            'S3Bucket' => '<string>', // REQUIRED
        ],
        'PreExtractionHookConfiguration' => [
            'InvocationCondition' => [
                'ConditionDocumentAttributeKey' => '<string>', // REQUIRED
                'ConditionOnValue' => [
                    'DateValue' => <integer || string || DateTime>,
                    'LongValue' => <integer>,
                    'StringListValue' => ['<string>', ...],
                    'StringValue' => '<string>',
                ],
                'Operator' => 'GreaterThan|GreaterThanOrEquals|LessThan|LessThanOrEquals|Equals|NotEquals|Contains|NotContains|Exists|NotExists|BeginsWith', // REQUIRED
            ],
            'LambdaArn' => '<string>', // REQUIRED
            'S3Bucket' => '<string>', // REQUIRED
        ],
        'RoleArn' => '<string>',
    ],
    'Description' => '<string>',
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'LanguageCode' => '<string>',
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'Schedule' => '<string>',
    'VpcConfiguration' => [
        'SecurityGroupIds' => ['<string>', ...], // REQUIRED
        'SubnetIds' => ['<string>', ...], // REQUIRED
    ],
]);

Parameter Details

Members
Configuration
  • Type: DataSourceConfiguration structure

Configuration information you want to update for the data source connector.

CustomDocumentEnrichmentConfiguration
  • Type: CustomDocumentEnrichmentConfiguration structure

Configuration information you want to update for altering document metadata and content during the document ingestion process.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

Description
  • Type: string

A new description for the data source connector.

Id
  • Required: Yes
  • Type: string

The identifier of the data source connector you want to update.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index used with the data source connector.

LanguageCode
  • Type: string

The code for a language you want to update for the data source connector. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

Name
  • Type: string

A new name for the data source connector.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources. For more information, see IAM roles for Amazon Kendra.

Schedule
  • Type: string

The sync schedule you want to update for the data source connector.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

UpdateExperience

$result = $client->updateExperience([/* ... */]);
$promise = $client->updateExperienceAsync([/* ... */]);

Updates your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameter Syntax

$result = $client->updateExperience([
    'Configuration' => [
        'ContentSourceConfiguration' => [
            'DataSourceIds' => ['<string>', ...],
            'DirectPutContent' => true || false,
            'FaqIds' => ['<string>', ...],
        ],
        'UserIdentityConfiguration' => [
            'IdentityAttributeName' => '<string>',
        ],
    ],
    'Description' => '<string>',
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'Name' => '<string>',
    'RoleArn' => '<string>',
]);

Parameter Details

Members
Configuration
  • Type: ExperienceConfiguration structure

Configuration information you want to update for your Amazon Kendra experience.

Description
  • Type: string

A new description for your Amazon Kendra experience.

Id
  • Required: Yes
  • Type: string

The identifier of your Amazon Kendra experience you want to update.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for your Amazon Kendra experience.

Name
  • Type: string

A new name for your Amazon Kendra experience.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your user and group information. For more information, see IAM roles for Amazon Kendra.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

UpdateIndex

$result = $client->updateIndex([/* ... */]);
$promise = $client->updateIndexAsync([/* ... */]);

Updates an existing Amazon Kendra index.

Parameter Syntax

$result = $client->updateIndex([
    'CapacityUnits' => [
        'QueryCapacityUnits' => <integer>, // REQUIRED
        'StorageCapacityUnits' => <integer>, // REQUIRED
    ],
    'Description' => '<string>',
    'DocumentMetadataConfigurationUpdates' => [
        [
            'Name' => '<string>', // REQUIRED
            'Relevance' => [
                'Duration' => '<string>',
                'Freshness' => true || false,
                'Importance' => <integer>,
                'RankOrder' => 'ASCENDING|DESCENDING',
                'ValueImportanceMap' => [<integer>, ...],
            ],
            'Search' => [
                'Displayable' => true || false,
                'Facetable' => true || false,
                'Searchable' => true || false,
                'Sortable' => true || false,
            ],
            'Type' => 'STRING_VALUE|STRING_LIST_VALUE|LONG_VALUE|DATE_VALUE', // REQUIRED
        ],
        // ...
    ],
    'Id' => '<string>', // REQUIRED
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'UserContextPolicy' => 'ATTRIBUTE_FILTER|USER_TOKEN',
    'UserGroupResolutionConfiguration' => [
        'UserGroupResolutionMode' => 'AWS_SSO|NONE', // REQUIRED
    ],
    'UserTokenConfigurations' => [
        [
            'JsonTokenTypeConfiguration' => [
                'GroupAttributeField' => '<string>', // REQUIRED
                'UserNameAttributeField' => '<string>', // REQUIRED
            ],
            'JwtTokenTypeConfiguration' => [
                'ClaimRegex' => '<string>',
                'GroupAttributeField' => '<string>',
                'Issuer' => '<string>',
                'KeyLocation' => 'URL|SECRET_MANAGER', // REQUIRED
                'SecretManagerArn' => '<string>',
                'URL' => '<string>',
                'UserNameAttributeField' => '<string>',
            ],
        ],
        // ...
    ],
]);

Parameter Details

Members
CapacityUnits
  • Type: CapacityUnitsConfiguration structure

Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.

If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.

Description
  • Type: string

A new description for the index.

DocumentMetadataConfigurationUpdates
  • Type: Array of DocumentMetadataConfiguration structures

The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.

Id
  • Required: Yes
  • Type: string

The identifier of the index you want to update.

Name
  • Type: string

The name of the index you want to update.

RoleArn
  • Type: string

An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.

UserContextPolicy
  • Type: string

The user context policy.

UserGroupResolutionConfiguration
  • Type: UserGroupResolutionConfiguration structure

Enables fetching access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source. To configure this, see UserGroupResolutionConfiguration.

UserTokenConfigurations
  • Type: Array of UserTokenConfiguration structures

The user token configuration.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ServiceQuotaExceededException:

    You have exceeded the set limits for your Amazon Kendra service. Please see Quotas[hyperlink Kendra Quotas pg] for more information, or contact Support to inquire about an increase of limits.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

UpdateQuerySuggestionsBlockList

$result = $client->updateQuerySuggestionsBlockList([/* ... */]);
$promise = $client->updateQuerySuggestionsBlockListAsync([/* ... */]);

Updates a block list used for query suggestions for an index.

Updates to a block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to apply any updates to the block list. Other changes not related to the block list apply immediately.

If a block list is updating, then you need to wait for the first update to finish before submitting another update.

Amazon Kendra supports partial updates, so you only need to provide the fields you want to update.

UpdateQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->updateQuerySuggestionsBlockList([
    'Description' => '<string>',
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'SourceS3Path' => [
        'Bucket' => '<string>', // REQUIRED
        'Key' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
Description
  • Type: string

A new description for the block list.

Id
  • Required: Yes
  • Type: string

The identifier of the block list you want to update.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the block list.

Name
  • Type: string

A new name for the block list.

RoleArn
  • Type: string

The IAM (Identity and Access Management) role used to access the block list text file in S3.

SourceS3Path
  • Type: S3Path structure

The S3 path where your block list text file sits in S3.

If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You need to call the UpdateQuerySuggestionsBlockList API to refresh you block list.

If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

UpdateQuerySuggestionsConfig

$result = $client->updateQuerySuggestionsConfig([/* ... */]);
$promise = $client->updateQuerySuggestionsConfigAsync([/* ... */]);

Updates the settings of query suggestions for an index.

Amazon Kendra supports partial updates, so you only need to provide the fields you want to update.

If an update is currently processing (i.e. 'happening'), you need to wait for the update to finish before making another update.

Updates to query suggestions settings might not take effect right away. The time for your updated settings to take effect depends on the updates made and the number of search queries in your index.

You can still enable/disable query suggestions at any time.

UpdateQuerySuggestionsConfig is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Parameter Syntax

$result = $client->updateQuerySuggestionsConfig([
    'IncludeQueriesWithoutUserInformation' => true || false,
    'IndexId' => '<string>', // REQUIRED
    'MinimumNumberOfQueryingUsers' => <integer>,
    'MinimumQueryCount' => <integer>,
    'Mode' => 'ENABLED|LEARN_ONLY',
    'QueryLogLookBackWindowInDays' => <integer>,
]);

Parameter Details

Members
IncludeQueriesWithoutUserInformation
  • Type: boolean

TRUE to include queries without user information (i.e. all queries, irrespective of the user), otherwise FALSE to only include queries with user information.

If you pass user information to Amazon Kendra along with the queries, you can set this flag to FALSE and instruct Amazon Kendra to only consider queries with user information.

If you set to FALSE, Amazon Kendra only considers queries searched at least MinimumQueryCount times across MinimumNumberOfQueryingUsers unique users for suggestions.

If you set to TRUE, Amazon Kendra ignores all user information and learns from all queries.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index with query suggestions you want to update.

MinimumNumberOfQueryingUsers
  • Type: int

The minimum number of unique users who must search a query in order for the query to be eligible to suggest to your users.

Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users.

How you tune this setting depends on your specific needs.

MinimumQueryCount
  • Type: int

The the minimum number of times a query must be searched in order to be eligible to suggest to your users.

Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.

How you tune this setting depends on your specific needs.

Mode
  • Type: string

Set the mode to ENABLED or LEARN_ONLY.

By default, Amazon Kendra enables query suggestions. LEARN_ONLY mode allows you to turn off query suggestions. You can to update this at any time.

In LEARN_ONLY mode, Amazon Kendra continues to learn from new queries to keep suggestions up to date for when you are ready to switch to ENABLED mode again.

QueryLogLookBackWindowInDays
  • Type: int

How recent your queries are in your query log time window.

The time window is the number of days from current day to past days.

By default, Amazon Kendra sets this to 180.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

UpdateThesaurus

$result = $client->updateThesaurus([/* ... */]);
$promise = $client->updateThesaurusAsync([/* ... */]);

Updates a thesaurus for an index.

Parameter Syntax

$result = $client->updateThesaurus([
    'Description' => '<string>',
    'Id' => '<string>', // REQUIRED
    'IndexId' => '<string>', // REQUIRED
    'Name' => '<string>',
    'RoleArn' => '<string>',
    'SourceS3Path' => [
        'Bucket' => '<string>', // REQUIRED
        'Key' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
Description
  • Type: string

A new description for the thesaurus.

Id
  • Required: Yes
  • Type: string

The identifier of the thesaurus you want to update.

IndexId
  • Required: Yes
  • Type: string

The identifier of the index for the thesaurus.

Name
  • Type: string

A new name for the thesaurus.

RoleArn
  • Type: string

An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path.

SourceS3Path
  • Type: S3Path structure

Information required to find a specific file in an Amazon S3 bucket.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

  • ValidationException:

    The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

  • ResourceNotFoundException:

    The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

  • ThrottlingException:

    The request was denied due to request throttling. Please reduce the number of requests and try again.

  • AccessDeniedException:

    You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

  • ConflictException:

    A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

  • InternalServerException:

    An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

Shapes

AccessControlConfigurationSummary

Description

Summary information on an access control configuration that you created for your documents in an index.

Members
Id
  • Required: Yes
  • Type: string

The identifier of the access control configuration.

AccessControlListConfiguration

Description

Access Control List files for the documents in a data source. For the format of the file, see Access control for S3 data sources.

Members
KeyPath
  • Type: string

Path to the Amazon S3 bucket that contains the ACL files.

AccessDeniedException

Description

You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

Members
Message
  • Type: string

AclConfiguration

Description

Provides information about the column that should be used for filtering the query response by groups.

Members
AllowedGroupsColumnName
  • Required: Yes
  • Type: string

A list of groups, separated by semi-colons, that filters a query response based on user context. The document is only returned to users that are in one of the groups specified in the UserContext field of the Query API.

AdditionalResultAttribute

Description

An attribute returned from an index query.

Members
Key
  • Required: Yes
  • Type: string

The key that identifies the attribute.

Value
  • Required: Yes
  • Type: AdditionalResultAttributeValue structure

An object that contains the attribute value.

ValueType
  • Required: Yes
  • Type: string

The data type of the Value property.

AdditionalResultAttributeValue

Description

An attribute returned with a document from a search.

Members
TextWithHighlightsValue
  • Type: TextWithHighlights structure

The text associated with the attribute and information about the highlight to apply to the text.

AlfrescoConfiguration

Description

Provides the configuration information to connect to Alfresco as your data source.

Alfresco data source connector is currently in preview mode. Basic authentication is currently supported. If you would like to use Alfresco connector in production, contact Support.

Members
BlogFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Alfresco blogs to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.

CrawlComments
  • Type: boolean

TRUE to index comments of blogs and other content.

CrawlSystemFolders
  • Type: boolean

TRUE to index shared files.

DocumentLibraryFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Alfresco document libraries to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.

EntityFilter
  • Type: Array of strings

Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.

ExclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain files in your Alfresco data source. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

InclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to include certain files in your Alfresco data source. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Alfresco data source. The secret must contain a JSON structure with the following keys:

  • username—The user name of the Alfresco account.

  • password—The password of the Alfresco account.

SiteId
  • Required: Yes
  • Type: string

The identifier of the Alfresco site. For example, my-site.

SiteUrl
  • Required: Yes
  • Type: string

The URL of the Alfresco site. For example, https://hostname:8080.

SslCertificateS3Path
  • Required: Yes
  • Type: S3Path structure

The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to Alfresco if you require a secure SSL connection.

You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco. For more information, see Configuring a VPC.

WikiFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Alfresco wikis to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.

AttributeFilter

Description

Provides filtering the query results based on document attributes or metadata fields.

When you use the AndAllFilters or OrAllFilters, filters you can use 2 layers under the first attribute filter. For example, you can use:

<AndAllFilters>

  1. <OrAllFilters>

  2. <EqualsTo>

If you use more than 2 layers, you receive a ValidationException exception with the message "AttributeFilter cannot have a depth of more than 2."

If you use more than 10 attribute filters in a given list for AndAllFilters or OrAllFilters, you receive a ValidationException with the message "AttributeFilter cannot have a length of more than 10".

Members
AndAllFilters
  • Type: Array of AttributeFilter structures

Performs a logical AND operation on all supplied filters.

ContainsAll
  • Type: DocumentAttribute structure

Returns true when a document contains all of the specified document attributes or metadata fields. This filter is only applicable to StringListValue metadata.

ContainsAny
  • Type: DocumentAttribute structure

Returns true when a document contains any of the specified document attributes or metadata fields. This filter is only applicable to StringListValue metadata.

EqualsTo
  • Type: DocumentAttribute structure

Performs an equals operation on two document attributes or metadata fields.

GreaterThan
  • Type: DocumentAttribute structure

Performs a greater than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.

GreaterThanOrEquals
  • Type: DocumentAttribute structure

Performs a greater or equals than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.

LessThan
  • Type: DocumentAttribute structure

Performs a less than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.

LessThanOrEquals
  • Type: DocumentAttribute structure

Performs a less than or equals operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.

NotFilter
  • Type: AttributeFilter structure

Performs a logical NOT operation on all supplied filters.

OrAllFilters
  • Type: Array of AttributeFilter structures

Performs a logical OR operation on all supplied filters.

AuthenticationConfiguration

Description

Provides the configuration information to connect to websites that require user authentication.

Members
BasicAuthentication
  • Type: Array of BasicAuthenticationConfiguration structures

The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.

The list includes the name and port number of the website host.

BasicAuthenticationConfiguration

Description

Provides the configuration information to connect to websites that require basic user authentication.

Members
Credentials
  • Required: Yes
  • Type: string

Your secret ARN, which you can create in Secrets Manager

You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.

Host
  • Required: Yes
  • Type: string

The name of the website host you want to connect to using authentication credentials.

For example, the host name of https://a.example.com/page1.html is "a.example.com".

Port
  • Required: Yes
  • Type: int

The port number of the website host you want to connect to using authentication credentials.

For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.

BatchDeleteDocumentResponseFailedDocument

Description

Provides information about documents that could not be removed from an index by the BatchDeleteDocument API.

Members
ErrorCode
  • Type: string

The error code for why the document couldn't be removed from the index.

ErrorMessage
  • Type: string

An explanation for why the document couldn't be removed from the index.

Id
  • Type: string

The identifier of the document that couldn't be removed from the index.

BatchGetDocumentStatusResponseError

Description

Provides a response when the status of a document could not be retrieved.

Members
DocumentId
  • Type: string

The identifier of the document whose status could not be retrieved.

ErrorCode
  • Type: string

Indicates the source of the error.

ErrorMessage
  • Type: string

States that the API could not get the status of a document. This could be because the request is not valid or there is a system error.

BatchPutDocumentResponseFailedDocument

Description

Provides information about a document that could not be indexed.

Members
ErrorCode
  • Type: string

The type of error that caused the document to fail to be indexed.

ErrorMessage
  • Type: string

A description of the reason why the document could not be indexed.

Id
  • Type: string

The identifier of the document.

BoxConfiguration

Description

Provides the configuration information to connect to Box as your data source.

Members
CommentFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.

CrawlComments
  • Type: boolean

TRUE to index comments.

CrawlTasks
  • Type: boolean

TRUE to index the contents of tasks.

CrawlWebLinks
  • Type: boolean

TRUE to index web links.

EnterpriseId
  • Required: Yes
  • Type: string

The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer Console settings or when you create an app in Box and download your authentication credentials. For example, 801234567.

ExclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

FileFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box files to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.

InclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys:

  • clientID—The identifier of the client OAuth 2.0 authentication application created in Box.

  • clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.

  • publicKeyId—The identifier of the public key contained within an identity certificate.

  • privateKey—A set of characters that make up an encryption key.

  • passphrase—A set of characters that act like a password.

You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.

TaskFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box tasks to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.

UseChangeLog
  • Type: boolean

TRUE to use the Slack change log to determine which documents require updating in the index. Depending on the data source change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.

WebLinkFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box web links to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.

CapacityUnitsConfiguration

Description

Specifies additional capacity units configured for your Enterprise Edition index. You can add and remove capacity units to fit your usage requirements.

Members
QueryCapacityUnits
  • Required: Yes
  • Type: int

The amount of extra query capacity for an index and GetQuerySuggestions capacity.

A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.

GetQuerySuggestions capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, and GetQuerySuggestions capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the GetQuerySuggestions capacity is 2.5 calls per second (higher than five times 0.2 queries per second).

StorageCapacityUnits
  • Required: Yes
  • Type: int

The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.

ClickFeedback

Description

Gathers information about when a particular result was clicked by a user. Your application uses the SubmitFeedback API to provide click information.

Members
ClickTime
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix timestamp of the date and time that the result was clicked.

ResultId
  • Required: Yes
  • Type: string

The identifier of the search result that was clicked.

ColumnConfiguration

Description

Provides information about how Amazon Kendra should use the columns of a database in an index.

Members
ChangeDetectingColumns
  • Required: Yes
  • Type: Array of strings

One to five columns that indicate when a document in the database has changed.

DocumentDataColumnName
  • Required: Yes
  • Type: string

The column that contains the contents of the document.

DocumentIdColumnName
  • Required: Yes
  • Type: string

The column that provides the document's identifier.

DocumentTitleColumnName
  • Type: string

The column that contains the title of the document.

FieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API.

ConflictException

Description

A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

Members
Message
  • Type: string

ConfluenceAttachmentConfiguration

Description

Configuration of attachment settings for the Confluence data source. Attachment settings are optional, if you don't specify settings attachments, Amazon Kendra won't index them.

Members
AttachmentFieldMappings
  • Type: Array of ConfluenceAttachmentToIndexFieldMapping structures

Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.

CrawlAttachments
  • Type: boolean

TRUE to index attachments of pages and blogs in Confluence.

ConfluenceAttachmentToIndexFieldMapping

Description

Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confuence data source field names must exist in your Confluence custom metadata.

Members
DataSourceFieldName
  • Type: string

The name of the field in the data source.

You must first create the index field using the UpdateIndex API.

DateFieldFormat
  • Type: string

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.

IndexFieldName
  • Type: string

The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.

ConfluenceBlogConfiguration

Description

Configuration of blog settings for the Confluence data source. Blogs are always indexed unless filtered from the index by the ExclusionPatterns or InclusionPatterns fields in the ConfluenceConfiguration object.

Members
BlogFieldMappings
  • Type: Array of ConfluenceBlogToIndexFieldMapping structures

Maps attributes or field names of Confluence blogs to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

If you specify the BlogFieldMappings parameter, you must specify at least one field mapping.

ConfluenceBlogToIndexFieldMapping

Description

Maps attributes or field names of Confluence blog to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

Members
DataSourceFieldName
  • Type: string

The name of the field in the data source.

DateFieldFormat
  • Type: string

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.

IndexFieldName
  • Type: string

The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.

ConfluenceConfiguration

Description

Provides the configuration information to connect to Confluence as your data source.

Members
AttachmentConfiguration
  • Type: ConfluenceAttachmentConfiguration structure

Configuration information for indexing attachments to Confluence blogs and pages.

AuthenticationType
  • Type: string

Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token. You can use a personal access token for Confluence Server.

BlogConfiguration
  • Type: ConfluenceBlogConfiguration structure

Configuration information for indexing Confluence blogs.

ExclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.

InclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.

PageConfiguration
  • Type: ConfluencePageConfiguration structure

Configuration information for indexing Confluence pages.

ProxyConfiguration
  • Type: ProxyConfiguration structure

Configuration information to connect to your Confluence URL instance via a web proxy. You can use this option for Confluence Server.

You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.

Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.

It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the Confluence instance. If you use Confluence Cloud, you use a generated API token as the password.

You can also provide authentication credentials in the form of a personal access token. For more information, see Using a Confluence data source.

ServerUrl
  • Required: Yes
  • Type: string

The URL of your Confluence instance. Use the full URL of the server. For example, https://server.example.com:port/. You can also use an IP address, for example, https://192.168.1.113/.

SpaceConfiguration
  • Type: ConfluenceSpaceConfiguration structure

Configuration information for indexing Confluence spaces.

Version
  • Required: Yes
  • Type: string

The version or the type of Confluence installation to connect to.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.

ConfluencePageConfiguration

Description

Configuration of the page settings for the Confluence data source.

Members
PageFieldMappings
  • Type: Array of ConfluencePageToIndexFieldMapping structures

Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

If you specify the PageFieldMappings parameter, you must specify at least one field mapping.

ConfluencePageToIndexFieldMapping

Description

Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

Members
DataSourceFieldName
  • Type: string

The name of the field in the data source.

DateFieldFormat
  • Type: string

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.

IndexFieldName
  • Type: string

The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.

ConfluenceSpaceConfiguration

Description

Configuration information for indexing Confluence spaces.

Members
CrawlArchivedSpaces
  • Type: boolean

TRUE to index archived spaces.

CrawlPersonalSpaces
  • Type: boolean

TRUE to index personal spaces. You can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.

ExcludeSpaces
  • Type: Array of strings

A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are not indexed. If a space is in both the ExcludeSpaces and the IncludeSpaces list, the space is excluded.

IncludeSpaces
  • Type: Array of strings

A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the IncludeSpaces and the ExcludeSpaces list, the space is excluded.

SpaceFieldMappings
  • Type: Array of ConfluenceSpaceToIndexFieldMapping structures

Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

If you specify the SpaceFieldMappings parameter, you must specify at least one field mapping.

ConfluenceSpaceToIndexFieldMapping

Description

Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

Members
DataSourceFieldName
  • Type: string

The name of the field in the data source.

DateFieldFormat
  • Type: string

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.

IndexFieldName
  • Type: string

The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.

ConnectionConfiguration

Description

Provides the configuration information that's required to connect to a database.

Members
DatabaseHost
  • Required: Yes
  • Type: string

The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.

DatabaseName
  • Required: Yes
  • Type: string

The name of the database containing the document data.

DatabasePort
  • Required: Yes
  • Type: int

The port that the database uses for connections.

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.

TableName
  • Required: Yes
  • Type: string

The name of the table that contains the document data.

ContentSourceConfiguration

Description

Provides the configuration information for your content sources, such as data sources, FAQs, and content indexed directly via BatchPutDocument.

Members
DataSourceIds
  • Type: Array of strings

The identifier of the data sources you want to use for your Amazon Kendra experience.

DirectPutContent
  • Type: boolean

TRUE to use documents you indexed directly using the BatchPutDocument API.

FaqIds
  • Type: Array of strings

The identifier of the FAQs that you want to use for your Amazon Kendra experience.

Correction

Description

A corrected misspelled word in a query.

Members
BeginOffset
  • Type: int

The zero-based location in the response string or text where the corrected word starts.

CorrectedTerm
  • Type: string

The string or text of a corrected misspelled word in a query.

EndOffset
  • Type: int

The zero-based location in the response string or text where the corrected word ends.

Term
  • Type: string

The string or text of a misspelled word in a query.

CustomDocumentEnrichmentConfiguration

Description

Provides the configuration information for altering document metadata and content during the document ingestion process.

For more information, see Customizing document metadata during the ingestion process.

Members
InlineConfigurations
  • Type: Array of InlineCustomDocumentEnrichmentConfiguration structures

Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.

PostExtractionHookConfiguration
  • Type: HookConfiguration structure

Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.

PreExtractionHookConfiguration
  • Type: HookConfiguration structure

Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.

RoleArn
  • Type: string

The Amazon Resource Name (ARN) of a role with permission to run PreExtractionHookConfiguration and PostExtractionHookConfiguration for altering document metadata and content during the document ingestion process. For more information, see IAM roles for Amazon Kendra.

DataSourceConfiguration

Description

Provides the configuration information for an Amazon Kendra data source.

Members
AlfrescoConfiguration
  • Type: AlfrescoConfiguration structure

Provides the configuration information to connect to Alfresco as your data source.

BoxConfiguration
  • Type: BoxConfiguration structure

Provides the configuration information to connect to Box as your data source.

ConfluenceConfiguration
  • Type: ConfluenceConfiguration structure

Provides the configuration information to connect to Confluence as your data source.

DatabaseConfiguration
  • Type: DatabaseConfiguration structure

Provides the configuration information to connect to a database as your data source.

FsxConfiguration
  • Type: FsxConfiguration structure

Provides the configuration information to connect to Amazon FSx as your data source.

GitHubConfiguration
  • Type: GitHubConfiguration structure

Provides the configuration information to connect to GitHub as your data source.

GoogleDriveConfiguration
  • Type: GoogleDriveConfiguration structure

Provides the configuration information to connect to Google Drive as your data source.

JiraConfiguration
  • Type: JiraConfiguration structure

Provides the configuration information to connect to Jira as your data source.

OneDriveConfiguration
  • Type: OneDriveConfiguration structure

Provides the configuration information to connect to Microsoft OneDrive as your data source.

QuipConfiguration
  • Type: QuipConfiguration structure

Provides the configuration information to connect to Quip as your data source.

S3Configuration
  • Type: S3DataSourceConfiguration structure

Provides the configuration information to connect to an Amazon S3 bucket as your data source.

SalesforceConfiguration
  • Type: SalesforceConfiguration structure

Provides the configuration information to connect to Salesforce as your data source.

ServiceNowConfiguration
  • Type: ServiceNowConfiguration structure

Provides the configuration information to connect to ServiceNow as your data source.

SharePointConfiguration
  • Type: SharePointConfiguration structure

Provides the configuration information to connect to Microsoft SharePoint as your data source.

SlackConfiguration
  • Type: SlackConfiguration structure

Provides the configuration information to connect to Slack as your data source.

TemplateConfiguration
  • Type: TemplateConfiguration structure

Provides a template for the configuration information to connect to your data source.

WebCrawlerConfiguration
  • Type: WebCrawlerConfiguration structure

Provides the configuration information required for Amazon Kendra Web Crawler.

WorkDocsConfiguration
  • Type: WorkDocsConfiguration structure

Provides the configuration information to connect to Amazon WorkDocs as your data source.

DataSourceGroup

Description

Data source information for user context filtering.

Members
DataSourceId
  • Required: Yes
  • Type: string

The identifier of the data source group you want to add to your list of data source groups. This is for filtering search results based on the groups' access to documents in that data source.

GroupId
  • Required: Yes
  • Type: string

The identifier of the group you want to add to your list of groups. This is for filtering search results based on the groups' access to documents.

DataSourceSummary

Description

Summary information for a Amazon Kendra data source.

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The UNIX datetime that the data source was created.

Id
  • Type: string

The identifier for the data source.

LanguageCode
  • Type: string

The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

Name
  • Type: string

The name of the data source.

Status
  • Type: string

The status of the data source. When the status is ACTIVE the data source is ready to use.

Type
  • Type: string

The type of the data source.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The UNIX datetime that the data source was lasted updated.

DataSourceSyncJob

Description

Provides information about a data source synchronization job.

Members
DataSourceErrorCode
  • Type: string

If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.

EndTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The UNIX datetime that the synchronization job completed.

ErrorCode
  • Type: string

If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed.

ErrorMessage
  • Type: string

If the Status field is set to ERROR, the ErrorMessage field contains a description of the error that caused the synchronization to fail.

ExecutionId
  • Type: string

A identifier for the synchronization job.

Metrics
  • Type: DataSourceSyncJobMetrics structure

Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.

StartTime
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The UNIX datetime that the synchronization job started.

Status
  • Type: string

The execution status of the synchronization job. When the Status field is set to SUCCEEDED, the synchronization job is done. If the status code is set to FAILED, the ErrorCode and ErrorMessage fields give you the reason for the failure.

DataSourceSyncJobMetricTarget

Description

Maps a particular data source sync job to a particular data source.

Members
DataSourceId
  • Required: Yes
  • Type: string

The ID of the data source that is running the sync job.

DataSourceSyncJobId
  • Type: string

The ID of the sync job that is running on the data source.

If the ID of a sync job is not provided and there is a sync job running, then the ID of this sync job is used and metrics are generated for this sync job.

If the ID of a sync job is not provided and there is no sync job running, then no metrics are generated and documents are indexed/deleted at the index level without sync job metrics included.

DataSourceSyncJobMetrics

Description

Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.

Members
DocumentsAdded
  • Type: string

The number of documents added from the data source up to now in the data source sync.

DocumentsDeleted
  • Type: string

The number of documents deleted from the data source up to now in the data source sync run.

DocumentsFailed
  • Type: string

The number of documents that failed to sync from the data source up to now in the data source sync run.

DocumentsModified
  • Type: string

The number of documents modified in the data source up to now in the data source sync run.

DocumentsScanned
  • Type: string

The current number of documents crawled by the current sync job in the data source.

DataSourceToIndexFieldMapping

Description

Maps a column or attribute in the data source to an index field. You must first create the fields in the index using the UpdateIndex API.

Members
DataSourceFieldName
  • Required: Yes
  • Type: string

The name of the column or attribute in the data source.

DateFieldFormat
  • Type: string

The type of data stored in the column or attribute.

IndexFieldName
  • Required: Yes
  • Type: string

The name of the field in the index.

DataSourceVpcConfiguration

Description

Provides the configuration information to connect to an Amazon VPC.

Members
SecurityGroupIds
  • Required: Yes
  • Type: Array of strings

A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source.

SubnetIds
  • Required: Yes
  • Type: Array of strings

A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.

DatabaseConfiguration

Description

Provides the configuration information to connect to a index.

Members
AclConfiguration
  • Type: AclConfiguration structure

Information about the database column that provides information for user context filtering.

ColumnConfiguration
  • Required: Yes
  • Type: ColumnConfiguration structure

Information about where the index should get the document information from the database.

ConnectionConfiguration
  • Required: Yes
  • Type: ConnectionConfiguration structure

Configuration information that's required to connect to a database.

DatabaseEngineType
  • Required: Yes
  • Type: string

The type of database engine that runs the database.

SqlConfiguration
  • Type: SqlConfiguration structure

Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Provides the configuration information to connect to an Amazon VPC.

Document

Description

A document in an index.

Members
AccessControlConfigurationId
  • Type: string

The identifier of the access control configuration that you want to apply to the document.

AccessControlList
  • Type: Array of Principal structures

Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Attributes
  • Type: Array of DocumentAttribute structures

Custom attributes to apply to the document. Use the custom attributes to provide additional information for searching, to provide facets for refining searches, and to provide additional information in the query response.

For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.

Blob
  • Type: blob (string|resource|Psr\Http\Message\StreamInterface)

The contents of the document.

Documents passed to the Blob parameter must be base64 encoded. Your code might not need to encode the document file bytes if you're using an Amazon Web Services SDK to call Amazon Kendra APIs. If you are calling the Amazon Kendra endpoint directly using REST, you must base64 encode the contents before sending.

ContentType
  • Type: string

The file type of the document in the Blob field.

HierarchicalAccessControlList
  • Type: Array of HierarchicalPrincipal structures

The list of principal lists that define the hierarchy for which documents users should have access to.

Id
  • Required: Yes
  • Type: string

A identifier of the document in the index.

Note, each document ID must be unique per index. You cannot create a data source to index your documents with their unique IDs and then use the BatchPutDocument API to index the same documents, or vice versa. You can delete a data source and then use the BatchPutDocument API to index the same documents, or vice versa.

S3Path
  • Type: S3Path structure

Information required to find a specific file in an Amazon S3 bucket.

Title
  • Type: string

The title of the document.

DocumentAttribute

Description

A document attribute or metadata field. To create custom document attributes, see Custom attributes.

Members
Key
  • Required: Yes
  • Type: string

The identifier for the attribute.

Value
  • Required: Yes
  • Type: DocumentAttributeValue structure

The value of the attribute.

DocumentAttributeCondition

Description

The condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra. You use this with DocumentAttributeTarget to apply the condition.

For example, you can create the 'Department' target field and have it prefill department names associated with the documents based on information in the 'Source_URI' field. Set the condition that if the 'Source_URI' field contains 'financial' in its URI value, then prefill the target field 'Department' with the target value 'Finance' for the document.

Amazon Kendra cannot create a target field if it has not already been created as an index field. After you create your index field, you can create a document metadata field using DocumentAttributeTarget. Amazon Kendra then will map your newly created metadata field to your index field.

Members
ConditionDocumentAttributeKey
  • Required: Yes
  • Type: string

The identifier of the document attribute used for the condition.

For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

Amazon Kendra currently does not support _document_body as an attribute key used for the condition.

ConditionOnValue
  • Type: DocumentAttributeValue structure

The value used by the operator.

For example, you can specify the value 'financial' for strings in the 'Source_URI' field that partially match or contain this value.

Operator
  • Required: Yes
  • Type: string

The condition operator.

For example, you can use 'Contains' to partially match a string.

DocumentAttributeTarget

Description

The target document attribute or metadata field you want to alter when ingesting documents into Amazon Kendra.

For example, you can delete customer identification numbers associated with the documents, stored in the document metadata field called 'Customer_ID'. You set the target key as 'Customer_ID' and the deletion flag to TRUE. This removes all customer ID values in the field 'Customer_ID'. This would scrub personally identifiable information from each document's metadata.

Amazon Kendra cannot create a target field if it has not already been created as an index field. After you create your index field, you can create a document metadata field using DocumentAttributeTarget. Amazon Kendra then will map your newly created metadata field to your index field.

You can also use this with DocumentAttributeCondition.

Members
TargetDocumentAttributeKey
  • Type: string

The identifier of the target document attribute or metadata field.

For example, 'Department' could be an identifier for the target attribute or metadata field that includes the department names associated with the documents.

TargetDocumentAttributeValue
  • Type: DocumentAttributeValue structure

The target value you want to create for the target attribute.

For example, 'Finance' could be the target value for the target attribute key 'Department'.

TargetDocumentAttributeValueDeletion
  • Type: boolean

TRUE to delete the existing target value for your specified target attribute key. You cannot create a target value and set this to TRUE. To create a target value (TargetDocumentAttributeValue), set this to FALSE.

DocumentAttributeValue

Description

The value of a document attribute. You can only provide one value for a document attribute.

Members
DateValue
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

A date expressed as an ISO 8601 string.

It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

LongValue
  • Type: long (int|float)

A long integer value.

StringListValue
  • Type: Array of strings

A list of strings. The default maximum length or number of strings is 10.

StringValue
  • Type: string

A string, such as "department".

DocumentAttributeValueCountPair

Description

Provides the count of documents that match a particular attribute when doing a faceted search.

Members
Count
  • Type: int

The number of documents in the response that have the attribute value for the key.

DocumentAttributeValue
  • Type: DocumentAttributeValue structure

The value of the attribute. For example, "HR".

FacetResults
  • Type: Array of FacetResult structures

Contains the results of a document attribute that is a nested facet. A FacetResult contains the counts for each facet nested within a facet.

For example, the document attribute or facet "Department" includes a value called "Engineering". In addition, the document attribute or facet "SubDepartment" includes the values "Frontend" and "Backend" for documents assigned to "Engineering". You can display nested facets in the search results so that documents can be searched not only by department but also by a sub department within a department. The counts for documents that belong to "Frontend" and "Backend" within "Engineering" are returned for a query.

DocumentInfo

Description

Identifies a document for which to retrieve status information

Members
Attributes
  • Type: Array of DocumentAttribute structures

Attributes that identify a specific version of a document to check.

The only valid attributes are:

  • version

  • datasourceId

  • jobExecutionId

The attributes follow these rules:

  • dataSourceId and jobExecutionId must be used together.

  • version is ignored if dataSourceId and jobExecutionId are not provided.

  • If dataSourceId and jobExecutionId are provided, but version is not, the version defaults to "0".

DocumentId
  • Required: Yes
  • Type: string

The identifier of the document.

DocumentMetadataConfiguration

Description

Specifies the properties, such as relevance tuning and searchability, of an index field.

Members
Name
  • Required: Yes
  • Type: string

The name of the index field.

Relevance
  • Type: Relevance structure

Provides tuning parameters to determine how the field affects the search results.

Search
  • Type: Search structure

Provides information about how the field is used during a search.

Type
  • Required: Yes
  • Type: string

The data type of the index field.

DocumentRelevanceConfiguration

Description

Overrides the document relevance properties of a custom index field.

Members
Name
  • Required: Yes
  • Type: string

The name of the index field.

Relevance
  • Required: Yes
  • Type: Relevance structure

Provides information for tuning the relevance of a field in a search. When a query includes terms that match the field, the results are given a boost in the response based on these tuning parameters.

DocumentsMetadataConfiguration

Description

Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document.

Members
S3Prefix
  • Type: string

A prefix used to filter metadata configuration files in the Amazon Web Services S3 bucket. The S3 bucket might contain multiple metadata files. Use S3Prefix to include only the desired metadata files.

EntityConfiguration

Description

Provides the configuration information for users or groups in your IAM Identity Center identity source to grant access your Amazon Kendra experience.

Members
EntityId
  • Required: Yes
  • Type: string

The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID could be an email.

EntityType
  • Required: Yes
  • Type: string

Specifies whether you are configuring a User or a Group.

EntityDisplayData

Description

Information about the user entity.

Members
FirstName
  • Type: string

The first name of the user.

GroupName
  • Type: string

The name of the group.

IdentifiedUserName
  • Type: string

The user name of the user.

LastName
  • Type: string

The last name of the user.

UserName
  • Type: string

The name of the user.

EntityPersonaConfiguration

Description

Provides the configuration information for users or groups in your IAM Identity Center identity source for access to your Amazon Kendra experience. Specific permissions are defined for each user or group once they are granted access to your Amazon Kendra experience.

Members
EntityId
  • Required: Yes
  • Type: string

The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID could be an email.

Persona
  • Required: Yes
  • Type: string

The persona that defines the specific permissions of the user or group in your IAM Identity Center identity source. The available personas or access roles are Owner and Viewer. For more information on these personas, see Providing access to your search page.

ExperienceConfiguration

Description

Provides the configuration information for your Amazon Kendra experience. This includes the data source IDs and/or FAQ IDs, and user or group information to grant access to your Amazon Kendra experience.

Members
ContentSourceConfiguration
  • Type: ContentSourceConfiguration structure

The identifiers of your data sources and FAQs. Or, you can specify that you want to use documents indexed via the BatchPutDocument API. This is the content you want to use for your Amazon Kendra experience.

UserIdentityConfiguration
  • Type: UserIdentityConfiguration structure

The IAM Identity Center field name that contains the identifiers of your users, such as their emails.

ExperienceEndpoint

Description

Provides the configuration information for the endpoint for your Amazon Kendra experience.

Members
Endpoint
  • Type: string

The endpoint of your Amazon Kendra experience.

EndpointType
  • Type: string

The type of endpoint for your Amazon Kendra experience. The type currently available is HOME, which is a unique and fully hosted URL to the home page of your Amazon Kendra experience.

ExperienceEntitiesSummary

Description

Summary information for users or groups in your IAM Identity Center identity source with granted access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Members
DisplayData
  • Type: EntityDisplayData structure

Information about the user entity.

EntityId
  • Type: string

The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID could be an email.

EntityType
  • Type: string

Shows the type as User or Group.

ExperiencesSummary

Description

Summary information for your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time your Amazon Kendra experience was created.

Endpoints
  • Type: Array of ExperienceEndpoint structures

The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by Amazon Web Services.

Id
  • Type: string

The identifier of your Amazon Kendra experience.

Name
  • Type: string

The name of your Amazon Kendra experience.

Status
  • Type: string

The processing status of your Amazon Kendra experience.

Facet

Description

Information about a document attribute. You can use document attributes as facets.

For example, the document attribute or facet "Department" includes the values "HR", "Engineering", and "Accounting". You can display these values in the search results so that documents can be searched by department.

You can display up to 10 facet values per facet for a query. If you want to increase this limit, contact Support.

Members
DocumentAttributeKey
  • Type: string

The unique key for the document attribute.

Facets
  • Type: Array of Facet structures

An array of document attributes that are nested facets within a facet.

For example, the document attribute or facet "Department" includes a value called "Engineering". In addition, the document attribute or facet "SubDepartment" includes the values "Frontend" and "Backend" for documents assigned to "Engineering". You can display nested facets in the search results so that documents can be searched not only by department but also by a sub department within a department. This helps your users further narrow their search.

You can only have one nested facet within a facet. If you want to increase this limit, contact Support.

MaxResults
  • Type: int

Maximum number of facet values per facet. The default is 10. You can use this to limit the number of facet values to less than 10. If you want to increase the default, contact Support.

FacetResult

Description

The facet values for the documents in the response.

Members
DocumentAttributeKey
  • Type: string

The key for the facet values. This is the same as the DocumentAttributeKey provided in the query.

DocumentAttributeValueCountPairs
  • Type: Array of DocumentAttributeValueCountPair structures

An array of key/value pairs, where the key is the value of the attribute and the count is the number of documents that share the key value.

DocumentAttributeValueType
  • Type: string

The data type of the facet value. This is the same as the type defined for the index field when it was created.

FailedEntity

Description

Information on the users or groups in your IAM Identity Center identity source that failed to properly configure with your Amazon Kendra experience.

Members
EntityId
  • Type: string

The identifier of the user or group in your IAM Identity Center identity source. For example, a user ID could be an email.

ErrorMessage
  • Type: string

The reason the user or group in your IAM Identity Center identity source failed to properly configure with your Amazon Kendra experience.

FaqStatistics

Description

Provides statistical information about the FAQ questions and answers contained in an index.

Members
IndexedQuestionAnswersCount
  • Required: Yes
  • Type: int

The total number of FAQ questions and answers contained in the index.

FaqSummary

Description

Summary information for frequently asked questions and answers included in an index.

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The UNIX datetime that the FAQ was added to the index.

FileFormat
  • Type: string

The file type used to create the FAQ.

Id
  • Type: string

The identifier of the FAQ.

LanguageCode
  • Type: string

The code for a language. This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

Name
  • Type: string

The name that you assigned the FAQ when you created or updated the FAQ.

Status
  • Type: string

The current status of the FAQ. When the status is ACTIVE the FAQ is ready for use.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The UNIX datetime that the FAQ was last updated.

FsxConfiguration

Description

Provides the configuration information to connect to Amazon FSx as your data source.

Members
ExclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

FieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata.

FileSystemId
  • Required: Yes
  • Type: string

The identifier of the Amazon FSx file system.

You can find your file system ID on the file system dashboard in the Amazon FSx console. For information on how to create a file system in Amazon FSx console, using Windows File Server as an example, see Amazon FSx Getting started guide.

FileSystemType
  • Required: Yes
  • Type: string

The Amazon FSx file system type. Windows is currently the only supported type.

InclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

SecretArn
  • Type: string

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:

  • username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows.

  • password—The password of the Active Directory user account with read and mounting access to the Amazon FSx Windows file system.

VpcConfiguration
  • Required: Yes
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon Virtual Private Cloud to connect to your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.

GitHubConfiguration

Description

Provides the configuration information to connect to GitHub as your data source.

Members
ExclusionFileNamePatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain file names in your GitHub repository or repositories. File names that match the patterns are excluded from the index. File names that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

ExclusionFileTypePatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain file types in your GitHub repository or repositories. File types that match the patterns are excluded from the index. File types that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

ExclusionFolderNamePatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain folder names in your GitHub repository or repositories. Folder names that match the patterns are excluded from the index. Folder names that don't match the patterns are included in the index. If a folder matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.

GitHubCommitConfigurationFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

GitHubDocumentCrawlProperties
  • Type: GitHubDocumentCrawlProperties structure

Configuration information to include certain types of GitHub content. You can configure to index repository files only, or also include issues and pull requests, comments, and comment attachments.

GitHubIssueAttachmentConfigurationFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

GitHubIssueCommentConfigurationFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

GitHubIssueDocumentConfigurationFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

GitHubPullRequestCommentConfigurationFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

GitHubPullRequestDocumentAttachmentConfigurationFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

GitHubPullRequestDocumentConfigurationFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

GitHubRepositoryConfigurationFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

InclusionFileNamePatterns
  • Type: Array of strings

A list of regular expression patterns to include certain file names in your GitHub repository or repositories. File names that match the patterns are included in the index. File names that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

InclusionFileTypePatterns
  • Type: Array of strings

A list of regular expression patterns to include certain file types in your GitHub repository or repositories. File types that match the patterns are included in the index. File types that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

InclusionFolderNamePatterns
  • Type: Array of strings

A list of regular expression patterns to include certain folder names in your GitHub repository or repositories. Folder names that match the patterns are included in the index. Folder names that don't match the patterns are excluded from the index. If a folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.

OnPremiseConfiguration
  • Type: OnPremiseConfiguration structure

Configuration information to connect to GitHub Enterprise Server (on premises).

RepositoryFilter
  • Type: Array of strings

A list of names of the specific repositories you want to index.

SaaSConfiguration
  • Type: SaaSConfiguration structure

Configuration information to connect to GitHub Enterprise Cloud (SaaS).

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your GitHub. The secret must contain a JSON structure with the following keys:

  • personalToken—The access token created in GitHub. For more information on creating a token in GitHub, see Using a GitHub data source.

Type
  • Type: string

The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on premises).

UseChangeLog
  • Type: boolean

TRUE to use the GitHub change log to determine which documents require updating in the index. Depending on the GitHub change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in GitHub.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more information, see Configuring a VPC.

GitHubDocumentCrawlProperties

Description

Provides the configuration information to include certain types of GitHub content. You can configure to index repository files only, or also include issues and pull requests, comments, and comment attachments.

Members
CrawlIssue
  • Type: boolean

TRUE to index all issues within a repository.

CrawlIssueComment
  • Type: boolean

TRUE to index all comments on issues.

CrawlIssueCommentAttachment
  • Type: boolean

TRUE to include all comment attachments for issues.

CrawlPullRequest
  • Type: boolean

TRUE to index all pull requests within a repository.

CrawlPullRequestComment
  • Type: boolean

TRUE to index all comments on pull requests.

CrawlPullRequestCommentAttachment
  • Type: boolean

TRUE to include all comment attachments for pull requests.

CrawlRepositoryDocuments
  • Type: boolean

TRUE to index all files with a repository.

GoogleDriveConfiguration

Description

Provides the configuration information to connect to Google Drive as your data source.

Members
ExcludeMimeTypes
  • Type: Array of strings

A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded.

For a list of MIME types, see Using a Google Workspace Drive data source.

ExcludeSharedDrives
  • Type: Array of strings

A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.

ExcludeUserAccounts
  • Type: Array of strings

A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way.

ExclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

FieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Google Drive fields. For more information, see Mapping data source fields. The Google Drive data source field names must exist in your Google Drive custom metadata.

InclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the credentials required to connect to Google Drive. For more information, see Using a Google Workspace Drive data source.

GroupMembers

Description

A list of users or sub groups that belong to a group. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Members
MemberGroups
  • Type: Array of MemberGroup structures

A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".

MemberUsers
  • Type: Array of MemberUser structures

A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.

S3PathforGroupMembers
  • Type: S3Path structure

If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.

You can download this example S3 file that uses the correct format for listing group members. Note, dataSourceId is optional. The value of type for a group is always GROUP and for a user it is always USER.

GroupOrderingIdSummary

Description

Summary information on the processing of PUT and DELETE actions for mapping users to their groups.

Members
FailureReason
  • Type: string

The reason an action could not be processed. An action can be a PUT or DELETE action for mapping users to their groups.

LastUpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The last date-time an action was updated. An action can be a PUT or DELETE action for mapping users to their groups.

OrderingId
  • Type: long (int|float)

The order in which actions should complete processing. An action can be a PUT or DELETE action for mapping users to their groups.

ReceivedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time an action was received by Amazon Kendra. An action can be a PUT or DELETE action for mapping users to their groups.

Status
  • Type: string

The current processing status of actions for mapping users to their groups. The status can be either PROCESSING, SUCCEEDED, DELETING, DELETED, or FAILED.

GroupSummary

Description

Summary information for groups.

Members
GroupId
  • Type: string

The identifier of the group you want group summary information on.

OrderingId
  • Type: long (int|float)

The timestamp identifier used for the latest PUT or DELETE action.

HierarchicalPrincipal

Description

Information to define the hierarchy for which documents users should have access to.

Members
PrincipalList
  • Required: Yes
  • Type: Array of Principal structures

A list of principal lists that define the hierarchy for which documents users should have access to. Each hierarchical list specifies which user or group has allow or deny access for each document.

Highlight

Description

Provides information that you can use to highlight a search result so that your users can quickly identify terms in the response.

Members
BeginOffset
  • Required: Yes
  • Type: int

The zero-based location in the response string where the highlight starts.

EndOffset
  • Required: Yes
  • Type: int

The zero-based location in the response string where the highlight ends.

TopAnswer
  • Type: boolean

Indicates whether the response is the best response. True if this is the best response; otherwise, false.

Type
  • Type: string

The highlight type.

HookConfiguration

Description

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Kendra. You can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on the original or raw documents. If you want to apply advanced alterations on the Amazon Kendra structured documents, you must configure your Lambda function using PostExtractionHookConfiguration. You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Customizing document metadata during the ingestion process.

Members
InvocationCondition
  • Type: DocumentAttributeCondition structure

The condition used for when a Lambda function should be invoked.

For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time.

LambdaArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For more information, see IAM roles for Amazon Kendra.

S3Bucket
  • Required: Yes
  • Type: string

Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see Data contracts for Lambda functions.

IndexConfigurationSummary

Description

Summary information on the configuration of an index.

Members
CreatedAt
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix timestamp when the index was created.

Edition
  • Type: string

Indicates whether the index is a Enterprise Edition index or a Developer Edition index.

Id
  • Type: string

A identifier for the index. Use this to identify the index when you are using APIs such as Query, DescribeIndex, UpdateIndex, and DeleteIndex.

Name
  • Type: string

The name of the index.

Status
  • Required: Yes
  • Type: string

The current status of the index. When the status is ACTIVE, the index is ready to search.

UpdatedAt
  • Required: Yes
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The Unix timestamp when the index was last updated by the UpdateIndex API.

IndexStatistics

Description

Provides information about the number of documents and the number of questions and answers in an index.

Members
FaqStatistics
  • Required: Yes
  • Type: FaqStatistics structure

The number of question and answer topics in the index.

TextDocumentStatistics
  • Required: Yes
  • Type: TextDocumentStatistics structure

The number of text documents indexed.

InlineCustomDocumentEnrichmentConfiguration

Description

Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Kendra. To apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration.

For more information, see Customizing document metadata during the ingestion process.

Members
Condition
  • Type: DocumentAttributeCondition structure

Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.

DocumentContentDeletion
  • Type: boolean

TRUE to delete content if the condition used for the target attribute is met.

Target
  • Type: DocumentAttributeTarget structure

Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.

InternalServerException

Description

An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

Members
Message
  • Type: string

InvalidRequestException

Description

The input to the request is not valid. Please provide the correct input and try again.

Members
Message
  • Type: string

JiraConfiguration

Description

Provides the configuration information to connect to Jira as your data source.

Members
AttachmentFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see Mapping data source fields. The Jira data source field names must exist in your Jira custom metadata.

CommentFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see Mapping data source fields. The Jira data source field names must exist in your Jira custom metadata.

ExclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain file paths, file names, and file types in your Jira data source. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

InclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to include certain file paths, file names, and file types in your Jira data source. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

IssueFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see Mapping data source fields. The Jira data source field names must exist in your Jira custom metadata.

IssueSubEntityFilter
  • Type: Array of strings

Specify whether to crawl comments, attachments, and work logs. You can specify one or more of these options.

IssueType
  • Type: Array of strings

Specify which issue types to crawl in your Jira data source. You can specify one or more of these options to crawl.

JiraAccountUrl
  • Required: Yes
  • Type: string

The URL of the Jira account. For example, company.atlassian.net.

Project
  • Type: Array of strings

Specify which projects to crawl in your Jira data source. You can specify one or more Jira project IDs.

ProjectFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira projects to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see Mapping data source fields. The Jira data source field names must exist in your Jira custom metadata.

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the key-value pairs required to connect to your Jira data source. The secret must contain a JSON structure with the following keys:

  • jiraId—The Jira user name or email.

  • jiraCredentials—The Jira API token. For more information, see Using a Jira data source.

Status
  • Type: Array of strings

Specify which statuses to crawl in your Jira data source. You can specify one or more of these options to crawl.

UseChangeLog
  • Type: boolean

TRUE to use the Jira change log to determine which documents require updating in the index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in Jira.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. For more information, see Configuring a VPC.

WorkLogFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira work logs to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see Mapping data source fields. The Jira data source field names must exist in your Jira custom metadata.

JsonTokenTypeConfiguration

Description

Provides the configuration information for the JSON token type.

Members
GroupAttributeField
  • Required: Yes
  • Type: string

The group attribute field.

UserNameAttributeField
  • Required: Yes
  • Type: string

The user name attribute field.

JwtTokenTypeConfiguration

Description

Provides the configuration information for the JWT token type.

Members
ClaimRegex
  • Type: string

The regular expression that identifies the claim.

GroupAttributeField
  • Type: string

The group attribute field.

Issuer
  • Type: string

The issuer of the token.

KeyLocation
  • Required: Yes
  • Type: string

The location of the key.

SecretManagerArn
  • Type: string

The Amazon Resource Name (arn) of the secret.

URL
  • Type: string

The signing key URL.

UserNameAttributeField
  • Type: string

The user name attribute field.

MemberGroup

Description

The sub groups that belong to a group.

Members
DataSourceId
  • Type: string

The identifier of the data source for the sub group you want to map to a group.

GroupId
  • Required: Yes
  • Type: string

The identifier of the sub group you want to map to a group.

MemberUser

Description

The users that belong to a group.

Members
UserId
  • Required: Yes
  • Type: string

The identifier of the user you want to map to a group.

OnPremiseConfiguration

Description

Provides the configuration information to connect to GitHub Enterprise Server (on premises).

Members
HostUrl
  • Required: Yes
  • Type: string

The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/

OrganizationName
  • Required: Yes
  • Type: string

The name of the organization of the GitHub Enterprise Server (in-premise) account you want to connect to. You can find your organization name by logging into GitHub desktop and selecting Your organizations under your profile picture dropdown.

SslCertificateS3Path
  • Required: Yes
  • Type: S3Path structure

The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to GitHub if you require a secure SSL connection.

You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.

OneDriveConfiguration

Description

Provides the configuration information to connect to OneDrive as your data source.

Members
DisableLocalGroups
  • Type: boolean

TRUE to disable local groups information.

ExclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

FieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.

InclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

OneDriveUsers
  • Required: Yes
  • Type: OneDriveUsers structure

A list of user accounts whose documents should be indexed.

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.

TenantDomain
  • Required: Yes
  • Type: string

The Azure Active Directory domain of the organization.

OneDriveUsers

Description

User accounts whose documents should be indexed.

Members
OneDriveUserList
  • Type: Array of strings

A list of users whose documents should be indexed. Specify the user names in email format, for example, username@tenantdomain. If you need to index the documents of more than 100 users, use the OneDriveUserS3Path field to specify the location of a file containing a list of users.

OneDriveUserS3Path
  • Type: S3Path structure

The S3 bucket location of a file containing a list of users whose documents should be indexed.

PersonasSummary

Description

Summary information for users or groups in your IAM Identity Center identity source. This applies to users and groups with specific permissions that define their level of access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time the summary information was created.

EntityId
  • Type: string

The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID could be an email.

Persona
  • Type: string

The persona that defines the specific permissions of the user or group in your IAM Identity Center identity source. The available personas or access roles are Owner and Viewer. For more information on these personas, see Providing access to your search page.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time the summary information was last updated.

Principal

Description

Provides user and group information for user context filtering.

Members
Access
  • Required: Yes
  • Type: string

Whether to allow or deny document access to the principal.

DataSourceId
  • Type: string

The identifier of the data source the principal should access documents from.

Name
  • Required: Yes
  • Type: string

The name of the user or group.

Type
  • Required: Yes
  • Type: string

The type of principal.

ProxyConfiguration

Description

Provides the configuration information for a web proxy to connect to website hosts.

Members
Credentials
  • Type: string

Your secret ARN, which you can create in Secrets Manager

The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.

Host
  • Required: Yes
  • Type: string

The name of the website host you want to connect to via a web proxy server.

For example, the host name of https://a.example.com/page1.html is "a.example.com".

Port
  • Required: Yes
  • Type: int

The port number of the website host you want to connect to via a web proxy server.

For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.

QueryResultItem

Description

A single query result.

A query result contains information about a document returned by the query. This includes the original location of the document, a list of attributes assigned to the document, and relevant text from the document that satisfies the query.

Members
AdditionalAttributes
  • Type: Array of AdditionalResultAttribute structures

One or more additional attributes associated with the query result.

DocumentAttributes
  • Type: Array of DocumentAttribute structures

An array of document attributes assigned to a document in the search results. For example, the document author (_author) or the source URI (_source_uri) of the document.

DocumentExcerpt
  • Type: TextWithHighlights structure

An extract of the text in the document. Contains information about highlighting the relevant terms in the excerpt.

DocumentId
  • Type: string

The identifier for the document.

DocumentTitle
  • Type: TextWithHighlights structure

The title of the document. Contains the text of the title and information for highlighting the relevant terms in the title.

DocumentURI
  • Type: string

The URI of the original location of the document.

FeedbackToken
  • Type: string

A token that identifies a particular result from a particular query. Use this token to provide click-through feedback for the result. For more information, see Submitting feedback .

Format
  • Type: string

If the Type of document within the response is ANSWER, then it is either a TABLE answer or TEXT answer. If it's a table answer, a table excerpt is returned in TableExcerpt. If it's a text answer, a text excerpt is returned in DocumentExcerpt.

Id
  • Type: string

The identifier for the query result.

ScoreAttributes
  • Type: ScoreAttributes structure

Indicates the confidence that Amazon Kendra has that a result matches the query that you provided. Each result is placed into a bin that indicates the confidence, VERY_HIGH, HIGH, MEDIUM and LOW. You can use the score to determine if a response meets the confidence needed for your application.

The field is only set to LOW when the Type field is set to DOCUMENT and Amazon Kendra is not confident that the result matches the query.

TableExcerpt
  • Type: TableExcerpt structure

An excerpt from a table within a document.

Type
  • Type: string

The type of document within the response. For example, a response could include a question-answer that's relevant to the query.

QuerySuggestionsBlockListSummary

Description

Summary information on a query suggestions block list.

This includes information on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

Members
CreatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time summary information for a query suggestions block list was last created.

Id
  • Type: string

The identifier of a block list.

ItemCount
  • Type: int

The number of items in the block list file.

Name
  • Type: string

The name of the block list.

Status
  • Type: string

The status of the block list.

UpdatedAt
  • Type: timestamp (string|DateTime or anything parsable by strtotime)

The date-time the block list was last updated.

QuipConfiguration

Description

Provides the configuration information to connect to Quip as your data source.

Members
AttachmentFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Quip attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.

CrawlAttachments
  • Type: boolean

TRUE to index attachments.

CrawlChatRooms
  • Type: boolean

TRUE to index the contents of chat rooms.

CrawlFileComments
  • Type: boolean

TRUE to index file comments.

Domain
  • Required: Yes
  • Type: string

The Quip site domain. For example, https://quip-company.quipdomain.com/browse. The domain in this example is "quipdomain".

ExclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to exclude certain files in your Quip file system. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.

FolderIds
  • Type: Array of strings

The identifiers of the Quip folders you want to index. You can find the folder ID in your browser URL when you access your folder in Quip. For example, https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder ID in this example is "zlLuOVNSarTL".

InclusionPatterns
  • Type: Array of strings

A list of regular expression patterns to include certain files in your Quip file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.

MessageFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Quip messages to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.

SecretArn
  • Required: Yes
  • Type: string

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs that are required to connect to your Quip. The secret must contain a JSON structure with the following keys:

  • accessToken—The token created in Quip. For more information, see Using a Quip data source.

ThreadFieldMappings
  • Type: Array of DataSourceToIndexFieldMapping structures

A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Quip threads to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.

VpcConfiguration
  • Type: DataSourceVpcConfiguration structure

Configuration information for an Amazon Virtual Private Cloud (VPC) to connect to your Quip. For more information, see Configuring a VPC.

Relevance

Description

Provides information for tuning the relevance of a field in a search. When a query includes terms that match the field, the results are given a boost in the response based on these tuning parameters.

Members
Duration
  • Type: string

Specifies the time period that the boost applies to. For example, to make the boost apply to documents with the field value within the last month, you would use "2628000s". Once the field value is beyond the specified range, the effect of the boost drops off. The higher the importance, the faster the effect drops off. If you don't specify a value, the default is 3 months. The value of the field is a numeric string followed by the character "s", for example "86400s" for one day, or "604800s" for one week.

Only applies to DATE fields.

Freshness
  • Type: boolean

Indicates that this field determines how "fresh" a document is. For example, if document 1 was created on November 5, and document 2 was created on October 31, document 1 is "fresher" than document 2. You can only set the Freshness field on one DATE type field. Only applies to DATE fields.

Importance
  • Type: int

The relative importance of the field in the search. Larger numbers provide more of a boost than smaller numbers.

RankOrder
  • Type: string

Determines how values should be interpreted.

When the RankOrder field is ASCENDING, higher numbers are better. For example, a document with a rating score of 10 is higher ranking than a document with a rating score of 1.

When the RankOrder field is DESCENDING, lower numbers are better. For example, in a task tracking application, a priority 1 task is more important than a priority 5 task.

Only applies to LONG and DOUBLE fields.

ValueImportanceMap
  • Type: Associative array of custom strings keys (ValueImportanceMapKey) to ints

A list of values that should be given a different boost when they appear in the result list. For example, if you are boosting a field called "department," query terms that match the department field are boosted in the result. However, you can add entries from the department field to boost documents with those values higher.

For example, you can add entries to the map with names of departments. If you add "HR",5 and "Legal",3 those departments are given special attention when they appear in the metadata of a document. When those terms appear they are given the specified importance instead of the regular importance for the boost.

RelevanceFeedback

Description

Provides feedback on how relevant a document is to a search. Your application uses the SubmitFeedback API to provide relevance information.

Members
RelevanceValue
  • Required: Yes
  • Type: string

Whether to document was relevant or not relevant to the search.

ResultId
  • Required: Yes
  • Type: string

The identifier of the search result that the user provided relevance feedback for.

ResourceAlreadyExistException

Description

The resource you want to use already exists. Please check you have provided the correct resource and try again.

Members
Message
  • Type: string

ResourceInUseException

Description

The resource you want to use is currently in use. Please check you have provided the correct resource and try again.

Members
Message
  • Type: string

ResourceNotFoundException

Description

The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

Members
Message
  • Type: string

ResourceUnavailableException

Description

The resource you want to use isn't available. Please check you have provided the correct resource and try again.

Members
Message
  • Type: string

S3DataSourceConfiguration

Description

Provides the configuration information to connect to an Amazon S3 bucket.

Members
AccessControlListConfiguration
  • Type: AccessControlListConfiguration structure

Provides the path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see Access control for S3 data sources.