Skip to content

Commit 73b26af

Browse files
author
awstools
committed
feat(client-connect-contact-lens): Making sentiment optional for ListRealtimeContactAnalysisSegments Response depending on conversational analytics configuration
1 parent c493353 commit 73b26af

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

clients/client-connect-contact-lens/src/commands/ListRealtimeContactAnalysisSegmentsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface ListRealtimeContactAnalysisSegmentsCommandOutput
6565
* // Content: "STRING_VALUE", // required
6666
* // BeginOffsetMillis: Number("int"), // required
6767
* // EndOffsetMillis: Number("int"), // required
68-
* // Sentiment: "POSITIVE" || "NEUTRAL" || "NEGATIVE", // required
68+
* // Sentiment: "POSITIVE" || "NEUTRAL" || "NEGATIVE",
6969
* // IssuesDetected: [ // IssuesDetected
7070
* // { // IssueDetected
7171
* // CharacterOffsets: { // CharacterOffsets

clients/client-connect-contact-lens/src/models/models_0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export interface Transcript {
327327
* <p>The sentiment detected for this piece of transcript.</p>
328328
* @public
329329
*/
330-
Sentiment: SentimentValue | undefined;
330+
Sentiment?: SentimentValue | undefined;
331331

332332
/**
333333
* <p>List of positions where issues were detected on the transcript.</p>

codegen/sdk-codegen/aws-models/connect-contact-lens.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,9 +1389,7 @@
13891389
"Sentiment": {
13901390
"target": "com.amazonaws.connectcontactlens#SentimentValue",
13911391
"traits": {
1392-
"smithy.api#clientOptional": {},
1393-
"smithy.api#documentation": "<p>The sentiment detected for this piece of transcript.</p>",
1394-
"smithy.api#required": {}
1392+
"smithy.api#documentation": "<p>The sentiment detected for this piece of transcript.</p>"
13951393
}
13961394
},
13971395
"IssuesDetected": {

0 commit comments

Comments
 (0)