| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.FinSpaceData.CreateDataView
Description
Creates a Dataview for a Dataset.
Synopsis
- data CreateDataView = CreateDataView' {}
 - newCreateDataView :: Text -> DataViewDestinationTypeParams -> CreateDataView
 - createDataView_asOfTimestamp :: Lens' CreateDataView (Maybe Integer)
 - createDataView_autoUpdate :: Lens' CreateDataView (Maybe Bool)
 - createDataView_clientToken :: Lens' CreateDataView (Maybe Text)
 - createDataView_partitionColumns :: Lens' CreateDataView (Maybe [Text])
 - createDataView_sortColumns :: Lens' CreateDataView (Maybe [Text])
 - createDataView_datasetId :: Lens' CreateDataView Text
 - createDataView_destinationTypeParams :: Lens' CreateDataView DataViewDestinationTypeParams
 - data CreateDataViewResponse = CreateDataViewResponse' {
- dataViewId :: Maybe Text
 - datasetId :: Maybe Text
 - httpStatus :: Int
 
 - newCreateDataViewResponse :: Int -> CreateDataViewResponse
 - createDataViewResponse_dataViewId :: Lens' CreateDataViewResponse (Maybe Text)
 - createDataViewResponse_datasetId :: Lens' CreateDataViewResponse (Maybe Text)
 - createDataViewResponse_httpStatus :: Lens' CreateDataViewResponse Int
 
Creating a Request
data CreateDataView Source #
Request for creating a data view.
See: newCreateDataView smart constructor.
Constructors
| CreateDataView' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> DataViewDestinationTypeParams | |
| -> CreateDataView | 
Create a value of CreateDataView 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:
CreateDataView, createDataView_asOfTimestamp - Beginning time to use for the Dataview. The value is determined as epoch
 time in milliseconds. For example, the value for Monday, November 1,
 2021 12:00:00 PM UTC is specified as 1635768000000.
CreateDataView, createDataView_autoUpdate - Flag to indicate Dataview should be updated automatically.
$sel:clientToken:CreateDataView', createDataView_clientToken - A token that ensures idempotency. This token expires in 10 minutes.
CreateDataView, createDataView_partitionColumns - Ordered set of column names used to partition data.
CreateDataView, createDataView_sortColumns - Columns to be used for sorting the data.
CreateDataView, createDataView_datasetId - The unique Dataset identifier that is used to create a Dataview.
$sel:destinationTypeParams:CreateDataView', createDataView_destinationTypeParams - Options that define the destination type for the Dataview.
Request Lenses
createDataView_asOfTimestamp :: Lens' CreateDataView (Maybe Integer) Source #
Beginning time to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
createDataView_autoUpdate :: Lens' CreateDataView (Maybe Bool) Source #
Flag to indicate Dataview should be updated automatically.
createDataView_clientToken :: Lens' CreateDataView (Maybe Text) Source #
A token that ensures idempotency. This token expires in 10 minutes.
createDataView_partitionColumns :: Lens' CreateDataView (Maybe [Text]) Source #
Ordered set of column names used to partition data.
createDataView_sortColumns :: Lens' CreateDataView (Maybe [Text]) Source #
Columns to be used for sorting the data.
createDataView_datasetId :: Lens' CreateDataView Text Source #
The unique Dataset identifier that is used to create a Dataview.
createDataView_destinationTypeParams :: Lens' CreateDataView DataViewDestinationTypeParams Source #
Options that define the destination type for the Dataview.
Destructuring the Response
data CreateDataViewResponse Source #
Response for creating a data view.
See: newCreateDataViewResponse smart constructor.
Constructors
| CreateDataViewResponse' | |
Fields 
  | |
Instances
newCreateDataViewResponse Source #
Create a value of CreateDataViewResponse 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:
CreateDataViewResponse, createDataViewResponse_dataViewId - The unique identifier for the created Dataview.
CreateDataView, createDataViewResponse_datasetId - The unique identifier of the Dataset used for the Dataview.
$sel:httpStatus:CreateDataViewResponse', createDataViewResponse_httpStatus - The response's http status code.
Response Lenses
createDataViewResponse_dataViewId :: Lens' CreateDataViewResponse (Maybe Text) Source #
The unique identifier for the created Dataview.
createDataViewResponse_datasetId :: Lens' CreateDataViewResponse (Maybe Text) Source #
The unique identifier of the Dataset used for the Dataview.
createDataViewResponse_httpStatus :: Lens' CreateDataViewResponse Int Source #
The response's http status code.