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 cluster to the specified Kubernetes version. Your cluster continues to function during the update. The response output includes an update ID that you can use to track the status of your cluster update with the DescribeUpdate API operation.
Cluster updates are asynchronous, and they should finish within a few
minutes. During an update, the cluster status moves to UPDATING
(this
status transition is eventually consistent). When the update is complete
(either Failed
or Successful
), the cluster status moves to Active
.
If your cluster has managed node groups attached to it, all of your node groups’ Kubernetes versions must match the cluster’s Kubernetes version in order to update the cluster to a new Kubernetes version.
Synopsis
- data UpdateClusterVersion = UpdateClusterVersion' {}
- newUpdateClusterVersion :: Text -> Text -> UpdateClusterVersion
- updateClusterVersion_clientRequestToken :: Lens' UpdateClusterVersion (Maybe Text)
- updateClusterVersion_name :: Lens' UpdateClusterVersion Text
- updateClusterVersion_version :: Lens' UpdateClusterVersion Text
- data UpdateClusterVersionResponse = UpdateClusterVersionResponse' {
- update :: Maybe Update
- httpStatus :: Int
- newUpdateClusterVersionResponse :: Int -> UpdateClusterVersionResponse
- updateClusterVersionResponse_update :: Lens' UpdateClusterVersionResponse (Maybe Update)
- updateClusterVersionResponse_httpStatus :: Lens' UpdateClusterVersionResponse Int
Creating a Request
data UpdateClusterVersion Source #
See: newUpdateClusterVersion
smart constructor.
Instances
newUpdateClusterVersion Source #
:: Text | |
-> Text | |
-> UpdateClusterVersion |
Create a value of UpdateClusterVersion
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:clientRequestToken:UpdateClusterVersion'
, updateClusterVersion_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:name:UpdateClusterVersion'
, updateClusterVersion_name
- The name of the Amazon EKS cluster to update.
$sel:version:UpdateClusterVersion'
, updateClusterVersion_version
- The desired Kubernetes version following a successful update.
Request Lenses
updateClusterVersion_clientRequestToken :: Lens' UpdateClusterVersion (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
updateClusterVersion_name :: Lens' UpdateClusterVersion Text Source #
The name of the Amazon EKS cluster to update.
updateClusterVersion_version :: Lens' UpdateClusterVersion Text Source #
The desired Kubernetes version following a successful update.
Destructuring the Response
data UpdateClusterVersionResponse Source #
See: newUpdateClusterVersionResponse
smart constructor.
UpdateClusterVersionResponse' | |
|
Instances
newUpdateClusterVersionResponse Source #
Create a value of UpdateClusterVersionResponse
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:UpdateClusterVersionResponse'
, updateClusterVersionResponse_update
- The full description of the specified update
$sel:httpStatus:UpdateClusterVersionResponse'
, updateClusterVersionResponse_httpStatus
- The response's http status code.
Response Lenses
updateClusterVersionResponse_update :: Lens' UpdateClusterVersionResponse (Maybe Update) Source #
The full description of the specified update
updateClusterVersionResponse_httpStatus :: Lens' UpdateClusterVersionResponse Int Source #
The response's http status code.