AWSTranscribeContentRedaction

Objective-C

@interface AWSTranscribeContentRedaction

Swift

class AWSTranscribeContentRedaction

Allows you to redact or flag specified personally identifiable information (PII) in your transcript. If you use ContentRedaction, you must also include the sub-parameters: PiiEntityTypes, RedactionOutput, and RedactionType.

Required parameters: [RedactionType, RedactionOutput]

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable piiEntityTypes;

    Swift

    var piiEntityTypes: [String]? { get set }
  • 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).

    Declaration

    Objective-C

    @property (nonatomic) AWSTranscribeRedactionOutput redactionOutput;

    Swift

    var redactionOutput: AWSTranscribeRedactionOutput { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSTranscribeRedactionType redactionType;

    Swift

    var redactionType: AWSTranscribeRedactionType { get set }