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.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
Eq ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Read ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Show ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Generic ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Associated Types

type Rep ListSecurityProfiles :: Type -> Type #

NFData ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Methods

rnf :: ListSecurityProfiles -> () #

Hashable 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 #

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

type Rep ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

type Rep ListSecurityProfiles = D1 ('MetaData "ListSecurityProfiles" "Amazonka.IoT.ListSecurityProfiles" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListSecurityProfiles'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dimensionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListSecurityProfiles Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

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:

$sel:metricName:ListSecurityProfiles', listSecurityProfiles_metricName - The name of the custom metric. Cannot be used with dimensionName.

$sel:nextToken:ListSecurityProfiles', listSecurityProfiles_nextToken - The token for the next set of results.

$sel:dimensionName: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.

Request Lenses

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.

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.

Destructuring the Response

data ListSecurityProfilesResponse Source #

See: newListSecurityProfilesResponse smart constructor.

Constructors

ListSecurityProfilesResponse' 

Fields

Instances

Instances details
Eq ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Read ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Show ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Generic ListSecurityProfilesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfiles

Associated Types

type Rep ListSecurityProfilesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotZSamazonka-iot" '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:

$sel:nextToken: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.