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 EC2 instance type.
Synopsis
- data UpdateBrokerType = UpdateBrokerType' {}
- newUpdateBrokerType :: Text -> Text -> Text -> UpdateBrokerType
- updateBrokerType_clusterArn :: Lens' UpdateBrokerType Text
- updateBrokerType_currentVersion :: Lens' UpdateBrokerType Text
- updateBrokerType_targetInstanceType :: Lens' UpdateBrokerType Text
- data UpdateBrokerTypeResponse = UpdateBrokerTypeResponse' {}
- newUpdateBrokerTypeResponse :: Int -> UpdateBrokerTypeResponse
- updateBrokerTypeResponse_clusterArn :: Lens' UpdateBrokerTypeResponse (Maybe Text)
- updateBrokerTypeResponse_clusterOperationArn :: Lens' UpdateBrokerTypeResponse (Maybe Text)
- updateBrokerTypeResponse_httpStatus :: Lens' UpdateBrokerTypeResponse Int
Creating a Request
data UpdateBrokerType Source #
See: newUpdateBrokerType
smart constructor.
UpdateBrokerType' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UpdateBrokerType |
Create a value of UpdateBrokerType
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:UpdateBrokerType'
, updateBrokerType_clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
$sel:currentVersion:UpdateBrokerType'
, updateBrokerType_currentVersion
- The cluster version that you want to change. After this operation
completes successfully, the cluster will have a new version.
$sel:targetInstanceType:UpdateBrokerType'
, updateBrokerType_targetInstanceType
- The Amazon MSK broker type that you want all of the brokers in this
cluster to be.
Request Lenses
updateBrokerType_clusterArn :: Lens' UpdateBrokerType Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
updateBrokerType_currentVersion :: Lens' UpdateBrokerType Text Source #
The cluster version that you want to change. After this operation completes successfully, the cluster will have a new version.
updateBrokerType_targetInstanceType :: Lens' UpdateBrokerType Text Source #
The Amazon MSK broker type that you want all of the brokers in this cluster to be.
Destructuring the Response
data UpdateBrokerTypeResponse Source #
See: newUpdateBrokerTypeResponse
smart constructor.
UpdateBrokerTypeResponse' | |
|
Instances
newUpdateBrokerTypeResponse Source #
Create a value of UpdateBrokerTypeResponse
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:UpdateBrokerType'
, updateBrokerTypeResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateBrokerTypeResponse'
, updateBrokerTypeResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateBrokerTypeResponse'
, updateBrokerTypeResponse_httpStatus
- The response's http status code.
Response Lenses
updateBrokerTypeResponse_clusterArn :: Lens' UpdateBrokerTypeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateBrokerTypeResponse_clusterOperationArn :: Lens' UpdateBrokerTypeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateBrokerTypeResponse_httpStatus :: Lens' UpdateBrokerTypeResponse Int Source #
The response's http status code.