« blib/lib/Paws/Proton/ListEnvironmentAccountConnectionsOutput.pm
↑ Summary
blib/lib/Paws/Proton/ListEnvironmentTemplateVersionsOutput.pm »
| 1 | |||
| 2 | package Paws::Proton::ListEnvironmentTemplateVersions; | ||
| 3 | use Moose; | ||
| 4 | has MajorVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'majorVersion' ); | ||
| 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 TemplateName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'templateName' , required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListEnvironmentTemplateVersions'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Proton::ListEnvironmentTemplateVersionsOutput'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Proton::ListEnvironmentTemplateVersions - Arguments for method ListEnvironmentTemplateVersions on L<Paws::Proton> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method ListEnvironmentTemplateVersions on the | ||
| 25 | L<AWS Proton|Paws::Proton> service. Use the attributes of this class | ||
| 26 | as arguments to method ListEnvironmentTemplateVersions. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEnvironmentTemplateVersions. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $proton = Paws->service('Proton'); | ||
| 33 | my $ListEnvironmentTemplateVersionsOutput = | ||
| 34 | $proton->ListEnvironmentTemplateVersions( | ||
| 35 | TemplateName => 'MyResourceName', | ||
| 36 | MajorVersion => 'MyTemplateVersionPart', # OPTIONAL | ||
| 37 | MaxResults => 1, # OPTIONAL | ||
| 38 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $NextToken = $ListEnvironmentTemplateVersionsOutput->NextToken; | ||
| 43 | my $TemplateVersions = | ||
| 44 | $ListEnvironmentTemplateVersionsOutput->TemplateVersions; | ||
| 45 | |||
| 46 | # Returns a L<Paws::Proton::ListEnvironmentTemplateVersionsOutput> 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/proton/ListEnvironmentTemplateVersions> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 MajorVersion => Str | ||
| 55 | |||
| 56 | To view a list of minor of versions under a major version of an | ||
| 57 | environment template, include C<majorVersion>. | ||
| 58 | |||
| 59 | To view a list of major versions of an environment template, I<exclude> | ||
| 60 | C<majorVersion>. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 MaxResults => Int | ||
| 65 | |||
| 66 | The maximum number of major or minor versions of an environment | ||
| 67 | template to list. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 NextToken => Str | ||
| 72 | |||
| 73 | A token to indicate the location of the next major or minor version in | ||
| 74 | the array of major or minor versions of an environment template, after | ||
| 75 | the list of major or minor versions that was previously requested. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 B<REQUIRED> TemplateName => Str | ||
| 80 | |||
| 81 | The name of the environment template. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, documenting arguments for method ListEnvironmentTemplateVersions in L<Paws::Proton> | ||
| 89 | |||
| 90 | =head1 BUGS and CONTRIBUTIONS | ||
| 91 | |||
| 92 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 93 | |||
| 94 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 95 | |||
| 96 | =cut | ||
| 97 |