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 new DataBrew dataset.
Synopsis
- data CreateDataset = CreateDataset' {
- pathOptions :: Maybe PathOptions
- formatOptions :: Maybe FormatOptions
- format :: Maybe InputFormat
- tags :: Maybe (HashMap Text Text)
- name :: Text
- input :: Input
- newCreateDataset :: Text -> Input -> CreateDataset
- createDataset_pathOptions :: Lens' CreateDataset (Maybe PathOptions)
- createDataset_formatOptions :: Lens' CreateDataset (Maybe FormatOptions)
- createDataset_format :: Lens' CreateDataset (Maybe InputFormat)
- 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:
$sel:pathOptions:CreateDataset'
, createDataset_pathOptions
- A set of options that defines how DataBrew interprets an Amazon S3 path
of the dataset.
$sel:formatOptions:CreateDataset'
, createDataset_formatOptions
- Undocumented member.
$sel:format:CreateDataset'
, createDataset_format
- The file format of a dataset that is created from an Amazon S3 file or
folder.
$sel:tags:CreateDataset'
, createDataset_tags
- Metadata tags to apply to this dataset.
$sel:name: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.
$sel:input:CreateDataset'
, createDataset_input
- Undocumented member.
Request Lenses
createDataset_pathOptions :: Lens' CreateDataset (Maybe PathOptions) Source #
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
createDataset_formatOptions :: Lens' CreateDataset (Maybe FormatOptions) Source #
Undocumented member.
createDataset_format :: Lens' CreateDataset (Maybe InputFormat) Source #
The file format of a dataset that is created from an Amazon S3 file or folder.
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.
$sel:name: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.