describe_default_encryption_configuration
()¶Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified Region. For more information, see Key management in the IoT SiteWise User Guide .
See also: AWS API Documentation
Request Syntax
response = client.describe_default_encryption_configuration()
{
'encryptionType': 'SITEWISE_DEFAULT_ENCRYPTION'|'KMS_BASED_ENCRYPTION',
'kmsKeyArn': 'string',
'configurationStatus': {
'state': 'ACTIVE'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED',
'error': {
'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE',
'message': 'string'
}
}
}
Response Structure
The type of encryption used for the encryption configuration.
The key ARN of the customer managed key used for KMS encryption if you use KMS_BASED_ENCRYPTION
.
The status of the account configuration. This contains the ConfigurationState
. If there's an error, it also contains the ErrorDetails
.
The current state of the configuration.
Contains associated error information, if any.
The error code.
The error message.
Exceptions
IoTSiteWise.Client.exceptions.InvalidRequestException
IoTSiteWise.Client.exceptions.InternalFailureException
IoTSiteWise.Client.exceptions.ThrottlingException