« blib/lib/Paws/DataExchange/UpdateDataSetResponse.pm
↑ Summary
blib/lib/Paws/DataExchange/UpdateRevisionResponse.pm »
| 1 | |||
| 2 | package Paws::DataExchange::UpdateRevision; | ||
| 3 | use Moose; | ||
| 4 | has Comment => (is => 'ro', isa => 'Str'); | ||
| 5 | has DataSetId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DataSetId', required => 1); | ||
| 6 | has Finalized => (is => 'ro', isa => 'Bool'); | ||
| 7 | has RevisionId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'RevisionId', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateRevision'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/data-sets/{DataSetId}/revisions/{RevisionId}'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DataExchange::UpdateRevisionResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::DataExchange::UpdateRevision - Arguments for method UpdateRevision on L<Paws::DataExchange> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method UpdateRevision on the | ||
| 26 | L<AWS Data Exchange|Paws::DataExchange> service. Use the attributes of this class | ||
| 27 | as arguments to method UpdateRevision. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRevision. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $dataexchange = Paws->service('DataExchange'); | ||
| 34 | my $UpdateRevisionResponse = $dataexchange->UpdateRevision( | ||
| 35 | DataSetId => 'My__string', | ||
| 36 | RevisionId => 'My__string', | ||
| 37 | Comment => 'My__stringMin0Max16384', # OPTIONAL | ||
| 38 | Finalized => 1, # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $Arn = $UpdateRevisionResponse->Arn; | ||
| 43 | my $Comment = $UpdateRevisionResponse->Comment; | ||
| 44 | my $CreatedAt = $UpdateRevisionResponse->CreatedAt; | ||
| 45 | my $DataSetId = $UpdateRevisionResponse->DataSetId; | ||
| 46 | my $Finalized = $UpdateRevisionResponse->Finalized; | ||
| 47 | my $Id = $UpdateRevisionResponse->Id; | ||
| 48 | my $SourceId = $UpdateRevisionResponse->SourceId; | ||
| 49 | my $UpdatedAt = $UpdateRevisionResponse->UpdatedAt; | ||
| 50 | |||
| 51 | # Returns a L<Paws::DataExchange::UpdateRevisionResponse> object. | ||
| 52 | |||
| 53 | 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. | ||
| 54 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/dataexchange/UpdateRevision> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 Comment => Str | ||
| 60 | |||
| 61 | An optional comment about the revision. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> DataSetId => Str | ||
| 66 | |||
| 67 | The unique identifier for a data set. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 Finalized => Bool | ||
| 72 | |||
| 73 | Finalizing a revision tells AWS Data Exchange that your changes to the | ||
| 74 | assets in the revision are complete. After it's in this read-only | ||
| 75 | state, you can publish the revision to your products. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 B<REQUIRED> RevisionId => Str | ||
| 80 | |||
| 81 | The unique identifier for a revision. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, documenting arguments for method UpdateRevision in L<Paws::DataExchange> | ||
| 89 | |||
| 90 | =head1 BUGS and CONTRIBUTIONS | ||
| 91 | |||
| 92 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 93 | |||
| 94 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 95 | |||
| 96 | =cut | ||
| 97 |