Class: Aws::Rekognition::Types::CreateStreamProcessorRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_sharing_preferenceTypes::StreamProcessorDataSharingPreference

Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#inputTypes::StreamProcessorInput

Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is ‘StreamProcessorInput`. This is required for both face search and label detection stream processors.



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor. You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which includes image frames and hero images. Your source images are unaffected.

Returns:

  • (String)


1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

An identifier you assign to the stream processor. You can use ‘Name` to manage the stream processor. For example, you can get the current status of the stream processor by calling DescribeStreamProcessor. `Name` is idempotent. This is required for both face search and label detection stream processors.

Returns:

  • (String)


1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#notification_channelTypes::StreamProcessorNotificationChannel

The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the object detection results and completion status of a video analysis operation.

Amazon Rekognition publishes a notification the first time an object of interest or a person is detected in the video stream. For example, if Amazon Rekognition detects a person at second 2, a pet at second 4, and a person again at second 5, Amazon Rekognition sends 2 object class detected notifications, one for a person at second 2 and one for a pet at second 4.

Amazon Rekognition also publishes an an end-of-session notification with a summary when the stream processing session is complete.



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#outputTypes::StreamProcessorOutput

Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis results. If you are using the AWS CLI, the parameter name is ‘StreamProcessorOutput`. This must be a S3Destination of an Amazon S3 bucket that you own for a label detection stream processor or a Kinesis data stream ARN for a face search stream processor.



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#regions_of_interestArray<Types::RegionOfInterest>

Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor.

Returns:



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This is required for both face search and label detection stream processors.

Returns:

  • (String)


1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#settingsTypes::StreamProcessorSettings

Input parameters used in a streaming video analyzed by a stream processor. You can use ‘FaceSearch` to recognize faces in a streaming video, or you can use `ConnectedHome` to detect labels.



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A set of tags (key-value pairs) that you want to attach to the stream processor.

Returns:

  • (Hash<String,String>)


1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-rekognition/types.rb', line 1220

class CreateStreamProcessorRequest < Struct.new(
  :input,
  :output,
  :name,
  :settings,
  :role_arn,
  :tags,
  :notification_channel,
  :kms_key_id,
  :regions_of_interest,
  :data_sharing_preference)
  SENSITIVE = []
  include Aws::Structure
end