« blib/lib/Paws/DataExchange/CreateJobResponse.pm
↑ Summary
blib/lib/Paws/DataExchange/CreateRevisionResponse.pm »
| 1 | |||
| 2 | package Paws::DataExchange::CreateRevision; | ||
| 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 Tags => (is => 'ro', isa => 'Paws::DataExchange::MapOf__string'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateRevision'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/data-sets/{DataSetId}/revisions'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DataExchange::CreateRevisionResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::DataExchange::CreateRevision - Arguments for method CreateRevision on L<Paws::DataExchange> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateRevision on the | ||
| 25 | L<AWS Data Exchange|Paws::DataExchange> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateRevision. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRevision. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $dataexchange = Paws->service('DataExchange'); | ||
| 33 | my $CreateRevisionResponse = $dataexchange->CreateRevision( | ||
| 34 | DataSetId => 'My__string', | ||
| 35 | Comment => 'My__stringMin0Max16384', # OPTIONAL | ||
| 36 | Tags => { 'My__string' => 'My__string', }, # OPTIONAL | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $Arn = $CreateRevisionResponse->Arn; | ||
| 41 | my $Comment = $CreateRevisionResponse->Comment; | ||
| 42 | my $CreatedAt = $CreateRevisionResponse->CreatedAt; | ||
| 43 | my $DataSetId = $CreateRevisionResponse->DataSetId; | ||
| 44 | my $Finalized = $CreateRevisionResponse->Finalized; | ||
| 45 | my $Id = $CreateRevisionResponse->Id; | ||
| 46 | my $SourceId = $CreateRevisionResponse->SourceId; | ||
| 47 | my $Tags = $CreateRevisionResponse->Tags; | ||
| 48 | my $UpdatedAt = $CreateRevisionResponse->UpdatedAt; | ||
| 49 | |||
| 50 | # Returns a L<Paws::DataExchange::CreateRevisionResponse> 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/dataexchange/CreateRevision> | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Comment => Str | ||
| 59 | |||
| 60 | An optional comment about the revision. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> DataSetId => Str | ||
| 65 | |||
| 66 | The unique identifier for a data set. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 Tags => L<Paws::DataExchange::MapOf__string> | ||
| 71 | |||
| 72 | A revision tag is an optional label that you can assign to a revision | ||
| 73 | when you create it. Each tag consists of a key and an optional value, | ||
| 74 | both of which you define. When you use tagging, you can also use | ||
| 75 | tag-based access control in IAM policies to control access to these | ||
| 76 | data sets and revisions. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head1 SEE ALSO | ||
| 82 | |||
| 83 | This class forms part of L<Paws>, documenting arguments for method CreateRevision in L<Paws::DataExchange> | ||
| 84 | |||
| 85 | =head1 BUGS and CONTRIBUTIONS | ||
| 86 | |||
| 87 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 88 | |||
| 89 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 90 | |||
| 91 | =cut | ||
| 92 |