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 How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

Name of the S3 bucket.

Returns:

  • (String)


5214
5215
5216
5217
5218
5219
5220
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5214

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

#nameString

S3 object key name.

Returns:

  • (String)


5214
5215
5216
5217
5218
5219
5220
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5214

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

#versionString

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

Returns:

  • (String)


5214
5215
5216
5217
5218
5219
5220
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5214

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