| 1 | |||
| 2 | package Paws::ElasticBeanstalk::UpdateApplicationVersion; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has ApplicationName => (is => 'ro', isa => 'Str', required => 1); | |
| 5 | 1 | has Description => (is => 'ro', isa => 'Str'); | |
| 6 | 1 | has VersionLabel => (is => 'ro', isa => 'Str', required => 1); | |
| 7 | |||
| 8 | 1 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateApplicationVersion'); | |
| 11 | 1 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::ApplicationVersionDescriptionMessage'); | |
| 12 | 1 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'UpdateApplicationVersionResult'); | |
| 13 | 1 | 1; | |
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::ElasticBeanstalk::UpdateApplicationVersion - Arguments for method UpdateApplicationVersion on L<Paws::ElasticBeanstalk> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method UpdateApplicationVersion on the | ||
| 24 | L<AWS Elastic Beanstalk|Paws::ElasticBeanstalk> service. Use the attributes of this class | ||
| 25 | as arguments to method UpdateApplicationVersion. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApplicationVersion. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $elasticbeanstalk = Paws->service('ElasticBeanstalk'); | ||
| 32 | # To change an application version's description | ||
| 33 | # The following operation updates the description of an application version | ||
| 34 | # named 22a0-stage-150819_185942: | ||
| 35 | my $ApplicationVersionDescriptionMessage = | ||
| 36 | $elasticbeanstalk->UpdateApplicationVersion( | ||
| 37 | 'ApplicationName' => 'my-app', | ||
| 38 | 'Description' => 'new description', | ||
| 39 | 'VersionLabel' => '22a0-stage-150819_185942' | ||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $ApplicationVersion = | ||
| 44 | $ApplicationVersionDescriptionMessage->ApplicationVersion; | ||
| 45 | |||
| 46 | # Returns a L<Paws::ElasticBeanstalk::ApplicationVersionDescriptionMessage> 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/elasticbeanstalk/UpdateApplicationVersion> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> ApplicationName => Str | ||
| 55 | |||
| 56 | The name of the application associated with this version. | ||
| 57 | |||
| 58 | If no application is found with this name, C<UpdateApplication> returns | ||
| 59 | an C<InvalidParameterValue> error. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 Description => Str | ||
| 64 | |||
| 65 | A new description for this version. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> VersionLabel => Str | ||
| 70 | |||
| 71 | The name of the version to update. | ||
| 72 | |||
| 73 | If no application version is found with this label, | ||
| 74 | C<UpdateApplication> returns an C<InvalidParameterValue> error. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, documenting arguments for method UpdateApplicationVersion in L<Paws::ElasticBeanstalk> | ||
| 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 | |||