From 7bc2726db845b94a8e484009c7276d7dc7319431 Mon Sep 17 00:00:00 2001 From: jonathan343 Date: Mon, 6 Apr 2026 17:33:22 -0400 Subject: [PATCH] Update service models for bedrock-runtime and transcribe-streaming --- ...ange-799059f703a94e11939f38c730de853b.json | 4 +++ ...ange-a76516c6e27549fba1f6d956804a494d.json | 4 +++ codegen/aws-models/bedrock-runtime.json | 2 +- codegen/aws-models/transcribe-streaming.json | 25 ++++++++++++++++++- 4 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 clients/aws-sdk-bedrock-runtime/.changes/next-release/aws-sdk-bedrock-runtime-api-change-799059f703a94e11939f38c730de853b.json create mode 100644 clients/aws-sdk-transcribe-streaming/.changes/next-release/aws-sdk-transcribe-streaming-api-change-a76516c6e27549fba1f6d956804a494d.json diff --git a/clients/aws-sdk-bedrock-runtime/.changes/next-release/aws-sdk-bedrock-runtime-api-change-799059f703a94e11939f38c730de853b.json b/clients/aws-sdk-bedrock-runtime/.changes/next-release/aws-sdk-bedrock-runtime-api-change-799059f703a94e11939f38c730de853b.json new file mode 100644 index 0000000..26b54bf --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/.changes/next-release/aws-sdk-bedrock-runtime-api-change-799059f703a94e11939f38c730de853b.json @@ -0,0 +1,4 @@ +{ + "type": "api-change", + "description": "Relax ToolUseId pattern to allow dots and colons" +} \ No newline at end of file diff --git a/clients/aws-sdk-transcribe-streaming/.changes/next-release/aws-sdk-transcribe-streaming-api-change-a76516c6e27549fba1f6d956804a494d.json b/clients/aws-sdk-transcribe-streaming/.changes/next-release/aws-sdk-transcribe-streaming-api-change-a76516c6e27549fba1f6d956804a494d.json new file mode 100644 index 0000000..3c1e2f5 --- /dev/null +++ b/clients/aws-sdk-transcribe-streaming/.changes/next-release/aws-sdk-transcribe-streaming-api-change-a76516c6e27549fba1f6d956804a494d.json @@ -0,0 +1,4 @@ +{ + "type": "api-change", + "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." +} \ No newline at end of file diff --git a/codegen/aws-models/bedrock-runtime.json b/codegen/aws-models/bedrock-runtime.json index 311d06a..5191e7f 100644 --- a/codegen/aws-models/bedrock-runtime.json +++ b/codegen/aws-models/bedrock-runtime.json @@ -7377,7 +7377,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" + "smithy.api#pattern": "^[a-zA-Z0-9_.:-]+$" } }, "com.amazonaws.bedrockruntime#ToolUseType": { diff --git a/codegen/aws-models/transcribe-streaming.json b/codegen/aws-models/transcribe-streaming.json index b5e6ff0..bf0f127 100644 --- a/codegen/aws-models/transcribe-streaming.json +++ b/codegen/aws-models/transcribe-streaming.json @@ -2778,6 +2778,15 @@ "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}$" } }, + "com.amazonaws.transcribestreaming#SessionResumeWindow": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 300 + } + } + }, "com.amazonaws.transcribestreaming#Specialty": { "type": "enum", "members": { @@ -3668,7 +3677,7 @@ "PiiEntityTypes": { "target": "com.amazonaws.transcribestreaming#PiiEntityTypes", "traits": { - "smithy.api#documentation": "

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

\n

Values must be comma-separated and can include: ADDRESS, \n BANK_ACCOUNT_NUMBER, BANK_ROUTING,\n CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,\n CREDIT_DEBIT_NUMBER, EMAIL, \n NAME, PHONE, PIN, \n SSN, or ALL.

\n

Note that if you include PiiEntityTypes in your request, you must also include \n ContentIdentificationType or ContentRedactionType.

\n

If you include ContentRedactionType or \n ContentIdentificationType in your request, but do not include \n PiiEntityTypes, all PII is redacted or identified.

", + "smithy.api#documentation": "

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

\n

Values must be comma-separated and can include: ADDRESS, \n BANK_ACCOUNT_NUMBER, BANK_ROUTING,\n CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,\n CREDIT_DEBIT_NUMBER, EMAIL, \n NAME, PHONE, PIN, \n SSN, AGE, DATE_TIME,\n LICENSE_PLATE, PASSPORT_NUMBER,\n PASSWORD, USERNAME, VEHICLE_IDENTIFICATION_NUMBER, or ALL.

\n

Note that if you include PiiEntityTypes in your request, you must also include \n ContentIdentificationType or ContentRedactionType.

\n

If you include ContentRedactionType or \n ContentIdentificationType in your request, but do not include \n PiiEntityTypes, all PII is redacted or identified.

", "smithy.api#httpHeader": "x-amzn-transcribe-pii-entity-types" } }, @@ -3722,6 +3731,13 @@ "smithy.api#documentation": "

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.

\n

If none of the languages of the specified custom vocabulary filters match the language identified\n in your media, your job fails.

\n \n

This parameter is only intended for use with \n the IdentifyLanguage parameter. If you're not \n including IdentifyLanguage in your request and want to use a custom vocabulary filter \n with your transcription, use the VocabularyFilterName parameter instead.

\n
\n

For more information, see Using vocabulary filtering with unwanted \n words.

", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names" } + }, + "SessionResumeWindow": { + "target": "com.amazonaws.transcribestreaming#SessionResumeWindow", + "traits": { + "smithy.api#documentation": "

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

\n

For example, if your stream starts at 1 PM and you specify a SessionResumeWindow of 30 minutes,\n you can reconnect to the session as many times as you want until 1:30 PM.

", + "smithy.api#httpHeader": "x-amzn-transcribe-session-resume-window" + } } }, "traits": { @@ -3903,6 +3919,13 @@ "smithy.api#documentation": "

Provides the names of the custom vocabulary filters that you specified in your\n request.

", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names" } + }, + "SessionResumeWindow": { + "target": "com.amazonaws.transcribestreaming#SessionResumeWindow", + "traits": { + "smithy.api#documentation": "

Provides the session resume window, in minutes, that you specified in your request.

", + "smithy.api#httpHeader": "x-amzn-transcribe-session-resume-window" + } } }, "traits": {