AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is the response object from the DescribeEncryptionConfiguration operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.IoT.Model.DescribeEncryptionConfigurationResponse

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeEncryptionConfigurationResponse : AmazonWebServiceResponse

The DescribeEncryptionConfigurationResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ConfigurationDetails Amazon.IoT.Model.ConfigurationDetails

Gets and sets the property ConfigurationDetails.

The encryption configuration details that include the status information of the KMS key and the KMS access role.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property EncryptionType Amazon.IoT.EncryptionType

Gets and sets the property EncryptionType.

The type of the Amazon Web Services Key Management Service (KMS) key.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property KmsAccessRoleArn System.String

Gets and sets the property KmsAccessRoleArn.

The ARN of the customer-managed KMS key.

Public Property KmsKeyArn System.String

Gets and sets the property KmsKeyArn.

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

Public Property LastModifiedDate System.Nullable<System.DateTime>

Gets and sets the property LastModifiedDate.

The date when encryption configuration is last updated.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

DescribeEncryptionConfiguration API operation example

DescribeEncryptionConfiguration


var client = new AmazonIoTClient();
var response = client.DescribeEncryptionConfiguration(new DescribeEncryptionConfigurationRequest 
{
});

ConfigurationDetails configurationDetails = response.ConfigurationDetails;
string encryptionType = response.EncryptionType;
string kmsAccessRoleArn = response.KmsAccessRoleArn;
string kmsKeyArn = response.KmsKeyArn;
DateTime lastModifiedDate = response.LastModifiedDate;

            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer