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.
Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z
public class DescribeEncryptionConfigurationResponse : AmazonWebServiceResponse
The DescribeEncryptionConfigurationResponse type exposes the following members
| Name | Description | |
|---|---|---|
|
DescribeEncryptionConfigurationResponse() |
| Name | Type | Description | |
|---|---|---|---|
|
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. |
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
EncryptionType | Amazon.IoT.EncryptionType |
Gets and sets the property EncryptionType. The type of the Amazon Web Services Key Management Service (KMS) key. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
KmsAccessRoleArn | System.String |
Gets and sets the property KmsAccessRoleArn. The ARN of the customer-managed KMS key. |
|
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. |
|
LastModifiedDate | System.DateTime |
Gets and sets the property LastModifiedDate. The date when encryption configuration is last updated. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
DescribeEncryptionConfiguration API operation example
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;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5