Class: Aws::S3::Types::PutObjectAnnotationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::PutObjectAnnotationRequest
- Defined in:
- gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#annotation_name ⇒ String
The name of the annotation.
-
#annotation_payload ⇒ IO
The annotation payload.
-
#bucket ⇒ String
The name of the bucket that contains the object.
-
#checksum_algorithm ⇒ String
The checksum algorithm to use.
-
#checksum_crc32 ⇒ String
Base64-encoded CRC32 checksum of the annotation payload.
-
#checksum_crc32c ⇒ String
Base64-encoded CRC32C checksum of the annotation payload.
-
#checksum_crc64nvme ⇒ String
Base64-encoded CRC64NVME checksum of the annotation payload.
-
#checksum_md5 ⇒ String
Base64-encoded MD5 checksum of the annotation payload.
-
#checksum_sha1 ⇒ String
Base64-encoded SHA1 checksum of the annotation payload.
-
#checksum_sha256 ⇒ String
Base64-encoded SHA256 checksum of the annotation payload.
-
#checksum_sha512 ⇒ String
Base64-encoded SHA512 checksum of the annotation payload.
-
#checksum_xxhash128 ⇒ String
Base64-encoded XXHASH128 checksum of the annotation payload.
-
#checksum_xxhash3 ⇒ String
Base64-encoded XXHASH3 checksum of the annotation payload.
-
#checksum_xxhash64 ⇒ String
Base64-encoded XXHASH64 checksum of the annotation payload.
-
#content_md5 ⇒ String
Base64-encoded MD5 digest of the message.
-
#expected_bucket_owner ⇒ String
The account ID of the expected bucket owner.
-
#key ⇒ String
The object key.
-
#object_if_match ⇒ String
If specified, the operation only succeeds if the object's ETag matches the provided value.
-
#request_payer ⇒ String
Confirms that the requester knows that they will be charged for the request.
-
#version_id ⇒ String
The version ID of the object to attach the annotation to.
Instance Attribute Details
#annotation_name ⇒ String
The name of the annotation.
Length Constraints: Minimum length of 1. Maximum length of 512 bytes.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#annotation_payload ⇒ IO
The annotation payload. Must be between 1 byte and 1 MiB in size, and must be valid UTF-8 encoded text. If the payload contains invalid UTF-8 bytes, the request fails with HTTP 415 (Unsupported Media Type). To store binary data, encode the payload using Base64 before uploading.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#bucket ⇒ String
The name of the bucket that contains the object.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_algorithm ⇒ String
The checksum algorithm to use. Supported values: CRC32, CRC32C,
CRC64NVME, SHA1, SHA256, SHA512, MD5, XXHASH64,
XXHASH3, XXHASH128.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_crc32 ⇒ String
Base64-encoded CRC32 checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_crc32c ⇒ String
Base64-encoded CRC32C checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_crc64nvme ⇒ String
Base64-encoded CRC64NVME checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_md5 ⇒ String
Base64-encoded MD5 checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_sha1 ⇒ String
Base64-encoded SHA1 checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_sha256 ⇒ String
Base64-encoded SHA256 checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_sha512 ⇒ String
Base64-encoded SHA512 checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_xxhash128 ⇒ String
Base64-encoded XXHASH128 checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_xxhash3 ⇒ String
Base64-encoded XXHASH3 checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#checksum_xxhash64 ⇒ String
Base64-encoded XXHASH64 checksum of the annotation payload.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#content_md5 ⇒ String
Base64-encoded MD5 digest of the message.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#expected_bucket_owner ⇒ String
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#key ⇒ String
The object key.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#object_if_match ⇒ String
If specified, the operation only succeeds if the object's ETag matches the provided value.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#request_payer ⇒ String
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination S3 bucket has Requester Pays enabled, the requester will pay for the corresponding charges. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#version_id ⇒ String
The version ID of the object to attach the annotation to.
17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 17862 class PutObjectAnnotationRequest < Struct.new( :bucket, :key, :version_id, :annotation_name, :annotation_payload, :object_if_match, :checksum_algorithm, :checksum_crc32, :checksum_crc32c, :checksum_crc64nvme, :checksum_sha1, :checksum_sha256, :checksum_sha512, :checksum_md5, :checksum_xxhash64, :checksum_xxhash3, :checksum_xxhash128, :content_md5, :request_payer, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |