| 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 |
Amazonka.ECS.UpdateClusterSettings
Description
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.
Constructors
| UpdateClusterSettings' | |
Fields
| |
Instances
newUpdateClusterSettings Source #
Arguments
| :: Text | |
| -> UpdateClusterSettings |
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:
$sel:cluster:UpdateClusterSettings', updateClusterSettings_cluster - The name of the cluster to modify the settings for.
$sel:settings:UpdateClusterSettings', updateClusterSettings_settings - The setting to use by default for a cluster. This parameter is used to
enable CloudWatch Container Insights for a cluster. If this value is
specified, it will override the containerInsights value set with
PutAccountSetting or PutAccountSettingDefault.
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
enable CloudWatch Container Insights for a cluster. If this value is
specified, it will override the containerInsights value set with
PutAccountSetting or PutAccountSettingDefault.
Destructuring the Response
data UpdateClusterSettingsResponse Source #
See: newUpdateClusterSettingsResponse smart constructor.
Constructors
| UpdateClusterSettingsResponse' | |
Fields
| |
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:
$sel:cluster: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.