Skip to content

Commit df058de

Browse files
author
awstools
committed
feat(client-connect): Deprecate EvaluationReviewMetadata's CreatedBy and CreatedTime, add EvaluationReviewMetadata's RequestedBy and RequestedTime
1 parent 3cc0ca9 commit df058de

File tree

5 files changed

+58
-17
lines changed

5 files changed

+58
-17
lines changed

clients/client-connect/src/commands/DescribeContactEvaluationCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ export interface DescribeContactEvaluationCommandOutput extends DescribeContactE
6969
* // },
7070
* // Review: { // EvaluationReviewMetadata
7171
* // ReviewId: "STRING_VALUE",
72-
* // CreatedTime: new Date("TIMESTAMP"), // required
73-
* // CreatedBy: "STRING_VALUE", // required
72+
* // RequestedTime: new Date("TIMESTAMP"),
73+
* // RequestedBy: "STRING_VALUE",
74+
* // CreatedTime: new Date("TIMESTAMP"),
75+
* // CreatedBy: "STRING_VALUE",
7476
* // ReviewRequestComments: [ // EvaluationReviewRequestCommentList // required
7577
* // { // EvaluationReviewRequestComment
7678
* // Comment: "STRING_VALUE",

clients/client-connect/src/commands/SearchContactEvaluationsCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ export interface SearchContactEvaluationsCommandOutput extends SearchContactEval
4848
* <li>
4949
* <p>A Search operation, unlike a List operation, takes time to index changes to resource (create, update or
5050
* delete). If you don't see updated information for recently changed contact evaluations, try calling the API again
51-
* in a few seconds. Contact Evaluations may not be fully backfilled with historical data in all regions yet, however
52-
* all recently created Contact Evaluations should be available for search.</p>
51+
* in a few seconds.</p>
5352
* </li>
5453
* </ul>
5554
* <p>

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

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,13 +2472,13 @@ export interface EvaluationReviewRequestComment {
24722472
Comment?: string | undefined;
24732473

24742474
/**
2475-
* <p>The timestamp when the review request comment was created.</p>
2475+
* <p>The timestamp when the evaluation review request comment was created.</p>
24762476
* @public
24772477
*/
24782478
CreatedTime?: Date | undefined;
24792479

24802480
/**
2481-
* <p>The user who created the review request comment.</p>
2481+
* <p>The user who created the evaluation review request comment.</p>
24822482
* @public
24832483
*/
24842484
CreatedBy?: string | undefined;
@@ -2495,17 +2495,33 @@ export interface EvaluationReviewMetadata {
24952495
*/
24962496
ReviewId?: string | undefined;
24972497

2498+
/**
2499+
* <p>The timestamp when the evaluation review was requested.</p>
2500+
* @public
2501+
*/
2502+
RequestedTime?: Date | undefined;
2503+
2504+
/**
2505+
* <p>The user who requested the evaluation review.</p>
2506+
* @public
2507+
*/
2508+
RequestedBy?: string | undefined;
2509+
24982510
/**
24992511
* <p>The timestamp when the evaluation review was created.</p>
2512+
*
2513+
* @deprecated CreatedTime is deprecated.
25002514
* @public
25012515
*/
2502-
CreatedTime: Date | undefined;
2516+
CreatedTime?: Date | undefined;
25032517

25042518
/**
25052519
* <p>The user who created the evaluation review.</p>
2520+
*
2521+
* @deprecated CreatedBy is deprecated.
25062522
* @public
25072523
*/
2508-
CreatedBy: string | undefined;
2524+
CreatedBy?: string | undefined;
25092525

25102526
/**
25112527
* <p>Comments provided when requesting the evaluation review.</p>

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,6 +1863,7 @@ const _RAep = "ReplicaAlias";
18631863
const _RAu = "RuleArn";
18641864
const _RAul = "RuleAction";
18651865
const _RAule = "RuleActions";
1866+
const _RB = "RequestedBy";
18661867
const _RC = "RoutingCriteria";
18671868
const _RCAS = "RealtimeContactAnalysisSegments";
18681869
const _RCASe = "RealtimeContactAnalysisSegment";
@@ -1982,6 +1983,7 @@ const _RTTF = "RequiredTaskTemplateFields";
19821983
const _RTe = "RehydrationType";
19831984
const _RTef = "RefreshToken";
19841985
const _RTefe = "ReferenceTypes";
1986+
const _RTeq = "RequestedTime";
19851987
const _RTes = "ResourceTypes";
19861988
const _Ra = "Range";
19871989
const _Re = "Recordings";
@@ -5332,8 +5334,8 @@ export var EvaluationReviewConfiguration$: StaticStructureSchema = [3, n0, _ERC,
53325334
];
53335335
export var EvaluationReviewMetadata$: StaticStructureSchema = [3, n0, _ERM,
53345336
0,
5335-
[_CTre, _CB, _RRC, _RIev],
5336-
[4, 0, () => EvaluationReviewRequestCommentList, 0], 3
5337+
[_RRC, _RIev, _RTeq, _RB, _CTre, _CB],
5338+
[() => EvaluationReviewRequestCommentList, 0, 4, 0, 4, 0], 1
53375339
];
53385340
export var EvaluationReviewNotificationRecipient$: StaticStructureSchema = [3, n0, _ERNR,
53395341
0,

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

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24923,18 +24923,40 @@
2492324923
"smithy.api#documentation": "<p>The unique identifier for the evaluation review.</p>"
2492424924
}
2492524925
},
24926+
"RequestedTime": {
24927+
"target": "com.amazonaws.connect#Timestamp",
24928+
"traits": {
24929+
"smithy.api#documentation": "<p>The timestamp when the evaluation review was requested.</p>"
24930+
}
24931+
},
24932+
"RequestedBy": {
24933+
"target": "com.amazonaws.connect#ARN",
24934+
"traits": {
24935+
"smithy.api#documentation": "<p>The user who requested the evaluation review.</p>"
24936+
}
24937+
},
2492624938
"CreatedTime": {
2492724939
"target": "com.amazonaws.connect#Timestamp",
2492824940
"traits": {
24929-
"smithy.api#documentation": "<p>The timestamp when the evaluation review was created.</p>",
24930-
"smithy.api#required": {}
24941+
"smithy.api#addedDefault": {},
24942+
"smithy.api#default": 0,
24943+
"smithy.api#deprecated": {
24944+
"since": "02/17/2026",
24945+
"message": "CreatedTime is deprecated."
24946+
},
24947+
"smithy.api#documentation": "<p>The timestamp when the evaluation review was created.</p>"
2493124948
}
2493224949
},
2493324950
"CreatedBy": {
2493424951
"target": "com.amazonaws.connect#ARN",
2493524952
"traits": {
24936-
"smithy.api#documentation": "<p>The user who created the evaluation review.</p>",
24937-
"smithy.api#required": {}
24953+
"smithy.api#addedDefault": {},
24954+
"smithy.api#default": "n/a",
24955+
"smithy.api#deprecated": {
24956+
"since": "02/17/2026",
24957+
"message": "CreatedBy is deprecated."
24958+
},
24959+
"smithy.api#documentation": "<p>The user who created the evaluation review.</p>"
2493824960
}
2493924961
},
2494024962
"ReviewRequestComments": {
@@ -25019,13 +25041,13 @@
2501925041
"CreatedTime": {
2502025042
"target": "com.amazonaws.connect#Timestamp",
2502125043
"traits": {
25022-
"smithy.api#documentation": "<p>The timestamp when the review request comment was created.</p>"
25044+
"smithy.api#documentation": "<p>The timestamp when the evaluation review request comment was created.</p>"
2502325045
}
2502425046
},
2502525047
"CreatedBy": {
2502625048
"target": "com.amazonaws.connect#ARN",
2502725049
"traits": {
25028-
"smithy.api#documentation": "<p>The user who created the review request comment.</p>"
25050+
"smithy.api#documentation": "<p>The user who created the evaluation review request comment.</p>"
2502925051
}
2503025052
}
2503125053
},
@@ -46710,7 +46732,7 @@
4671046732
}
4671146733
],
4671246734
"traits": {
46713-
"smithy.api#documentation": "<p>Searches contact evaluations in an Amazon Connect instance, with optional filtering. </p>\n <p>\n <b>Use cases</b>\n </p>\n <p>Following are common uses cases for this API:</p>\n <ul>\n <li>\n <p>Find contact evaluations by using specific search criteria.</p>\n </li>\n <li>\n <p>Find contact evaluations that are tagged with a specific set of tags.</p>\n </li>\n </ul>\n <p>\n <b>Important things to know</b>\n </p>\n <ul>\n <li>\n <p>A Search operation, unlike a List operation, takes time to index changes to resource (create, update or\n delete). If you don't see updated information for recently changed contact evaluations, try calling the API again\n in a few seconds. Contact Evaluations may not be fully backfilled with historical data in all regions yet, however\n all recently created Contact Evaluations should be available for search.</p>\n </li>\n </ul>\n <p>\n <b>Endpoints</b>: See <a href=\"https://docs.aws.amazon.com/general/latest/gr/connect_region.html\">Amazon Connect endpoints and quotas</a>.</p>",
46735+
"smithy.api#documentation": "<p>Searches contact evaluations in an Amazon Connect instance, with optional filtering. </p>\n <p>\n <b>Use cases</b>\n </p>\n <p>Following are common uses cases for this API:</p>\n <ul>\n <li>\n <p>Find contact evaluations by using specific search criteria.</p>\n </li>\n <li>\n <p>Find contact evaluations that are tagged with a specific set of tags.</p>\n </li>\n </ul>\n <p>\n <b>Important things to know</b>\n </p>\n <ul>\n <li>\n <p>A Search operation, unlike a List operation, takes time to index changes to resource (create, update or\n delete). If you don't see updated information for recently changed contact evaluations, try calling the API again\n in a few seconds.</p>\n </li>\n </ul>\n <p>\n <b>Endpoints</b>: See <a href=\"https://docs.aws.amazon.com/general/latest/gr/connect_region.html\">Amazon Connect endpoints and quotas</a>.</p>",
4671446736
"smithy.api#http": {
4671546737
"method": "POST",
4671646738
"uri": "/search-contact-evaluations",

0 commit comments

Comments
 (0)