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 |
Updates the EBS storage associated with MSK brokers.
Synopsis
- data UpdateBrokerStorage = UpdateBrokerStorage' {}
- newUpdateBrokerStorage :: Text -> Text -> UpdateBrokerStorage
- updateBrokerStorage_clusterArn :: Lens' UpdateBrokerStorage Text
- updateBrokerStorage_targetBrokerEBSVolumeInfo :: Lens' UpdateBrokerStorage [BrokerEBSVolumeInfo]
- updateBrokerStorage_currentVersion :: Lens' UpdateBrokerStorage Text
- data UpdateBrokerStorageResponse = UpdateBrokerStorageResponse' {}
- newUpdateBrokerStorageResponse :: Int -> UpdateBrokerStorageResponse
- updateBrokerStorageResponse_clusterArn :: Lens' UpdateBrokerStorageResponse (Maybe Text)
- updateBrokerStorageResponse_clusterOperationArn :: Lens' UpdateBrokerStorageResponse (Maybe Text)
- updateBrokerStorageResponse_httpStatus :: Lens' UpdateBrokerStorageResponse Int
Creating a Request
data UpdateBrokerStorage Source #
See: newUpdateBrokerStorage
smart constructor.
UpdateBrokerStorage' | |
|
Instances
newUpdateBrokerStorage Source #
:: Text | |
-> Text | |
-> UpdateBrokerStorage |
Create a value of UpdateBrokerStorage
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:clusterArn:UpdateBrokerStorage'
, updateBrokerStorage_clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
$sel:targetBrokerEBSVolumeInfo:UpdateBrokerStorage'
, updateBrokerStorage_targetBrokerEBSVolumeInfo
- Describes the target volume size and the ID of the broker to apply the
update to.
$sel:currentVersion:UpdateBrokerStorage'
, updateBrokerStorage_currentVersion
- The version of cluster to update from. A successful operation will then
generate a new version.
Request Lenses
updateBrokerStorage_clusterArn :: Lens' UpdateBrokerStorage Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
updateBrokerStorage_targetBrokerEBSVolumeInfo :: Lens' UpdateBrokerStorage [BrokerEBSVolumeInfo] Source #
Describes the target volume size and the ID of the broker to apply the update to.
updateBrokerStorage_currentVersion :: Lens' UpdateBrokerStorage Text Source #
The version of cluster to update from. A successful operation will then generate a new version.
Destructuring the Response
data UpdateBrokerStorageResponse Source #
See: newUpdateBrokerStorageResponse
smart constructor.
UpdateBrokerStorageResponse' | |
|
Instances
newUpdateBrokerStorageResponse Source #
Create a value of UpdateBrokerStorageResponse
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:clusterArn:UpdateBrokerStorage'
, updateBrokerStorageResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateBrokerStorageResponse'
, updateBrokerStorageResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateBrokerStorageResponse'
, updateBrokerStorageResponse_httpStatus
- The response's http status code.
Response Lenses
updateBrokerStorageResponse_clusterArn :: Lens' UpdateBrokerStorageResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateBrokerStorageResponse_clusterOperationArn :: Lens' UpdateBrokerStorageResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateBrokerStorageResponse_httpStatus :: Lens' UpdateBrokerStorageResponse Int Source #
The response's http status code.