« blib/lib/Paws/CodeCommit/ListRepositories.pm
↑ Summary
blib/lib/Paws/CodeCommit/ListRepositoriesForApprovalRuleTemplateOutput.pm »
| 1 | |||
| 2 | package Paws::CodeCommit::ListRepositoriesForApprovalRuleTemplate; | ||
| 3 | use Moose; | ||
| 4 | has ApprovalRuleTemplateName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'approvalRuleTemplateName' , 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 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListRepositoriesForApprovalRuleTemplate'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeCommit::ListRepositoriesForApprovalRuleTemplateOutput'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::CodeCommit::ListRepositoriesForApprovalRuleTemplate - Arguments for method ListRepositoriesForApprovalRuleTemplate on L<Paws::CodeCommit> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method ListRepositoriesForApprovalRuleTemplate on the | ||
| 24 | L<AWS CodeCommit|Paws::CodeCommit> service. Use the attributes of this class | ||
| 25 | as arguments to method ListRepositoriesForApprovalRuleTemplate. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListRepositoriesForApprovalRuleTemplate. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $codecommit = Paws->service('CodeCommit'); | ||
| 32 | my $ListRepositoriesForApprovalRuleTemplateOutput = | ||
| 33 | $codecommit->ListRepositoriesForApprovalRuleTemplate( | ||
| 34 | ApprovalRuleTemplateName => 'MyApprovalRuleTemplateName', | ||
| 35 | MaxResults => 1, # OPTIONAL | ||
| 36 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $NextToken = $ListRepositoriesForApprovalRuleTemplateOutput->NextToken; | ||
| 41 | my $RepositoryNames = | ||
| 42 | $ListRepositoriesForApprovalRuleTemplateOutput->RepositoryNames; | ||
| 43 | |||
| 44 | # Returns a L<Paws::CodeCommit::ListRepositoriesForApprovalRuleTemplateOutput> object. | ||
| 45 | |||
| 46 | 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. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codecommit/ListRepositoriesForApprovalRuleTemplate> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> ApprovalRuleTemplateName => Str | ||
| 53 | |||
| 54 | The name of the approval rule template for which you want to list | ||
| 55 | repositories that are associated with that template. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 MaxResults => Int | ||
| 60 | |||
| 61 | A non-zero, non-negative integer used to limit the number of returned | ||
| 62 | results. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 NextToken => Str | ||
| 67 | |||
| 68 | An enumeration token that, when provided in a request, returns the next | ||
| 69 | batch of the results. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, documenting arguments for method ListRepositoriesForApprovalRuleTemplate in L<Paws::CodeCommit> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut | ||
| 85 |