libZSservicesZSamazonka-eksZSamazonka-eks
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.EKS.UpdateClusterConfig

Description

Updates an Amazon EKS cluster configuration. 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.

You can use this API operation to enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster Control Plane Logs in the /Amazon EKS User Guide/ .

CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.

You can also use this API operation to enable or disable public and private access to your cluster's Kubernetes API server endpoint. By default, public access is enabled, and private access is disabled. For more information, see Amazon EKS cluster endpoint access control in the /Amazon EKS User Guide/ .

You can't update the subnets or security group IDs for an existing cluster.

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.

Synopsis

Creating a Request

data UpdateClusterConfig Source #

See: newUpdateClusterConfig smart constructor.

Constructors

UpdateClusterConfig' 

Fields

Instances

Instances details
Eq UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Read UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Show UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Generic UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Associated Types

type Rep UpdateClusterConfig :: Type -> Type #

NFData UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Methods

rnf :: UpdateClusterConfig -> () #

Hashable UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

ToJSON UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

AWSRequest UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Associated Types

type AWSResponse UpdateClusterConfig #

ToHeaders UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

ToPath UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

ToQuery UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

type Rep UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

type Rep UpdateClusterConfig = D1 ('MetaData "UpdateClusterConfig" "Amazonka.EKS.UpdateClusterConfig" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "UpdateClusterConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Logging))) :*: (S1 ('MetaSel ('Just "resourcesVpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfigRequest)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateClusterConfig Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

newUpdateClusterConfig Source #

Create a value of UpdateClusterConfig 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:UpdateClusterConfig', updateClusterConfig_clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:logging:UpdateClusterConfig', updateClusterConfig_logging - Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS cluster control plane logs in the /Amazon EKS User Guide/ .

CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.

$sel:resourcesVpcConfig:UpdateClusterConfig', updateClusterConfig_resourcesVpcConfig - Undocumented member.

$sel:name:UpdateClusterConfig', updateClusterConfig_name - The name of the Amazon EKS cluster to update.

Request Lenses

updateClusterConfig_clientRequestToken :: Lens' UpdateClusterConfig (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

updateClusterConfig_logging :: Lens' UpdateClusterConfig (Maybe Logging) Source #

Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS cluster control plane logs in the /Amazon EKS User Guide/ .

CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.

updateClusterConfig_name :: Lens' UpdateClusterConfig Text Source #

The name of the Amazon EKS cluster to update.

Destructuring the Response

data UpdateClusterConfigResponse Source #

See: newUpdateClusterConfigResponse smart constructor.

Constructors

UpdateClusterConfigResponse' 

Fields

Instances

Instances details
Eq UpdateClusterConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Read UpdateClusterConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Show UpdateClusterConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Generic UpdateClusterConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

Associated Types

type Rep UpdateClusterConfigResponse :: Type -> Type #

NFData UpdateClusterConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

type Rep UpdateClusterConfigResponse Source # 
Instance details

Defined in Amazonka.EKS.UpdateClusterConfig

type Rep UpdateClusterConfigResponse = D1 ('MetaData "UpdateClusterConfigResponse" "Amazonka.EKS.UpdateClusterConfig" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "UpdateClusterConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "update") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Update)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateClusterConfigResponse Source #

Create a value of UpdateClusterConfigResponse 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:UpdateClusterConfigResponse', updateClusterConfigResponse_update - Undocumented member.

$sel:httpStatus:UpdateClusterConfigResponse', updateClusterConfigResponse_httpStatus - The response's http status code.

Response Lenses