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 |
Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the DescribeAccountAuditConfiguration action.
Synopsis
- data DescribeAccountAuditConfiguration = DescribeAccountAuditConfiguration' {
- newDescribeAccountAuditConfiguration :: DescribeAccountAuditConfiguration
- data DescribeAccountAuditConfigurationResponse = DescribeAccountAuditConfigurationResponse' {}
- newDescribeAccountAuditConfigurationResponse :: Int -> DescribeAccountAuditConfigurationResponse
- describeAccountAuditConfigurationResponse_auditCheckConfigurations :: Lens' DescribeAccountAuditConfigurationResponse (Maybe (HashMap Text AuditCheckConfiguration))
- describeAccountAuditConfigurationResponse_auditNotificationTargetConfigurations :: Lens' DescribeAccountAuditConfigurationResponse (Maybe (HashMap AuditNotificationType AuditNotificationTarget))
- describeAccountAuditConfigurationResponse_roleArn :: Lens' DescribeAccountAuditConfigurationResponse (Maybe Text)
- describeAccountAuditConfigurationResponse_httpStatus :: Lens' DescribeAccountAuditConfigurationResponse Int
Creating a Request
data DescribeAccountAuditConfiguration Source #
See: newDescribeAccountAuditConfiguration
smart constructor.
Instances
newDescribeAccountAuditConfiguration :: DescribeAccountAuditConfiguration Source #
Create a value of DescribeAccountAuditConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeAccountAuditConfigurationResponse Source #
See: newDescribeAccountAuditConfigurationResponse
smart constructor.
DescribeAccountAuditConfigurationResponse' | |
|
Instances
newDescribeAccountAuditConfigurationResponse Source #
Create a value of DescribeAccountAuditConfigurationResponse
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:auditCheckConfigurations:DescribeAccountAuditConfigurationResponse'
, describeAccountAuditConfigurationResponse_auditCheckConfigurations
- Which audit checks are enabled and disabled for this account.
$sel:auditNotificationTargetConfigurations:DescribeAccountAuditConfigurationResponse'
, describeAccountAuditConfigurationResponse_auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent for
this account.
$sel:roleArn:DescribeAccountAuditConfigurationResponse'
, describeAccountAuditConfigurationResponse_roleArn
- The ARN of the role that grants permission to IoT to access information
about your devices, policies, certificates, and other items as required
when performing an audit.
On the first call to UpdateAccountAuditConfiguration
, this parameter
is required.
$sel:httpStatus:DescribeAccountAuditConfigurationResponse'
, describeAccountAuditConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
describeAccountAuditConfigurationResponse_auditCheckConfigurations :: Lens' DescribeAccountAuditConfigurationResponse (Maybe (HashMap Text AuditCheckConfiguration)) Source #
Which audit checks are enabled and disabled for this account.
describeAccountAuditConfigurationResponse_auditNotificationTargetConfigurations :: Lens' DescribeAccountAuditConfigurationResponse (Maybe (HashMap AuditNotificationType AuditNotificationTarget)) Source #
Information about the targets to which audit notifications are sent for this account.
describeAccountAuditConfigurationResponse_roleArn :: Lens' DescribeAccountAuditConfigurationResponse (Maybe Text) Source #
The ARN of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
On the first call to UpdateAccountAuditConfiguration
, this parameter
is required.
describeAccountAuditConfigurationResponse_httpStatus :: Lens' DescribeAccountAuditConfigurationResponse Int Source #
The response's http status code.