Class: Aws::TranscribeService::Types::ContentRedaction

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

Overview

Makes it possible to redact specified personally identifiable information (PII) in your transcript. If you use ContentRedaction, you must also include the sub-parameters: RedactionOutput and RedactionType. You can optionally include PiiEntityTypes to choose which types of PII you want to redact.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#pii_entity_types ⇒ Array<String>

Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL. If you do not include PiiEntityTypes in your request, all PII is redacted.

Returns:

  • (Array<String>)


743
744
745
746
747
748
749
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 743

class ContentRedaction < Struct.new(
  :redaction_type,
  :redaction_output,
  :pii_entity_types)
  SENSITIVE = []
  include Aws::Structure
end

#redaction_output ⇒ String

Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.

When you choose redacted Amazon Transcribe creates only a redacted transcript.

When you choose redacted_and_unredacted Amazon Transcribe creates a redacted and an unredacted transcript. For batch jobs, Amazon Transcribe creates two separate files. For TranscribeAudio, Amazon Transcribe returns them in RedactedResults and Results, or writes them as two separate files if you use OutputConfiguration.

Returns:

  • (String)


743
744
745
746
747
748
749
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 743

class ContentRedaction < Struct.new(
  :redaction_type,
  :redaction_output,
  :pii_entity_types)
  SENSITIVE = []
  include Aws::Structure
end

#redaction_type ⇒ String

Specify the category of information you want to redact; PII (personally identifiable information) is the only valid value. You can use PiiEntityTypes to choose which types of PII you want to redact. If you do not include PiiEntityTypes in your request, all PII is redacted.

Returns:

  • (String)


743
744
745
746
747
748
749
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 743

class ContentRedaction < Struct.new(
  :redaction_type,
  :redaction_output,
  :pii_entity_types)
  SENSITIVE = []
  include Aws::Structure
end