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 |
Updates cluster broker volume size (or) sets cluster storage mode to TIERED.
Synopsis
- data UpdateStorage = UpdateStorage' {}
- newUpdateStorage :: Text -> Text -> UpdateStorage
- updateStorage_provisionedThroughput :: Lens' UpdateStorage (Maybe ProvisionedThroughput)
- updateStorage_storageMode :: Lens' UpdateStorage (Maybe StorageMode)
- updateStorage_volumeSizeGB :: Lens' UpdateStorage (Maybe Int)
- updateStorage_clusterArn :: Lens' UpdateStorage Text
- updateStorage_currentVersion :: Lens' UpdateStorage Text
- data UpdateStorageResponse = UpdateStorageResponse' {}
- newUpdateStorageResponse :: Int -> UpdateStorageResponse
- updateStorageResponse_clusterArn :: Lens' UpdateStorageResponse (Maybe Text)
- updateStorageResponse_clusterOperationArn :: Lens' UpdateStorageResponse (Maybe Text)
- updateStorageResponse_httpStatus :: Lens' UpdateStorageResponse Int
Creating a Request
data UpdateStorage Source #
Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.
See: newUpdateStorage
smart constructor.
UpdateStorage' | |
|
Instances
Create a value of UpdateStorage
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:
UpdateStorage
, updateStorage_provisionedThroughput
- EBS volume provisioned throughput information.
UpdateStorage
, updateStorage_storageMode
- Controls storage mode for supported storage tiers.
UpdateStorage
, updateStorage_volumeSizeGB
- size of the EBS volume to update.
UpdateStorage
, updateStorage_clusterArn
- The Amazon Resource Name (ARN) of the cluster to be updated.
UpdateStorage
, updateStorage_currentVersion
- The version of cluster to update from. A successful operation will then
generate a new version.
Request Lenses
updateStorage_provisionedThroughput :: Lens' UpdateStorage (Maybe ProvisionedThroughput) Source #
EBS volume provisioned throughput information.
updateStorage_storageMode :: Lens' UpdateStorage (Maybe StorageMode) Source #
Controls storage mode for supported storage tiers.
updateStorage_volumeSizeGB :: Lens' UpdateStorage (Maybe Int) Source #
size of the EBS volume to update.
updateStorage_clusterArn :: Lens' UpdateStorage Text Source #
The Amazon Resource Name (ARN) of the cluster to be updated.
updateStorage_currentVersion :: Lens' UpdateStorage Text Source #
The version of cluster to update from. A successful operation will then generate a new version.
Destructuring the Response
data UpdateStorageResponse Source #
See: newUpdateStorageResponse
smart constructor.
UpdateStorageResponse' | |
|
Instances
newUpdateStorageResponse Source #
Create a value of UpdateStorageResponse
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:
UpdateStorage
, updateStorageResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateStorageResponse'
, updateStorageResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateStorageResponse'
, updateStorageResponse_httpStatus
- The response's http status code.
Response Lenses
updateStorageResponse_clusterArn :: Lens' UpdateStorageResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateStorageResponse_clusterOperationArn :: Lens' UpdateStorageResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateStorageResponse_httpStatus :: Lens' UpdateStorageResponse Int Source #
The response's http status code.