Values_1.CreateDataSourceRequestSourceCreates a data source.
type nonrec t = {awsAccountId : AwsAccountId.t;The Amazon Web Services account ID.
*)dataSourceId : ResourceId.t;An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
*)name : ResourceName.t;A display name for the data source.
*)type_ : DataSourceType.t;The type of the data source. To return a list of all data sources, use ListDataSources. Use AMAZON_ELASTICSEARCH for Amazon OpenSearch Service.
*)dataSourceParameters : DataSourceParameters.t option;The parameters that Amazon Quick Sight uses to connect to your underlying source.
*)credentials : DataSourceCredentials.t option;The credentials Amazon Quick Sight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
*)permissions : ResourcePermissionList.t option;A list of resource permissions on the data source.
*)vpcConnectionProperties : VpcConnectionProperties.t option;Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.
*)sslProperties : SslProperties.t option;Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.
*)folderArns : FolderArnList.t option;When you create the data source, Amazon Quick Sight adds the data source to these folders.
*)}val make :
?dataSourceParameters:??? ->
?credentials:??? ->
?permissions:??? ->
?vpcConnectionProperties:??? ->
?sslProperties:??? ->
?tags:??? ->
?folderArns:??? ->
awsAccountId:AwsAccountId.t ->
dataSourceId:ResourceId.t ->
name:ResourceName.t ->
type_:DataSourceType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of Values_0.Arn.t
| `Structure of
(string
* [> `List of [> `String of string ] list
| `String of Principal.t ])
list ]
list
| `String of AwsAccountId.t
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `String of CopySourceArn.t
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `Integer of Port.t
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `Integer of Port.t
| `String of string
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `List of
[> `String of DatabaseGroup.t ]
list
| `String of Values_0.RoleArn.t
| `Structure of
(string
* [> `String of Values_0.Arn.t ])
list ])
list ])
list ])
list ]
list
| `String of string
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `List of [> `String of DatabaseGroup.t ] list
| `String of Values_0.RoleArn.t
| `Structure of
(string * [> `String of Values_0.Arn.t ]) list ])
list ])
list ])
list ])
list ]