The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Inspector::ListEventSubscriptions - Arguments for method ListEventSubscriptions on Paws::Inspector

DESCRIPTION

This class represents the parameters used for calling the method ListEventSubscriptions on the Amazon Inspector service. Use the attributes of this class as arguments to method ListEventSubscriptions.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEventSubscriptions.

SYNOPSIS

    my $inspector = Paws->service('Inspector');
    # List event subscriptions
    # Lists all the event subscriptions for the assessment template that is
    # specified by the ARN of the assessment template.
    my $ListEventSubscriptionsResponse = $inspector->ListEventSubscriptions(
      'MaxResults'  => 123,
      'ResourceArn' =>
'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0'
    );

    # Results:
    my $nextToken     = $ListEventSubscriptionsResponse->nextToken;
    my $subscriptions = $ListEventSubscriptionsResponse->subscriptions;

    # Returns a L<Paws::Inspector::ListEventSubscriptionsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/inspector/ListEventSubscriptions

ATTRIBUTES

MaxResults => Int

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

NextToken => Str

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

ResourceArn => Str

The ARN of the assessment template for which you want to list the existing event subscriptions.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListEventSubscriptions in Paws::Inspector

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues