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

Description

Lists the active violations for a given Device Defender security profile.

Requires permission to access the ListActiveViolations action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListActiveViolations Source #

See: newListActiveViolations smart constructor.

Constructors

ListActiveViolations' 

Fields

Instances

Instances details
Eq ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Read ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Show ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Generic ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Associated Types

type Rep ListActiveViolations :: Type -> Type #

NFData ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Methods

rnf :: ListActiveViolations -> () #

Hashable ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

AWSPager ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

AWSRequest ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Associated Types

type AWSResponse ListActiveViolations #

ToHeaders ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

ToPath ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

ToQuery ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

type Rep ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

type Rep ListActiveViolations = D1 ('MetaData "ListActiveViolations" "Amazonka.IoT.ListActiveViolations" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListActiveViolations'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "listSuppressedAlerts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "behaviorCriteriaType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BehaviorCriteriaType)))) :*: ((S1 ('MetaSel ('Just "securityProfileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "verificationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VerificationState)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse ListActiveViolations Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

newListActiveViolations :: ListActiveViolations Source #

Create a value of ListActiveViolations 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:nextToken:ListActiveViolations', listActiveViolations_nextToken - The token for the next set of results.

$sel:listSuppressedAlerts:ListActiveViolations', listActiveViolations_listSuppressedAlerts - A list of all suppressed alerts.

$sel:behaviorCriteriaType:ListActiveViolations', listActiveViolations_behaviorCriteriaType - The criteria for a behavior.

$sel:securityProfileName:ListActiveViolations', listActiveViolations_securityProfileName - The name of the Device Defender security profile for which violations are listed.

$sel:thingName:ListActiveViolations', listActiveViolations_thingName - The name of the thing whose active violations are listed.

$sel:verificationState:ListActiveViolations', listActiveViolations_verificationState - The verification state of the violation (detect alarm).

$sel:maxResults:ListActiveViolations', listActiveViolations_maxResults - The maximum number of results to return at one time.

Request Lenses

listActiveViolations_nextToken :: Lens' ListActiveViolations (Maybe Text) Source #

The token for the next set of results.

listActiveViolations_securityProfileName :: Lens' ListActiveViolations (Maybe Text) Source #

The name of the Device Defender security profile for which violations are listed.

listActiveViolations_thingName :: Lens' ListActiveViolations (Maybe Text) Source #

The name of the thing whose active violations are listed.

listActiveViolations_verificationState :: Lens' ListActiveViolations (Maybe VerificationState) Source #

The verification state of the violation (detect alarm).

listActiveViolations_maxResults :: Lens' ListActiveViolations (Maybe Natural) Source #

The maximum number of results to return at one time.

Destructuring the Response

data ListActiveViolationsResponse Source #

See: newListActiveViolationsResponse smart constructor.

Constructors

ListActiveViolationsResponse' 

Fields

Instances

Instances details
Eq ListActiveViolationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Read ListActiveViolationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Show ListActiveViolationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Generic ListActiveViolationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

Associated Types

type Rep ListActiveViolationsResponse :: Type -> Type #

NFData ListActiveViolationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

type Rep ListActiveViolationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListActiveViolations

type Rep ListActiveViolationsResponse = D1 ('MetaData "ListActiveViolationsResponse" "Amazonka.IoT.ListActiveViolations" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListActiveViolationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "activeViolations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ActiveViolation])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListActiveViolationsResponse Source #

Create a value of ListActiveViolationsResponse 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:activeViolations:ListActiveViolationsResponse', listActiveViolationsResponse_activeViolations - The list of active violations.

$sel:nextToken:ListActiveViolations', listActiveViolationsResponse_nextToken - A token that can be used to retrieve the next set of results, or null if there are no additional results.

$sel:httpStatus:ListActiveViolationsResponse', listActiveViolationsResponse_httpStatus - The response's http status code.

Response Lenses

listActiveViolationsResponse_nextToken :: Lens' ListActiveViolationsResponse (Maybe Text) Source #

A token that can be used to retrieve the next set of results, or null if there are no additional results.