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 |
Replaces the datasets in a dataset group with the specified datasets.
The Status
of the dataset group must be ACTIVE
before you can use
the dataset group to create a predictor. Use the DescribeDatasetGroup
operation to get the status.
Synopsis
- data UpdateDatasetGroup = UpdateDatasetGroup' {
- datasetGroupArn :: Text
- datasetArns :: [Text]
- newUpdateDatasetGroup :: Text -> UpdateDatasetGroup
- updateDatasetGroup_datasetGroupArn :: Lens' UpdateDatasetGroup Text
- updateDatasetGroup_datasetArns :: Lens' UpdateDatasetGroup [Text]
- data UpdateDatasetGroupResponse = UpdateDatasetGroupResponse' {
- httpStatus :: Int
- newUpdateDatasetGroupResponse :: Int -> UpdateDatasetGroupResponse
- updateDatasetGroupResponse_httpStatus :: Lens' UpdateDatasetGroupResponse Int
Creating a Request
data UpdateDatasetGroup Source #
See: newUpdateDatasetGroup
smart constructor.
UpdateDatasetGroup' | |
|
Instances
newUpdateDatasetGroup Source #
Create a value of UpdateDatasetGroup
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:datasetGroupArn:UpdateDatasetGroup'
, updateDatasetGroup_datasetGroupArn
- The ARN of the dataset group.
$sel:datasetArns:UpdateDatasetGroup'
, updateDatasetGroup_datasetArns
- An array of the Amazon Resource Names (ARNs) of the datasets to add to
the dataset group.
Request Lenses
updateDatasetGroup_datasetGroupArn :: Lens' UpdateDatasetGroup Text Source #
The ARN of the dataset group.
updateDatasetGroup_datasetArns :: Lens' UpdateDatasetGroup [Text] Source #
An array of the Amazon Resource Names (ARNs) of the datasets to add to the dataset group.
Destructuring the Response
data UpdateDatasetGroupResponse Source #
See: newUpdateDatasetGroupResponse
smart constructor.
UpdateDatasetGroupResponse' | |
|
Instances
newUpdateDatasetGroupResponse Source #
Create a value of UpdateDatasetGroupResponse
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:UpdateDatasetGroupResponse'
, updateDatasetGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateDatasetGroupResponse_httpStatus :: Lens' UpdateDatasetGroupResponse Int Source #
The response's http status code.