libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Instances

Instances details
Eq UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Read UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Show UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Generic UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Associated Types

type Rep UpdateClusterSettings :: Type -> Type #

NFData UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Methods

rnf :: UpdateClusterSettings -> () #

Hashable UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

ToJSON UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

AWSRequest UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Associated Types

type AWSResponse 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

type Rep UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

type Rep UpdateClusterSettings = D1 ('MetaData "UpdateClusterSettings" "Amazonka.ECS.UpdateClusterSettings" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "UpdateClusterSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ClusterSetting])))
type AWSResponse UpdateClusterSettings Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

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:

$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

Instances details
Eq UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Read UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Show UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Generic UpdateClusterSettingsResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateClusterSettings

Associated Types

type Rep UpdateClusterSettingsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-ecsZSamazonka-ecs" '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:

$sel:cluster:UpdateClusterSettings', updateClusterSettingsResponse_cluster - Details about the cluster

$sel:httpStatus:UpdateClusterSettingsResponse', updateClusterSettingsResponse_httpStatus - The response's http status code.

Response Lenses