Module Values_1.CreateDataSourceRequestSource

Creates a data source.

Sourcetype nonrec t = {
  1. awsAccountId : AwsAccountId.t;
    (*

    The Amazon Web Services account ID.

    *)
  2. dataSourceId : ResourceId.t;
    (*

    An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

    *)
  3. name : ResourceName.t;
    (*

    A display name for the data source.

    *)
  4. 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.

    *)
  5. dataSourceParameters : DataSourceParameters.t option;
    (*

    The parameters that Amazon Quick Sight uses to connect to your underlying source.

    *)
  6. 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.

    *)
  7. permissions : ResourcePermissionList.t option;
    (*

    A list of resource permissions on the data source.

    *)
  8. 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.

    *)
  9. sslProperties : SslProperties.t option;
    (*

    Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.

    *)
  10. tags : TagList.t option;
    (*

    Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.

    *)
  11. folderArns : FolderArnList.t option;
    (*

    When you create the data source, Amazon Quick Sight adds the data source to these folders.

    *)
}
Sourceval context_ : string
Sourceval make : ?dataSourceParameters:??? -> ?credentials:??? -> ?permissions:??? -> ?vpcConnectionProperties:??? -> ?sslProperties:??? -> ?tags:??? -> ?folderArns:??? -> awsAccountId:AwsAccountId.t -> dataSourceId:ResourceId.t -> name:ResourceName.t -> type_:DataSourceType.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t