Values.StartQueryResponseSourceStarts a CloudTrail Lake query. Use the QueryStatement parameter to provide your SQL query, enclosed in single quotation marks. Use the optional DeliveryS3Uri parameter to deliver the query results to an S3 bucket. StartQuery requires you specify either the QueryStatement parameter, or a QueryAlias and any QueryParameters. In the current release, the QueryAlias and QueryParameters parameters are used only for the queries that populate the CloudTrail Lake dashboards.
type nonrec t = {queryId : UUID.t option;The ID of the started query.
*)eventDataStoreOwnerAccountId : AccountId.t option;The account ID of the event data store owner.
*)}type nonrec error = [ | `EventDataStoreARNInvalidException of EventDataStoreARNInvalidException.t| `EventDataStoreNotFoundException of EventDataStoreNotFoundException.t| `InactiveEventDataStoreException of InactiveEventDataStoreException.t| `InsufficientEncryptionPolicyException of
InsufficientEncryptionPolicyException.t| `InsufficientS3BucketPolicyException of InsufficientS3BucketPolicyException.t| `InvalidParameterException of InvalidParameterException.t| `InvalidQueryStatementException of InvalidQueryStatementException.t| `InvalidS3BucketNameException of InvalidS3BucketNameException.t| `InvalidS3PrefixException of InvalidS3PrefixException.t| `MaxConcurrentQueriesException of MaxConcurrentQueriesException.t| `NoManagementAccountSLRExistsException of
NoManagementAccountSLRExistsException.t| `OperationNotPermittedException of OperationNotPermittedException.t| `S3BucketDoesNotExistException of S3BucketDoesNotExistException.t| `UnsupportedOperationException of UnsupportedOperationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `EventDataStoreARNInvalidException of unit
| `EventDataStoreNotFoundException of unit
| `InactiveEventDataStoreException of unit
| `InsufficientEncryptionPolicyException of unit
| `InsufficientS3BucketPolicyException of unit
| `InvalidParameterException of unit
| `InvalidQueryStatementException of unit
| `InvalidS3BucketNameException of unit
| `InvalidS3PrefixException of unit
| `MaxConcurrentQueriesException of unit
| `NoManagementAccountSLRExistsException of unit
| `OperationNotPermittedException of unit
| `S3BucketDoesNotExistException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `EventDataStoreARNInvalidException of unit
| `EventDataStoreNotFoundException of unit
| `InactiveEventDataStoreException of unit
| `InsufficientEncryptionPolicyException of unit
| `InsufficientS3BucketPolicyException of unit
| `InvalidParameterException of unit
| `InvalidQueryStatementException of unit
| `InvalidS3BucketNameException of unit
| `InvalidS3PrefixException of unit
| `MaxConcurrentQueriesException of unit
| `NoManagementAccountSLRExistsException of unit
| `OperationNotPermittedException of unit
| `S3BucketDoesNotExistException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of unit ]