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 |
Modifies the settings to use for a cluster.
Synopsis
- data UpdateClusterSettings = UpdateClusterSettings' {
- cluster :: Text
- settings :: [ClusterSetting]
- newUpdateClusterSettings :: Text -> UpdateClusterSettings
- updateClusterSettings_cluster :: Lens' UpdateClusterSettings Text
- updateClusterSettings_settings :: Lens' UpdateClusterSettings [ClusterSetting]
- data UpdateClusterSettingsResponse = UpdateClusterSettingsResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newUpdateClusterSettingsResponse :: Int -> UpdateClusterSettingsResponse
- updateClusterSettingsResponse_cluster :: Lens' UpdateClusterSettingsResponse (Maybe Cluster)
- updateClusterSettingsResponse_httpStatus :: Lens' UpdateClusterSettingsResponse Int
Creating a Request
data UpdateClusterSettings Source #
See: newUpdateClusterSettings
smart constructor.
UpdateClusterSettings' | |
|
Instances
newUpdateClusterSettings Source #
Create a value of UpdateClusterSettings
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:
UpdateClusterSettings
, updateClusterSettings_cluster
- The name of the cluster to modify the settings for.
UpdateClusterSettings
, updateClusterSettings_settings
- The setting to use by default for a cluster. This parameter is used to
turn on CloudWatch Container Insights for a cluster. If this value is
specified, it overrides the containerInsights
value set with
PutAccountSetting or PutAccountSettingDefault.
Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
Request Lenses
updateClusterSettings_cluster :: Lens' UpdateClusterSettings Text Source #
The name of the cluster to modify the settings for.
updateClusterSettings_settings :: Lens' UpdateClusterSettings [ClusterSetting] Source #
The setting to use by default for a cluster. This parameter is used to
turn on CloudWatch Container Insights for a cluster. If this value is
specified, it overrides the containerInsights
value set with
PutAccountSetting or PutAccountSettingDefault.
Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
Destructuring the Response
data UpdateClusterSettingsResponse Source #
See: newUpdateClusterSettingsResponse
smart constructor.
UpdateClusterSettingsResponse' | |
|
Instances
newUpdateClusterSettingsResponse Source #
Create a value of UpdateClusterSettingsResponse
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:
UpdateClusterSettings
, updateClusterSettingsResponse_cluster
- Details about the cluster
$sel:httpStatus:UpdateClusterSettingsResponse'
, updateClusterSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
updateClusterSettingsResponse_cluster :: Lens' UpdateClusterSettingsResponse (Maybe Cluster) Source #
Details about the cluster
updateClusterSettingsResponse_httpStatus :: Lens' UpdateClusterSettingsResponse Int Source #
The response's http status code.