« blib/lib/Paws/DataExchange/AssetDetails.pm
↑ Summary
blib/lib/Paws/DataExchange/AssetSourceEntry.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DataExchange::AssetEntry; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has AssetDetails => (is => 'ro', isa => 'Paws::DataExchange::AssetDetails', required => 1); | ||
| 6 | has AssetType => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has CreatedAt => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has DataSetId => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has Id => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 11 | has RevisionId => (is => 'ro', isa => 'Str', required => 1); | ||
| 12 | has SourceId => (is => 'ro', isa => 'Str'); | ||
| 13 | has UpdatedAt => (is => 'ro', isa => 'Str', required => 1); | ||
| 14 | |||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::DataExchange::AssetEntry | ||
| 22 | |||
| 23 | =head1 USAGE | ||
| 24 | |||
| 25 | This class represents one of two things: | ||
| 26 | |||
| 27 | =head3 Arguments in a call to a service | ||
| 28 | |||
| 29 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 30 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 31 | |||
| 32 | As an example, if Att1 is expected to be a Paws::DataExchange::AssetEntry object: | ||
| 33 | |||
| 34 | $service_obj->Method(Att1 => { Arn => $value, ..., UpdatedAt => $value }); | ||
| 35 | |||
| 36 | =head3 Results returned from an API call | ||
| 37 | |||
| 38 | Use accessors for each attribute. If Att1 is expected to be an Paws::DataExchange::AssetEntry object: | ||
| 39 | |||
| 40 | $result = $service_obj->Method(...); | ||
| 41 | $result->Att1->Arn | ||
| 42 | |||
| 43 | =head1 DESCRIPTION | ||
| 44 | |||
| 45 | An asset in AWS Data Exchange is a piece of data that can be stored as | ||
| 46 | an S3 object. The asset can be a structured data file, an image file, | ||
| 47 | or some other data file. When you create an import job for your files, | ||
| 48 | you create an asset in AWS Data Exchange for each of those files. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> Arn => Str | ||
| 54 | |||
| 55 | The ARN for the asset. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> AssetDetails => L<Paws::DataExchange::AssetDetails> | ||
| 59 | |||
| 60 | Information about the asset, including its size. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> AssetType => Str | ||
| 64 | |||
| 65 | The type of file your data is stored in. Currently, the supported asset | ||
| 66 | type is S3_SNAPSHOT. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> CreatedAt => Str | ||
| 70 | |||
| 71 | The date and time that the asset was created, in ISO 8601 format. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> DataSetId => Str | ||
| 75 | |||
| 76 | The unique identifier for the data set associated with this asset. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 B<REQUIRED> Id => Str | ||
| 80 | |||
| 81 | The unique identifier for the asset. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 B<REQUIRED> Name => Str | ||
| 85 | |||
| 86 | The name of the asset. When importing from Amazon S3, the S3 object key | ||
| 87 | is used as the asset name. When exporting to Amazon S3, the asset name | ||
| 88 | is used as default target S3 object key. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 B<REQUIRED> RevisionId => Str | ||
| 92 | |||
| 93 | The unique identifier for the revision associated with this asset. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 SourceId => Str | ||
| 97 | |||
| 98 | The asset ID of the owned asset corresponding to the entitled asset | ||
| 99 | being viewed. This parameter is returned when an asset owner is viewing | ||
| 100 | the entitled copy of its owned asset. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 B<REQUIRED> UpdatedAt => Str | ||
| 104 | |||
| 105 | The date and time that the asset was last updated, in ISO 8601 format. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head1 SEE ALSO | ||
| 110 | |||
| 111 | This class forms part of L<Paws>, describing an object used in L<Paws::DataExchange> | ||
| 112 | |||
| 113 | =head1 BUGS and CONTRIBUTIONS | ||
| 114 | |||
| 115 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 116 | |||
| 117 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 118 | |||
| 119 | =cut | ||
| 120 |