Module Values_0.UpdateEncryptionConfigurationRequestSource

Updates the encryption configuration. By default, Amazon Web Services IoT Core encrypts your data at rest using Amazon Web Services owned keys. Amazon Web Services IoT Core also supports symmetric customer managed keys from Key Management Service (KMS). With customer managed keys, you create, own, and manage the KMS keys in your Amazon Web Services account. Before using this API, you must set up permissions for Amazon Web Services IoT Core to access KMS. For more information, see Data encryption at rest in the Amazon Web Services IoT Core Developer Guide.

Sourcetype nonrec t = {
  1. encryptionType : EncryptionType.t;
    (*

    The type of the KMS key.

    *)
  2. kmsKeyArn : KmsKeyArn.t option;
    (*

    The ARN of the customer managedKMS key.

    *)
  3. kmsAccessRoleArn : KmsAccessRoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web Services IoT Core to call KMS on behalf of the customer.

    *)
}
Sourceval context_ : string
Sourceval make : ?kmsKeyArn:??? -> ?kmsAccessRoleArn:??? -> encryptionType:EncryptionType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of KmsKeyArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t