PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::S3::GetObject; use Moose; has Bucket => (is => 'ro', isa => 'Str', uri_name => 'Bucket', traits => ['ParamInURI'], required => 1); has ExpectedBucketOwner => (is => 'ro', isa => 'Str', header_name => 'x-amz-expected-bucket-owner', traits => ['ParamInHeader']); has IfMatch => (is => 'ro', isa => 'Str', header_name => 'If-Match', traits => ['ParamInHeader']); has IfModifiedSince => (is => 'ro', isa => 'Str', header_name => 'If-Modified-Since', traits => ['ParamInHeader']); has IfNoneMatch => (is => 'ro', isa => 'Str', header_name => 'If-None-Match', traits => ['ParamInHeader']); has IfUnmodifiedSince => (is => 'ro', isa => 'Str', header_name => 'If-Unmodified-Since', traits => ['ParamInHeader']); has Key => (is => 'ro', isa => 'Str', uri_name => 'Key', traits => ['ParamInURI'], required => 1); has PartNumber => (is => 'ro', isa => 'Int', query_name => 'partNumber', traits => ['ParamInQuery']); has Range => (is => 'ro', isa => 'Str', header_name => 'Range', traits => ['ParamInHeader']); has RequestPayer => (is => 'ro', isa => 'Str', header_name => 'x-amz-request-payer', traits => ['ParamInHeader']); has ResponseCacheControl => (is => 'ro', isa => 'Str', query_name => 'response-cache-control', traits => ['ParamInQuery']); has ResponseContentDisposition => (is => 'ro', isa => 'Str', query_name => 'response-content-disposition', traits => ['ParamInQuery']); has ResponseContentEncoding => (is => 'ro', isa => 'Str', query_name => 'response-content-encoding', traits => ['ParamInQuery']); has ResponseContentLanguage => (is => 'ro', isa => 'Str', query_name => 'response-content-language', traits => ['ParamInQuery']); has ResponseContentType => (is => 'ro', isa => 'Str', query_name => 'response-content-type', traits => ['ParamInQuery']); has ResponseExpires => (is => 'ro', isa => 'Str', query_name => 'response-expires', traits => ['ParamInQuery']); has SSECustomerAlgorithm => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-algorithm', traits => ['ParamInHeader']); has SSECustomerKey => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key', traits => ['ParamInHeader']); has SSECustomerKeyMD5 => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key-MD5', traits => ['ParamInHeader']); has VersionId => (is => 'ro', isa => 'Str', query_name => 'versionId', traits => ['ParamInQuery']); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetObject'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{Bucket}/{Key+}'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3::GetObjectOutput'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::S3::GetObject - Arguments for method GetObject on L =head1 DESCRIPTION This class represents the parameters used for calling the method GetObject on the L service. Use the attributes of this class as arguments to method GetObject. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetObject. =head1 SYNOPSIS my $s3 = Paws->service('S3'); # To retrieve an object # The following example retrieves an object for an S3 bucket. my $GetObjectOutput = $s3->GetObject( 'Bucket' => 'examplebucket', 'Key' => 'HappyFace.jpg' ); # Results: my $AcceptRanges = $GetObjectOutput->AcceptRanges; my $ContentLength = $GetObjectOutput->ContentLength; my $ContentType = $GetObjectOutput->ContentType; my $ETag = $GetObjectOutput->ETag; my $LastModified = $GetObjectOutput->LastModified; my $Metadata = $GetObjectOutput->Metadata; my $TagCount = $GetObjectOutput->TagCount; my $VersionId = $GetObjectOutput->VersionId; # Returns a L object. # To retrieve a byte range of an object # The following example retrieves an object for an S3 bucket. The request # specifies the range header to retrieve a specific byte range. my $GetObjectOutput = $s3->GetObject( 'Bucket' => 'examplebucket', 'Key' => 'SampleFile.txt', 'Range' => 'bytes=0-9' ); # Results: my $AcceptRanges = $GetObjectOutput->AcceptRanges; my $ContentLength = $GetObjectOutput->ContentLength; my $ContentRange = $GetObjectOutput->ContentRange; my $ContentType = $GetObjectOutput->ContentType; my $ETag = $GetObjectOutput->ETag; my $LastModified = $GetObjectOutput->LastModified; my $Metadata = $GetObjectOutput->Metadata; my $VersionId = $GetObjectOutput->VersionId; # Returns a L object. 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. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 B Bucket => Str The bucket name containing the object. When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form I-I.s3-accesspoint.I.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) in the I. When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form I-I.I.s3-outposts.I.amazonaws.com. When using this action using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the I. =head2 ExpectedBucketOwner => Str The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP C<403 (Access Denied)> error. =head2 IfMatch => Str Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed). =head2 IfModifiedSince => Str Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified). =head2 IfNoneMatch => Str Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified). =head2 IfUnmodifiedSince => Str Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed). =head2 B Key => Str Key of the object to get. =head2 PartNumber => Int Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an object. =head2 Range => Str Downloads the specified range bytes of an object. For more information about the HTTP Range header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35 (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35). Amazon S3 doesn't support retrieving multiple ranges of data per C request. =head2 RequestPayer => Str Valid values are: C<"requester"> =head2 ResponseCacheControl => Str Sets the C header of the response. =head2 ResponseContentDisposition => Str Sets the C header of the response =head2 ResponseContentEncoding => Str Sets the C header of the response. =head2 ResponseContentLanguage => Str Sets the C header of the response. =head2 ResponseContentType => Str Sets the C header of the response. =head2 ResponseExpires => Str Sets the C header of the response. =head2 SSECustomerAlgorithm => Str Specifies the algorithm to use to when decrypting the object (for example, AES256). =head2 SSECustomerKey => Str Specifies the customer-provided encryption key for Amazon S3 used to encrypt the data. This value is used to decrypt the object when recovering it and must match the one used when storing the data. The key must be appropriate for use with the algorithm specified in the C header. =head2 SSECustomerKeyMD5 => Str Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error. =head2 VersionId => Str VersionId used to reference a specific version of the object. =head1 SEE ALSO This class forms part of L, documenting arguments for method GetObject in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut