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 |
Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see Granting Lake Formation Permissions.
This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.
Synopsis
- data PutDataLakeSettings = PutDataLakeSettings' {}
- newPutDataLakeSettings :: DataLakeSettings -> PutDataLakeSettings
- putDataLakeSettings_catalogId :: Lens' PutDataLakeSettings (Maybe Text)
- putDataLakeSettings_dataLakeSettings :: Lens' PutDataLakeSettings DataLakeSettings
- data PutDataLakeSettingsResponse = PutDataLakeSettingsResponse' {
- httpStatus :: Int
- newPutDataLakeSettingsResponse :: Int -> PutDataLakeSettingsResponse
- putDataLakeSettingsResponse_httpStatus :: Lens' PutDataLakeSettingsResponse Int
Creating a Request
data PutDataLakeSettings Source #
See: newPutDataLakeSettings
smart constructor.
PutDataLakeSettings' | |
|
Instances
newPutDataLakeSettings Source #
Create a value of PutDataLakeSettings
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:catalogId:PutDataLakeSettings'
, putDataLakeSettings_catalogId
- The identifier for the Data Catalog. By default, the account ID. The
Data Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your AWS Lake Formation environment.
$sel:dataLakeSettings:PutDataLakeSettings'
, putDataLakeSettings_dataLakeSettings
- A structure representing a list of AWS Lake Formation principals
designated as data lake administrators.
Request Lenses
putDataLakeSettings_catalogId :: Lens' PutDataLakeSettings (Maybe Text) Source #
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
putDataLakeSettings_dataLakeSettings :: Lens' PutDataLakeSettings DataLakeSettings Source #
A structure representing a list of AWS Lake Formation principals designated as data lake administrators.
Destructuring the Response
data PutDataLakeSettingsResponse Source #
See: newPutDataLakeSettingsResponse
smart constructor.
PutDataLakeSettingsResponse' | |
|
Instances
newPutDataLakeSettingsResponse Source #
Create a value of PutDataLakeSettingsResponse
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:PutDataLakeSettingsResponse'
, putDataLakeSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
putDataLakeSettingsResponse_httpStatus :: Lens' PutDataLakeSettingsResponse Int Source #
The response's http status code.