import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Definition of the AWS::QuickSight::DataSource Resource Type. */ export declare function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDataSourceArgs { /** * The AWS account ID. */ awsAccountId: string; /** * An ID for the data source. This ID is unique per AWS Region for each AWS account. */ dataSourceId: string; } export interface GetDataSourceResult { /** *

A set of alternate data source parameters that you want to share for the credentials * stored with this data source. The credentials are applied in tandem with the data source * parameters when you copy a data source by using a create or update request. The API * operation compares the DataSourceParameters structure that's in the request * with the structures in the AlternateDataSourceParameters allow list. If the * structures are an exact match, the request is allowed to use the credentials from this * existing data source. If the AlternateDataSourceParameters list is null, * the Credentials originally used with this DataSourceParameters * are automatically allowed.

*/ readonly alternateDataSourceParameters?: outputs.quicksight.DataSourceParameters[]; /** *

The Amazon Resource Name (ARN) of the data source.

*/ readonly arn?: string; /** *

The time that this data source was created.

*/ readonly createdTime?: string; /** * The parameters that Amazon Quick Sight uses to connect to your underlying source. */ readonly dataSourceParameters?: outputs.quicksight.DataSourceParameters; /** * Error information from the last update or the creation of the data source. */ readonly errorInfo?: outputs.quicksight.DataSourceErrorInfo; /** *

The last time that this data source was updated.

*/ readonly lastUpdatedTime?: string; /** * A display name for the data source. */ readonly name?: string; /** * A list of resource permissions on the data source. */ readonly permissions?: outputs.quicksight.DataSourceResourcePermission[]; /** * Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source. */ readonly sslProperties?: outputs.quicksight.DataSourceSslProperties; /** * The HTTP status of the request. */ readonly status?: enums.quicksight.DataSourceResourceStatus; /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the data source. */ readonly tags?: outputs.Tag[]; /** * Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source. */ readonly vpcConnectionProperties?: outputs.quicksight.DataSourceVpcConnectionProperties; } /** * Definition of the AWS::QuickSight::DataSource Resource Type. */ export declare function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetDataSourceOutputArgs { /** * The AWS account ID. */ awsAccountId: pulumi.Input; /** * An ID for the data source. This ID is unique per AWS Region for each AWS account. */ dataSourceId: pulumi.Input; }