AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::LookoutforVision::Types::DetectAnomaliesRequest

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

Overview

Note:

When making an API call, you may pass DetectAnomaliesRequest data as a hash:

{
  project_name: "ProjectName", # required
  model_version: "ModelVersion", # required
  body: "data", # required
  content_type: "ContentType", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyIO

The unencrypted image bytes that you want to analyze.

Returns:

  • (IO)


717
718
719
720
721
722
723
724
# File 'gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/types.rb', line 717

class DetectAnomaliesRequest < Struct.new(
  :project_name,
  :model_version,
  :body,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#content_typeString

The type of the image passed in Body. Valid values are image/png (PNG format images) and image/jpeg (JPG format images).

Returns:

  • (String)


717
718
719
720
721
722
723
724
# File 'gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/types.rb', line 717

class DetectAnomaliesRequest < Struct.new(
  :project_name,
  :model_version,
  :body,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#model_versionString

The version of the model that you want to use.

Returns:

  • (String)


717
718
719
720
721
722
723
724
# File 'gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/types.rb', line 717

class DetectAnomaliesRequest < Struct.new(
  :project_name,
  :model_version,
  :body,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#project_nameString

The name of the project that contains the model version that you want to use.

Returns:

  • (String)


717
718
719
720
721
722
723
724
# File 'gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/types.rb', line 717

class DetectAnomaliesRequest < Struct.new(
  :project_name,
  :model_version,
  :body,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end