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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Overview

Note:

When making an API call, you may pass S3Object data as a 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 manage-access-resource-policies.

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

Name of the S3 bucket.

Returns:

  • (String)


1303
1304
1305
1306
1307
1308
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1303

class S3Object < Struct.new(
  :bucket,
  :name,
  :version)
  include Aws::Structure
end

#nameString

S3 object key name.

Returns:

  • (String)


1303
1304
1305
1306
1307
1308
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1303

class S3Object < Struct.new(
  :bucket,
  :name,
  :version)
  include Aws::Structure
end

#versionString

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

Returns:

  • (String)


1303
1304
1305
1306
1307
1308
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1303

class S3Object < Struct.new(
  :bucket,
  :name,
  :version)
  include Aws::Structure
end