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.

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.

Note:

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

Syntax

C#
public virtual DescribeEncryptionConfigurationResponse DescribeEncryptionConfiguration(
         DescribeEncryptionConfigurationRequest request
)

Parameters

request
Type: Amazon.IoT.Model.DescribeEncryptionConfigurationRequest

Container for the necessary parameters to execute the DescribeEncryptionConfiguration service method.

Return Value


The response from the DescribeEncryptionConfiguration service method, as returned by IoT.

Exceptions

ExceptionCondition
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.

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 Framework:
Supported in: 4.7.2 and newer

See Also