Class: Aws::Rekognition::Types::ListDatasetEntriesRequest

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

#contains_labelsArray<String>

Specifies a label filter for the response. The response includes an entry only if one or more of the labels in ‘ContainsLabels` exist in the entry.

Returns:

  • (Array<String>)


4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
# File 'lib/aws-sdk-rekognition/types.rb', line 4945

class ListDatasetEntriesRequest < Struct.new(
  :dataset_arn,
  :contains_labels,
  :labeled,
  :source_ref_contains,
  :has_errors,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#dataset_arnString

The Amazon Resource Name (ARN) for the dataset that you want to use.

Returns:

  • (String)


4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
# File 'lib/aws-sdk-rekognition/types.rb', line 4945

class ListDatasetEntriesRequest < Struct.new(
  :dataset_arn,
  :contains_labels,
  :labeled,
  :source_ref_contains,
  :has_errors,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#has_errorsBoolean

Specifies an error filter for the response. Specify ‘True` to only include entries that have errors.

Returns:

  • (Boolean)


4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
# File 'lib/aws-sdk-rekognition/types.rb', line 4945

class ListDatasetEntriesRequest < Struct.new(
  :dataset_arn,
  :contains_labels,
  :labeled,
  :source_ref_contains,
  :has_errors,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#labeledBoolean

Specify ‘true` to get only the JSON Lines where the image is labeled. Specify `false` to get only the JSON Lines where the image isn’t labeled. If you don’t specify ‘Labeled`, `ListDatasetEntries` returns JSON Lines for labeled and unlabeled images.

Returns:

  • (Boolean)


4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
# File 'lib/aws-sdk-rekognition/types.rb', line 4945

class ListDatasetEntriesRequest < Struct.new(
  :dataset_arn,
  :contains_labels,
  :labeled,
  :source_ref_contains,
  :has_errors,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

Returns:

  • (Integer)


4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
# File 'lib/aws-sdk-rekognition/types.rb', line 4945

class ListDatasetEntriesRequest < Struct.new(
  :dataset_arn,
  :contains_labels,
  :labeled,
  :source_ref_contains,
  :has_errors,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

Returns:

  • (String)


4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
# File 'lib/aws-sdk-rekognition/types.rb', line 4945

class ListDatasetEntriesRequest < Struct.new(
  :dataset_arn,
  :contains_labels,
  :labeled,
  :source_ref_contains,
  :has_errors,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#source_ref_containsString

If specified, ‘ListDatasetEntries` only returns JSON Lines where the value of `SourceRefContains` is part of the `source-ref` field. The `source-ref` field contains the Amazon S3 location of the image. You can use `SouceRefContains` for tasks such as getting the JSON Line for a single image, or gettting JSON Lines for all images within a specific folder.

Returns:

  • (String)


4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
# File 'lib/aws-sdk-rekognition/types.rb', line 4945

class ListDatasetEntriesRequest < Struct.new(
  :dataset_arn,
  :contains_labels,
  :labeled,
  :source_ref_contains,
  :has_errors,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end