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

Class: Aws::KinesisVideo::Types::StreamNameCondition

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

Overview

Note:

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

{
  comparison_operator: "BEGINS_WITH", # accepts BEGINS_WITH
  comparison_value: "StreamName",
}

Specifies the condition that streams must satisfy to be returned when you list streams (see the ListStreams API). A condition has a comparison operation and a value. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.

Instance Attribute Summary collapse

Instance Attribute Details

#comparison_operatorString

A comparison operator. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.

Returns:

  • (String)


413
414
415
416
417
# File 'gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/types.rb', line 413

class StreamNameCondition < Struct.new(
  :comparison_operator,
  :comparison_value)
  include Aws::Structure
end

#comparison_valueString

A value to compare.

Returns:

  • (String)


413
414
415
416
417
# File 'gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/types.rb', line 413

class StreamNameCondition < Struct.new(
  :comparison_operator,
  :comparison_value)
  include Aws::Structure
end