AWSTranscribeCreateCallAnalyticsCategoryRequest

Objective-C

@interface AWSTranscribeCreateCallAnalyticsCategoryRequest

Swift

class AWSTranscribeCreateCallAnalyticsCategoryRequest
  • A unique name, chosen by you, for your Call Analytics category. It’s helpful to use a detailed naming system that will make sense to you in the future. For example, it’s better to use sentiment-positive-last30seconds for a category over a generic name like test-category.

    Category names are case sensitive.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable categoryName;

    Swift

    var categoryName: String? { get set }
  • Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.

    Specifying POST_CALL assigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.

    Specifying REAL_TIME assigns your category to streaming transcriptions; categories with this input type cannot be applied to post-call transcriptions.

    If you do not include InputType, your category is created as a post-call category by default.

    Declaration

    Objective-C

    @property (nonatomic) AWSTranscribeInputType inputType;

    Swift

    var inputType: AWSTranscribeInputType { get set }
  • Rules define a Call Analytics category. When creating a new category, you must create between 1 and 20 rules for that category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer’s sentiment was positive during the last 30 seconds of the call.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSTranscribeRule *> *_Nullable rules;

    Swift

    var rules: [AWSTranscribeRule]? { get set }