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

Description

Lists the Device Defender security profiles attached to a target (thing group).

Requires permission to access the ListSecurityProfilesForTarget action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSecurityProfilesForTarget Source #

See: newListSecurityProfilesForTarget smart constructor.

Constructors

ListSecurityProfilesForTarget' 

Fields

Instances

Instances details
Eq ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

Read ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

Show ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

Generic ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

Associated Types

type Rep ListSecurityProfilesForTarget :: Type -> Type #

NFData ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

Hashable ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

AWSPager ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

AWSRequest ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

ToHeaders ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

ToPath ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

ToQuery ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

type Rep ListSecurityProfilesForTarget Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

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

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

newListSecurityProfilesForTarget Source #

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

$sel:recursive:ListSecurityProfilesForTarget', listSecurityProfilesForTarget_recursive - If true, return child groups too.

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

$sel:securityProfileTargetArn:ListSecurityProfilesForTarget', listSecurityProfilesForTarget_securityProfileTargetArn - The ARN of the target (thing group) whose attached security profiles you want to get.

Request Lenses

listSecurityProfilesForTarget_maxResults :: Lens' ListSecurityProfilesForTarget (Maybe Natural) Source #

The maximum number of results to return at one time.

listSecurityProfilesForTarget_securityProfileTargetArn :: Lens' ListSecurityProfilesForTarget Text Source #

The ARN of the target (thing group) whose attached security profiles you want to get.

Destructuring the Response

data ListSecurityProfilesForTargetResponse Source #

Constructors

ListSecurityProfilesForTargetResponse' 

Fields

Instances

Instances details
Eq ListSecurityProfilesForTargetResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

Read ListSecurityProfilesForTargetResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

Show ListSecurityProfilesForTargetResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

Generic ListSecurityProfilesForTargetResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

NFData ListSecurityProfilesForTargetResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

type Rep ListSecurityProfilesForTargetResponse Source # 
Instance details

Defined in Amazonka.IoT.ListSecurityProfilesForTarget

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

newListSecurityProfilesForTargetResponse Source #

Create a value of ListSecurityProfilesForTargetResponse 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:ListSecurityProfilesForTarget', listSecurityProfilesForTargetResponse_nextToken - A token that can be used to retrieve the next set of results, or null if there are no additional results.

$sel:securityProfileTargetMappings:ListSecurityProfilesForTargetResponse', listSecurityProfilesForTargetResponse_securityProfileTargetMappings - A list of security profiles and their associated targets.

$sel:httpStatus:ListSecurityProfilesForTargetResponse', listSecurityProfilesForTargetResponse_httpStatus - The response's http status code.

Response Lenses

listSecurityProfilesForTargetResponse_nextToken :: Lens' ListSecurityProfilesForTargetResponse (Maybe Text) Source #

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