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

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

Overview

Note:

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

{
  redaction_type: "PII", # required, accepts PII
  redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
}

Settings for content redaction within a transcription job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#redaction_outputString

The output transcript file stored in either the default S3 bucket or in a bucket you specify.

When you choose `redacted` Amazon Transcribe outputs only the redacted transcript.

When you choose `redacted_and_unredacted` Amazon Transcribe outputs both the redacted and unredacted transcripts.

Returns:

  • (String)

70
71
72
73
74
75
# File 'lib/aws-sdk-transcribeservice/types.rb', line 70

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

#redaction_typeString

Request parameter that defines the entities to be redacted. The only accepted value is `PII`.

Returns:

  • (String)

70
71
72
73
74
75
# File 'lib/aws-sdk-transcribeservice/types.rb', line 70

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