amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.UpdateClusterSettings

Description

Modifies the settings to use for a cluster.

Synopsis

Creating a Request

data UpdateClusterSettings Source #

See: newUpdateClusterSettings smart constructor.

Constructors

UpdateClusterSettings' 

Fields

  • cluster :: Text

    The name of the cluster to modify the settings for.

  • settings :: [ClusterSetting]

    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.

Instances

Instances details
ToJSON UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

ToHeaders UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

ToPath UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

ToQuery UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

AWSRequest UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Associated Types

type AWSResponse UpdateClusterSettings #

Generic UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Associated Types

type Rep UpdateClusterSettings :: Type -> Type #

Read UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Show UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

NFData UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Methods

rnf :: UpdateClusterSettings -> () #

Eq UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Hashable UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

type AWSResponse UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

type Rep UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

type Rep UpdateClusterSettings = D1 ('MetaData "UpdateClusterSettings" "Amazonka.ECS.UpdateClusterSettings" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "UpdateClusterSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ClusterSetting])))

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.

Constructors

UpdateClusterSettingsResponse' 

Fields

Instances

Instances details
Generic UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Associated Types

type Rep UpdateClusterSettingsResponse :: Type -> Type #

Read UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Show UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

NFData UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Eq UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

type Rep UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

type Rep UpdateClusterSettingsResponse = D1 ('MetaData "UpdateClusterSettingsResponse" "Amazonka.ECS.UpdateClusterSettings" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "UpdateClusterSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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