Skip to content

Commit c53d656

Browse files
author
AWS
committed
Amazon Transcribe Service Update: This update provides error messaging for generative call summarization in Transcribe Call Analytics
1 parent 0d3413e commit c53d656

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Transcribe Service",
4+
"contributor": "",
5+
"description": "This update provides error messaging for generative call summarization in Transcribe Call Analytics"
6+
}

services/transcribe/src/main/resources/codegen-resources/service-2.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"endpointPrefix":"transcribe",
66
"jsonVersion":"1.1",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceFullName":"Amazon Transcribe Service",
910
"serviceId":"Transcribe",
1011
"signatureVersion":"v4",
@@ -737,6 +738,10 @@
737738
"ja-JP"
738739
]
739740
},
741+
"CallAnalyticsFeature":{
742+
"type":"string",
743+
"enum":["GENERATIVE_SUMMARIZATION"]
744+
},
740745
"CallAnalyticsJob":{
741746
"type":"structure",
742747
"members":{
@@ -748,6 +753,10 @@
748753
"shape":"CallAnalyticsJobStatus",
749754
"documentation":"<p>Provides the status of the specified Call Analytics job.</p> <p>If the status is <code>COMPLETED</code>, the job is finished and you can find the results at the location specified in <code>TranscriptFileUri</code> (or <code>RedactedTranscriptFileUri</code>, if you requested transcript redaction). If the status is <code>FAILED</code>, <code>FailureReason</code> provides details on why your transcription job failed.</p>"
750755
},
756+
"CallAnalyticsJobDetails":{
757+
"shape":"CallAnalyticsJobDetails",
758+
"documentation":"<p>Provides detailed information about a call analytics job, including information about skipped analytics features.</p>"
759+
},
751760
"LanguageCode":{
752761
"shape":"LanguageCode",
753762
"documentation":"<p>The language code used to create your Call Analytics job. For a list of supported languages and their associated language codes, refer to the <a href=\"https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html\">Supported languages</a> table.</p> <p>If you do not know the language spoken in your media file, you can omit this field and let Amazon Transcribe automatically identify the language of your media. To improve the accuracy of language identification, you can include several language codes and Amazon Transcribe chooses the closest match for your transcription.</p>"
@@ -800,6 +809,16 @@
800809
},
801810
"documentation":"<p>Provides detailed information about a Call Analytics job.</p> <p>To view the job's status, refer to <code>CallAnalyticsJobStatus</code>. If the status is <code>COMPLETED</code>, the job is finished. You can find your completed transcript at the URI specified in <code>TranscriptFileUri</code>. If the status is <code>FAILED</code>, <code>FailureReason</code> provides details on why your transcription job failed.</p> <p>If you enabled personally identifiable information (PII) redaction, the redacted transcript appears at the location specified in <code>RedactedTranscriptFileUri</code>.</p> <p>If you chose to redact the audio in your media file, you can find your redacted media file at the location specified in the <code>RedactedMediaFileUri</code> field of your response.</p>"
802811
},
812+
"CallAnalyticsJobDetails":{
813+
"type":"structure",
814+
"members":{
815+
"Skipped":{
816+
"shape":"CallAnalyticsSkippedFeatureList",
817+
"documentation":"<p>Contains information about any skipped analytics features during the analysis of a call analytics job.</p> <p>This array lists all the analytics features that were skipped, along with their corresponding reason code and message.</p>"
818+
}
819+
},
820+
"documentation":"<p>Contains details about a call analytics job, including information about skipped analytics features.</p>"
821+
},
803822
"CallAnalyticsJobName":{
804823
"type":"string",
805824
"max":200,
@@ -881,13 +900,46 @@
881900
"shape":"CallAnalyticsJobStatus",
882901
"documentation":"<p>Provides the status of your Call Analytics job.</p> <p>If the status is <code>COMPLETED</code>, the job is finished and you can find the results at the location specified in <code>TranscriptFileUri</code> (or <code>RedactedTranscriptFileUri</code>, if you requested transcript redaction). If the status is <code>FAILED</code>, <code>FailureReason</code> provides details on why your transcription job failed.</p>"
883902
},
903+
"CallAnalyticsJobDetails":{
904+
"shape":"CallAnalyticsJobDetails",
905+
"documentation":"<p>Provides detailed information about a call analytics job, including information about skipped analytics features.</p>"
906+
},
884907
"FailureReason":{
885908
"shape":"FailureReason",
886909
"documentation":"<p>If <code>CallAnalyticsJobStatus</code> is <code>FAILED</code>, <code>FailureReason</code> contains information about why the Call Analytics job failed. See also: <a href=\"https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html\">Common Errors</a>.</p>"
887910
}
888911
},
889912
"documentation":"<p>Provides detailed information about a specific Call Analytics job.</p>"
890913
},
914+
"CallAnalyticsSkippedFeature":{
915+
"type":"structure",
916+
"members":{
917+
"Feature":{
918+
"shape":"CallAnalyticsFeature",
919+
"documentation":"<p>Indicates the type of analytics feature that was skipped during the analysis of a call analytics job.</p>"
920+
},
921+
"ReasonCode":{
922+
"shape":"CallAnalyticsSkippedReasonCode",
923+
"documentation":"<p>Provides a code indicating the reason why a specific analytics feature was skipped during the analysis of a call analytics job.</p>"
924+
},
925+
"Message":{
926+
"shape":"String",
927+
"documentation":"<p>Contains additional information or a message explaining why a specific analytics feature was skipped during the analysis of a call analytics job.</p>"
928+
}
929+
},
930+
"documentation":"<p>Represents a skipped analytics feature during the analysis of a call analytics job.</p> <p>The <code>Feature</code> field indicates the type of analytics feature that was skipped.</p> <p>The <code>Message</code> field contains additional information or a message explaining why the analytics feature was skipped.</p> <p>The <code>ReasonCode</code> field provides a code indicating the reason why the analytics feature was skipped.</p>"
931+
},
932+
"CallAnalyticsSkippedFeatureList":{
933+
"type":"list",
934+
"member":{"shape":"CallAnalyticsSkippedFeature"}
935+
},
936+
"CallAnalyticsSkippedReasonCode":{
937+
"type":"string",
938+
"enum":[
939+
"INSUFFICIENT_CONVERSATION_CONTENT",
940+
"FAILED_SAFETY_GUIDELINES"
941+
]
942+
},
891943
"CategoryName":{
892944
"type":"string",
893945
"max":200,
@@ -2207,7 +2259,7 @@
22072259
},
22082260
"MaxSpeakers":{
22092261
"type":"integer",
2210-
"max":10,
2262+
"max":30,
22112263
"min":2
22122264
},
22132265
"Media":{

0 commit comments

Comments
 (0)