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 or flag 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_typesArray<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>)


655
656
657
658
659
660
661
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 655

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

#redaction_outputString

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 (as two separate files).

Returns:

  • (String)


655
656
657
658
659
660
661
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 655

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

#redaction_typeString

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)


655
656
657
658
659
660
661
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 655

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