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.
Retrieves the encryption configuration for resources and data of your Amazon Web Services account in Amazon Web Services IoT Core. For more information, see Key management in IoT from the Amazon Web Services IoT Core Developer Guide.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeEncryptionConfigurationAsync.
Namespace: Amazon.IoT
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z
public virtual DescribeEncryptionConfigurationResponse DescribeEncryptionConfiguration( DescribeEncryptionConfigurationRequest request )
Container for the necessary parameters to execute the DescribeEncryptionConfiguration service method.
Exception | Condition |
---|---|
InternalFailureException | An unexpected error has occurred. |
InvalidRequestException | The request is not valid. |
ServiceUnavailableException | The service is temporarily unavailable. |
ThrottlingException | The rate exceeds the limit. |
UnauthorizedException | You are not authorized to perform this operation. |
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 Framework:
Supported in: 4.7.2 and newer