libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QuickSight.CreateDataSource

Description

Creates a data source.

Synopsis

Creating a Request

data CreateDataSource Source #

See: newCreateDataSource smart constructor.

Constructors

CreateDataSource' 

Fields

Instances

Instances details
Eq CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Show CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Generic CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Associated Types

type Rep CreateDataSource :: Type -> Type #

NFData CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Methods

rnf :: CreateDataSource -> () #

Hashable CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

ToJSON CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

AWSRequest CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Associated Types

type AWSResponse CreateDataSource #

ToHeaders CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

ToPath CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

ToQuery CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

type Rep CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

type AWSResponse CreateDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

newCreateDataSource Source #

Create a value of CreateDataSource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataSourceParameters:CreateDataSource', createDataSource_dataSourceParameters - The parameters that Amazon QuickSight uses to connect to your underlying source.

$sel:sslProperties:CreateDataSource', createDataSource_sslProperties - Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.

$sel:credentials:CreateDataSource', createDataSource_credentials - The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.

$sel:vpcConnectionProperties:CreateDataSource', createDataSource_vpcConnectionProperties - Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.

$sel:permissions:CreateDataSource', createDataSource_permissions - A list of resource permissions on the data source.

$sel:tags:CreateDataSource', createDataSource_tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.

$sel:awsAccountId:CreateDataSource', createDataSource_awsAccountId - The Amazon Web Services account ID.

$sel:dataSourceId:CreateDataSource', createDataSource_dataSourceId - An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

$sel:name:CreateDataSource', createDataSource_name - A display name for the data source.

$sel:type':CreateDataSource', createDataSource_type - The type of the data source. To return a list of all data sources, use ListDataSources.

Use AMAZON_ELASTICSEARCH for Amazon OpenSearch Service.

Request Lenses

createDataSource_dataSourceParameters :: Lens' CreateDataSource (Maybe DataSourceParameters) Source #

The parameters that Amazon QuickSight uses to connect to your underlying source.

createDataSource_sslProperties :: Lens' CreateDataSource (Maybe SslProperties) Source #

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

createDataSource_credentials :: Lens' CreateDataSource (Maybe DataSourceCredentials) Source #

The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.

createDataSource_vpcConnectionProperties :: Lens' CreateDataSource (Maybe VpcConnectionProperties) Source #

Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.

createDataSource_permissions :: Lens' CreateDataSource (Maybe (NonEmpty ResourcePermission)) Source #

A list of resource permissions on the data source.

createDataSource_tags :: Lens' CreateDataSource (Maybe (NonEmpty Tag)) Source #

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

createDataSource_awsAccountId :: Lens' CreateDataSource Text Source #

The Amazon Web Services account ID.

createDataSource_dataSourceId :: Lens' CreateDataSource Text Source #

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

createDataSource_name :: Lens' CreateDataSource Text Source #

A display name for the data source.

createDataSource_type :: Lens' CreateDataSource DataSourceType Source #

The type of the data source. To return a list of all data sources, use ListDataSources.

Use AMAZON_ELASTICSEARCH for Amazon OpenSearch Service.

Destructuring the Response

data CreateDataSourceResponse Source #

See: newCreateDataSourceResponse smart constructor.

Constructors

CreateDataSourceResponse' 

Fields

Instances

Instances details
Eq CreateDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Read CreateDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Show CreateDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Generic CreateDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

Associated Types

type Rep CreateDataSourceResponse :: Type -> Type #

NFData CreateDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

type Rep CreateDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSource

type Rep CreateDataSourceResponse = D1 ('MetaData "CreateDataSourceResponse" "Amazonka.QuickSight.CreateDataSource" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "CreateDataSourceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "creationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)) :*: (S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateDataSourceResponse Source #

Create a value of CreateDataSourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:requestId:CreateDataSourceResponse', createDataSourceResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:arn:CreateDataSourceResponse', createDataSourceResponse_arn - The Amazon Resource Name (ARN) of the data source.

$sel:creationStatus:CreateDataSourceResponse', createDataSourceResponse_creationStatus - The status of creating the data source.

$sel:dataSourceId:CreateDataSource', createDataSourceResponse_dataSourceId - The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

$sel:status:CreateDataSourceResponse', createDataSourceResponse_status - The HTTP status of the request.

Response Lenses

createDataSourceResponse_requestId :: Lens' CreateDataSourceResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

createDataSourceResponse_arn :: Lens' CreateDataSourceResponse (Maybe Text) Source #

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

createDataSourceResponse_dataSourceId :: Lens' CreateDataSourceResponse (Maybe Text) Source #

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