You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Rekognition::Types::S3Object

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing S3Object as input to an Aws::Client method, you can use a vanilla Hash:

{
  bucket: "S3Bucket",
  name: "S3ObjectName",
  version: "S3ObjectVersion",
}

Provides the S3 bucket name and object name.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see Resource-Based Policies in the Amazon Rekognition Developer Guide.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

Name of the S3 bucket.

Returns:

  • (String)

    Name of the S3 bucket.

#nameString

S3 object key name.

Returns:

  • (String)

    S3 object key name.

#versionString

If the bucket is versioning enabled, you can specify the object version.

Returns:

  • (String)

    If the bucket is versioning enabled, you can specify the object version.