Skip to content

Commit c3cf5d7

Browse files
authored
Update service models for bedrock-runtime and transcribe-streaming (#53)
1 parent f21d4db commit c3cf5d7

4 files changed

Lines changed: 33 additions & 2 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "api-change",
3+
"description": "Relax ToolUseId pattern to allow dots and colons"
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "api-change",
3+
"description": "AWS Transcribe Streaming now supports specifying a resumption window for the stream through the SessionResumeWindow parameter, allowing customers to reconnect to their streams for a longer duration beyond stream start time."
4+
}

codegen/aws-models/bedrock-runtime.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7377,7 +7377,7 @@
73777377
"min": 1,
73787378
"max": 64
73797379
},
7380-
"smithy.api#pattern": "^[a-zA-Z0-9_-]+$"
7380+
"smithy.api#pattern": "^[a-zA-Z0-9_.:-]+$"
73817381
}
73827382
},
73837383
"com.amazonaws.bedrockruntime#ToolUseType": {

codegen/aws-models/transcribe-streaming.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2778,6 +2778,15 @@
27782778
"smithy.api#pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
27792779
}
27802780
},
2781+
"com.amazonaws.transcribestreaming#SessionResumeWindow": {
2782+
"type": "integer",
2783+
"traits": {
2784+
"smithy.api#range": {
2785+
"min": 1,
2786+
"max": 300
2787+
}
2788+
}
2789+
},
27812790
"com.amazonaws.transcribestreaming#Specialty": {
27822791
"type": "enum",
27832792
"members": {
@@ -3668,7 +3677,7 @@
36683677
"PiiEntityTypes": {
36693678
"target": "com.amazonaws.transcribestreaming#PiiEntityTypes",
36703679
"traits": {
3671-
"smithy.api#documentation": "<p>Specify which types of personally identifiable information (PII) you want to redact in your \n transcript. You can include as many types as you'd like, or you can select \n <code>ALL</code>.</p>\n <p>Values must be comma-separated and can include: <code>ADDRESS</code>, \n <code>BANK_ACCOUNT_NUMBER</code>, <code>BANK_ROUTING</code>,\n <code>CREDIT_DEBIT_CVV</code>, <code>CREDIT_DEBIT_EXPIRY</code>,\n <code>CREDIT_DEBIT_NUMBER</code>, <code>EMAIL</code>, \n <code>NAME</code>, <code>PHONE</code>, <code>PIN</code>, \n <code>SSN</code>, or <code>ALL</code>.</p>\n <p>Note that if you include <code>PiiEntityTypes</code> in your request, you must also include \n <code>ContentIdentificationType</code> or <code>ContentRedactionType</code>.</p>\n <p>If you include <code>ContentRedactionType</code> or \n <code>ContentIdentificationType</code> in your request, but do not include \n <code>PiiEntityTypes</code>, all PII is redacted or identified.</p>",
3680+
"smithy.api#documentation": "<p>Specify which types of personally identifiable information (PII) you want to redact in your \n transcript. You can include as many types as you'd like, or you can select \n <code>ALL</code>.</p>\n <p>Values must be comma-separated and can include: <code>ADDRESS</code>, \n <code>BANK_ACCOUNT_NUMBER</code>, <code>BANK_ROUTING</code>,\n <code>CREDIT_DEBIT_CVV</code>, <code>CREDIT_DEBIT_EXPIRY</code>,\n <code>CREDIT_DEBIT_NUMBER</code>, <code>EMAIL</code>, \n <code>NAME</code>, <code>PHONE</code>, <code>PIN</code>, \n <code>SSN</code>, <code>AGE</code>, <code>DATE_TIME</code>,\n <code>LICENSE_PLATE</code>, <code>PASSPORT_NUMBER</code>,\n <code>PASSWORD</code>, <code>USERNAME</code>, <code>VEHICLE_IDENTIFICATION_NUMBER</code>, or <code>ALL</code>.</p>\n <p>Note that if you include <code>PiiEntityTypes</code> in your request, you must also include \n <code>ContentIdentificationType</code> or <code>ContentRedactionType</code>.</p>\n <p>If you include <code>ContentRedactionType</code> or \n <code>ContentIdentificationType</code> in your request, but do not include \n <code>PiiEntityTypes</code>, all PII is redacted or identified.</p>",
36723681
"smithy.api#httpHeader": "x-amzn-transcribe-pii-entity-types"
36733682
}
36743683
},
@@ -3722,6 +3731,13 @@
37223731
"smithy.api#documentation": "<p>Specify the names of the custom vocabulary filters that you want to use when processing\n your transcription. Note that vocabulary filter names are case sensitive.</p>\n <p>If none of the languages of the specified custom vocabulary filters match the language identified\n in your media, your job fails.</p>\n <important>\n <p>This parameter is only intended for use <b>with</b> \n the <code>IdentifyLanguage</code> parameter. If you're <b>not</b> \n including <code>IdentifyLanguage</code> in your request and want to use a custom vocabulary filter \n with your transcription, use the <code>VocabularyFilterName</code> parameter instead.</p>\n </important>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-filtering.html\">Using vocabulary filtering with unwanted \n words</a>.</p>",
37233732
"smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names"
37243733
}
3734+
},
3735+
"SessionResumeWindow": {
3736+
"target": "com.amazonaws.transcribestreaming#SessionResumeWindow",
3737+
"traits": {
3738+
"smithy.api#documentation": "<p>Specify the time window, in minutes, during which your transcription session can be resumed,\n measured from the stream start time. This optional parameter accepts integer values from 1 to 300 (5 hours).</p>\n <p> For example, if your stream starts at 1 PM and you specify a <code>SessionResumeWindow</code> of 30 minutes,\n you can reconnect to the session as many times as you want until 1:30 PM. </p>",
3739+
"smithy.api#httpHeader": "x-amzn-transcribe-session-resume-window"
3740+
}
37253741
}
37263742
},
37273743
"traits": {
@@ -3903,6 +3919,13 @@
39033919
"smithy.api#documentation": "<p>Provides the names of the custom vocabulary filters that you specified in your\n request.</p>",
39043920
"smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names"
39053921
}
3922+
},
3923+
"SessionResumeWindow": {
3924+
"target": "com.amazonaws.transcribestreaming#SessionResumeWindow",
3925+
"traits": {
3926+
"smithy.api#documentation": "<p>Provides the session resume window, in minutes, that you specified in your request.</p>",
3927+
"smithy.api#httpHeader": "x-amzn-transcribe-session-resume-window"
3928+
}
39063929
}
39073930
},
39083931
"traits": {

0 commit comments

Comments
 (0)