Class: Aws::TranscribeService::Types::AbsoluteTimeRange

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

Overview

Note:

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

{
  start_time: 1,
  end_time: 1,
  first: 1,
  last: 1,
}

A time range, set in seconds, between two points in the call.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_timeInteger

A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

  • StartTime - 10000

  • Endtime - 50000

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

Returns:

  • (Integer)


65
66
67
68
69
70
71
72
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 65

class AbsoluteTimeRange < Struct.new(
  :start_time,
  :end_time,
  :first,
  :last)
  SENSITIVE = []
  include Aws::Structure
end

#firstInteger

A time range from the beginning of the call to the value that you've specified. For example, if you specify 100000, the time range is set to the first 100,000 milliseconds of the call.

Returns:

  • (Integer)


65
66
67
68
69
70
71
72
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 65

class AbsoluteTimeRange < Struct.new(
  :start_time,
  :end_time,
  :first,
  :last)
  SENSITIVE = []
  include Aws::Structure
end

#lastInteger

A time range from the value that you've specified to the end of the call. For example, if you specify 100000, the time range is set to the last 100,000 milliseconds of the call.

Returns:

  • (Integer)


65
66
67
68
69
70
71
72
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 65

class AbsoluteTimeRange < Struct.new(
  :start_time,
  :end_time,
  :first,
  :last)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeInteger

A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

  • StartTime - 10000

  • Endtime - 50000

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

Returns:

  • (Integer)


65
66
67
68
69
70
71
72
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 65

class AbsoluteTimeRange < Struct.new(
  :start_time,
  :end_time,
  :first,
  :last)
  SENSITIVE = []
  include Aws::Structure
end