« blib/lib/Paws/CodePipeline/PollForThirdPartyJobsOutput.pm
↑ Summary
blib/lib/Paws/CodePipeline/PutActionRevisionOutput.pm »
| 1 | |||
| 2 | package Paws::CodePipeline::PutActionRevision; | ||
| 3 | use Moose; | ||
| 4 | has ActionName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'actionName' , required => 1); | ||
| 5 | has ActionRevision => (is => 'ro', isa => 'Paws::CodePipeline::ActionRevision', traits => ['NameInRequest'], request_name => 'actionRevision' , required => 1); | ||
| 6 | has PipelineName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'pipelineName' , required => 1); | ||
| 7 | has StageName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'stageName' , required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutActionRevision'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodePipeline::PutActionRevisionOutput'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::CodePipeline::PutActionRevision - Arguments for method PutActionRevision on L<Paws::CodePipeline> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method PutActionRevision on the | ||
| 25 | L<AWS CodePipeline|Paws::CodePipeline> service. Use the attributes of this class | ||
| 26 | as arguments to method PutActionRevision. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutActionRevision. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $codepipeline = Paws->service('CodePipeline'); | ||
| 33 | my $PutActionRevisionOutput = $codepipeline->PutActionRevision( | ||
| 34 | ActionName => 'MyActionName', | ||
| 35 | ActionRevision => { | ||
| 36 | Created => '1970-01-01T01:00:00', | ||
| 37 | RevisionChangeId => 'MyRevisionChangeIdentifier', # min: 1, max: 100 | ||
| 38 | RevisionId => 'MyRevision', # min: 1, max: 1500 | ||
| 39 | |||
| 40 | }, | ||
| 41 | PipelineName => 'MyPipelineName', | ||
| 42 | StageName => 'MyStageName', | ||
| 43 | |||
| 44 | ); | ||
| 45 | |||
| 46 | # Results: | ||
| 47 | my $NewRevision = $PutActionRevisionOutput->NewRevision; | ||
| 48 | my $PipelineExecutionId = $PutActionRevisionOutput->PipelineExecutionId; | ||
| 49 | |||
| 50 | # Returns a L<Paws::CodePipeline::PutActionRevisionOutput> object. | ||
| 51 | |||
| 52 | 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. | ||
| 53 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codepipeline/PutActionRevision> | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> ActionName => Str | ||
| 59 | |||
| 60 | The name of the action that processes the revision. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> ActionRevision => L<Paws::CodePipeline::ActionRevision> | ||
| 65 | |||
| 66 | Represents information about the version (or revision) of an action. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> PipelineName => Str | ||
| 71 | |||
| 72 | The name of the pipeline that starts processing the revision to the | ||
| 73 | source. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> StageName => Str | ||
| 78 | |||
| 79 | The name of the stage that contains the action that acts on the | ||
| 80 | revision. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head1 SEE ALSO | ||
| 86 | |||
| 87 | This class forms part of L<Paws>, documenting arguments for method PutActionRevision in L<Paws::CodePipeline> | ||
| 88 | |||
| 89 | =head1 BUGS and CONTRIBUTIONS | ||
| 90 | |||
| 91 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 92 | |||
| 93 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 94 | |||
| 95 | =cut | ||
| 96 |