GuardDuty / Client / list_malware_protection_plans

list_malware_protection_plans#

GuardDuty.Client.list_malware_protection_plans(**kwargs)#

Lists the Malware Protection plan IDs associated with the protected resources in your Amazon Web Services account.

See also: AWS API Documentation

Request Syntax

response = client.list_malware_protection_plans(
    NextToken='string'
)
Parameters:

NextToken (string) – You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

Return type:

dict

Returns:

Response Syntax

{
    'MalwareProtectionPlans': [
        {
            'MalwareProtectionPlanId': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • MalwareProtectionPlans (list) –

      A list of unique identifiers associated with each Malware Protection plan.

      • (dict) –

        Information about the Malware Protection plan resource.

        • MalwareProtectionPlanId (string) –

          A unique identifier associated with Malware Protection plan.

    • NextToken (string) –

      You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

Exceptions

  • GuardDuty.Client.exceptions.BadRequestException

  • GuardDuty.Client.exceptions.AccessDeniedException

  • GuardDuty.Client.exceptions.InternalServerErrorException