libZSservicesZSamazonka-kafkaZSamazonka-kafka
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.Kafka.UpdateSecurity

Description

Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.

Synopsis

Creating a Request

data UpdateSecurity Source #

See: newUpdateSecurity smart constructor.

Constructors

UpdateSecurity' 

Fields

Instances

Instances details
Eq UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Read UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Show UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Generic UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Associated Types

type Rep UpdateSecurity :: Type -> Type #

NFData UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Methods

rnf :: UpdateSecurity -> () #

Hashable UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

ToJSON UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

AWSRequest UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Associated Types

type AWSResponse UpdateSecurity #

ToHeaders UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

ToPath UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

ToQuery UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

type Rep UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

type Rep UpdateSecurity = D1 ('MetaData "UpdateSecurity" "Amazonka.Kafka.UpdateSecurity" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "UpdateSecurity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientAuthentication)) :*: S1 ('MetaSel ('Just "encryptionInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionInfo))) :*: (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "currentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateSecurity Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

newUpdateSecurity Source #

Create a value of UpdateSecurity 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:clientAuthentication:UpdateSecurity', updateSecurity_clientAuthentication - Includes all client authentication related information.

$sel:encryptionInfo:UpdateSecurity', updateSecurity_encryptionInfo - Includes all encryption-related information.

$sel:clusterArn:UpdateSecurity', updateSecurity_clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.

$sel:currentVersion:UpdateSecurity', updateSecurity_currentVersion - The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

Request Lenses

updateSecurity_clientAuthentication :: Lens' UpdateSecurity (Maybe ClientAuthentication) Source #

Includes all client authentication related information.

updateSecurity_encryptionInfo :: Lens' UpdateSecurity (Maybe EncryptionInfo) Source #

Includes all encryption-related information.

updateSecurity_clusterArn :: Lens' UpdateSecurity Text Source #

The Amazon Resource Name (ARN) that uniquely identifies the cluster.

updateSecurity_currentVersion :: Lens' UpdateSecurity Text Source #

The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

Destructuring the Response

data UpdateSecurityResponse Source #

See: newUpdateSecurityResponse smart constructor.

Constructors

UpdateSecurityResponse' 

Fields

Instances

Instances details
Eq UpdateSecurityResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Read UpdateSecurityResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Show UpdateSecurityResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Generic UpdateSecurityResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Associated Types

type Rep UpdateSecurityResponse :: Type -> Type #

NFData UpdateSecurityResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

Methods

rnf :: UpdateSecurityResponse -> () #

type Rep UpdateSecurityResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateSecurity

type Rep UpdateSecurityResponse = D1 ('MetaData "UpdateSecurityResponse" "Amazonka.Kafka.UpdateSecurity" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "UpdateSecurityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clusterOperationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateSecurityResponse Source #

Create a value of UpdateSecurityResponse 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:clusterArn:UpdateSecurity', updateSecurityResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.

$sel:clusterOperationArn:UpdateSecurityResponse', updateSecurityResponse_clusterOperationArn - The Amazon Resource Name (ARN) of the cluster operation.

$sel:httpStatus:UpdateSecurityResponse', updateSecurityResponse_httpStatus - The response's http status code.

Response Lenses

updateSecurityResponse_clusterArn :: Lens' UpdateSecurityResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.

updateSecurityResponse_clusterOperationArn :: Lens' UpdateSecurityResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster operation.