« blib/lib/Paws/AccessAnalyzer/ListAccessPreviewsResponse.pm
↑ Summary
blib/lib/Paws/AccessAnalyzer/ListAnalyzedResourcesResponse.pm »
| 1 | |||
| 2 | package Paws::AccessAnalyzer::ListAnalyzedResources; | ||
| 3 | use Moose; | ||
| 4 | has AnalyzerArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'analyzerArn', required => 1); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults'); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken'); | ||
| 7 | has ResourceType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resourceType'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAnalyzedResources'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/analyzed-resource'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AccessAnalyzer::ListAnalyzedResourcesResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::AccessAnalyzer::ListAnalyzedResources - Arguments for method ListAnalyzedResources on L<Paws::AccessAnalyzer> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method ListAnalyzedResources on the | ||
| 26 | L<Access Analyzer|Paws::AccessAnalyzer> service. Use the attributes of this class | ||
| 27 | as arguments to method ListAnalyzedResources. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAnalyzedResources. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $access-analyzer = Paws->service('AccessAnalyzer'); | ||
| 34 | my $ListAnalyzedResourcesResponse = | ||
| 35 | $access -analyzer->ListAnalyzedResources( | ||
| 36 | AnalyzerArn => 'MyAnalyzerArn', | ||
| 37 | MaxResults => 1, # OPTIONAL | ||
| 38 | NextToken => 'MyToken', # OPTIONAL | ||
| 39 | ResourceType => 'AWS::S3::Bucket', # OPTIONAL | ||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $AnalyzedResources = $ListAnalyzedResourcesResponse->AnalyzedResources; | ||
| 44 | my $NextToken = $ListAnalyzedResourcesResponse->NextToken; | ||
| 45 | |||
| 46 | # Returns a L<Paws::AccessAnalyzer::ListAnalyzedResourcesResponse> object. | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/access-analyzer/ListAnalyzedResources> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> AnalyzerArn => Str | ||
| 55 | |||
| 56 | The ARN of the analyzer | ||
| 57 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources) | ||
| 58 | to retrieve a list of analyzed resources from. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 MaxResults => Int | ||
| 63 | |||
| 64 | The maximum number of results to return in the response. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 NextToken => Str | ||
| 69 | |||
| 70 | A token used for pagination of results returned. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 ResourceType => Str | ||
| 75 | |||
| 76 | The type of resource. | ||
| 77 | |||
| 78 | Valid values are: C<"AWS::S3::Bucket">, C<"AWS::IAM::Role">, C<"AWS::SQS::Queue">, C<"AWS::Lambda::Function">, C<"AWS::Lambda::LayerVersion">, C<"AWS::KMS::Key">, C<"AWS::SecretsManager::Secret"> | ||
| 79 | |||
| 80 | |||
| 81 | =head1 SEE ALSO | ||
| 82 | |||
| 83 | This class forms part of L<Paws>, documenting arguments for method ListAnalyzedResources in L<Paws::AccessAnalyzer> | ||
| 84 | |||
| 85 | =head1 BUGS and CONTRIBUTIONS | ||
| 86 | |||
| 87 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 88 | |||
| 89 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 90 | |||
| 91 | =cut | ||
| 92 |