Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data DescribeDefaultEncryptionConfiguration = DescribeDefaultEncryptionConfiguration' {
- newDescribeDefaultEncryptionConfiguration :: DescribeDefaultEncryptionConfiguration
- data DescribeDefaultEncryptionConfigurationResponse = DescribeDefaultEncryptionConfigurationResponse' {}
- newDescribeDefaultEncryptionConfigurationResponse :: Int -> EncryptionType -> ConfigurationStatus -> DescribeDefaultEncryptionConfigurationResponse
- describeDefaultEncryptionConfigurationResponse_kmsKeyArn :: Lens' DescribeDefaultEncryptionConfigurationResponse (Maybe Text)
- describeDefaultEncryptionConfigurationResponse_httpStatus :: Lens' DescribeDefaultEncryptionConfigurationResponse Int
- describeDefaultEncryptionConfigurationResponse_encryptionType :: Lens' DescribeDefaultEncryptionConfigurationResponse EncryptionType
- describeDefaultEncryptionConfigurationResponse_configurationStatus :: Lens' DescribeDefaultEncryptionConfigurationResponse ConfigurationStatus
Creating a Request
data DescribeDefaultEncryptionConfiguration Source #
See: newDescribeDefaultEncryptionConfiguration
smart constructor.
Instances
newDescribeDefaultEncryptionConfiguration :: DescribeDefaultEncryptionConfiguration Source #
Create a value of DescribeDefaultEncryptionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeDefaultEncryptionConfigurationResponse Source #
See: newDescribeDefaultEncryptionConfigurationResponse
smart constructor.
DescribeDefaultEncryptionConfigurationResponse' | |
|
Instances
newDescribeDefaultEncryptionConfigurationResponse Source #
Create a value of DescribeDefaultEncryptionConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kmsKeyArn:DescribeDefaultEncryptionConfigurationResponse'
, describeDefaultEncryptionConfigurationResponse_kmsKeyArn
- The key ARN of the customer managed customer master key (CMK) used for
KMS encryption if you use KMS_BASED_ENCRYPTION
.
$sel:httpStatus:DescribeDefaultEncryptionConfigurationResponse'
, describeDefaultEncryptionConfigurationResponse_httpStatus
- The response's http status code.
$sel:encryptionType:DescribeDefaultEncryptionConfigurationResponse'
, describeDefaultEncryptionConfigurationResponse_encryptionType
- The type of encryption used for the encryption configuration.
$sel:configurationStatus:DescribeDefaultEncryptionConfigurationResponse'
, describeDefaultEncryptionConfigurationResponse_configurationStatus
- The status of the account configuration. This contains the
ConfigurationState
. If there's an error, it also contains the
ErrorDetails
.
Response Lenses
describeDefaultEncryptionConfigurationResponse_kmsKeyArn :: Lens' DescribeDefaultEncryptionConfigurationResponse (Maybe Text) Source #
The key ARN of the customer managed customer master key (CMK) used for
KMS encryption if you use KMS_BASED_ENCRYPTION
.
describeDefaultEncryptionConfigurationResponse_httpStatus :: Lens' DescribeDefaultEncryptionConfigurationResponse Int Source #
The response's http status code.
describeDefaultEncryptionConfigurationResponse_encryptionType :: Lens' DescribeDefaultEncryptionConfigurationResponse EncryptionType Source #
The type of encryption used for the encryption configuration.
describeDefaultEncryptionConfigurationResponse_configurationStatus :: Lens' DescribeDefaultEncryptionConfigurationResponse ConfigurationStatus Source #
The status of the account configuration. This contains the
ConfigurationState
. If there's an error, it also contains the
ErrorDetails
.