SecurityHub / Paginator / DescribeActionTargets

DescribeActionTargets#

class SecurityHub.Paginator.DescribeActionTargets#
paginator = client.get_paginator('describe_action_targets')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from SecurityHub.Client.describe_action_targets().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ActionTargetArns=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ActionTargetArns (list) –

    A list of custom action target ARNs for the custom action targets to retrieve.

    • (string) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'ActionTargets': [
        {
            'ActionTargetArn': 'string',
            'Name': 'string',
            'Description': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • ActionTargets (list) –

      A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.

      • (dict) –

        An ActionTarget object.

        • ActionTargetArn (string) –

          The ARN for the target action.

        • Name (string) –

          The name of the action target.

        • Description (string) –

          The description of the target action.