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