« blib/lib/Paws/Inspector/ListAssessmentTemplatesResponse.pm
↑ Summary
blib/lib/Paws/Inspector/ListEventSubscriptionsResponse.pm »
| 1 | |||
| 2 | package Paws::Inspector::ListEventSubscriptions; | ||
| 3 | use Moose; | ||
| 4 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' ); | ||
| 5 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' ); | ||
| 6 | has ResourceArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resourceArn' ); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListEventSubscriptions'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Inspector::ListEventSubscriptionsResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Inspector::ListEventSubscriptions - Arguments for method ListEventSubscriptions on L<Paws::Inspector> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method ListEventSubscriptions on the | ||
| 24 | L<Amazon Inspector|Paws::Inspector> service. Use the attributes of this class | ||
| 25 | as arguments to method ListEventSubscriptions. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEventSubscriptions. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $inspector = Paws->service('Inspector'); | ||
| 32 | # List event subscriptions | ||
| 33 | # Lists all the event subscriptions for the assessment template that is | ||
| 34 | # specified by the ARN of the assessment template. | ||
| 35 | my $ListEventSubscriptionsResponse = $inspector->ListEventSubscriptions( | ||
| 36 | 'MaxResults' => 123, | ||
| 37 | 'ResourceArn' => | ||
| 38 | 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0' | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $nextToken = $ListEventSubscriptionsResponse->nextToken; | ||
| 43 | my $subscriptions = $ListEventSubscriptionsResponse->subscriptions; | ||
| 44 | |||
| 45 | # Returns a L<Paws::Inspector::ListEventSubscriptionsResponse> object. | ||
| 46 | |||
| 47 | 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. | ||
| 48 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/inspector/ListEventSubscriptions> | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 MaxResults => Int | ||
| 54 | |||
| 55 | You can use this parameter to indicate the maximum number of items you | ||
| 56 | want in the response. The default value is 10. The maximum value is | ||
| 57 | 500. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 NextToken => Str | ||
| 62 | |||
| 63 | You can use this parameter when paginating results. Set the value of | ||
| 64 | this parameter to null on your first call to the | ||
| 65 | B<ListEventSubscriptions> action. Subsequent calls to the action fill | ||
| 66 | B<nextToken> in the request with the value of B<NextToken> from the | ||
| 67 | previous response to continue listing data. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 ResourceArn => Str | ||
| 72 | |||
| 73 | The ARN of the assessment template for which you want to list the | ||
| 74 | existing event subscriptions. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, documenting arguments for method ListEventSubscriptions in L<Paws::Inspector> | ||
| 82 | |||
| 83 | =head1 BUGS and CONTRIBUTIONS | ||
| 84 | |||
| 85 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 86 | |||
| 87 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 88 | |||
| 89 | =cut | ||
| 90 |