@aws-sdk/client-connect 3.438.0 → 3.441.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +11 -3
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/BatchGetFlowAssociationCommand.js +51 -0
  4. package/dist-cjs/commands/DescribeViewCommand.js +2 -2
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_0.js +6 -7
  7. package/dist-cjs/models/models_1.js +7 -14
  8. package/dist-cjs/models/models_2.js +14 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +468 -34
  10. package/dist-es/Connect.js +2 -0
  11. package/dist-es/commands/BatchGetFlowAssociationCommand.js +47 -0
  12. package/dist-es/commands/DescribeViewCommand.js +1 -1
  13. package/dist-es/commands/index.js +1 -0
  14. package/dist-es/models/models_0.js +4 -4
  15. package/dist-es/models/models_1.js +5 -13
  16. package/dist-es/models/models_2.js +13 -0
  17. package/dist-es/protocols/Aws_restJson1.js +457 -25
  18. package/dist-types/Connect.d.ts +10 -3
  19. package/dist-types/ConnectClient.d.ts +6 -5
  20. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +101 -0
  21. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateViewCommand.d.ts +5 -7
  23. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  24. package/dist-types/commands/DeleteViewCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +2 -0
  26. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
  27. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -0
  28. package/dist-types/commands/DescribePromptCommand.d.ts +2 -0
  29. package/dist-types/commands/DescribeQueueCommand.d.ts +2 -0
  30. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +2 -0
  31. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +3 -0
  32. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +2 -0
  33. package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
  34. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +12 -0
  35. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +12 -1
  36. package/dist-types/commands/DescribeViewCommand.d.ts +5 -5
  37. package/dist-types/commands/GetPromptFileCommand.d.ts +2 -0
  38. package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -0
  39. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +2 -0
  40. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +2 -0
  41. package/dist-types/commands/ListPromptsCommand.d.ts +2 -0
  42. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +4 -0
  43. package/dist-types/commands/ListQueuesCommand.d.ts +2 -0
  44. package/dist-types/commands/ListQuickConnectsCommand.d.ts +2 -0
  45. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
  46. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +2 -0
  47. package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +3 -1
  48. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
  49. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +2 -0
  50. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +2 -0
  51. package/dist-types/commands/ListUsersCommand.d.ts +2 -0
  52. package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -2
  53. package/dist-types/commands/ReplicateInstanceCommand.d.ts +3 -1
  54. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +3 -1
  55. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -1
  56. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -0
  57. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -0
  58. package/dist-types/commands/SearchQueuesCommand.d.ts +2 -0
  59. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -0
  60. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -0
  61. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +5 -3
  62. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
  63. package/dist-types/commands/UpdateViewContentCommand.d.ts +4 -6
  64. package/dist-types/commands/index.d.ts +1 -0
  65. package/dist-types/index.d.ts +3 -3
  66. package/dist-types/models/models_0.d.ts +231 -107
  67. package/dist-types/models/models_1.d.ts +242 -129
  68. package/dist-types/models/models_2.d.ts +116 -14
  69. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  70. package/dist-types/ts3.4/Connect.d.ts +17 -0
  71. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  72. package/dist-types/ts3.4/commands/BatchGetFlowAssociationCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -4
  74. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +47 -21
  77. package/dist-types/ts3.4/models/models_1.d.ts +50 -41
  78. package/dist-types/ts3.4/models/models_2.d.ts +44 -2
  79. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  80. package/package.json +4 -4
@@ -272,6 +272,28 @@ export const se_AssociateTrafficDistributionGroupUserCommand = async (input, con
272
272
  body,
273
273
  });
274
274
  };
275
+ export const se_BatchGetFlowAssociationCommand = async (input, context) => {
276
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
277
+ const headers = {
278
+ "content-type": "application/json",
279
+ };
280
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/flow-associations-batch/{InstanceId}";
281
+ resolvedPath = __resolvedPath(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
282
+ let body;
283
+ body = JSON.stringify(take(input, {
284
+ ResourceIds: (_) => _json(_),
285
+ ResourceType: [],
286
+ }));
287
+ return new __HttpRequest({
288
+ protocol,
289
+ hostname,
290
+ port,
291
+ method: "POST",
292
+ headers,
293
+ path: resolvedPath,
294
+ body,
295
+ });
296
+ };
275
297
  export const se_ClaimPhoneNumberCommand = async (input, context) => {
276
298
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
277
299
  const headers = {
@@ -281,6 +303,7 @@ export const se_ClaimPhoneNumberCommand = async (input, context) => {
281
303
  let body;
282
304
  body = JSON.stringify(take(input, {
283
305
  ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
306
+ InstanceId: [],
284
307
  PhoneNumber: [],
285
308
  PhoneNumberDescription: [],
286
309
  Tags: (_) => _json(_),
@@ -2503,6 +2526,7 @@ export const se_ListPhoneNumbersV2Command = async (input, context) => {
2503
2526
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/list";
2504
2527
  let body;
2505
2528
  body = JSON.stringify(take(input, {
2529
+ InstanceId: [],
2506
2530
  MaxResults: [],
2507
2531
  NextToken: [],
2508
2532
  PhoneNumberCountryCodes: (_) => _json(_),
@@ -3077,6 +3101,7 @@ export const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
3077
3101
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/search-available";
3078
3102
  let body;
3079
3103
  body = JSON.stringify(take(input, {
3104
+ InstanceId: [],
3080
3105
  MaxResults: [],
3081
3106
  NextToken: [],
3082
3107
  PhoneNumberCountryCode: [],
@@ -4026,6 +4051,7 @@ export const se_UpdatePhoneNumberCommand = async (input, context) => {
4026
4051
  let body;
4027
4052
  body = JSON.stringify(take(input, {
4028
4053
  ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
4054
+ InstanceId: [],
4029
4055
  TargetArn: [],
4030
4056
  }));
4031
4057
  return new __HttpRequest({
@@ -5213,6 +5239,54 @@ const de_AssociateTrafficDistributionGroupUserCommandError = async (output, cont
5213
5239
  });
5214
5240
  }
5215
5241
  };
5242
+ export const de_BatchGetFlowAssociationCommand = async (output, context) => {
5243
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5244
+ return de_BatchGetFlowAssociationCommandError(output, context);
5245
+ }
5246
+ const contents = map({
5247
+ $metadata: deserializeMetadata(output),
5248
+ });
5249
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5250
+ const doc = take(data, {
5251
+ FlowAssociationSummaryList: _json,
5252
+ });
5253
+ Object.assign(contents, doc);
5254
+ return contents;
5255
+ };
5256
+ const de_BatchGetFlowAssociationCommandError = async (output, context) => {
5257
+ const parsedOutput = {
5258
+ ...output,
5259
+ body: await parseErrorBody(output.body, context),
5260
+ };
5261
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5262
+ switch (errorCode) {
5263
+ case "AccessDeniedException":
5264
+ case "com.amazonaws.connect#AccessDeniedException":
5265
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5266
+ case "InternalServiceException":
5267
+ case "com.amazonaws.connect#InternalServiceException":
5268
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5269
+ case "InvalidParameterException":
5270
+ case "com.amazonaws.connect#InvalidParameterException":
5271
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
5272
+ case "InvalidRequestException":
5273
+ case "com.amazonaws.connect#InvalidRequestException":
5274
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5275
+ case "ResourceNotFoundException":
5276
+ case "com.amazonaws.connect#ResourceNotFoundException":
5277
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5278
+ case "ThrottlingException":
5279
+ case "com.amazonaws.connect#ThrottlingException":
5280
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5281
+ default:
5282
+ const parsedBody = parsedOutput.body;
5283
+ return throwDefaultError({
5284
+ output,
5285
+ parsedBody,
5286
+ errorCode,
5287
+ });
5288
+ }
5289
+ };
5216
5290
  export const de_ClaimPhoneNumberCommand = async (output, context) => {
5217
5291
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5218
5292
  return de_ClaimPhoneNumberCommandError(output, context);
@@ -7343,7 +7417,7 @@ export const de_DescribeAgentStatusCommand = async (output, context) => {
7343
7417
  });
7344
7418
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7345
7419
  const doc = take(data, {
7346
- AgentStatus: _json,
7420
+ AgentStatus: (_) => de_AgentStatus(_, context),
7347
7421
  });
7348
7422
  Object.assign(contents, doc);
7349
7423
  return contents;
@@ -7614,7 +7688,7 @@ export const de_DescribeHoursOfOperationCommand = async (output, context) => {
7614
7688
  });
7615
7689
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7616
7690
  const doc = take(data, {
7617
- HoursOfOperation: _json,
7691
+ HoursOfOperation: (_) => de_HoursOfOperation(_, context),
7618
7692
  });
7619
7693
  Object.assign(contents, doc);
7620
7694
  return contents;
@@ -7833,7 +7907,7 @@ export const de_DescribePromptCommand = async (output, context) => {
7833
7907
  });
7834
7908
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7835
7909
  const doc = take(data, {
7836
- Prompt: _json,
7910
+ Prompt: (_) => de_Prompt(_, context),
7837
7911
  });
7838
7912
  Object.assign(contents, doc);
7839
7913
  return contents;
@@ -7878,7 +7952,7 @@ export const de_DescribeQueueCommand = async (output, context) => {
7878
7952
  });
7879
7953
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7880
7954
  const doc = take(data, {
7881
- Queue: _json,
7955
+ Queue: (_) => de_Queue(_, context),
7882
7956
  });
7883
7957
  Object.assign(contents, doc);
7884
7958
  return contents;
@@ -7923,7 +7997,7 @@ export const de_DescribeQuickConnectCommand = async (output, context) => {
7923
7997
  });
7924
7998
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7925
7999
  const doc = take(data, {
7926
- QuickConnect: _json,
8000
+ QuickConnect: (_) => de_QuickConnect(_, context),
7927
8001
  });
7928
8002
  Object.assign(contents, doc);
7929
8003
  return contents;
@@ -7968,7 +8042,7 @@ export const de_DescribeRoutingProfileCommand = async (output, context) => {
7968
8042
  });
7969
8043
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7970
8044
  const doc = take(data, {
7971
- RoutingProfile: _json,
8045
+ RoutingProfile: (_) => de_RoutingProfile(_, context),
7972
8046
  });
7973
8047
  Object.assign(contents, doc);
7974
8048
  return contents;
@@ -8058,7 +8132,7 @@ export const de_DescribeSecurityProfileCommand = async (output, context) => {
8058
8132
  });
8059
8133
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8060
8134
  const doc = take(data, {
8061
- SecurityProfile: _json,
8135
+ SecurityProfile: (_) => de_SecurityProfile(_, context),
8062
8136
  });
8063
8137
  Object.assign(contents, doc);
8064
8138
  return contents;
@@ -8148,7 +8222,7 @@ export const de_DescribeUserCommand = async (output, context) => {
8148
8222
  });
8149
8223
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8150
8224
  const doc = take(data, {
8151
- User: _json,
8225
+ User: (_) => de_User(_, context),
8152
8226
  });
8153
8227
  Object.assign(contents, doc);
8154
8228
  return contents;
@@ -8193,7 +8267,7 @@ export const de_DescribeUserHierarchyGroupCommand = async (output, context) => {
8193
8267
  });
8194
8268
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8195
8269
  const doc = take(data, {
8196
- HierarchyGroup: _json,
8270
+ HierarchyGroup: (_) => de_HierarchyGroup(_, context),
8197
8271
  });
8198
8272
  Object.assign(contents, doc);
8199
8273
  return contents;
@@ -8238,7 +8312,7 @@ export const de_DescribeUserHierarchyStructureCommand = async (output, context)
8238
8312
  });
8239
8313
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8240
8314
  const doc = take(data, {
8241
- HierarchyStructure: _json,
8315
+ HierarchyStructure: (_) => de_HierarchyStructure(_, context),
8242
8316
  });
8243
8317
  Object.assign(contents, doc);
8244
8318
  return contents;
@@ -9107,6 +9181,8 @@ export const de_GetPromptFileCommand = async (output, context) => {
9107
9181
  });
9108
9182
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9109
9183
  const doc = take(data, {
9184
+ LastModifiedRegion: __expectString,
9185
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9110
9186
  PromptPresignedUrl: __expectString,
9111
9187
  });
9112
9188
  Object.assign(contents, doc);
@@ -9258,7 +9334,7 @@ export const de_ListAgentStatusesCommand = async (output, context) => {
9258
9334
  });
9259
9335
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9260
9336
  const doc = take(data, {
9261
- AgentStatusSummaryList: _json,
9337
+ AgentStatusSummaryList: (_) => de_AgentStatusSummaryList(_, context),
9262
9338
  NextToken: __expectString,
9263
9339
  });
9264
9340
  Object.assign(contents, doc);
@@ -9706,7 +9782,7 @@ export const de_ListHoursOfOperationsCommand = async (output, context) => {
9706
9782
  });
9707
9783
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9708
9784
  const doc = take(data, {
9709
- HoursOfOperationSummaryList: _json,
9785
+ HoursOfOperationSummaryList: (_) => de_HoursOfOperationSummaryList(_, context),
9710
9786
  NextToken: __expectString,
9711
9787
  });
9712
9788
  Object.assign(contents, doc);
@@ -10109,7 +10185,7 @@ export const de_ListPromptsCommand = async (output, context) => {
10109
10185
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10110
10186
  const doc = take(data, {
10111
10187
  NextToken: __expectString,
10112
- PromptSummaryList: _json,
10188
+ PromptSummaryList: (_) => de_PromptSummaryList(_, context),
10113
10189
  });
10114
10190
  Object.assign(contents, doc);
10115
10191
  return contents;
@@ -10154,8 +10230,10 @@ export const de_ListQueueQuickConnectsCommand = async (output, context) => {
10154
10230
  });
10155
10231
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10156
10232
  const doc = take(data, {
10233
+ LastModifiedRegion: __expectString,
10234
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10157
10235
  NextToken: __expectString,
10158
- QuickConnectSummaryList: _json,
10236
+ QuickConnectSummaryList: (_) => de_QuickConnectSummaryList(_, context),
10159
10237
  });
10160
10238
  Object.assign(contents, doc);
10161
10239
  return contents;
@@ -10201,7 +10279,7 @@ export const de_ListQueuesCommand = async (output, context) => {
10201
10279
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10202
10280
  const doc = take(data, {
10203
10281
  NextToken: __expectString,
10204
- QueueSummaryList: _json,
10282
+ QueueSummaryList: (_) => de_QueueSummaryList(_, context),
10205
10283
  });
10206
10284
  Object.assign(contents, doc);
10207
10285
  return contents;
@@ -10247,7 +10325,7 @@ export const de_ListQuickConnectsCommand = async (output, context) => {
10247
10325
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10248
10326
  const doc = take(data, {
10249
10327
  NextToken: __expectString,
10250
- QuickConnectSummaryList: _json,
10328
+ QuickConnectSummaryList: (_) => de_QuickConnectSummaryList(_, context),
10251
10329
  });
10252
10330
  Object.assign(contents, doc);
10253
10331
  return contents;
@@ -10292,6 +10370,8 @@ export const de_ListRoutingProfileQueuesCommand = async (output, context) => {
10292
10370
  });
10293
10371
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10294
10372
  const doc = take(data, {
10373
+ LastModifiedRegion: __expectString,
10374
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10295
10375
  NextToken: __expectString,
10296
10376
  RoutingProfileQueueConfigSummaryList: _json,
10297
10377
  });
@@ -10339,7 +10419,7 @@ export const de_ListRoutingProfilesCommand = async (output, context) => {
10339
10419
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10340
10420
  const doc = take(data, {
10341
10421
  NextToken: __expectString,
10342
- RoutingProfileSummaryList: _json,
10422
+ RoutingProfileSummaryList: (_) => de_RoutingProfileSummaryList(_, context),
10343
10423
  });
10344
10424
  Object.assign(contents, doc);
10345
10425
  return contents;
@@ -10477,6 +10557,8 @@ export const de_ListSecurityProfileApplicationsCommand = async (output, context)
10477
10557
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10478
10558
  const doc = take(data, {
10479
10559
  Applications: _json,
10560
+ LastModifiedRegion: __expectString,
10561
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10480
10562
  NextToken: __expectString,
10481
10563
  });
10482
10564
  Object.assign(contents, doc);
@@ -10522,6 +10604,8 @@ export const de_ListSecurityProfilePermissionsCommand = async (output, context)
10522
10604
  });
10523
10605
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10524
10606
  const doc = take(data, {
10607
+ LastModifiedRegion: __expectString,
10608
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10525
10609
  NextToken: __expectString,
10526
10610
  Permissions: _json,
10527
10611
  });
@@ -10569,7 +10653,7 @@ export const de_ListSecurityProfilesCommand = async (output, context) => {
10569
10653
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10570
10654
  const doc = take(data, {
10571
10655
  NextToken: __expectString,
10572
- SecurityProfileSummaryList: _json,
10656
+ SecurityProfileSummaryList: (_) => de_SecurityProfileSummaryList(_, context),
10573
10657
  });
10574
10658
  Object.assign(contents, doc);
10575
10659
  return contents;
@@ -10838,7 +10922,7 @@ export const de_ListUserHierarchyGroupsCommand = async (output, context) => {
10838
10922
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10839
10923
  const doc = take(data, {
10840
10924
  NextToken: __expectString,
10841
- UserHierarchyGroupSummaryList: _json,
10925
+ UserHierarchyGroupSummaryList: (_) => de_HierarchyGroupSummaryList(_, context),
10842
10926
  });
10843
10927
  Object.assign(contents, doc);
10844
10928
  return contents;
@@ -10884,7 +10968,7 @@ export const de_ListUsersCommand = async (output, context) => {
10884
10968
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10885
10969
  const doc = take(data, {
10886
10970
  NextToken: __expectString,
10887
- UserSummaryList: _json,
10971
+ UserSummaryList: (_) => de_UserSummaryList(_, context),
10888
10972
  });
10889
10973
  Object.assign(contents, doc);
10890
10974
  return contents;
@@ -11304,7 +11388,7 @@ export const de_SearchHoursOfOperationsCommand = async (output, context) => {
11304
11388
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11305
11389
  const doc = take(data, {
11306
11390
  ApproximateTotalCount: __expectLong,
11307
- HoursOfOperations: _json,
11391
+ HoursOfOperations: (_) => de_HoursOfOperationList(_, context),
11308
11392
  NextToken: __expectString,
11309
11393
  });
11310
11394
  Object.assign(contents, doc);
@@ -11352,7 +11436,7 @@ export const de_SearchPromptsCommand = async (output, context) => {
11352
11436
  const doc = take(data, {
11353
11437
  ApproximateTotalCount: __expectLong,
11354
11438
  NextToken: __expectString,
11355
- Prompts: _json,
11439
+ Prompts: (_) => de_PromptList(_, context),
11356
11440
  });
11357
11441
  Object.assign(contents, doc);
11358
11442
  return contents;
@@ -11399,7 +11483,7 @@ export const de_SearchQueuesCommand = async (output, context) => {
11399
11483
  const doc = take(data, {
11400
11484
  ApproximateTotalCount: __expectLong,
11401
11485
  NextToken: __expectString,
11402
- Queues: _json,
11486
+ Queues: (_) => de_QueueSearchSummaryList(_, context),
11403
11487
  });
11404
11488
  Object.assign(contents, doc);
11405
11489
  return contents;
@@ -11446,7 +11530,7 @@ export const de_SearchQuickConnectsCommand = async (output, context) => {
11446
11530
  const doc = take(data, {
11447
11531
  ApproximateTotalCount: __expectLong,
11448
11532
  NextToken: __expectString,
11449
- QuickConnects: _json,
11533
+ QuickConnects: (_) => de_QuickConnectSearchSummaryList(_, context),
11450
11534
  });
11451
11535
  Object.assign(contents, doc);
11452
11536
  return contents;
@@ -11542,7 +11626,7 @@ export const de_SearchRoutingProfilesCommand = async (output, context) => {
11542
11626
  const doc = take(data, {
11543
11627
  ApproximateTotalCount: __expectLong,
11544
11628
  NextToken: __expectString,
11545
- RoutingProfiles: _json,
11629
+ RoutingProfiles: (_) => de_RoutingProfileList(_, context),
11546
11630
  });
11547
11631
  Object.assign(contents, doc);
11548
11632
  return contents;
@@ -14742,6 +14826,20 @@ const de_AgentInfo = (output, context) => {
14742
14826
  Id: __expectString,
14743
14827
  });
14744
14828
  };
14829
+ const de_AgentStatus = (output, context) => {
14830
+ return take(output, {
14831
+ AgentStatusARN: __expectString,
14832
+ AgentStatusId: __expectString,
14833
+ Description: __expectString,
14834
+ DisplayOrder: __expectInt32,
14835
+ LastModifiedRegion: __expectString,
14836
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14837
+ Name: __expectString,
14838
+ State: __expectString,
14839
+ Tags: _json,
14840
+ Type: __expectString,
14841
+ });
14842
+ };
14745
14843
  const de_AgentStatusReference = (output, context) => {
14746
14844
  return take(output, {
14747
14845
  StatusArn: __expectString,
@@ -14749,6 +14847,24 @@ const de_AgentStatusReference = (output, context) => {
14749
14847
  StatusStartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14750
14848
  });
14751
14849
  };
14850
+ const de_AgentStatusSummary = (output, context) => {
14851
+ return take(output, {
14852
+ Arn: __expectString,
14853
+ Id: __expectString,
14854
+ LastModifiedRegion: __expectString,
14855
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14856
+ Name: __expectString,
14857
+ Type: __expectString,
14858
+ });
14859
+ };
14860
+ const de_AgentStatusSummaryList = (output, context) => {
14861
+ const retVal = (output || [])
14862
+ .filter((e) => e != null)
14863
+ .map((entry) => {
14864
+ return de_AgentStatusSummary(entry, context);
14865
+ });
14866
+ return retVal;
14867
+ };
14752
14868
  const de_Contact = (output, context) => {
14753
14869
  return take(output, {
14754
14870
  AgentInfo: (_) => de_AgentInfo(_, context),
@@ -15005,6 +15121,62 @@ const de_EvaluationSummaryList = (output, context) => {
15005
15121
  });
15006
15122
  return retVal;
15007
15123
  };
15124
+ const de_HierarchyGroup = (output, context) => {
15125
+ return take(output, {
15126
+ Arn: __expectString,
15127
+ HierarchyPath: (_) => de_HierarchyPath(_, context),
15128
+ Id: __expectString,
15129
+ LastModifiedRegion: __expectString,
15130
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15131
+ LevelId: __expectString,
15132
+ Name: __expectString,
15133
+ Tags: _json,
15134
+ });
15135
+ };
15136
+ const de_HierarchyGroupSummary = (output, context) => {
15137
+ return take(output, {
15138
+ Arn: __expectString,
15139
+ Id: __expectString,
15140
+ LastModifiedRegion: __expectString,
15141
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15142
+ Name: __expectString,
15143
+ });
15144
+ };
15145
+ const de_HierarchyGroupSummaryList = (output, context) => {
15146
+ const retVal = (output || [])
15147
+ .filter((e) => e != null)
15148
+ .map((entry) => {
15149
+ return de_HierarchyGroupSummary(entry, context);
15150
+ });
15151
+ return retVal;
15152
+ };
15153
+ const de_HierarchyLevel = (output, context) => {
15154
+ return take(output, {
15155
+ Arn: __expectString,
15156
+ Id: __expectString,
15157
+ LastModifiedRegion: __expectString,
15158
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15159
+ Name: __expectString,
15160
+ });
15161
+ };
15162
+ const de_HierarchyPath = (output, context) => {
15163
+ return take(output, {
15164
+ LevelFive: (_) => de_HierarchyGroupSummary(_, context),
15165
+ LevelFour: (_) => de_HierarchyGroupSummary(_, context),
15166
+ LevelOne: (_) => de_HierarchyGroupSummary(_, context),
15167
+ LevelThree: (_) => de_HierarchyGroupSummary(_, context),
15168
+ LevelTwo: (_) => de_HierarchyGroupSummary(_, context),
15169
+ });
15170
+ };
15171
+ const de_HierarchyStructure = (output, context) => {
15172
+ return take(output, {
15173
+ LevelFive: (_) => de_HierarchyLevel(_, context),
15174
+ LevelFour: (_) => de_HierarchyLevel(_, context),
15175
+ LevelOne: (_) => de_HierarchyLevel(_, context),
15176
+ LevelThree: (_) => de_HierarchyLevel(_, context),
15177
+ LevelTwo: (_) => de_HierarchyLevel(_, context),
15178
+ });
15179
+ };
15008
15180
  const de_HistoricalMetric = (output, context) => {
15009
15181
  return take(output, {
15010
15182
  Name: __expectString,
@@ -15041,6 +15213,44 @@ const de_HistoricalMetricResults = (output, context) => {
15041
15213
  });
15042
15214
  return retVal;
15043
15215
  };
15216
+ const de_HoursOfOperation = (output, context) => {
15217
+ return take(output, {
15218
+ Config: _json,
15219
+ Description: __expectString,
15220
+ HoursOfOperationArn: __expectString,
15221
+ HoursOfOperationId: __expectString,
15222
+ LastModifiedRegion: __expectString,
15223
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15224
+ Name: __expectString,
15225
+ Tags: _json,
15226
+ TimeZone: __expectString,
15227
+ });
15228
+ };
15229
+ const de_HoursOfOperationList = (output, context) => {
15230
+ const retVal = (output || [])
15231
+ .filter((e) => e != null)
15232
+ .map((entry) => {
15233
+ return de_HoursOfOperation(entry, context);
15234
+ });
15235
+ return retVal;
15236
+ };
15237
+ const de_HoursOfOperationSummary = (output, context) => {
15238
+ return take(output, {
15239
+ Arn: __expectString,
15240
+ Id: __expectString,
15241
+ LastModifiedRegion: __expectString,
15242
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15243
+ Name: __expectString,
15244
+ });
15245
+ };
15246
+ const de_HoursOfOperationSummaryList = (output, context) => {
15247
+ const retVal = (output || [])
15248
+ .filter((e) => e != null)
15249
+ .map((entry) => {
15250
+ return de_HoursOfOperationSummary(entry, context);
15251
+ });
15252
+ return retVal;
15253
+ };
15044
15254
  const de_Instance = (output, context) => {
15045
15255
  return take(output, {
15046
15256
  Arn: __expectString,
@@ -15121,12 +15331,170 @@ const de_MetricV2 = (output, context) => {
15121
15331
  Threshold: (_) => de_ThresholdCollections(_, context),
15122
15332
  });
15123
15333
  };
15334
+ const de_Prompt = (output, context) => {
15335
+ return take(output, {
15336
+ Description: __expectString,
15337
+ LastModifiedRegion: __expectString,
15338
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15339
+ Name: __expectString,
15340
+ PromptARN: __expectString,
15341
+ PromptId: __expectString,
15342
+ Tags: _json,
15343
+ });
15344
+ };
15345
+ const de_PromptList = (output, context) => {
15346
+ const retVal = (output || [])
15347
+ .filter((e) => e != null)
15348
+ .map((entry) => {
15349
+ return de_Prompt(entry, context);
15350
+ });
15351
+ return retVal;
15352
+ };
15353
+ const de_PromptSummary = (output, context) => {
15354
+ return take(output, {
15355
+ Arn: __expectString,
15356
+ Id: __expectString,
15357
+ LastModifiedRegion: __expectString,
15358
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15359
+ Name: __expectString,
15360
+ });
15361
+ };
15362
+ const de_PromptSummaryList = (output, context) => {
15363
+ const retVal = (output || [])
15364
+ .filter((e) => e != null)
15365
+ .map((entry) => {
15366
+ return de_PromptSummary(entry, context);
15367
+ });
15368
+ return retVal;
15369
+ };
15370
+ const de_Queue = (output, context) => {
15371
+ return take(output, {
15372
+ Description: __expectString,
15373
+ HoursOfOperationId: __expectString,
15374
+ LastModifiedRegion: __expectString,
15375
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15376
+ MaxContacts: __expectInt32,
15377
+ Name: __expectString,
15378
+ OutboundCallerConfig: _json,
15379
+ QueueArn: __expectString,
15380
+ QueueId: __expectString,
15381
+ Status: __expectString,
15382
+ Tags: _json,
15383
+ });
15384
+ };
15124
15385
  const de_QueueInfo = (output, context) => {
15125
15386
  return take(output, {
15126
15387
  EnqueueTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15127
15388
  Id: __expectString,
15128
15389
  });
15129
15390
  };
15391
+ const de_QueueSearchSummaryList = (output, context) => {
15392
+ const retVal = (output || [])
15393
+ .filter((e) => e != null)
15394
+ .map((entry) => {
15395
+ return de_Queue(entry, context);
15396
+ });
15397
+ return retVal;
15398
+ };
15399
+ const de_QueueSummary = (output, context) => {
15400
+ return take(output, {
15401
+ Arn: __expectString,
15402
+ Id: __expectString,
15403
+ LastModifiedRegion: __expectString,
15404
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15405
+ Name: __expectString,
15406
+ QueueType: __expectString,
15407
+ });
15408
+ };
15409
+ const de_QueueSummaryList = (output, context) => {
15410
+ const retVal = (output || [])
15411
+ .filter((e) => e != null)
15412
+ .map((entry) => {
15413
+ return de_QueueSummary(entry, context);
15414
+ });
15415
+ return retVal;
15416
+ };
15417
+ const de_QuickConnect = (output, context) => {
15418
+ return take(output, {
15419
+ Description: __expectString,
15420
+ LastModifiedRegion: __expectString,
15421
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15422
+ Name: __expectString,
15423
+ QuickConnectARN: __expectString,
15424
+ QuickConnectConfig: _json,
15425
+ QuickConnectId: __expectString,
15426
+ Tags: _json,
15427
+ });
15428
+ };
15429
+ const de_QuickConnectSearchSummaryList = (output, context) => {
15430
+ const retVal = (output || [])
15431
+ .filter((e) => e != null)
15432
+ .map((entry) => {
15433
+ return de_QuickConnect(entry, context);
15434
+ });
15435
+ return retVal;
15436
+ };
15437
+ const de_QuickConnectSummary = (output, context) => {
15438
+ return take(output, {
15439
+ Arn: __expectString,
15440
+ Id: __expectString,
15441
+ LastModifiedRegion: __expectString,
15442
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15443
+ Name: __expectString,
15444
+ QuickConnectType: __expectString,
15445
+ });
15446
+ };
15447
+ const de_QuickConnectSummaryList = (output, context) => {
15448
+ const retVal = (output || [])
15449
+ .filter((e) => e != null)
15450
+ .map((entry) => {
15451
+ return de_QuickConnectSummary(entry, context);
15452
+ });
15453
+ return retVal;
15454
+ };
15455
+ const de_RoutingProfile = (output, context) => {
15456
+ return take(output, {
15457
+ AgentAvailabilityTimer: __expectString,
15458
+ DefaultOutboundQueueId: __expectString,
15459
+ Description: __expectString,
15460
+ InstanceId: __expectString,
15461
+ IsDefault: __expectBoolean,
15462
+ LastModifiedRegion: __expectString,
15463
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15464
+ MediaConcurrencies: _json,
15465
+ Name: __expectString,
15466
+ NumberOfAssociatedQueues: __expectLong,
15467
+ NumberOfAssociatedUsers: __expectLong,
15468
+ RoutingProfileArn: __expectString,
15469
+ RoutingProfileId: __expectString,
15470
+ Tags: _json,
15471
+ });
15472
+ };
15473
+ const de_RoutingProfileList = (output, context) => {
15474
+ const retVal = (output || [])
15475
+ .filter((e) => e != null)
15476
+ .map((entry) => {
15477
+ return de_RoutingProfile(entry, context);
15478
+ });
15479
+ return retVal;
15480
+ };
15481
+ const de_RoutingProfileSummary = (output, context) => {
15482
+ return take(output, {
15483
+ Arn: __expectString,
15484
+ Id: __expectString,
15485
+ LastModifiedRegion: __expectString,
15486
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15487
+ Name: __expectString,
15488
+ });
15489
+ };
15490
+ const de_RoutingProfileSummaryList = (output, context) => {
15491
+ const retVal = (output || [])
15492
+ .filter((e) => e != null)
15493
+ .map((entry) => {
15494
+ return de_RoutingProfileSummary(entry, context);
15495
+ });
15496
+ return retVal;
15497
+ };
15130
15498
  const de_Rule = (output, context) => {
15131
15499
  return take(output, {
15132
15500
  Actions: _json,
@@ -15177,6 +15545,37 @@ const de_SecurityKeysList = (output, context) => {
15177
15545
  });
15178
15546
  return retVal;
15179
15547
  };
15548
+ const de_SecurityProfile = (output, context) => {
15549
+ return take(output, {
15550
+ AllowedAccessControlTags: _json,
15551
+ Arn: __expectString,
15552
+ Description: __expectString,
15553
+ Id: __expectString,
15554
+ LastModifiedRegion: __expectString,
15555
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15556
+ OrganizationResourceId: __expectString,
15557
+ SecurityProfileName: __expectString,
15558
+ TagRestrictedResources: _json,
15559
+ Tags: _json,
15560
+ });
15561
+ };
15562
+ const de_SecurityProfileSummary = (output, context) => {
15563
+ return take(output, {
15564
+ Arn: __expectString,
15565
+ Id: __expectString,
15566
+ LastModifiedRegion: __expectString,
15567
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15568
+ Name: __expectString,
15569
+ });
15570
+ };
15571
+ const de_SecurityProfileSummaryList = (output, context) => {
15572
+ const retVal = (output || [])
15573
+ .filter((e) => e != null)
15574
+ .map((entry) => {
15575
+ return de_SecurityProfileSummary(entry, context);
15576
+ });
15577
+ return retVal;
15578
+ };
15180
15579
  const de_TaskTemplateList = (output, context) => {
15181
15580
  const retVal = (output || [])
15182
15581
  .filter((e) => e != null)
@@ -15216,6 +15615,22 @@ const de_ThresholdV2 = (output, context) => {
15216
15615
  ThresholdValue: __limitedParseDouble,
15217
15616
  });
15218
15617
  };
15618
+ const de_User = (output, context) => {
15619
+ return take(output, {
15620
+ Arn: __expectString,
15621
+ DirectoryUserId: __expectString,
15622
+ HierarchyGroupId: __expectString,
15623
+ Id: __expectString,
15624
+ IdentityInfo: _json,
15625
+ LastModifiedRegion: __expectString,
15626
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15627
+ PhoneConfig: _json,
15628
+ RoutingProfileId: __expectString,
15629
+ SecurityProfileIds: _json,
15630
+ Tags: _json,
15631
+ Username: __expectString,
15632
+ });
15633
+ };
15219
15634
  const de_UserData = (output, context) => {
15220
15635
  return take(output, {
15221
15636
  ActiveSlotsByChannel: _json,
@@ -15237,6 +15652,23 @@ const de_UserDataList = (output, context) => {
15237
15652
  });
15238
15653
  return retVal;
15239
15654
  };
15655
+ const de_UserSummary = (output, context) => {
15656
+ return take(output, {
15657
+ Arn: __expectString,
15658
+ Id: __expectString,
15659
+ LastModifiedRegion: __expectString,
15660
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15661
+ Username: __expectString,
15662
+ });
15663
+ };
15664
+ const de_UserSummaryList = (output, context) => {
15665
+ const retVal = (output || [])
15666
+ .filter((e) => e != null)
15667
+ .map((entry) => {
15668
+ return de_UserSummary(entry, context);
15669
+ });
15670
+ return retVal;
15671
+ };
15240
15672
  const de_View = (output, context) => {
15241
15673
  return take(output, {
15242
15674
  Arn: __expectString,