Skip to content

Commit b46048a

Browse files
author
awstools
committedMay 30, 2024
feat(client-connect): Adding associatedQueueIds as a SearchCriteria and response field to the SearchRoutingProfiles API
1 parent 572bc93 commit b46048a

File tree

6 files changed

+30
-3
lines changed

6 files changed

+30
-3
lines changed
 

‎clients/client-connect/src/commands/DescribeRoutingProfileCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ export interface DescribeRoutingProfileCommandOutput extends DescribeRoutingProf
6666
* // LastModifiedTime: new Date("TIMESTAMP"),
6767
* // LastModifiedRegion: "STRING_VALUE",
6868
* // IsDefault: true || false,
69+
* // AssociatedQueueIds: [ // AssociatedQueueIdList
70+
* // "STRING_VALUE",
71+
* // ],
6972
* // },
7073
* // };
7174
*

‎clients/client-connect/src/commands/SearchRoutingProfilesCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ export interface SearchRoutingProfilesCommandOutput extends SearchRoutingProfile
112112
* // LastModifiedTime: new Date("TIMESTAMP"),
113113
* // LastModifiedRegion: "STRING_VALUE",
114114
* // IsDefault: true || false,
115+
* // AssociatedQueueIds: [ // AssociatedQueueIdList
116+
* // "STRING_VALUE",
117+
* // ],
115118
* // },
116119
* // ],
117120
* // NextToken: "STRING_VALUE",

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

+6
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,12 @@ export interface RoutingProfile {
15471547
* @public
15481548
*/
15491549
IsDefault?: boolean;
1550+
1551+
/**
1552+
* <p>The IDs of the associated queue.</p>
1553+
* @public
1554+
*/
1555+
AssociatedQueueIds?: string[];
15501556
}
15511557

15521558
/**

‎clients/client-connect/src/models/models_2.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6093,8 +6093,8 @@ export interface RoutingProfileSearchCriteria {
60936093
/**
60946094
* <p>A leaf node condition which can be used to specify a string condition.</p>
60956095
* <note>
6096-
* <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
6097-
* <code>description</code>, and <code>resourceID</code>.</p>
6096+
* <p>The currently supported values for <code>FieldName</code> are
6097+
* <code>associatedQueueIds</code>, <code>name</code>, <code>description</code>, and <code>resourceID</code>.</p>
60986098
* </note>
60996099
* @public
61006100
*/

‎clients/client-connect/src/protocols/Aws_restJson1.ts

+3
Original file line numberDiff line numberDiff line change
@@ -13309,6 +13309,8 @@ const de_AgentStatusSummaryList = (output: any, context: __SerdeContext): AgentS
1330913309

1331013310
// de_AssignContactCategoryActionDefinition omitted.
1331113311

13312+
// de_AssociatedQueueIdList omitted.
13313+
1331213314
// de_AttachedFile omitted.
1331313315

1331413316
// de_AttachedFileError omitted.
@@ -14809,6 +14811,7 @@ const de_RoutingCriteria = (output: any, context: __SerdeContext): RoutingCriter
1480914811
const de_RoutingProfile = (output: any, context: __SerdeContext): RoutingProfile => {
1481014812
return take(output, {
1481114813
AgentAvailabilityTimer: __expectString,
14814+
AssociatedQueueIds: _json,
1481214815
DefaultOutboundQueueId: __expectString,
1481314816
Description: __expectString,
1481414817
InstanceId: __expectString,

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

+13-1
Original file line numberDiff line numberDiff line change
@@ -3573,6 +3573,12 @@
35733573
"smithy.api#input": {}
35743574
}
35753575
},
3576+
"com.amazonaws.connect#AssociatedQueueIdList": {
3577+
"type": "list",
3578+
"member": {
3579+
"target": "com.amazonaws.connect#QueueId"
3580+
}
3581+
},
35763582
"com.amazonaws.connect#AssociationId": {
35773583
"type": "string",
35783584
"traits": {
@@ -28917,6 +28923,12 @@
2891728923
"smithy.api#default": false,
2891828924
"smithy.api#documentation": "<p>Whether this a default routing profile.</p>"
2891928925
}
28926+
},
28927+
"AssociatedQueueIds": {
28928+
"target": "com.amazonaws.connect#AssociatedQueueIdList",
28929+
"traits": {
28930+
"smithy.api#documentation": "<p>The IDs of the associated queue.</p>"
28931+
}
2892028932
}
2892128933
},
2892228934
"traits": {
@@ -29121,7 +29133,7 @@
2912129133
"StringCondition": {
2912229134
"target": "com.amazonaws.connect#StringCondition",
2912329135
"traits": {
29124-
"smithy.api#documentation": "<p>A leaf node condition which can be used to specify a string condition.</p>\n <note>\n <p>The currently supported values for <code>FieldName</code> are <code>name</code>,\n <code>description</code>, and <code>resourceID</code>.</p>\n </note>"
29136+
"smithy.api#documentation": "<p>A leaf node condition which can be used to specify a string condition.</p>\n <note>\n <p>The currently supported values for <code>FieldName</code> are\n <code>associatedQueueIds</code>, <code>name</code>, <code>description</code>, and <code>resourceID</code>.</p>\n </note>"
2912529137
}
2912629138
}
2912729139
},

0 commit comments

Comments
 (0)
Please sign in to comment.