libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.PutDefaultEncryptionConfiguration

Description

Sets the default encryption configuration for the Amazon Web Services account. For more information, see Key management in the IoT SiteWise User Guide.

Synopsis

Creating a Request

data PutDefaultEncryptionConfiguration Source #

See: newPutDefaultEncryptionConfiguration smart constructor.

Constructors

PutDefaultEncryptionConfiguration' 

Fields

  • kmsKeyId :: Maybe Text

    The Key ID of the customer managed customer master key (CMK) used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.

  • encryptionType :: EncryptionType

    The type of encryption used for the encryption configuration.

Instances

Instances details
Eq PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

Read PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

Show PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

Generic PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

Associated Types

type Rep PutDefaultEncryptionConfiguration :: Type -> Type #

NFData PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

Hashable PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

ToJSON PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

AWSRequest PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

ToHeaders PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

ToPath PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

ToQuery PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

type Rep PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

type Rep PutDefaultEncryptionConfiguration = D1 ('MetaData "PutDefaultEncryptionConfiguration" "Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "PutDefaultEncryptionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionType)))
type AWSResponse PutDefaultEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

newPutDefaultEncryptionConfiguration Source #

Create a value of PutDefaultEncryptionConfiguration 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:kmsKeyId:PutDefaultEncryptionConfiguration', putDefaultEncryptionConfiguration_kmsKeyId - The Key ID of the customer managed customer master key (CMK) used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.

$sel:encryptionType:PutDefaultEncryptionConfiguration', putDefaultEncryptionConfiguration_encryptionType - The type of encryption used for the encryption configuration.

Request Lenses

putDefaultEncryptionConfiguration_kmsKeyId :: Lens' PutDefaultEncryptionConfiguration (Maybe Text) Source #

The Key ID of the customer managed customer master key (CMK) used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.

Destructuring the Response

data PutDefaultEncryptionConfigurationResponse Source #

Constructors

PutDefaultEncryptionConfigurationResponse' 

Fields

Instances

Instances details
Eq PutDefaultEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

Read PutDefaultEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

Show PutDefaultEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

Generic PutDefaultEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

NFData PutDefaultEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

type Rep PutDefaultEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration

type Rep PutDefaultEncryptionConfigurationResponse = D1 ('MetaData "PutDefaultEncryptionConfigurationResponse" "Amazonka.IoTSiteWise.PutDefaultEncryptionConfiguration" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "PutDefaultEncryptionConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionType) :*: S1 ('MetaSel ('Just "configurationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConfigurationStatus))))

newPutDefaultEncryptionConfigurationResponse Source #

Create a value of PutDefaultEncryptionConfigurationResponse 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:kmsKeyArn:PutDefaultEncryptionConfigurationResponse', putDefaultEncryptionConfigurationResponse_kmsKeyArn - The Key ARN of the KMS CMK used for KMS encryption if you use KMS_BASED_ENCRYPTION.

$sel:httpStatus:PutDefaultEncryptionConfigurationResponse', putDefaultEncryptionConfigurationResponse_httpStatus - The response's http status code.

$sel:encryptionType:PutDefaultEncryptionConfiguration', putDefaultEncryptionConfigurationResponse_encryptionType - The type of encryption used for the encryption configuration.

$sel:configurationStatus:PutDefaultEncryptionConfigurationResponse', putDefaultEncryptionConfigurationResponse_configurationStatus - The status of the account configuration. This contains the ConfigurationState. If there is an error, it also contains the ErrorDetails.

Response Lenses

putDefaultEncryptionConfigurationResponse_kmsKeyArn :: Lens' PutDefaultEncryptionConfigurationResponse (Maybe Text) Source #

The Key ARN of the KMS CMK used for KMS encryption if you use KMS_BASED_ENCRYPTION.

putDefaultEncryptionConfigurationResponse_configurationStatus :: Lens' PutDefaultEncryptionConfigurationResponse ConfigurationStatus Source #

The status of the account configuration. This contains the ConfigurationState. If there is an error, it also contains the ErrorDetails.