Skip to content

Commit c3ccd65

Browse files
author
awstools
committed
feat(client-bedrock): Adds the audioDataDeliveryEnabled boolean field to the Model Invocation Logging Configuration.
1 parent d338e8a commit c3ccd65

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

clients/client-bedrock/src/commands/GetModelInvocationLoggingConfigurationCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface GetModelInvocationLoggingConfigurationCommandOutput
6363
* // imageDataDeliveryEnabled: true || false,
6464
* // embeddingDataDeliveryEnabled: true || false,
6565
* // videoDataDeliveryEnabled: true || false,
66+
* // audioDataDeliveryEnabled: true || false,
6667
* // },
6768
* // };
6869
*

clients/client-bedrock/src/commands/PutModelInvocationLoggingConfigurationCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export interface PutModelInvocationLoggingConfigurationCommandOutput
6060
* imageDataDeliveryEnabled: true || false,
6161
* embeddingDataDeliveryEnabled: true || false,
6262
* videoDataDeliveryEnabled: true || false,
63+
* audioDataDeliveryEnabled: true || false,
6364
* },
6465
* };
6566
* const command = new PutModelInvocationLoggingConfigurationCommand(input);

clients/client-bedrock/src/models/models_1.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ export interface LoggingConfig {
151151
* @public
152152
*/
153153
videoDataDeliveryEnabled?: boolean | undefined;
154+
155+
/**
156+
* <p>Set to include audio data in the log delivery.</p>
157+
* @public
158+
*/
159+
audioDataDeliveryEnabled?: boolean | undefined;
154160
}
155161

156162
/**

clients/client-bedrock/src/schemas/schemas_0.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ const _a = "annotation";
661661
const _aA = "agreementAvailability";
662662
const _aAn = "andAll";
663663
const _aD = "agreementDuration";
664+
const _aDDE = "audioDataDeliveryEnabled";
664665
const _aE = "alternateExpression";
665666
const _aEc = "acceptEula";
666667
const _aMRF = "additionalModelRequestFields";
@@ -4238,8 +4239,8 @@ export var LoggingConfig: StaticStructureSchema = [
42384239
n0,
42394240
_LC,
42404241
0,
4241-
[_cWC, _sC, _tDDE, _iDDE, _eDDE, _vDDE],
4242-
[() => CloudWatchConfig, () => S3Config, 2, 2, 2, 2],
4242+
[_cWC, _sC, _tDDE, _iDDE, _eDDE, _vDDE, _aDDE],
4243+
[() => CloudWatchConfig, () => S3Config, 2, 2, 2, 2, 2],
42434244
];
42444245
export var MarketplaceModelEndpoint: StaticStructureSchema = [
42454246
3,

codegen/sdk-codegen/aws-models/bedrock.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17039,6 +17039,12 @@
1703917039
"traits": {
1704017040
"smithy.api#documentation": "<p>Set to include video data in the log delivery.</p>"
1704117041
}
17042+
},
17043+
"audioDataDeliveryEnabled": {
17044+
"target": "smithy.api#Boolean",
17045+
"traits": {
17046+
"smithy.api#documentation": "<p>Set to include audio data in the log delivery.</p>"
17047+
}
1704217048
}
1704317049
},
1704417050
"traits": {

0 commit comments

Comments
 (0)