From 226e9c6fef555fcea844cff6fc002d5d3c052d9e Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 18 Jul 2024 19:31:29 +0000 Subject: [PATCH] feat(client-connect): Amazon Connect expands search API coverage for additional resources. Search for hierarchy groups by name, ID, tag, or other criteria (new endpoint). Search for agent statuses by name, ID, tag, or other criteria (new endpoint). Search for users by their assigned proficiencies (enhanced endpoint) --- clients/client-connect/README.md | 19 +- clients/client-connect/src/Connect.ts | 51 +- clients/client-connect/src/ConnectClient.ts | 17 +- .../src/auth/httpAuthSchemeProvider.ts | 2 +- .../DescribeContactEvaluationCommand.ts | 2 +- ...istTrafficDistributionGroupUsersCommand.ts | 2 +- .../src/commands/ListUseCasesCommand.ts | 2 +- .../commands/SearchAgentStatusesCommand.ts | 164 +++++ .../SearchUserHierarchyGroupsCommand.ts | 203 +++++++ .../src/commands/SearchUsersCommand.ts | 36 +- clients/client-connect/src/commands/index.ts | 2 + clients/client-connect/src/index.ts | 5 +- clients/client-connect/src/models/models_0.ts | 297 +++++---- clients/client-connect/src/models/models_1.ts | 285 +++++---- clients/client-connect/src/models/models_2.ts | 574 +++++++++++++++--- .../SearchAgentStatusesPaginator.ts | 24 + .../SearchUserHierarchyGroupsPaginator.ts | 24 + .../client-connect/src/pagination/index.ts | 2 + .../src/protocols/Aws_restJson1.ts | 215 ++++++- codegen/sdk-codegen/aws-models/connect.json | 526 +++++++++++++++- 20 files changed, 2046 insertions(+), 406 deletions(-) create mode 100644 clients/client-connect/src/commands/SearchAgentStatusesCommand.ts create mode 100644 clients/client-connect/src/commands/SearchUserHierarchyGroupsCommand.ts create mode 100644 clients/client-connect/src/pagination/SearchAgentStatusesPaginator.ts create mode 100644 clients/client-connect/src/pagination/SearchUserHierarchyGroupsPaginator.ts diff --git a/clients/client-connect/README.md b/clients/client-connect/README.md index 402b34457571..5b579a2c7039 100644 --- a/clients/client-connect/README.md +++ b/clients/client-connect/README.md @@ -9,8 +9,7 @@ AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native.