amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.ListSecurityProfiles

Description

Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.

Requires permission to access the ListSecurityProfiles action.

dimensionName and metricName cannot be used in the same request.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSecurityProfiles Source #

See: newListSecurityProfiles smart constructor.

Constructors

ListSecurityProfiles' 

Fields

Instances

Instances details
ToHeaders ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

ToPath ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

ToQuery ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

AWSPager ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

AWSRequest ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Associated Types

type AWSResponse ListSecurityProfiles #

Generic ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Associated Types

type Rep ListSecurityProfiles :: Type -> Type #

Read ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Show ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

NFData ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Methods

rnf :: ListSecurityProfiles -> () #

Eq ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Hashable ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

type AWSResponse ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

type Rep ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

type Rep ListSecurityProfiles = D1 ('MetaData "ListSecurityProfiles" "Amazonka.IoT.ListSecurityProfiles" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListSecurityProfiles'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dimensionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListSecurityProfiles :: ListSecurityProfiles Source #

Create a value of ListSecurityProfiles 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:

ListSecurityProfiles, listSecurityProfiles_dimensionName - A filter to limit results to the security profiles that use the defined dimension. Cannot be used with metricName

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

ListSecurityProfiles, listSecurityProfiles_metricName - The name of the custom metric. Cannot be used with dimensionName.

ListSecurityProfiles, listSecurityProfiles_nextToken - The token for the next set of results.

Request Lenses

listSecurityProfiles_dimensionName :: Lens' ListSecurityProfiles (Maybe Text) Source #

A filter to limit results to the security profiles that use the defined dimension. Cannot be used with metricName

listSecurityProfiles_maxResults :: Lens' ListSecurityProfiles (Maybe Natural) Source #

The maximum number of results to return at one time.

listSecurityProfiles_metricName :: Lens' ListSecurityProfiles (Maybe Text) Source #

The name of the custom metric. Cannot be used with dimensionName.

listSecurityProfiles_nextToken :: Lens' ListSecurityProfiles (Maybe Text) Source #

The token for the next set of results.

Destructuring the Response

data ListSecurityProfilesResponse Source #

See: newListSecurityProfilesResponse smart constructor.

Constructors

ListSecurityProfilesResponse' 

Fields

Instances

Instances details
Generic ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Associated Types

type Rep ListSecurityProfilesResponse :: Type -> Type #

Read ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Show ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

NFData ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Eq ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

type Rep ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

type Rep ListSecurityProfilesResponse = D1 ('MetaData "ListSecurityProfilesResponse" "Amazonka.IoT.ListSecurityProfiles" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListSecurityProfilesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "securityProfileIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SecurityProfileIdentifier])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSecurityProfilesResponse Source #

Create a value of ListSecurityProfilesResponse 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:

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

$sel:securityProfileIdentifiers:ListSecurityProfilesResponse', listSecurityProfilesResponse_securityProfileIdentifiers - A list of security profile identifiers (names and ARNs).

$sel:httpStatus:ListSecurityProfilesResponse', listSecurityProfilesResponse_httpStatus - The response's http status code.

Response Lenses

listSecurityProfilesResponse_nextToken :: Lens' ListSecurityProfilesResponse (Maybe Text) Source #

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