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 |
Updates a FinSpace Dataset.
Synopsis
- data UpdateDataset = UpdateDataset' {}
- newUpdateDataset :: Text -> Text -> DatasetKind -> UpdateDataset
- updateDataset_alias :: Lens' UpdateDataset (Maybe Text)
- updateDataset_clientToken :: Lens' UpdateDataset (Maybe Text)
- updateDataset_datasetDescription :: Lens' UpdateDataset (Maybe Text)
- updateDataset_schemaDefinition :: Lens' UpdateDataset (Maybe SchemaUnion)
- updateDataset_datasetId :: Lens' UpdateDataset Text
- updateDataset_datasetTitle :: Lens' UpdateDataset Text
- updateDataset_kind :: Lens' UpdateDataset DatasetKind
- data UpdateDatasetResponse = UpdateDatasetResponse' {
- datasetId :: Maybe Text
- httpStatus :: Int
- newUpdateDatasetResponse :: Int -> UpdateDatasetResponse
- updateDatasetResponse_datasetId :: Lens' UpdateDatasetResponse (Maybe Text)
- updateDatasetResponse_httpStatus :: Lens' UpdateDatasetResponse Int
Creating a Request
data UpdateDataset Source #
The request for an UpdateDataset operation
See: newUpdateDataset
smart constructor.
UpdateDataset' | |
|
Instances
Create a value of UpdateDataset
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:
UpdateDataset
, updateDataset_alias
- The unique resource identifier for a Dataset.
$sel:clientToken:UpdateDataset'
, updateDataset_clientToken
- A token that ensures idempotency. This token expires in 10 minutes.
UpdateDataset
, updateDataset_datasetDescription
- A description for the Dataset.
UpdateDataset
, updateDataset_schemaDefinition
- Definition for a schema on a tabular Dataset.
UpdateDataset
, updateDataset_datasetId
- The unique identifier for the Dataset to update.
UpdateDataset
, updateDataset_datasetTitle
- A display title for the Dataset.
UpdateDataset
, updateDataset_kind
- The format in which the Dataset data is structured.
TABULAR
– Data is structured in a tabular format.NON_TABULAR
– Data is structured in a non-tabular format.
Request Lenses
updateDataset_alias :: Lens' UpdateDataset (Maybe Text) Source #
The unique resource identifier for a Dataset.
updateDataset_clientToken :: Lens' UpdateDataset (Maybe Text) Source #
A token that ensures idempotency. This token expires in 10 minutes.
updateDataset_datasetDescription :: Lens' UpdateDataset (Maybe Text) Source #
A description for the Dataset.
updateDataset_schemaDefinition :: Lens' UpdateDataset (Maybe SchemaUnion) Source #
Definition for a schema on a tabular Dataset.
updateDataset_datasetId :: Lens' UpdateDataset Text Source #
The unique identifier for the Dataset to update.
updateDataset_datasetTitle :: Lens' UpdateDataset Text Source #
A display title for the Dataset.
updateDataset_kind :: Lens' UpdateDataset DatasetKind Source #
The format in which the Dataset data is structured.
TABULAR
– Data is structured in a tabular format.NON_TABULAR
– Data is structured in a non-tabular format.
Destructuring the Response
data UpdateDatasetResponse Source #
The response from an UpdateDataset operation
See: newUpdateDatasetResponse
smart constructor.
UpdateDatasetResponse' | |
|
Instances
newUpdateDatasetResponse Source #
Create a value of UpdateDatasetResponse
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:
UpdateDataset
, updateDatasetResponse_datasetId
- The unique identifier for updated Dataset.
$sel:httpStatus:UpdateDatasetResponse'
, updateDatasetResponse_httpStatus
- The response's http status code.
Response Lenses
updateDatasetResponse_datasetId :: Lens' UpdateDatasetResponse (Maybe Text) Source #
The unique identifier for updated Dataset.
updateDatasetResponse_httpStatus :: Lens' UpdateDatasetResponse Int Source #
The response's http status code.