From b46048a89f684f9959508d386b84dfc18e2f3589 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 30 May 2024 18:17:15 +0000 Subject: [PATCH] feat(client-connect): Adding associatedQueueIds as a SearchCriteria and response field to the SearchRoutingProfiles API --- .../src/commands/DescribeRoutingProfileCommand.ts | 3 +++ .../src/commands/SearchRoutingProfilesCommand.ts | 3 +++ clients/client-connect/src/models/models_1.ts | 6 ++++++ clients/client-connect/src/models/models_2.ts | 4 ++-- .../client-connect/src/protocols/Aws_restJson1.ts | 3 +++ codegen/sdk-codegen/aws-models/connect.json | 14 +++++++++++++- 6 files changed, 30 insertions(+), 3 deletions(-) diff --git a/clients/client-connect/src/commands/DescribeRoutingProfileCommand.ts b/clients/client-connect/src/commands/DescribeRoutingProfileCommand.ts index d5b7f44afff0..31764167d392 100644 --- a/clients/client-connect/src/commands/DescribeRoutingProfileCommand.ts +++ b/clients/client-connect/src/commands/DescribeRoutingProfileCommand.ts @@ -66,6 +66,9 @@ export interface DescribeRoutingProfileCommandOutput extends DescribeRoutingProf * // LastModifiedTime: new Date("TIMESTAMP"), * // LastModifiedRegion: "STRING_VALUE", * // IsDefault: true || false, + * // AssociatedQueueIds: [ // AssociatedQueueIdList + * // "STRING_VALUE", + * // ], * // }, * // }; * diff --git a/clients/client-connect/src/commands/SearchRoutingProfilesCommand.ts b/clients/client-connect/src/commands/SearchRoutingProfilesCommand.ts index b881662a3e5e..f6d083b211b2 100644 --- a/clients/client-connect/src/commands/SearchRoutingProfilesCommand.ts +++ b/clients/client-connect/src/commands/SearchRoutingProfilesCommand.ts @@ -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", diff --git a/clients/client-connect/src/models/models_1.ts b/clients/client-connect/src/models/models_1.ts index afbdd0961b45..16906db4d8b4 100644 --- a/clients/client-connect/src/models/models_1.ts +++ b/clients/client-connect/src/models/models_1.ts @@ -1547,6 +1547,12 @@ export interface RoutingProfile { * @public */ IsDefault?: boolean; + + /** + *

The IDs of the associated queue.

+ * @public + */ + AssociatedQueueIds?: string[]; } /** diff --git a/clients/client-connect/src/models/models_2.ts b/clients/client-connect/src/models/models_2.ts index 50e291ad6dee..32f7b738c7f9 100644 --- a/clients/client-connect/src/models/models_2.ts +++ b/clients/client-connect/src/models/models_2.ts @@ -6093,8 +6093,8 @@ export interface RoutingProfileSearchCriteria { /** *

A leaf node condition which can be used to specify a string condition.

* - *

The currently supported values for FieldName are name, - * description, and resourceID.

+ *

The currently supported values for FieldName are + * associatedQueueIds, name, description, and resourceID.

*
* @public */ diff --git a/clients/client-connect/src/protocols/Aws_restJson1.ts b/clients/client-connect/src/protocols/Aws_restJson1.ts index 67b8e681731c..9014236d6073 100644 --- a/clients/client-connect/src/protocols/Aws_restJson1.ts +++ b/clients/client-connect/src/protocols/Aws_restJson1.ts @@ -13309,6 +13309,8 @@ const de_AgentStatusSummaryList = (output: any, context: __SerdeContext): AgentS // de_AssignContactCategoryActionDefinition omitted. +// de_AssociatedQueueIdList omitted. + // de_AttachedFile omitted. // de_AttachedFileError omitted. @@ -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, diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index a44476a92b49..b10d3b33eb07 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -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": { @@ -28917,6 +28923,12 @@ "smithy.api#default": false, "smithy.api#documentation": "

Whether this a default routing profile.

" } + }, + "AssociatedQueueIds": { + "target": "com.amazonaws.connect#AssociatedQueueIdList", + "traits": { + "smithy.api#documentation": "

The IDs of the associated queue.

" + } } }, "traits": { @@ -29121,7 +29133,7 @@ "StringCondition": { "target": "com.amazonaws.connect#StringCondition", "traits": { - "smithy.api#documentation": "

A leaf node condition which can be used to specify a string condition.

\n \n

The currently supported values for FieldName are name,\n description, and resourceID.

\n
" + "smithy.api#documentation": "

A leaf node condition which can be used to specify a string condition.

\n \n

The currently supported values for FieldName are\n associatedQueueIds, name, description, and resourceID.

\n
" } } },