| 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 |
Amazonka.LakeFormation.UpdateTableStorageOptimizer
Description
Updates the configuration of the storage optimizers for a table.
Synopsis
- data UpdateTableStorageOptimizer = UpdateTableStorageOptimizer' {}
- newUpdateTableStorageOptimizer :: Text -> Text -> UpdateTableStorageOptimizer
- updateTableStorageOptimizer_catalogId :: Lens' UpdateTableStorageOptimizer (Maybe Text)
- updateTableStorageOptimizer_databaseName :: Lens' UpdateTableStorageOptimizer Text
- updateTableStorageOptimizer_tableName :: Lens' UpdateTableStorageOptimizer Text
- updateTableStorageOptimizer_storageOptimizerConfig :: Lens' UpdateTableStorageOptimizer (HashMap OptimizerType (HashMap Text Text))
- data UpdateTableStorageOptimizerResponse = UpdateTableStorageOptimizerResponse' {
- result :: Maybe Text
- httpStatus :: Int
- newUpdateTableStorageOptimizerResponse :: Int -> UpdateTableStorageOptimizerResponse
- updateTableStorageOptimizerResponse_result :: Lens' UpdateTableStorageOptimizerResponse (Maybe Text)
- updateTableStorageOptimizerResponse_httpStatus :: Lens' UpdateTableStorageOptimizerResponse Int
Creating a Request
data UpdateTableStorageOptimizer Source #
See: newUpdateTableStorageOptimizer smart constructor.
Constructors
| UpdateTableStorageOptimizer' | |
Fields
| |
Instances
newUpdateTableStorageOptimizer Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateTableStorageOptimizer |
Create a value of UpdateTableStorageOptimizer 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:
UpdateTableStorageOptimizer, updateTableStorageOptimizer_catalogId - The Catalog ID of the table.
UpdateTableStorageOptimizer, updateTableStorageOptimizer_databaseName - Name of the database where the table is present.
UpdateTableStorageOptimizer, updateTableStorageOptimizer_tableName - Name of the table for which to enable the storage optimizer.
$sel:storageOptimizerConfig:UpdateTableStorageOptimizer', updateTableStorageOptimizer_storageOptimizerConfig - Name of the table for which to enable the storage optimizer.
Request Lenses
updateTableStorageOptimizer_catalogId :: Lens' UpdateTableStorageOptimizer (Maybe Text) Source #
The Catalog ID of the table.
updateTableStorageOptimizer_databaseName :: Lens' UpdateTableStorageOptimizer Text Source #
Name of the database where the table is present.
updateTableStorageOptimizer_tableName :: Lens' UpdateTableStorageOptimizer Text Source #
Name of the table for which to enable the storage optimizer.
updateTableStorageOptimizer_storageOptimizerConfig :: Lens' UpdateTableStorageOptimizer (HashMap OptimizerType (HashMap Text Text)) Source #
Name of the table for which to enable the storage optimizer.
Destructuring the Response
data UpdateTableStorageOptimizerResponse Source #
See: newUpdateTableStorageOptimizerResponse smart constructor.
Constructors
| UpdateTableStorageOptimizerResponse' | |
Fields
| |
Instances
newUpdateTableStorageOptimizerResponse Source #
Arguments
| :: Int | |
| -> UpdateTableStorageOptimizerResponse |
Create a value of UpdateTableStorageOptimizerResponse 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:result:UpdateTableStorageOptimizerResponse', updateTableStorageOptimizerResponse_result - A response indicating the success of failure of the operation.
$sel:httpStatus:UpdateTableStorageOptimizerResponse', updateTableStorageOptimizerResponse_httpStatus - The response's http status code.
Response Lenses
updateTableStorageOptimizerResponse_result :: Lens' UpdateTableStorageOptimizerResponse (Maybe Text) Source #
A response indicating the success of failure of the operation.
updateTableStorageOptimizerResponse_httpStatus :: Lens' UpdateTableStorageOptimizerResponse Int Source #
The response's http status code.