| 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.Kafka.UpdateBrokerType
Description
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.
Constructors
| UpdateBrokerType' | |
Fields
| |
Instances
Arguments
| :: 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:
UpdateBrokerType, updateBrokerType_clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.
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.
Constructors
| UpdateBrokerTypeResponse' | |
Fields
| |
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:
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.