Skip to content

/AWS1/CL_FMS=>LISTCOMPLIANCESTATUS()

About ListComplianceStatus

Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a summary of which member accounts are protected by the specified policy.

Method Signature

IMPORTING

Required arguments:

IV_POLICYID TYPE /AWS1/FMSPOLICYID /AWS1/FMSPOLICYID

The ID of the Firewall Manager policy that you want the details for.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/FMSPAGINATIONTOKEN /AWS1/FMSPAGINATIONTOKEN

If you specify a value for MaxResults and you have more PolicyComplianceStatus objects than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response that allows you to list another group of PolicyComplianceStatus objects. For the second and subsequent ListComplianceStatus requests, specify the value of NextToken from the previous response to get information about another batch of PolicyComplianceStatus objects.

IV_MAXRESULTS TYPE /AWS1/FMSPAGINATIONMAXRESULTS /AWS1/FMSPAGINATIONMAXRESULTS

Specifies the number of PolicyComplianceStatus objects that you want Firewall Manager to return for this request. If you have more PolicyComplianceStatus objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of PolicyComplianceStatus objects.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FMSLISTCPLNCSTATUSRSP /AWS1/CL_FMSLISTCPLNCSTATUSRSP