| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeCommit::PutFileEntry; | ||
| 3 | use Moose; | ||
| 4 | has FileContent => (is => 'ro', isa => 'Str', request_name => 'fileContent', traits => ['NameInRequest']); | ||
| 5 | has FileMode => (is => 'ro', isa => 'Str', request_name => 'fileMode', traits => ['NameInRequest']); | ||
| 6 | has FilePath => (is => 'ro', isa => 'Str', request_name => 'filePath', traits => ['NameInRequest'], required => 1); | ||
| 7 | has SourceFile => (is => 'ro', isa => 'Paws::CodeCommit::SourceFileSpecifier', request_name => 'sourceFile', traits => ['NameInRequest']); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::CodeCommit::PutFileEntry | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::CodeCommit::PutFileEntry object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { FileContent => $value, ..., SourceFile => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeCommit::PutFileEntry object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->FileContent | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Information about a file added or updated as part of a commit. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 FileContent => Str | ||
| 45 | |||
| 46 | The content of the file, if a source file is not specified. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 FileMode => Str | ||
| 50 | |||
| 51 | The extrapolated file mode permissions for the file. Valid values | ||
| 52 | include EXECUTABLE and NORMAL. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> FilePath => Str | ||
| 56 | |||
| 57 | The full path to the file in the repository, including the name of the | ||
| 58 | file. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 SourceFile => L<Paws::CodeCommit::SourceFileSpecifier> | ||
| 62 | |||
| 63 | The name and full path of the file that contains the changes you want | ||
| 64 | to make as part of the commit, if you are not providing the file | ||
| 65 | content directly. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head1 SEE ALSO | ||
| 70 | |||
| 71 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeCommit> | ||
| 72 | |||
| 73 | =head1 BUGS and CONTRIBUTIONS | ||
| 74 | |||
| 75 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 76 | |||
| 77 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 78 | |||
| 79 | =cut | ||
| 80 |