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 |
Creates a new DataBrew dataset.
Synopsis
- data CreateDataset = CreateDataset' {
- format :: Maybe InputFormat
- formatOptions :: Maybe FormatOptions
- pathOptions :: Maybe PathOptions
- tags :: Maybe (HashMap Text Text)
- name :: Text
- input :: Input
- newCreateDataset :: Text -> Input -> CreateDataset
- createDataset_format :: Lens' CreateDataset (Maybe InputFormat)
- createDataset_formatOptions :: Lens' CreateDataset (Maybe FormatOptions)
- createDataset_pathOptions :: Lens' CreateDataset (Maybe PathOptions)
- createDataset_tags :: Lens' CreateDataset (Maybe (HashMap Text Text))
- createDataset_name :: Lens' CreateDataset Text
- createDataset_input :: Lens' CreateDataset Input
- data CreateDatasetResponse = CreateDatasetResponse' {
- httpStatus :: Int
- name :: Text
- newCreateDatasetResponse :: Int -> Text -> CreateDatasetResponse
- createDatasetResponse_httpStatus :: Lens' CreateDatasetResponse Int
- createDatasetResponse_name :: Lens' CreateDatasetResponse Text
Creating a Request
data CreateDataset Source #
See: newCreateDataset
smart constructor.
CreateDataset' | |
|
Instances
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_format
- The file format of a dataset that is created from an Amazon S3 file or
folder.
CreateDataset
, createDataset_formatOptions
- Undocumented member.
CreateDataset
, createDataset_pathOptions
- A set of options that defines how DataBrew interprets an Amazon S3 path
of the dataset.
CreateDataset
, createDataset_tags
- Metadata tags to apply to this dataset.
CreateDataset
, createDataset_name
- The name of the dataset to be created. Valid characters are alphanumeric
(A-Z, a-z, 0-9), hyphen (-), period (.), and space.
CreateDataset
, createDataset_input
- Undocumented member.
Request Lenses
createDataset_format :: Lens' CreateDataset (Maybe InputFormat) Source #
The file format of a dataset that is created from an Amazon S3 file or folder.
createDataset_formatOptions :: Lens' CreateDataset (Maybe FormatOptions) Source #
Undocumented member.
createDataset_pathOptions :: Lens' CreateDataset (Maybe PathOptions) Source #
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
createDataset_tags :: Lens' CreateDataset (Maybe (HashMap Text Text)) Source #
Metadata tags to apply to this dataset.
createDataset_name :: Lens' CreateDataset Text Source #
The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
createDataset_input :: Lens' CreateDataset Input Source #
Undocumented member.
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:httpStatus:CreateDatasetResponse'
, createDatasetResponse_httpStatus
- The response's http status code.
CreateDataset
, createDatasetResponse_name
- The name of the dataset that you created.
Response Lenses
createDatasetResponse_httpStatus :: Lens' CreateDatasetResponse Int Source #
The response's http status code.
createDatasetResponse_name :: Lens' CreateDatasetResponse Text Source #
The name of the dataset that you created.