Module: Aws::TranscribeStreamingService::Types

Defined in:
lib/aws-sdk-transcribestreamingservice/types.rb

Defined Under Namespace

Classes: Alternative, AudioEvent, AudioStream, BadRequestException, CallAnalyticsEntity, CallAnalyticsItem, CallAnalyticsTranscriptResultStream, CategoryEvent, ChannelDefinition, CharacterOffsets, ConfigurationEvent, ConflictException, Entity, InternalFailureException, IssueDetected, Item, LanguageWithScore, LimitExceededException, MedicalAlternative, MedicalEntity, MedicalItem, MedicalResult, MedicalTranscript, MedicalTranscriptEvent, MedicalTranscriptResultStream, PointsOfInterest, PostCallAnalyticsSettings, Result, ServiceUnavailableException, StartCallAnalyticsStreamTranscriptionRequest, StartCallAnalyticsStreamTranscriptionResponse, StartMedicalStreamTranscriptionRequest, StartMedicalStreamTranscriptionResponse, StartStreamTranscriptionRequest, StartStreamTranscriptionResponse, TimestampRange, Transcript, TranscriptEvent, TranscriptResultStream, UtteranceEvent

Instance Attribute Summary collapse

Instance Attribute Details

#audio_chunkString

An audio blob that contains the next part of the audio that you want to transcribe. The maximum audio chunk size is 32 KB.

Returns:

  • (String)


57
58
59
60
61
62
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 57

class AudioEvent < Struct.new(
  :audio_chunk,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#begin_offset_millisInteger

The time, in milliseconds, from the beginning of the audio stream to the start of the ‘UtteranceEvent`.

Returns:

  • (Integer)


2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#channel_definitionsArray<Types::ChannelDefinition>

Indicates which speaker is on which audio channel.

Returns:



277
278
279
280
281
282
283
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 277

class ConfigurationEvent < Struct.new(
  :channel_definitions,
  :post_call_analytics_settings,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#end_offset_millisInteger

The time, in milliseconds, from the beginning of the audio stream to the start of the ‘UtteranceEvent`.

Returns:

  • (Integer)


2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#entitiesArray<Types::CallAnalyticsEntity>

Contains entities identified as personally identifiable information (PII) in your transcription output.

Returns:



2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#is_partialBoolean

Indicates whether the segment in the ‘UtteranceEvent` is complete (`FALSE`) or partial (`TRUE`).

Returns:

  • (Boolean)


2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#issues_detectedArray<Types::IssueDetected>

Provides the issue that was detected in the specified segment.

Returns:



2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#itemsArray<Types::CallAnalyticsItem>

Contains words, phrases, or punctuation marks that are associated with the specified ‘UtteranceEvent`.

Returns:



2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#matched_categoriesArray<String>

Lists the categories that were matched in your audio segment.

Returns:

  • (Array<String>)


205
206
207
208
209
210
211
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 205

class CategoryEvent < Struct.new(
  :matched_categories,
  :matched_details,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#matched_detailsHash<String,Types::PointsOfInterest>

Contains information about the matched categories, including category names and timestamps.

Returns:



205
206
207
208
209
210
211
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 205

class CategoryEvent < Struct.new(
  :matched_categories,
  :matched_details,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Returns:

  • (String)


75
76
77
78
79
80
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 75

class BadRequestException < Struct.new(
  :message,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#participant_roleString

Provides the role of the speaker for each audio channel, either ‘CUSTOMER` or `AGENT`.

Returns:

  • (String)


2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#post_call_analytics_settingsTypes::PostCallAnalyticsSettings

Provides additional optional settings for your Call Analytics post-call request, including encryption and output locations for your redacted and unredacted transcript.



277
278
279
280
281
282
283
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 277

class ConfigurationEvent < Struct.new(
  :channel_definitions,
  :post_call_analytics_settings,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#sentimentString

Provides the sentiment that was detected in the specified segment.

Returns:

  • (String)


2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#transcriptString

Contains transcribed text.

Returns:

  • (String)


694
695
696
697
698
699
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 694

class MedicalTranscriptEvent < Struct.new(
  :transcript,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#utterance_idString

The unique identifier that is associated with the specified ‘UtteranceEvent`.

Returns:

  • (String)


2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 2074

class UtteranceEvent < Struct.new(
  :utterance_id,
  :is_partial,
  :participant_role,
  :begin_offset_millis,
  :end_offset_millis,
  :transcript,
  :items,
  :entities,
  :sentiment,
  :issues_detected,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end