Paws::S3::WriteGetObjectResponse - Arguments for method WriteGetObjectResponse on Paws::S3
This class represents the parameters used for calling the method WriteGetObjectResponse on the Amazon Simple Storage Service service. Use the attributes of this class as arguments to method WriteGetObjectResponse.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to WriteGetObjectResponse.
my $s3 = Paws->service('S3'); $s3->WriteGetObjectResponse( RequestRoute => 'MyRequestRoute', RequestToken => 'MyRequestToken', AcceptRanges => 'MyAcceptRanges', # OPTIONAL Body => 'BlobBody', # OPTIONAL BucketKeyEnabled => 1, # OPTIONAL CacheControl => 'MyCacheControl', # OPTIONAL ContentDisposition => 'MyContentDisposition', # OPTIONAL ContentEncoding => 'MyContentEncoding', # OPTIONAL ContentLanguage => 'MyContentLanguage', # OPTIONAL ContentLength => 1, # OPTIONAL ContentRange => 'MyContentRange', # OPTIONAL ContentType => 'MyContentType', # OPTIONAL DeleteMarker => 1, # OPTIONAL ETag => 'MyETag', # OPTIONAL ErrorCode => 'MyErrorCode', # OPTIONAL ErrorMessage => 'MyErrorMessage', # OPTIONAL Expiration => 'MyExpiration', # OPTIONAL Expires => '1970-01-01T01:00:00', # OPTIONAL LastModified => '1970-01-01T01:00:00', # OPTIONAL Metadata => { 'MyMetadataKey' => 'MyMetadataValue', }, # OPTIONAL MissingMeta => 1, # OPTIONAL ObjectLockLegalHoldStatus => 'ON', # OPTIONAL ObjectLockMode => 'GOVERNANCE', # OPTIONAL ObjectLockRetainUntilDate => '1970-01-01T01:00:00', # OPTIONAL PartsCount => 1, # OPTIONAL ReplicationStatus => 'COMPLETE', # OPTIONAL RequestCharged => 'requester', # OPTIONAL Restore => 'MyRestore', # OPTIONAL SSECustomerAlgorithm => 'MySSECustomerAlgorithm', # OPTIONAL SSECustomerKeyMD5 => 'MySSECustomerKeyMD5', # OPTIONAL SSEKMSKeyId => 'MySSEKMSKeyId', # OPTIONAL ServerSideEncryption => 'AES256', # OPTIONAL StatusCode => 1, # OPTIONAL StorageClass => 'STANDARD', # OPTIONAL TagCount => 1, # OPTIONAL VersionId => 'MyObjectVersionId', # OPTIONAL );
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 https://docs.aws.amazon.com/goto/WebAPI/s3/WriteGetObjectResponse
Indicates that a range of bytes was specified.
The object data.
Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side encryption with AWS KMS (SSE-KMS).
Specifies caching behavior along the request/reply chain.
Specifies presentational information for the object.
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.
The language the content is in.
The size of the content body in bytes.
The portion of the object returned in the response.
A standard MIME type describing the format of the object data.
Specifies whether an object stored in Amazon S3 is (true) or is not (false) a delete marker.
true
false
A string that uniquely identifies an error condition. Returned in the <Code> tag of the error XML response for a corresponding GetObject call. Cannot be used with a successful StatusCode header or when the transformed object is provided in the body. All error codes from S3 are sentence-cased. Regex value is "^[A-Z][a-zA-Z]+$".
GetObject
StatusCode
Contains a generic description of the error condition. Returned in the <Message> tag of the error XML response for a corresponding GetObject call. Cannot be used with a successful StatusCode header or when the transformed object is provided in body.
An opaque identifier assigned by a web server to a specific version of a resource found at a URL.
If object stored in Amazon S3 expiration is configured (see PUT Bucket lifecycle) it includes expiry-date and rule-id key-value pairs providing object expiration information. The value of the rule-id is URL encoded.
The date and time at which the object is no longer cacheable.
The date and time that the object was last modified.
A map of metadata to store with the object in S3.
Set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.
x-amz-meta
Indicates whether an object stored in Amazon S3 has an active legal hold.
Valid values are: "ON", "OFF"
"ON"
"OFF"
Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information about S3 Object Lock, see Object Lock (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html).
Valid values are: "GOVERNANCE", "COMPLIANCE"
"GOVERNANCE"
"COMPLIANCE"
The date and time when Object Lock is configured to expire.
The count of parts this object has.
Indicates if request involves bucket that is either a source or destination in a Replication rule. For more information about S3 Replication, see Replication (https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html).
Valid values are: "COMPLETE", "PENDING", "FAILED", "REPLICA"
"COMPLETE"
"PENDING"
"FAILED"
"REPLICA"
Valid values are: "requester"
"requester"
Route prefix to the HTTP URL generated.
A single use encrypted token that maps WriteGetObjectResponse to the end user GetObject request.
WriteGetObjectResponse
Provides information about object restoration operation and expiration time of the restored object copy.
The server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256, aws:kms).
Valid values are: "AES256", "aws:kms"
"AES256"
"aws:kms"
Encryption algorithm used if server-side encryption with a customer-provided encryption key was specified for object stored in Amazon S3.
128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data stored in S3. For more information, see Protecting data using server-side encryption with customer-provided encryption keys (SSE-C) (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html).
If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key (CMK) that was used for stored in Amazon S3 object.
The integer status code for an HTTP response of a corresponding GetObject request.
Status Codes
200 - OK
206 - Partial Content
304 - Not Modified
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
409 - Conflict
411 - Length Required
412 - Precondition Failed
416 - Range Not Satisfiable
500 - Internal Server Error
503 - Service Unavailable
The class of storage used to store object in Amazon S3.
Valid values are: "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS"
"STANDARD"
"REDUCED_REDUNDANCY"
"STANDARD_IA"
"ONEZONE_IA"
"INTELLIGENT_TIERING"
"GLACIER"
"DEEP_ARCHIVE"
"OUTPOSTS"
The number of tags, if any, on the object.
An ID used to reference a specific version of the object.
This class forms part of Paws, documenting arguments for method WriteGetObjectResponse in Paws::S3
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.