« blib/lib/Paws/WorkDocs/DescribeCommentsResponse.pm
↑ Summary
blib/lib/Paws/WorkDocs/DescribeDocumentVersionsResponse.pm »
| 1 | |||
| 2 | package Paws::WorkDocs::DescribeDocumentVersions; | ||
| 3 | use Moose; | ||
| 4 | has AuthenticationToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Authentication'); | ||
| 5 | has DocumentId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DocumentId', required => 1); | ||
| 6 | has Fields => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'fields'); | ||
| 7 | has Include => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'include'); | ||
| 8 | has Limit => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'limit'); | ||
| 9 | has Marker => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'marker'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeDocumentVersions'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/api/v1/documents/{DocumentId}/versions'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WorkDocs::DescribeDocumentVersionsResponse'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::WorkDocs::DescribeDocumentVersions - Arguments for method DescribeDocumentVersions on L<Paws::WorkDocs> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method DescribeDocumentVersions on the | ||
| 28 | L<Amazon WorkDocs|Paws::WorkDocs> service. Use the attributes of this class | ||
| 29 | as arguments to method DescribeDocumentVersions. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeDocumentVersions. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $workdocs = Paws->service('WorkDocs'); | ||
| 36 | my $DescribeDocumentVersionsResponse = $workdocs->DescribeDocumentVersions( | ||
| 37 | DocumentId => 'MyResourceIdType', | ||
| 38 | AuthenticationToken => 'MyAuthenticationHeaderType', # OPTIONAL | ||
| 39 | Fields => 'MyFieldNamesType', # OPTIONAL | ||
| 40 | Include => 'MyFieldNamesType', # OPTIONAL | ||
| 41 | Limit => 1, # OPTIONAL | ||
| 42 | Marker => 'MyPageMarkerType', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $DocumentVersions = $DescribeDocumentVersionsResponse->DocumentVersions; | ||
| 47 | my $Marker = $DescribeDocumentVersionsResponse->Marker; | ||
| 48 | |||
| 49 | # Returns a L<Paws::WorkDocs::DescribeDocumentVersionsResponse> object. | ||
| 50 | |||
| 51 | 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. | ||
| 52 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/workdocs/DescribeDocumentVersions> | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 AuthenticationToken => Str | ||
| 58 | |||
| 59 | Amazon WorkDocs authentication token. Not required when using AWS | ||
| 60 | administrator credentials to access the API. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> DocumentId => Str | ||
| 65 | |||
| 66 | The ID of the document. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 Fields => Str | ||
| 71 | |||
| 72 | Specify "SOURCE" to include initialized versions and a URL for the | ||
| 73 | source document. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 Include => Str | ||
| 78 | |||
| 79 | A comma-separated list of values. Specify "INITIALIZED" to include | ||
| 80 | incomplete versions. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 Limit => Int | ||
| 85 | |||
| 86 | The maximum number of versions to return with this call. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 Marker => Str | ||
| 91 | |||
| 92 | The marker for the next set of results. (You received this marker from | ||
| 93 | a previous call.) | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, documenting arguments for method DescribeDocumentVersions in L<Paws::WorkDocs> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |