amazonka-quicksight-2.0: Amazon QuickSight SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.QuickSight.CreateDataSet

Description

Creates a dataset. This operation doesn't support datasets that include uploaded files as a source.

Synopsis

Creating a Request

data CreateDataSet Source #

See: newCreateDataSet smart constructor.

Constructors

CreateDataSet' 

Fields

Instances

Instances details
ToJSON CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

ToHeaders CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

ToPath CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

ToQuery CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

AWSRequest CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

Associated Types

type AWSResponse CreateDataSet #

Generic CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

Associated Types

type Rep CreateDataSet :: Type -> Type #

Show CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

NFData CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

Methods

rnf :: CreateDataSet -> () #

Eq CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

Hashable CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

type AWSResponse CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

type Rep CreateDataSet Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

type Rep CreateDataSet = D1 ('MetaData "CreateDataSet" "Amazonka.QuickSight.CreateDataSet" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "CreateDataSet'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "columnGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ColumnGroup))) :*: (S1 ('MetaSel ('Just "columnLevelPermissionRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ColumnLevelPermissionRule))) :*: S1 ('MetaSel ('Just "dataSetUsageConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSetUsageConfiguration)))) :*: ((S1 ('MetaSel ('Just "fieldFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text FieldFolder))) :*: S1 ('MetaSel ('Just "logicalTableMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text LogicalTable)))) :*: (S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ResourcePermission))) :*: S1 ('MetaSel ('Just "rowLevelPermissionDataSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RowLevelPermissionDataSet))))) :*: ((S1 ('MetaSel ('Just "rowLevelPermissionTagConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RowLevelPermissionTagConfiguration)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "dataSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "physicalTableMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text PhysicalTable)) :*: S1 ('MetaSel ('Just "importMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataSetImportMode))))))

newCreateDataSet Source #

Create a value of CreateDataSet 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:

CreateDataSet, createDataSet_columnGroups - Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

CreateDataSet, createDataSet_columnLevelPermissionRules - A set of one or more definitions of a ColumnLevelPermissionRule .

CreateDataSet, createDataSet_dataSetUsageConfiguration - Undocumented member.

CreateDataSet, createDataSet_fieldFolders - The folder that contains fields and nested subfolders for your dataset.

CreateDataSet, createDataSet_logicalTableMap - Configures the combination and transformation of the data from the physical tables.

CreateDataSet, createDataSet_permissions - A list of resource permissions on the dataset.

CreateDataSet, createDataSet_rowLevelPermissionDataSet - The row-level security configuration for the data that you want to create.

CreateDataSet, createDataSet_rowLevelPermissionTagConfiguration - The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only.

CreateDataSet, createDataSet_tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

CreateDataSet, createDataSet_awsAccountId - The Amazon Web Services account ID.

CreateDataSet, createDataSet_dataSetId - An ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

CreateDataSet, createDataSet_name - The display name for the dataset.

CreateDataSet, createDataSet_physicalTableMap - Declares the physical tables that are available in the underlying data sources.

CreateDataSet, createDataSet_importMode - Indicates whether you want to import the data into SPICE.

Request Lenses

createDataSet_columnGroups :: Lens' CreateDataSet (Maybe (NonEmpty ColumnGroup)) Source #

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

createDataSet_fieldFolders :: Lens' CreateDataSet (Maybe (HashMap Text FieldFolder)) Source #

The folder that contains fields and nested subfolders for your dataset.

createDataSet_logicalTableMap :: Lens' CreateDataSet (Maybe (HashMap Text LogicalTable)) Source #

Configures the combination and transformation of the data from the physical tables.

createDataSet_permissions :: Lens' CreateDataSet (Maybe (NonEmpty ResourcePermission)) Source #

A list of resource permissions on the dataset.

createDataSet_rowLevelPermissionDataSet :: Lens' CreateDataSet (Maybe RowLevelPermissionDataSet) Source #

The row-level security configuration for the data that you want to create.

createDataSet_rowLevelPermissionTagConfiguration :: Lens' CreateDataSet (Maybe RowLevelPermissionTagConfiguration) Source #

The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only.

createDataSet_tags :: Lens' CreateDataSet (Maybe (NonEmpty Tag)) Source #

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

createDataSet_awsAccountId :: Lens' CreateDataSet Text Source #

The Amazon Web Services account ID.

createDataSet_dataSetId :: Lens' CreateDataSet Text Source #

An ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

createDataSet_name :: Lens' CreateDataSet Text Source #

The display name for the dataset.

createDataSet_physicalTableMap :: Lens' CreateDataSet (HashMap Text PhysicalTable) Source #

Declares the physical tables that are available in the underlying data sources.

createDataSet_importMode :: Lens' CreateDataSet DataSetImportMode Source #

Indicates whether you want to import the data into SPICE.

Destructuring the Response

data CreateDataSetResponse Source #

See: newCreateDataSetResponse smart constructor.

Constructors

CreateDataSetResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the dataset.

  • dataSetId :: Maybe Text

    The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

  • ingestionArn :: Maybe Text

    The ARN for the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

  • ingestionId :: Maybe Text

    The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • status :: Int

    The HTTP status of the request.

Instances

Instances details
Generic CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

Associated Types

type Rep CreateDataSetResponse :: Type -> Type #

Read CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

Show CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

NFData CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

Methods

rnf :: CreateDataSetResponse -> () #

Eq CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

type Rep CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateDataSet

type Rep CreateDataSetResponse = D1 ('MetaData "CreateDataSetResponse" "Amazonka.QuickSight.CreateDataSet" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "CreateDataSetResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dataSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ingestionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "ingestionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateDataSetResponse Source #

Create a value of CreateDataSetResponse 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:

CreateDataSetResponse, createDataSetResponse_arn - The Amazon Resource Name (ARN) of the dataset.

CreateDataSet, createDataSetResponse_dataSetId - The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

$sel:ingestionArn:CreateDataSetResponse', createDataSetResponse_ingestionArn - The ARN for the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

CreateDataSetResponse, createDataSetResponse_ingestionId - The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

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

CreateDataSetResponse, createDataSetResponse_status - The HTTP status of the request.

Response Lenses

createDataSetResponse_arn :: Lens' CreateDataSetResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dataset.

createDataSetResponse_dataSetId :: Lens' CreateDataSetResponse (Maybe Text) Source #

The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

createDataSetResponse_ingestionArn :: Lens' CreateDataSetResponse (Maybe Text) Source #

The ARN for the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

createDataSetResponse_ingestionId :: Lens' CreateDataSetResponse (Maybe Text) Source #

The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

createDataSetResponse_requestId :: Lens' CreateDataSetResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.