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

Description

The related resources of an Audit finding. The following resources can be returned from calling this API:

  • DEVICE_CERTIFICATE
  • CA_CERTIFICATE
  • IOT_POLICY
  • COGNITO_IDENTITY_POOL
  • CLIENT_ID
  • ACCOUNT_SETTINGS
  • ROLE_ALIAS
  • IAM_ROLE
  • ISSUER_CERTIFICATE

This API is similar to DescribeAuditFinding's RelatedResources but provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You must use this API, ListRelatedResourcesForAuditFinding, to list the certificates.

Synopsis

Creating a Request

data ListRelatedResourcesForAuditFinding Source #

Constructors

ListRelatedResourcesForAuditFinding' 

Fields

Instances

Instances details
ToHeaders ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

ToPath ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

ToQuery ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

AWSRequest ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

Generic ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

Read ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

Show ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

NFData ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

Eq ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

Hashable ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

type AWSResponse ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

type Rep ListRelatedResourcesForAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

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

newListRelatedResourcesForAuditFinding Source #

Create a value of ListRelatedResourcesForAuditFinding 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:maxResults:ListRelatedResourcesForAuditFinding', listRelatedResourcesForAuditFinding_maxResults - The maximum number of results to return at one time.

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

ListRelatedResourcesForAuditFinding, listRelatedResourcesForAuditFinding_findingId - The finding Id.

Request Lenses

listRelatedResourcesForAuditFinding_nextToken :: Lens' ListRelatedResourcesForAuditFinding (Maybe Text) Source #

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

Destructuring the Response

data ListRelatedResourcesForAuditFindingResponse Source #

Constructors

ListRelatedResourcesForAuditFindingResponse' 

Fields

Instances

Instances details
Generic ListRelatedResourcesForAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

Read ListRelatedResourcesForAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

Show ListRelatedResourcesForAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

NFData ListRelatedResourcesForAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

Eq ListRelatedResourcesForAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

type Rep ListRelatedResourcesForAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRelatedResourcesForAuditFinding

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

newListRelatedResourcesForAuditFindingResponse Source #

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

ListRelatedResourcesForAuditFinding, listRelatedResourcesForAuditFindingResponse_nextToken - A token that can be used to retrieve the next set of results, or null for the first API call.

ListRelatedResourcesForAuditFindingResponse, listRelatedResourcesForAuditFindingResponse_relatedResources - The related resources.

$sel:httpStatus:ListRelatedResourcesForAuditFindingResponse', listRelatedResourcesForAuditFindingResponse_httpStatus - The response's http status code.

Response Lenses

listRelatedResourcesForAuditFindingResponse_nextToken :: Lens' ListRelatedResourcesForAuditFindingResponse (Maybe Text) Source #

A token that can be used to retrieve the next set of results, or null for the first API call.