« blib/lib/Paws/S3/NotificationConfigurationDeprecated.pm
↑ Summary
blib/lib/Paws/S3/ObjectIdentifier.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::S3::Object; | ||
| 3 | 3 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | has ETag => (is => 'ro', isa => 'Str'); | |
| 5 | 3 | has Key => (is => 'ro', isa => 'Str'); | |
| 6 | 3 | has LastModified => (is => 'ro', isa => 'Str'); | |
| 7 | 3 | has Owner => (is => 'ro', isa => 'Paws::S3::Owner'); | |
| 8 | 3 | has Size => (is => 'ro', isa => 'Int'); | |
| 9 | 3 | has StorageClass => (is => 'ro', isa => 'Str'); | |
| 10 | |||
| 11 | 3 | 1; | |
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::S3::Object | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::S3::Object object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { ETag => $value, ..., StorageClass => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::S3::Object object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->ETag | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | An object consists of data and its descriptive metadata. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 ETag => Str | ||
| 47 | |||
| 48 | The entity tag is a hash of the object. The ETag reflects changes only | ||
| 49 | to the contents of an object, not its metadata. The ETag may or may not | ||
| 50 | be an MD5 digest of the object data. Whether or not it is depends on | ||
| 51 | how the object was created and how it is encrypted as described below: | ||
| 52 | |||
| 53 | =over | ||
| 54 | |||
| 55 | =item * | ||
| 56 | |||
| 57 | Objects created by the PUT Object, POST Object, or Copy operation, or | ||
| 58 | through the AWS Management Console, and are encrypted by SSE-S3 or | ||
| 59 | plaintext, have ETags that are an MD5 digest of their object data. | ||
| 60 | |||
| 61 | =item * | ||
| 62 | |||
| 63 | Objects created by the PUT Object, POST Object, or Copy operation, or | ||
| 64 | through the AWS Management Console, and are encrypted by SSE-C or | ||
| 65 | SSE-KMS, have ETags that are not an MD5 digest of their object data. | ||
| 66 | |||
| 67 | =item * | ||
| 68 | |||
| 69 | If an object is created by either the Multipart Upload or Part Copy | ||
| 70 | operation, the ETag is not an MD5 digest, regardless of the method of | ||
| 71 | encryption. | ||
| 72 | |||
| 73 | =back | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 Key => Str | ||
| 78 | |||
| 79 | The name that you assign to an object. You use the object key to | ||
| 80 | retrieve the object. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 LastModified => Str | ||
| 84 | |||
| 85 | Creation date of the object. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 Owner => L<Paws::S3::Owner> | ||
| 89 | |||
| 90 | The owner of the object | ||
| 91 | |||
| 92 | |||
| 93 | =head2 Size => Int | ||
| 94 | |||
| 95 | Size in bytes of the object | ||
| 96 | |||
| 97 | |||
| 98 | =head2 StorageClass => Str | ||
| 99 | |||
| 100 | The class of storage used to store the object. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head1 SEE ALSO | ||
| 105 | |||
| 106 | This class forms part of L<Paws>, describing an object used in L<Paws::S3> | ||
| 107 | |||
| 108 | =head1 BUGS and CONTRIBUTIONS | ||
| 109 | |||
| 110 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 111 | |||
| 112 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 113 | |||
| 114 | =cut | ||
| 115 | |||