Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a dataset.
Synopsis
- data CreateDataSet = CreateDataSet' {
- fieldFolders :: Maybe (HashMap Text FieldFolder)
- columnGroups :: Maybe (NonEmpty ColumnGroup)
- dataSetUsageConfiguration :: Maybe DataSetUsageConfiguration
- rowLevelPermissionTagConfiguration :: Maybe RowLevelPermissionTagConfiguration
- rowLevelPermissionDataSet :: Maybe RowLevelPermissionDataSet
- permissions :: Maybe (NonEmpty ResourcePermission)
- columnLevelPermissionRules :: Maybe (NonEmpty ColumnLevelPermissionRule)
- tags :: Maybe (NonEmpty Tag)
- logicalTableMap :: Maybe (HashMap Text LogicalTable)
- awsAccountId :: Text
- dataSetId :: Text
- name :: Text
- physicalTableMap :: HashMap Text PhysicalTable
- importMode :: DataSetImportMode
- newCreateDataSet :: Text -> Text -> Text -> DataSetImportMode -> CreateDataSet
- createDataSet_fieldFolders :: Lens' CreateDataSet (Maybe (HashMap Text FieldFolder))
- createDataSet_columnGroups :: Lens' CreateDataSet (Maybe (NonEmpty ColumnGroup))
- createDataSet_dataSetUsageConfiguration :: Lens' CreateDataSet (Maybe DataSetUsageConfiguration)
- createDataSet_rowLevelPermissionTagConfiguration :: Lens' CreateDataSet (Maybe RowLevelPermissionTagConfiguration)
- createDataSet_rowLevelPermissionDataSet :: Lens' CreateDataSet (Maybe RowLevelPermissionDataSet)
- createDataSet_permissions :: Lens' CreateDataSet (Maybe (NonEmpty ResourcePermission))
- createDataSet_columnLevelPermissionRules :: Lens' CreateDataSet (Maybe (NonEmpty ColumnLevelPermissionRule))
- createDataSet_tags :: Lens' CreateDataSet (Maybe (NonEmpty Tag))
- createDataSet_logicalTableMap :: Lens' CreateDataSet (Maybe (HashMap Text LogicalTable))
- createDataSet_awsAccountId :: Lens' CreateDataSet Text
- createDataSet_dataSetId :: Lens' CreateDataSet Text
- createDataSet_name :: Lens' CreateDataSet Text
- createDataSet_physicalTableMap :: Lens' CreateDataSet (HashMap Text PhysicalTable)
- createDataSet_importMode :: Lens' CreateDataSet DataSetImportMode
- data CreateDataSetResponse = CreateDataSetResponse' {}
- newCreateDataSetResponse :: Int -> CreateDataSetResponse
- createDataSetResponse_requestId :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_ingestionArn :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_arn :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_ingestionId :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_dataSetId :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_status :: Lens' CreateDataSetResponse Int
Creating a Request
data CreateDataSet Source #
See: newCreateDataSet
smart constructor.
CreateDataSet' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> DataSetImportMode | |
-> CreateDataSet |
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:
$sel:fieldFolders:CreateDataSet'
, createDataSet_fieldFolders
- The folder that contains fields and nested subfolders for your dataset.
$sel:columnGroups:CreateDataSet'
, createDataSet_columnGroups
- Groupings of columns that work together in certain Amazon QuickSight
features. Currently, only geospatial hierarchy is supported.
$sel:dataSetUsageConfiguration:CreateDataSet'
, createDataSet_dataSetUsageConfiguration
- Undocumented member.
$sel:rowLevelPermissionTagConfiguration: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.
$sel:rowLevelPermissionDataSet:CreateDataSet'
, createDataSet_rowLevelPermissionDataSet
- The row-level security configuration for the data that you want to
create.
$sel:permissions:CreateDataSet'
, createDataSet_permissions
- A list of resource permissions on the dataset.
$sel:columnLevelPermissionRules:CreateDataSet'
, createDataSet_columnLevelPermissionRules
- A set of one or more definitions of a ColumnLevelPermissionRule
.
$sel:tags:CreateDataSet'
, createDataSet_tags
- Contains a map of the key-value pairs for the resource tag or tags
assigned to the dataset.
$sel:logicalTableMap:CreateDataSet'
, createDataSet_logicalTableMap
- Configures the combination and transformation of the data from the
physical tables.
$sel:awsAccountId:CreateDataSet'
, createDataSet_awsAccountId
- The Amazon Web Services account ID.
$sel:dataSetId: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.
$sel:name:CreateDataSet'
, createDataSet_name
- The display name for the dataset.
$sel:physicalTableMap:CreateDataSet'
, createDataSet_physicalTableMap
- Declares the physical tables that are available in the underlying data
sources.
$sel:importMode:CreateDataSet'
, createDataSet_importMode
- Indicates whether you want to import the data into SPICE.
Request Lenses
createDataSet_fieldFolders :: Lens' CreateDataSet (Maybe (HashMap Text FieldFolder)) Source #
The folder that contains fields and nested subfolders for your dataset.
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_dataSetUsageConfiguration :: Lens' CreateDataSet (Maybe DataSetUsageConfiguration) Source #
Undocumented member.
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_rowLevelPermissionDataSet :: Lens' CreateDataSet (Maybe RowLevelPermissionDataSet) Source #
The row-level security configuration for the data that you want to create.
createDataSet_permissions :: Lens' CreateDataSet (Maybe (NonEmpty ResourcePermission)) Source #
A list of resource permissions on the dataset.
createDataSet_columnLevelPermissionRules :: Lens' CreateDataSet (Maybe (NonEmpty ColumnLevelPermissionRule)) Source #
A set of one or more definitions of a ColumnLevelPermissionRule
.
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_logicalTableMap :: Lens' CreateDataSet (Maybe (HashMap Text LogicalTable)) Source #
Configures the combination and transformation of the data from the physical tables.
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.
CreateDataSetResponse' | |
|
Instances
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:
$sel:requestId:CreateDataSetResponse'
, createDataSetResponse_requestId
- The Amazon Web Services request ID for this operation.
$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.
$sel:arn:CreateDataSetResponse'
, createDataSetResponse_arn
- The Amazon Resource Name (ARN) of the dataset.
$sel:ingestionId:CreateDataSetResponse'
, createDataSetResponse_ingestionId
- The ID of the ingestion, which is triggered as a result of dataset
creation if the import mode is SPICE.
$sel:dataSetId: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:status:CreateDataSetResponse'
, createDataSetResponse_status
- The HTTP status of the request.
Response Lenses
createDataSetResponse_requestId :: Lens' CreateDataSetResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
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_arn :: Lens' CreateDataSetResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset.
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_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_status :: Lens' CreateDataSetResponse Int Source #
The HTTP status of the request.