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 an Amazon EKS managed node group configuration. Your node group continues to function during the update. The response output includes an update ID that you can use to track the status of your node group update with the DescribeUpdate API operation. Currently you can update the Kubernetes labels for a node group or the scaling configuration.
Synopsis
- data UpdateNodegroupConfig = UpdateNodegroupConfig' {}
- newUpdateNodegroupConfig :: Text -> Text -> UpdateNodegroupConfig
- updateNodegroupConfig_taints :: Lens' UpdateNodegroupConfig (Maybe UpdateTaintsPayload)
- updateNodegroupConfig_scalingConfig :: Lens' UpdateNodegroupConfig (Maybe NodegroupScalingConfig)
- updateNodegroupConfig_labels :: Lens' UpdateNodegroupConfig (Maybe UpdateLabelsPayload)
- updateNodegroupConfig_clientRequestToken :: Lens' UpdateNodegroupConfig (Maybe Text)
- updateNodegroupConfig_updateConfig :: Lens' UpdateNodegroupConfig (Maybe NodegroupUpdateConfig)
- updateNodegroupConfig_clusterName :: Lens' UpdateNodegroupConfig Text
- updateNodegroupConfig_nodegroupName :: Lens' UpdateNodegroupConfig Text
- data UpdateNodegroupConfigResponse = UpdateNodegroupConfigResponse' {
- update :: Maybe Update
- httpStatus :: Int
- newUpdateNodegroupConfigResponse :: Int -> UpdateNodegroupConfigResponse
- updateNodegroupConfigResponse_update :: Lens' UpdateNodegroupConfigResponse (Maybe Update)
- updateNodegroupConfigResponse_httpStatus :: Lens' UpdateNodegroupConfigResponse Int
Creating a Request
data UpdateNodegroupConfig Source #
See: newUpdateNodegroupConfig
smart constructor.
UpdateNodegroupConfig' | |
|
Instances
newUpdateNodegroupConfig Source #
:: Text | |
-> Text | |
-> UpdateNodegroupConfig |
Create a value of UpdateNodegroupConfig
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:taints:UpdateNodegroupConfig'
, updateNodegroupConfig_taints
- The Kubernetes taints to be applied to the nodes in the node group after
the update.
$sel:scalingConfig:UpdateNodegroupConfig'
, updateNodegroupConfig_scalingConfig
- The scaling configuration details for the Auto Scaling group after the
update.
$sel:labels:UpdateNodegroupConfig'
, updateNodegroupConfig_labels
- The Kubernetes labels to be applied to the nodes in the node group after
the update.
$sel:clientRequestToken:UpdateNodegroupConfig'
, updateNodegroupConfig_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:updateConfig:UpdateNodegroupConfig'
, updateNodegroupConfig_updateConfig
- The node group update configuration.
$sel:clusterName:UpdateNodegroupConfig'
, updateNodegroupConfig_clusterName
- The name of the Amazon EKS cluster that the managed node group resides
in.
$sel:nodegroupName:UpdateNodegroupConfig'
, updateNodegroupConfig_nodegroupName
- The name of the managed node group to update.
Request Lenses
updateNodegroupConfig_taints :: Lens' UpdateNodegroupConfig (Maybe UpdateTaintsPayload) Source #
The Kubernetes taints to be applied to the nodes in the node group after the update.
updateNodegroupConfig_scalingConfig :: Lens' UpdateNodegroupConfig (Maybe NodegroupScalingConfig) Source #
The scaling configuration details for the Auto Scaling group after the update.
updateNodegroupConfig_labels :: Lens' UpdateNodegroupConfig (Maybe UpdateLabelsPayload) Source #
The Kubernetes labels to be applied to the nodes in the node group after the update.
updateNodegroupConfig_clientRequestToken :: Lens' UpdateNodegroupConfig (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
updateNodegroupConfig_updateConfig :: Lens' UpdateNodegroupConfig (Maybe NodegroupUpdateConfig) Source #
The node group update configuration.
updateNodegroupConfig_clusterName :: Lens' UpdateNodegroupConfig Text Source #
The name of the Amazon EKS cluster that the managed node group resides in.
updateNodegroupConfig_nodegroupName :: Lens' UpdateNodegroupConfig Text Source #
The name of the managed node group to update.
Destructuring the Response
data UpdateNodegroupConfigResponse Source #
See: newUpdateNodegroupConfigResponse
smart constructor.
UpdateNodegroupConfigResponse' | |
|
Instances
newUpdateNodegroupConfigResponse Source #
Create a value of UpdateNodegroupConfigResponse
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:update:UpdateNodegroupConfigResponse'
, updateNodegroupConfigResponse_update
- Undocumented member.
$sel:httpStatus:UpdateNodegroupConfigResponse'
, updateNodegroupConfigResponse_httpStatus
- The response's http status code.
Response Lenses
updateNodegroupConfigResponse_update :: Lens' UpdateNodegroupConfigResponse (Maybe Update) Source #
Undocumented member.
updateNodegroupConfigResponse_httpStatus :: Lens' UpdateNodegroupConfigResponse Int Source #
The response's http status code.