libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.DescribeAccountAuditConfiguration

Description

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

Creating a Request

data DescribeAccountAuditConfiguration Source #

See: newDescribeAccountAuditConfiguration smart constructor.

Instances

Instances details
Eq DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

Read DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

Show DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

Generic DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

Associated Types

type Rep DescribeAccountAuditConfiguration :: Type -> Type #

NFData DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

Hashable DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

AWSRequest DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

ToHeaders DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

ToPath DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

ToQuery DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

type Rep DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

type Rep DescribeAccountAuditConfiguration = D1 ('MetaData "DescribeAccountAuditConfiguration" "Amazonka.IoT.DescribeAccountAuditConfiguration" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeAccountAuditConfiguration'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DescribeAccountAuditConfiguration Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

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 #

Constructors

DescribeAccountAuditConfigurationResponse' 

Fields

Instances

Instances details
Eq DescribeAccountAuditConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

Read DescribeAccountAuditConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

Show DescribeAccountAuditConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

Generic DescribeAccountAuditConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

NFData DescribeAccountAuditConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

type Rep DescribeAccountAuditConfigurationResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAccountAuditConfiguration

type Rep DescribeAccountAuditConfigurationResponse = D1 ('MetaData "DescribeAccountAuditConfigurationResponse" "Amazonka.IoT.DescribeAccountAuditConfiguration" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeAccountAuditConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "auditCheckConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text AuditCheckConfiguration))) :*: S1 ('MetaSel ('Just "auditNotificationTargetConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap AuditNotificationType AuditNotificationTarget)))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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