« blib/lib/Paws/EC2/DescribeLaunchTemplateVersionsResult.pm
↑ Summary
blib/lib/Paws/EC2/DescribeLaunchTemplatesResult.pm »
| 1 | |||
| 2 | package Paws::EC2::DescribeLaunchTemplates; | ||
| 3 | use Moose; | ||
| 4 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 5 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' ); | ||
| 6 | has LaunchTemplateIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'LaunchTemplateId' ); | ||
| 7 | has LaunchTemplateNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'LaunchTemplateName' ); | ||
| 8 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 9 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeLaunchTemplates'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeLaunchTemplatesResult'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::EC2::DescribeLaunchTemplates - Arguments for method DescribeLaunchTemplates on L<Paws::EC2> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method DescribeLaunchTemplates on the | ||
| 27 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 28 | as arguments to method DescribeLaunchTemplates. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeLaunchTemplates. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $ec2 = Paws->service('EC2'); | ||
| 35 | # To describe a launch template | ||
| 36 | # This example describes the specified launch template. | ||
| 37 | my $DescribeLaunchTemplatesResult = $ec2->DescribeLaunchTemplates( | ||
| 38 | 'LaunchTemplateIds' => ['lt-01238c059e3466abc'] ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $LaunchTemplates = $DescribeLaunchTemplatesResult->LaunchTemplates; | ||
| 42 | |||
| 43 | # Returns a L<Paws::EC2::DescribeLaunchTemplatesResult> object. | ||
| 44 | |||
| 45 | 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. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeLaunchTemplates> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 DryRun => Bool | ||
| 52 | |||
| 53 | Checks whether you have the required permissions for the action, | ||
| 54 | without actually making the request, and provides an error response. If | ||
| 55 | you have the required permissions, the error response is | ||
| 56 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head2 Filters => ArrayRef[L<Paws::EC2::Filter>] | ||
| 61 | |||
| 62 | One or more filters. | ||
| 63 | |||
| 64 | =over | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | C<create-time> - The time the launch template was created. | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | C<launch-template-name> - The name of the launch template. | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | C<tag>:E<lt>keyE<gt> - The key/value combination of a tag assigned to | ||
| 77 | the resource. Use the tag key in the filter name and the tag value as | ||
| 78 | the filter value. For example, to find all resources that have a tag | ||
| 79 | with the key C<Owner> and the value C<TeamA>, specify C<tag:Owner> for | ||
| 80 | the filter name and C<TeamA> for the filter value. | ||
| 81 | |||
| 82 | =item * | ||
| 83 | |||
| 84 | C<tag-key> - The key of a tag assigned to the resource. Use this filter | ||
| 85 | to find all resources assigned a tag with a specific key, regardless of | ||
| 86 | the tag value. | ||
| 87 | |||
| 88 | =back | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 LaunchTemplateIds => ArrayRef[Str|Undef] | ||
| 94 | |||
| 95 | One or more launch template IDs. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head2 LaunchTemplateNames => ArrayRef[Str|Undef] | ||
| 100 | |||
| 101 | One or more launch template names. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head2 MaxResults => Int | ||
| 106 | |||
| 107 | The maximum number of results to return in a single call. To retrieve | ||
| 108 | the remaining results, make another call with the returned C<NextToken> | ||
| 109 | value. This value can be between 1 and 200. | ||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | =head2 NextToken => Str | ||
| 114 | |||
| 115 | The token to request the next page of results. | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head1 SEE ALSO | ||
| 121 | |||
| 122 | This class forms part of L<Paws>, documenting arguments for method DescribeLaunchTemplates in L<Paws::EC2> | ||
| 123 | |||
| 124 | =head1 BUGS and CONTRIBUTIONS | ||
| 125 | |||
| 126 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 127 | |||
| 128 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 129 | |||
| 130 | =cut | ||
| 131 |