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

Description

Lists the targets (thing groups) associated with a given Device Defender security profile.

Requires permission to access the ListTargetsForSecurityProfile action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTargetsForSecurityProfile Source #

See: newListTargetsForSecurityProfile smart constructor.

Constructors

ListTargetsForSecurityProfile' 

Fields

Instances

Instances details
Eq ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

Read ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

Show ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

Generic ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

Associated Types

type Rep ListTargetsForSecurityProfile :: Type -> Type #

NFData ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

Hashable ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

AWSPager ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

AWSRequest ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

ToHeaders ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

ToPath ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

ToQuery ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

type Rep ListTargetsForSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

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

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

newListTargetsForSecurityProfile Source #

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

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

$sel:securityProfileName:ListTargetsForSecurityProfile', listTargetsForSecurityProfile_securityProfileName - The security profile.

Request Lenses

listTargetsForSecurityProfile_maxResults :: Lens' ListTargetsForSecurityProfile (Maybe Natural) Source #

The maximum number of results to return at one time.

Destructuring the Response

data ListTargetsForSecurityProfileResponse Source #

Constructors

ListTargetsForSecurityProfileResponse' 

Fields

Instances

Instances details
Eq ListTargetsForSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

Read ListTargetsForSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

Show ListTargetsForSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

Generic ListTargetsForSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

NFData ListTargetsForSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

type Rep ListTargetsForSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTargetsForSecurityProfile

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

newListTargetsForSecurityProfileResponse Source #

Create a value of ListTargetsForSecurityProfileResponse 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:securityProfileTargets:ListTargetsForSecurityProfileResponse', listTargetsForSecurityProfileResponse_securityProfileTargets - The thing groups to which the security profile is attached.

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

$sel:httpStatus:ListTargetsForSecurityProfileResponse', listTargetsForSecurityProfileResponse_httpStatus - The response's http status code.

Response Lenses

listTargetsForSecurityProfileResponse_nextToken :: Lens' ListTargetsForSecurityProfileResponse (Maybe Text) Source #

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