Skip to content

Commit

Permalink
feat(client-connect): Adding associatedQueueIds as a SearchCriteria a…
Browse files Browse the repository at this point in the history
…nd response field to the SearchRoutingProfiles API
  • Loading branch information
awstools committed May 30, 2024
1 parent 572bc93 commit b46048a
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export interface DescribeRoutingProfileCommandOutput extends DescribeRoutingProf
* // LastModifiedTime: new Date("TIMESTAMP"),
* // LastModifiedRegion: "STRING_VALUE",
* // IsDefault: true || false,
* // AssociatedQueueIds: [ // AssociatedQueueIdList
* // "STRING_VALUE",
* // ],
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ export interface SearchRoutingProfilesCommandOutput extends SearchRoutingProfile
* // LastModifiedTime: new Date("TIMESTAMP"),
* // LastModifiedRegion: "STRING_VALUE",
* // IsDefault: true || false,
* // AssociatedQueueIds: [ // AssociatedQueueIdList
* // "STRING_VALUE",
* // ],
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
6 changes: 6 additions & 0 deletions clients/client-connect/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1547,6 +1547,12 @@ export interface RoutingProfile {
* @public
*/
IsDefault?: boolean;

/**
* <p>The IDs of the associated queue.</p>
* @public
*/
AssociatedQueueIds?: string[];
}

/**
Expand Down
4 changes: 2 additions & 2 deletions clients/client-connect/src/models/models_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6093,8 +6093,8 @@ export interface RoutingProfileSearchCriteria {
/**
* <p>A leaf node condition which can be used to specify a string condition.</p>
* <note>
* <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
* <code>description</code>, and <code>resourceID</code>.</p>
* <p>The currently supported values for <code>FieldName</code> are
* <code>associatedQueueIds</code>, <code>name</code>, <code>description</code>, and <code>resourceID</code>.</p>
* </note>
* @public
*/
Expand Down
3 changes: 3 additions & 0 deletions clients/client-connect/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13309,6 +13309,8 @@ const de_AgentStatusSummaryList = (output: any, context: __SerdeContext): AgentS

// de_AssignContactCategoryActionDefinition omitted.

// de_AssociatedQueueIdList omitted.

// de_AttachedFile omitted.

// de_AttachedFileError omitted.
Expand Down Expand Up @@ -14809,6 +14811,7 @@ const de_RoutingCriteria = (output: any, context: __SerdeContext): RoutingCriter
const de_RoutingProfile = (output: any, context: __SerdeContext): RoutingProfile => {
return take(output, {
AgentAvailabilityTimer: __expectString,
AssociatedQueueIds: _json,
DefaultOutboundQueueId: __expectString,
Description: __expectString,
InstanceId: __expectString,
Expand Down
14 changes: 13 additions & 1 deletion codegen/sdk-codegen/aws-models/connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -3573,6 +3573,12 @@
"smithy.api#input": {}
}
},
"com.amazonaws.connect#AssociatedQueueIdList": {
"type": "list",
"member": {
"target": "com.amazonaws.connect#QueueId"
}
},
"com.amazonaws.connect#AssociationId": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -28917,6 +28923,12 @@
"smithy.api#default": false,
"smithy.api#documentation": "<p>Whether this a default routing profile.</p>"
}
},
"AssociatedQueueIds": {
"target": "com.amazonaws.connect#AssociatedQueueIdList",
"traits": {
"smithy.api#documentation": "<p>The IDs of the associated queue.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -29121,7 +29133,7 @@
"StringCondition": {
"target": "com.amazonaws.connect#StringCondition",
"traits": {
"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>"
"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>"
}
}
},
Expand Down

0 comments on commit b46048a

Please sign in to comment.