@aws-sdk/client-connect 3.439.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 (72) hide show
  1. package/README.md +8 -0
  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 +464 -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 +453 -25
  18. package/dist-types/Connect.d.ts +7 -0
  19. package/dist-types/ConnectClient.d.ts +3 -2
  20. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +101 -0
  21. package/dist-types/commands/CreateViewCommand.d.ts +5 -7
  22. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  23. package/dist-types/commands/DeleteViewCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +2 -0
  25. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
  26. package/dist-types/commands/DescribePromptCommand.d.ts +2 -0
  27. package/dist-types/commands/DescribeQueueCommand.d.ts +2 -0
  28. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +2 -0
  29. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +2 -0
  31. package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
  32. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +12 -0
  33. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +12 -1
  34. package/dist-types/commands/DescribeViewCommand.d.ts +5 -5
  35. package/dist-types/commands/GetPromptFileCommand.d.ts +2 -0
  36. package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -0
  37. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +2 -0
  38. package/dist-types/commands/ListPromptsCommand.d.ts +2 -0
  39. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +4 -0
  40. package/dist-types/commands/ListQueuesCommand.d.ts +2 -0
  41. package/dist-types/commands/ListQuickConnectsCommand.d.ts +2 -0
  42. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
  43. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +2 -0
  44. package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +2 -0
  45. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
  46. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +2 -0
  47. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +2 -0
  48. package/dist-types/commands/ListUsersCommand.d.ts +2 -0
  49. package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -2
  50. package/dist-types/commands/ReplicateInstanceCommand.d.ts +3 -1
  51. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -0
  52. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -0
  53. package/dist-types/commands/SearchQueuesCommand.d.ts +2 -0
  54. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -0
  55. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -0
  56. package/dist-types/commands/UpdateViewContentCommand.d.ts +4 -6
  57. package/dist-types/commands/index.d.ts +1 -0
  58. package/dist-types/models/models_0.d.ts +212 -102
  59. package/dist-types/models/models_1.d.ts +201 -111
  60. package/dist-types/models/models_2.d.ts +106 -11
  61. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  62. package/dist-types/ts3.4/Connect.d.ts +17 -0
  63. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  64. package/dist-types/ts3.4/commands/BatchGetFlowAssociationCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +44 -20
  69. package/dist-types/ts3.4/models/models_1.d.ts +46 -40
  70. package/dist-types/ts3.4/models/models_2.d.ts +42 -1
  71. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  72. 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 = {
@@ -5217,6 +5239,54 @@ const de_AssociateTrafficDistributionGroupUserCommandError = async (output, cont
5217
5239
  });
5218
5240
  }
5219
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
+ };
5220
5290
  export const de_ClaimPhoneNumberCommand = async (output, context) => {
5221
5291
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5222
5292
  return de_ClaimPhoneNumberCommandError(output, context);
@@ -7347,7 +7417,7 @@ export const de_DescribeAgentStatusCommand = async (output, context) => {
7347
7417
  });
7348
7418
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7349
7419
  const doc = take(data, {
7350
- AgentStatus: _json,
7420
+ AgentStatus: (_) => de_AgentStatus(_, context),
7351
7421
  });
7352
7422
  Object.assign(contents, doc);
7353
7423
  return contents;
@@ -7618,7 +7688,7 @@ export const de_DescribeHoursOfOperationCommand = async (output, context) => {
7618
7688
  });
7619
7689
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7620
7690
  const doc = take(data, {
7621
- HoursOfOperation: _json,
7691
+ HoursOfOperation: (_) => de_HoursOfOperation(_, context),
7622
7692
  });
7623
7693
  Object.assign(contents, doc);
7624
7694
  return contents;
@@ -7837,7 +7907,7 @@ export const de_DescribePromptCommand = async (output, context) => {
7837
7907
  });
7838
7908
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7839
7909
  const doc = take(data, {
7840
- Prompt: _json,
7910
+ Prompt: (_) => de_Prompt(_, context),
7841
7911
  });
7842
7912
  Object.assign(contents, doc);
7843
7913
  return contents;
@@ -7882,7 +7952,7 @@ export const de_DescribeQueueCommand = async (output, context) => {
7882
7952
  });
7883
7953
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7884
7954
  const doc = take(data, {
7885
- Queue: _json,
7955
+ Queue: (_) => de_Queue(_, context),
7886
7956
  });
7887
7957
  Object.assign(contents, doc);
7888
7958
  return contents;
@@ -7927,7 +7997,7 @@ export const de_DescribeQuickConnectCommand = async (output, context) => {
7927
7997
  });
7928
7998
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7929
7999
  const doc = take(data, {
7930
- QuickConnect: _json,
8000
+ QuickConnect: (_) => de_QuickConnect(_, context),
7931
8001
  });
7932
8002
  Object.assign(contents, doc);
7933
8003
  return contents;
@@ -7972,7 +8042,7 @@ export const de_DescribeRoutingProfileCommand = async (output, context) => {
7972
8042
  });
7973
8043
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7974
8044
  const doc = take(data, {
7975
- RoutingProfile: _json,
8045
+ RoutingProfile: (_) => de_RoutingProfile(_, context),
7976
8046
  });
7977
8047
  Object.assign(contents, doc);
7978
8048
  return contents;
@@ -8062,7 +8132,7 @@ export const de_DescribeSecurityProfileCommand = async (output, context) => {
8062
8132
  });
8063
8133
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8064
8134
  const doc = take(data, {
8065
- SecurityProfile: _json,
8135
+ SecurityProfile: (_) => de_SecurityProfile(_, context),
8066
8136
  });
8067
8137
  Object.assign(contents, doc);
8068
8138
  return contents;
@@ -8152,7 +8222,7 @@ export const de_DescribeUserCommand = async (output, context) => {
8152
8222
  });
8153
8223
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8154
8224
  const doc = take(data, {
8155
- User: _json,
8225
+ User: (_) => de_User(_, context),
8156
8226
  });
8157
8227
  Object.assign(contents, doc);
8158
8228
  return contents;
@@ -8197,7 +8267,7 @@ export const de_DescribeUserHierarchyGroupCommand = async (output, context) => {
8197
8267
  });
8198
8268
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8199
8269
  const doc = take(data, {
8200
- HierarchyGroup: _json,
8270
+ HierarchyGroup: (_) => de_HierarchyGroup(_, context),
8201
8271
  });
8202
8272
  Object.assign(contents, doc);
8203
8273
  return contents;
@@ -8242,7 +8312,7 @@ export const de_DescribeUserHierarchyStructureCommand = async (output, context)
8242
8312
  });
8243
8313
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8244
8314
  const doc = take(data, {
8245
- HierarchyStructure: _json,
8315
+ HierarchyStructure: (_) => de_HierarchyStructure(_, context),
8246
8316
  });
8247
8317
  Object.assign(contents, doc);
8248
8318
  return contents;
@@ -9111,6 +9181,8 @@ export const de_GetPromptFileCommand = async (output, context) => {
9111
9181
  });
9112
9182
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9113
9183
  const doc = take(data, {
9184
+ LastModifiedRegion: __expectString,
9185
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9114
9186
  PromptPresignedUrl: __expectString,
9115
9187
  });
9116
9188
  Object.assign(contents, doc);
@@ -9262,7 +9334,7 @@ export const de_ListAgentStatusesCommand = async (output, context) => {
9262
9334
  });
9263
9335
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9264
9336
  const doc = take(data, {
9265
- AgentStatusSummaryList: _json,
9337
+ AgentStatusSummaryList: (_) => de_AgentStatusSummaryList(_, context),
9266
9338
  NextToken: __expectString,
9267
9339
  });
9268
9340
  Object.assign(contents, doc);
@@ -9710,7 +9782,7 @@ export const de_ListHoursOfOperationsCommand = async (output, context) => {
9710
9782
  });
9711
9783
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9712
9784
  const doc = take(data, {
9713
- HoursOfOperationSummaryList: _json,
9785
+ HoursOfOperationSummaryList: (_) => de_HoursOfOperationSummaryList(_, context),
9714
9786
  NextToken: __expectString,
9715
9787
  });
9716
9788
  Object.assign(contents, doc);
@@ -10113,7 +10185,7 @@ export const de_ListPromptsCommand = async (output, context) => {
10113
10185
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10114
10186
  const doc = take(data, {
10115
10187
  NextToken: __expectString,
10116
- PromptSummaryList: _json,
10188
+ PromptSummaryList: (_) => de_PromptSummaryList(_, context),
10117
10189
  });
10118
10190
  Object.assign(contents, doc);
10119
10191
  return contents;
@@ -10158,8 +10230,10 @@ export const de_ListQueueQuickConnectsCommand = async (output, context) => {
10158
10230
  });
10159
10231
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10160
10232
  const doc = take(data, {
10233
+ LastModifiedRegion: __expectString,
10234
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10161
10235
  NextToken: __expectString,
10162
- QuickConnectSummaryList: _json,
10236
+ QuickConnectSummaryList: (_) => de_QuickConnectSummaryList(_, context),
10163
10237
  });
10164
10238
  Object.assign(contents, doc);
10165
10239
  return contents;
@@ -10205,7 +10279,7 @@ export const de_ListQueuesCommand = async (output, context) => {
10205
10279
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10206
10280
  const doc = take(data, {
10207
10281
  NextToken: __expectString,
10208
- QueueSummaryList: _json,
10282
+ QueueSummaryList: (_) => de_QueueSummaryList(_, context),
10209
10283
  });
10210
10284
  Object.assign(contents, doc);
10211
10285
  return contents;
@@ -10251,7 +10325,7 @@ export const de_ListQuickConnectsCommand = async (output, context) => {
10251
10325
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10252
10326
  const doc = take(data, {
10253
10327
  NextToken: __expectString,
10254
- QuickConnectSummaryList: _json,
10328
+ QuickConnectSummaryList: (_) => de_QuickConnectSummaryList(_, context),
10255
10329
  });
10256
10330
  Object.assign(contents, doc);
10257
10331
  return contents;
@@ -10296,6 +10370,8 @@ export const de_ListRoutingProfileQueuesCommand = async (output, context) => {
10296
10370
  });
10297
10371
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10298
10372
  const doc = take(data, {
10373
+ LastModifiedRegion: __expectString,
10374
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10299
10375
  NextToken: __expectString,
10300
10376
  RoutingProfileQueueConfigSummaryList: _json,
10301
10377
  });
@@ -10343,7 +10419,7 @@ export const de_ListRoutingProfilesCommand = async (output, context) => {
10343
10419
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10344
10420
  const doc = take(data, {
10345
10421
  NextToken: __expectString,
10346
- RoutingProfileSummaryList: _json,
10422
+ RoutingProfileSummaryList: (_) => de_RoutingProfileSummaryList(_, context),
10347
10423
  });
10348
10424
  Object.assign(contents, doc);
10349
10425
  return contents;
@@ -10481,6 +10557,8 @@ export const de_ListSecurityProfileApplicationsCommand = async (output, context)
10481
10557
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10482
10558
  const doc = take(data, {
10483
10559
  Applications: _json,
10560
+ LastModifiedRegion: __expectString,
10561
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10484
10562
  NextToken: __expectString,
10485
10563
  });
10486
10564
  Object.assign(contents, doc);
@@ -10526,6 +10604,8 @@ export const de_ListSecurityProfilePermissionsCommand = async (output, context)
10526
10604
  });
10527
10605
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10528
10606
  const doc = take(data, {
10607
+ LastModifiedRegion: __expectString,
10608
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10529
10609
  NextToken: __expectString,
10530
10610
  Permissions: _json,
10531
10611
  });
@@ -10573,7 +10653,7 @@ export const de_ListSecurityProfilesCommand = async (output, context) => {
10573
10653
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10574
10654
  const doc = take(data, {
10575
10655
  NextToken: __expectString,
10576
- SecurityProfileSummaryList: _json,
10656
+ SecurityProfileSummaryList: (_) => de_SecurityProfileSummaryList(_, context),
10577
10657
  });
10578
10658
  Object.assign(contents, doc);
10579
10659
  return contents;
@@ -10842,7 +10922,7 @@ export const de_ListUserHierarchyGroupsCommand = async (output, context) => {
10842
10922
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10843
10923
  const doc = take(data, {
10844
10924
  NextToken: __expectString,
10845
- UserHierarchyGroupSummaryList: _json,
10925
+ UserHierarchyGroupSummaryList: (_) => de_HierarchyGroupSummaryList(_, context),
10846
10926
  });
10847
10927
  Object.assign(contents, doc);
10848
10928
  return contents;
@@ -10888,7 +10968,7 @@ export const de_ListUsersCommand = async (output, context) => {
10888
10968
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10889
10969
  const doc = take(data, {
10890
10970
  NextToken: __expectString,
10891
- UserSummaryList: _json,
10971
+ UserSummaryList: (_) => de_UserSummaryList(_, context),
10892
10972
  });
10893
10973
  Object.assign(contents, doc);
10894
10974
  return contents;
@@ -11308,7 +11388,7 @@ export const de_SearchHoursOfOperationsCommand = async (output, context) => {
11308
11388
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11309
11389
  const doc = take(data, {
11310
11390
  ApproximateTotalCount: __expectLong,
11311
- HoursOfOperations: _json,
11391
+ HoursOfOperations: (_) => de_HoursOfOperationList(_, context),
11312
11392
  NextToken: __expectString,
11313
11393
  });
11314
11394
  Object.assign(contents, doc);
@@ -11356,7 +11436,7 @@ export const de_SearchPromptsCommand = async (output, context) => {
11356
11436
  const doc = take(data, {
11357
11437
  ApproximateTotalCount: __expectLong,
11358
11438
  NextToken: __expectString,
11359
- Prompts: _json,
11439
+ Prompts: (_) => de_PromptList(_, context),
11360
11440
  });
11361
11441
  Object.assign(contents, doc);
11362
11442
  return contents;
@@ -11403,7 +11483,7 @@ export const de_SearchQueuesCommand = async (output, context) => {
11403
11483
  const doc = take(data, {
11404
11484
  ApproximateTotalCount: __expectLong,
11405
11485
  NextToken: __expectString,
11406
- Queues: _json,
11486
+ Queues: (_) => de_QueueSearchSummaryList(_, context),
11407
11487
  });
11408
11488
  Object.assign(contents, doc);
11409
11489
  return contents;
@@ -11450,7 +11530,7 @@ export const de_SearchQuickConnectsCommand = async (output, context) => {
11450
11530
  const doc = take(data, {
11451
11531
  ApproximateTotalCount: __expectLong,
11452
11532
  NextToken: __expectString,
11453
- QuickConnects: _json,
11533
+ QuickConnects: (_) => de_QuickConnectSearchSummaryList(_, context),
11454
11534
  });
11455
11535
  Object.assign(contents, doc);
11456
11536
  return contents;
@@ -11546,7 +11626,7 @@ export const de_SearchRoutingProfilesCommand = async (output, context) => {
11546
11626
  const doc = take(data, {
11547
11627
  ApproximateTotalCount: __expectLong,
11548
11628
  NextToken: __expectString,
11549
- RoutingProfiles: _json,
11629
+ RoutingProfiles: (_) => de_RoutingProfileList(_, context),
11550
11630
  });
11551
11631
  Object.assign(contents, doc);
11552
11632
  return contents;
@@ -14746,6 +14826,20 @@ const de_AgentInfo = (output, context) => {
14746
14826
  Id: __expectString,
14747
14827
  });
14748
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
+ };
14749
14843
  const de_AgentStatusReference = (output, context) => {
14750
14844
  return take(output, {
14751
14845
  StatusArn: __expectString,
@@ -14753,6 +14847,24 @@ const de_AgentStatusReference = (output, context) => {
14753
14847
  StatusStartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14754
14848
  });
14755
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
+ };
14756
14868
  const de_Contact = (output, context) => {
14757
14869
  return take(output, {
14758
14870
  AgentInfo: (_) => de_AgentInfo(_, context),
@@ -15009,6 +15121,62 @@ const de_EvaluationSummaryList = (output, context) => {
15009
15121
  });
15010
15122
  return retVal;
15011
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
+ };
15012
15180
  const de_HistoricalMetric = (output, context) => {
15013
15181
  return take(output, {
15014
15182
  Name: __expectString,
@@ -15045,6 +15213,44 @@ const de_HistoricalMetricResults = (output, context) => {
15045
15213
  });
15046
15214
  return retVal;
15047
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
+ };
15048
15254
  const de_Instance = (output, context) => {
15049
15255
  return take(output, {
15050
15256
  Arn: __expectString,
@@ -15125,12 +15331,170 @@ const de_MetricV2 = (output, context) => {
15125
15331
  Threshold: (_) => de_ThresholdCollections(_, context),
15126
15332
  });
15127
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
+ };
15128
15385
  const de_QueueInfo = (output, context) => {
15129
15386
  return take(output, {
15130
15387
  EnqueueTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15131
15388
  Id: __expectString,
15132
15389
  });
15133
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
+ };
15134
15498
  const de_Rule = (output, context) => {
15135
15499
  return take(output, {
15136
15500
  Actions: _json,
@@ -15181,6 +15545,37 @@ const de_SecurityKeysList = (output, context) => {
15181
15545
  });
15182
15546
  return retVal;
15183
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
+ };
15184
15579
  const de_TaskTemplateList = (output, context) => {
15185
15580
  const retVal = (output || [])
15186
15581
  .filter((e) => e != null)
@@ -15220,6 +15615,22 @@ const de_ThresholdV2 = (output, context) => {
15220
15615
  ThresholdValue: __limitedParseDouble,
15221
15616
  });
15222
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
+ };
15223
15634
  const de_UserData = (output, context) => {
15224
15635
  return take(output, {
15225
15636
  ActiveSlotsByChannel: _json,
@@ -15241,6 +15652,23 @@ const de_UserDataList = (output, context) => {
15241
15652
  });
15242
15653
  return retVal;
15243
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
+ };
15244
15672
  const de_View = (output, context) => {
15245
15673
  return take(output, {
15246
15674
  Arn: __expectString,