@aws-sdk/client-connect 3.353.0 → 3.357.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.
@@ -211,6 +211,7 @@ exports.InstanceStorageResourceType = {
211
211
  MEDIA_STREAMS: "MEDIA_STREAMS",
212
212
  REAL_TIME_CONTACT_ANALYSIS_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS",
213
213
  SCHEDULED_REPORTS: "SCHEDULED_REPORTS",
214
+ SCREEN_RECORDINGS: "SCREEN_RECORDINGS",
214
215
  };
215
216
  exports.EncryptionType = {
216
217
  KMS: "KMS",
@@ -4532,7 +4532,7 @@ const de_AssociateApprovedOriginCommand = async (output, context) => {
4532
4532
  const contents = (0, smithy_client_1.map)({
4533
4533
  $metadata: deserializeMetadata(output),
4534
4534
  });
4535
- await collectBody(output.body, context);
4535
+ await (0, smithy_client_1.collectBody)(output.body, context);
4536
4536
  return contents;
4537
4537
  };
4538
4538
  exports.de_AssociateApprovedOriginCommand = de_AssociateApprovedOriginCommand;
@@ -4580,7 +4580,7 @@ const de_AssociateBotCommand = async (output, context) => {
4580
4580
  const contents = (0, smithy_client_1.map)({
4581
4581
  $metadata: deserializeMetadata(output),
4582
4582
  });
4583
- await collectBody(output.body, context);
4583
+ await (0, smithy_client_1.collectBody)(output.body, context);
4584
4584
  return contents;
4585
4585
  };
4586
4586
  exports.de_AssociateBotCommand = de_AssociateBotCommand;
@@ -4628,7 +4628,7 @@ const de_AssociateDefaultVocabularyCommand = async (output, context) => {
4628
4628
  const contents = (0, smithy_client_1.map)({
4629
4629
  $metadata: deserializeMetadata(output),
4630
4630
  });
4631
- await collectBody(output.body, context);
4631
+ await (0, smithy_client_1.collectBody)(output.body, context);
4632
4632
  return contents;
4633
4633
  };
4634
4634
  exports.de_AssociateDefaultVocabularyCommand = de_AssociateDefaultVocabularyCommand;
@@ -4719,7 +4719,7 @@ const de_AssociateLambdaFunctionCommand = async (output, context) => {
4719
4719
  const contents = (0, smithy_client_1.map)({
4720
4720
  $metadata: deserializeMetadata(output),
4721
4721
  });
4722
- await collectBody(output.body, context);
4722
+ await (0, smithy_client_1.collectBody)(output.body, context);
4723
4723
  return contents;
4724
4724
  };
4725
4725
  exports.de_AssociateLambdaFunctionCommand = de_AssociateLambdaFunctionCommand;
@@ -4767,7 +4767,7 @@ const de_AssociateLexBotCommand = async (output, context) => {
4767
4767
  const contents = (0, smithy_client_1.map)({
4768
4768
  $metadata: deserializeMetadata(output),
4769
4769
  });
4770
- await collectBody(output.body, context);
4770
+ await (0, smithy_client_1.collectBody)(output.body, context);
4771
4771
  return contents;
4772
4772
  };
4773
4773
  exports.de_AssociateLexBotCommand = de_AssociateLexBotCommand;
@@ -4815,7 +4815,7 @@ const de_AssociatePhoneNumberContactFlowCommand = async (output, context) => {
4815
4815
  const contents = (0, smithy_client_1.map)({
4816
4816
  $metadata: deserializeMetadata(output),
4817
4817
  });
4818
- await collectBody(output.body, context);
4818
+ await (0, smithy_client_1.collectBody)(output.body, context);
4819
4819
  return contents;
4820
4820
  };
4821
4821
  exports.de_AssociatePhoneNumberContactFlowCommand = de_AssociatePhoneNumberContactFlowCommand;
@@ -4857,7 +4857,7 @@ const de_AssociateQueueQuickConnectsCommand = async (output, context) => {
4857
4857
  const contents = (0, smithy_client_1.map)({
4858
4858
  $metadata: deserializeMetadata(output),
4859
4859
  });
4860
- await collectBody(output.body, context);
4860
+ await (0, smithy_client_1.collectBody)(output.body, context);
4861
4861
  return contents;
4862
4862
  };
4863
4863
  exports.de_AssociateQueueQuickConnectsCommand = de_AssociateQueueQuickConnectsCommand;
@@ -4902,7 +4902,7 @@ const de_AssociateRoutingProfileQueuesCommand = async (output, context) => {
4902
4902
  const contents = (0, smithy_client_1.map)({
4903
4903
  $metadata: deserializeMetadata(output),
4904
4904
  });
4905
- await collectBody(output.body, context);
4905
+ await (0, smithy_client_1.collectBody)(output.body, context);
4906
4906
  return contents;
4907
4907
  };
4908
4908
  exports.de_AssociateRoutingProfileQueuesCommand = de_AssociateRoutingProfileQueuesCommand;
@@ -6137,7 +6137,7 @@ const de_DeleteContactEvaluationCommand = async (output, context) => {
6137
6137
  const contents = (0, smithy_client_1.map)({
6138
6138
  $metadata: deserializeMetadata(output),
6139
6139
  });
6140
- await collectBody(output.body, context);
6140
+ await (0, smithy_client_1.collectBody)(output.body, context);
6141
6141
  return contents;
6142
6142
  };
6143
6143
  exports.de_DeleteContactEvaluationCommand = de_DeleteContactEvaluationCommand;
@@ -6179,7 +6179,7 @@ const de_DeleteContactFlowCommand = async (output, context) => {
6179
6179
  const contents = (0, smithy_client_1.map)({
6180
6180
  $metadata: deserializeMetadata(output),
6181
6181
  });
6182
- await collectBody(output.body, context);
6182
+ await (0, smithy_client_1.collectBody)(output.body, context);
6183
6183
  return contents;
6184
6184
  };
6185
6185
  exports.de_DeleteContactFlowCommand = de_DeleteContactFlowCommand;
@@ -6224,7 +6224,7 @@ const de_DeleteContactFlowModuleCommand = async (output, context) => {
6224
6224
  const contents = (0, smithy_client_1.map)({
6225
6225
  $metadata: deserializeMetadata(output),
6226
6226
  });
6227
- await collectBody(output.body, context);
6227
+ await (0, smithy_client_1.collectBody)(output.body, context);
6228
6228
  return contents;
6229
6229
  };
6230
6230
  exports.de_DeleteContactFlowModuleCommand = de_DeleteContactFlowModuleCommand;
@@ -6269,7 +6269,7 @@ const de_DeleteEvaluationFormCommand = async (output, context) => {
6269
6269
  const contents = (0, smithy_client_1.map)({
6270
6270
  $metadata: deserializeMetadata(output),
6271
6271
  });
6272
- await collectBody(output.body, context);
6272
+ await (0, smithy_client_1.collectBody)(output.body, context);
6273
6273
  return contents;
6274
6274
  };
6275
6275
  exports.de_DeleteEvaluationFormCommand = de_DeleteEvaluationFormCommand;
@@ -6311,7 +6311,7 @@ const de_DeleteHoursOfOperationCommand = async (output, context) => {
6311
6311
  const contents = (0, smithy_client_1.map)({
6312
6312
  $metadata: deserializeMetadata(output),
6313
6313
  });
6314
- await collectBody(output.body, context);
6314
+ await (0, smithy_client_1.collectBody)(output.body, context);
6315
6315
  return contents;
6316
6316
  };
6317
6317
  exports.de_DeleteHoursOfOperationCommand = de_DeleteHoursOfOperationCommand;
@@ -6353,7 +6353,7 @@ const de_DeleteInstanceCommand = async (output, context) => {
6353
6353
  const contents = (0, smithy_client_1.map)({
6354
6354
  $metadata: deserializeMetadata(output),
6355
6355
  });
6356
- await collectBody(output.body, context);
6356
+ await (0, smithy_client_1.collectBody)(output.body, context);
6357
6357
  return contents;
6358
6358
  };
6359
6359
  exports.de_DeleteInstanceCommand = de_DeleteInstanceCommand;
@@ -6389,7 +6389,7 @@ const de_DeleteIntegrationAssociationCommand = async (output, context) => {
6389
6389
  const contents = (0, smithy_client_1.map)({
6390
6390
  $metadata: deserializeMetadata(output),
6391
6391
  });
6392
- await collectBody(output.body, context);
6392
+ await (0, smithy_client_1.collectBody)(output.body, context);
6393
6393
  return contents;
6394
6394
  };
6395
6395
  exports.de_DeleteIntegrationAssociationCommand = de_DeleteIntegrationAssociationCommand;
@@ -6428,7 +6428,7 @@ const de_DeletePromptCommand = async (output, context) => {
6428
6428
  const contents = (0, smithy_client_1.map)({
6429
6429
  $metadata: deserializeMetadata(output),
6430
6430
  });
6431
- await collectBody(output.body, context);
6431
+ await (0, smithy_client_1.collectBody)(output.body, context);
6432
6432
  return contents;
6433
6433
  };
6434
6434
  exports.de_DeletePromptCommand = de_DeletePromptCommand;
@@ -6470,7 +6470,7 @@ const de_DeleteQuickConnectCommand = async (output, context) => {
6470
6470
  const contents = (0, smithy_client_1.map)({
6471
6471
  $metadata: deserializeMetadata(output),
6472
6472
  });
6473
- await collectBody(output.body, context);
6473
+ await (0, smithy_client_1.collectBody)(output.body, context);
6474
6474
  return contents;
6475
6475
  };
6476
6476
  exports.de_DeleteQuickConnectCommand = de_DeleteQuickConnectCommand;
@@ -6512,7 +6512,7 @@ const de_DeleteRuleCommand = async (output, context) => {
6512
6512
  const contents = (0, smithy_client_1.map)({
6513
6513
  $metadata: deserializeMetadata(output),
6514
6514
  });
6515
- await collectBody(output.body, context);
6515
+ await (0, smithy_client_1.collectBody)(output.body, context);
6516
6516
  return contents;
6517
6517
  };
6518
6518
  exports.de_DeleteRuleCommand = de_DeleteRuleCommand;
@@ -6554,7 +6554,7 @@ const de_DeleteSecurityProfileCommand = async (output, context) => {
6554
6554
  const contents = (0, smithy_client_1.map)({
6555
6555
  $metadata: deserializeMetadata(output),
6556
6556
  });
6557
- await collectBody(output.body, context);
6557
+ await (0, smithy_client_1.collectBody)(output.body, context);
6558
6558
  return contents;
6559
6559
  };
6560
6560
  exports.de_DeleteSecurityProfileCommand = de_DeleteSecurityProfileCommand;
@@ -6602,7 +6602,7 @@ const de_DeleteTaskTemplateCommand = async (output, context) => {
6602
6602
  const contents = (0, smithy_client_1.map)({
6603
6603
  $metadata: deserializeMetadata(output),
6604
6604
  });
6605
- await collectBody(output.body, context);
6605
+ await (0, smithy_client_1.collectBody)(output.body, context);
6606
6606
  return contents;
6607
6607
  };
6608
6608
  exports.de_DeleteTaskTemplateCommand = de_DeleteTaskTemplateCommand;
@@ -6644,7 +6644,7 @@ const de_DeleteTrafficDistributionGroupCommand = async (output, context) => {
6644
6644
  const contents = (0, smithy_client_1.map)({
6645
6645
  $metadata: deserializeMetadata(output),
6646
6646
  });
6647
- await collectBody(output.body, context);
6647
+ await (0, smithy_client_1.collectBody)(output.body, context);
6648
6648
  return contents;
6649
6649
  };
6650
6650
  exports.de_DeleteTrafficDistributionGroupCommand = de_DeleteTrafficDistributionGroupCommand;
@@ -6686,7 +6686,7 @@ const de_DeleteUseCaseCommand = async (output, context) => {
6686
6686
  const contents = (0, smithy_client_1.map)({
6687
6687
  $metadata: deserializeMetadata(output),
6688
6688
  });
6689
- await collectBody(output.body, context);
6689
+ await (0, smithy_client_1.collectBody)(output.body, context);
6690
6690
  return contents;
6691
6691
  };
6692
6692
  exports.de_DeleteUseCaseCommand = de_DeleteUseCaseCommand;
@@ -6725,7 +6725,7 @@ const de_DeleteUserCommand = async (output, context) => {
6725
6725
  const contents = (0, smithy_client_1.map)({
6726
6726
  $metadata: deserializeMetadata(output),
6727
6727
  });
6728
- await collectBody(output.body, context);
6728
+ await (0, smithy_client_1.collectBody)(output.body, context);
6729
6729
  return contents;
6730
6730
  };
6731
6731
  exports.de_DeleteUserCommand = de_DeleteUserCommand;
@@ -6767,7 +6767,7 @@ const de_DeleteUserHierarchyGroupCommand = async (output, context) => {
6767
6767
  const contents = (0, smithy_client_1.map)({
6768
6768
  $metadata: deserializeMetadata(output),
6769
6769
  });
6770
- await collectBody(output.body, context);
6770
+ await (0, smithy_client_1.collectBody)(output.body, context);
6771
6771
  return contents;
6772
6772
  };
6773
6773
  exports.de_DeleteUserHierarchyGroupCommand = de_DeleteUserHierarchyGroupCommand;
@@ -7870,7 +7870,7 @@ const de_DisassociateApprovedOriginCommand = async (output, context) => {
7870
7870
  const contents = (0, smithy_client_1.map)({
7871
7871
  $metadata: deserializeMetadata(output),
7872
7872
  });
7873
- await collectBody(output.body, context);
7873
+ await (0, smithy_client_1.collectBody)(output.body, context);
7874
7874
  return contents;
7875
7875
  };
7876
7876
  exports.de_DisassociateApprovedOriginCommand = de_DisassociateApprovedOriginCommand;
@@ -7912,7 +7912,7 @@ const de_DisassociateBotCommand = async (output, context) => {
7912
7912
  const contents = (0, smithy_client_1.map)({
7913
7913
  $metadata: deserializeMetadata(output),
7914
7914
  });
7915
- await collectBody(output.body, context);
7915
+ await (0, smithy_client_1.collectBody)(output.body, context);
7916
7916
  return contents;
7917
7917
  };
7918
7918
  exports.de_DisassociateBotCommand = de_DisassociateBotCommand;
@@ -7951,7 +7951,7 @@ const de_DisassociateInstanceStorageConfigCommand = async (output, context) => {
7951
7951
  const contents = (0, smithy_client_1.map)({
7952
7952
  $metadata: deserializeMetadata(output),
7953
7953
  });
7954
- await collectBody(output.body, context);
7954
+ await (0, smithy_client_1.collectBody)(output.body, context);
7955
7955
  return contents;
7956
7956
  };
7957
7957
  exports.de_DisassociateInstanceStorageConfigCommand = de_DisassociateInstanceStorageConfigCommand;
@@ -7993,7 +7993,7 @@ const de_DisassociateLambdaFunctionCommand = async (output, context) => {
7993
7993
  const contents = (0, smithy_client_1.map)({
7994
7994
  $metadata: deserializeMetadata(output),
7995
7995
  });
7996
- await collectBody(output.body, context);
7996
+ await (0, smithy_client_1.collectBody)(output.body, context);
7997
7997
  return contents;
7998
7998
  };
7999
7999
  exports.de_DisassociateLambdaFunctionCommand = de_DisassociateLambdaFunctionCommand;
@@ -8035,7 +8035,7 @@ const de_DisassociateLexBotCommand = async (output, context) => {
8035
8035
  const contents = (0, smithy_client_1.map)({
8036
8036
  $metadata: deserializeMetadata(output),
8037
8037
  });
8038
- await collectBody(output.body, context);
8038
+ await (0, smithy_client_1.collectBody)(output.body, context);
8039
8039
  return contents;
8040
8040
  };
8041
8041
  exports.de_DisassociateLexBotCommand = de_DisassociateLexBotCommand;
@@ -8077,7 +8077,7 @@ const de_DisassociatePhoneNumberContactFlowCommand = async (output, context) =>
8077
8077
  const contents = (0, smithy_client_1.map)({
8078
8078
  $metadata: deserializeMetadata(output),
8079
8079
  });
8080
- await collectBody(output.body, context);
8080
+ await (0, smithy_client_1.collectBody)(output.body, context);
8081
8081
  return contents;
8082
8082
  };
8083
8083
  exports.de_DisassociatePhoneNumberContactFlowCommand = de_DisassociatePhoneNumberContactFlowCommand;
@@ -8119,7 +8119,7 @@ const de_DisassociateQueueQuickConnectsCommand = async (output, context) => {
8119
8119
  const contents = (0, smithy_client_1.map)({
8120
8120
  $metadata: deserializeMetadata(output),
8121
8121
  });
8122
- await collectBody(output.body, context);
8122
+ await (0, smithy_client_1.collectBody)(output.body, context);
8123
8123
  return contents;
8124
8124
  };
8125
8125
  exports.de_DisassociateQueueQuickConnectsCommand = de_DisassociateQueueQuickConnectsCommand;
@@ -8161,7 +8161,7 @@ const de_DisassociateRoutingProfileQueuesCommand = async (output, context) => {
8161
8161
  const contents = (0, smithy_client_1.map)({
8162
8162
  $metadata: deserializeMetadata(output),
8163
8163
  });
8164
- await collectBody(output.body, context);
8164
+ await (0, smithy_client_1.collectBody)(output.body, context);
8165
8165
  return contents;
8166
8166
  };
8167
8167
  exports.de_DisassociateRoutingProfileQueuesCommand = de_DisassociateRoutingProfileQueuesCommand;
@@ -8203,7 +8203,7 @@ const de_DisassociateSecurityKeyCommand = async (output, context) => {
8203
8203
  const contents = (0, smithy_client_1.map)({
8204
8204
  $metadata: deserializeMetadata(output),
8205
8205
  });
8206
- await collectBody(output.body, context);
8206
+ await (0, smithy_client_1.collectBody)(output.body, context);
8207
8207
  return contents;
8208
8208
  };
8209
8209
  exports.de_DisassociateSecurityKeyCommand = de_DisassociateSecurityKeyCommand;
@@ -8245,7 +8245,7 @@ const de_DismissUserContactCommand = async (output, context) => {
8245
8245
  const contents = (0, smithy_client_1.map)({
8246
8246
  $metadata: deserializeMetadata(output),
8247
8247
  });
8248
- await collectBody(output.body, context);
8248
+ await (0, smithy_client_1.collectBody)(output.body, context);
8249
8249
  return contents;
8250
8250
  };
8251
8251
  exports.de_DismissUserContactCommand = de_DismissUserContactCommand;
@@ -10392,7 +10392,7 @@ const de_PutUserStatusCommand = async (output, context) => {
10392
10392
  const contents = (0, smithy_client_1.map)({
10393
10393
  $metadata: deserializeMetadata(output),
10394
10394
  });
10395
- await collectBody(output.body, context);
10395
+ await (0, smithy_client_1.collectBody)(output.body, context);
10396
10396
  return contents;
10397
10397
  };
10398
10398
  exports.de_PutUserStatusCommand = de_PutUserStatusCommand;
@@ -10437,7 +10437,7 @@ const de_ReleasePhoneNumberCommand = async (output, context) => {
10437
10437
  const contents = (0, smithy_client_1.map)({
10438
10438
  $metadata: deserializeMetadata(output),
10439
10439
  });
10440
- await collectBody(output.body, context);
10440
+ await (0, smithy_client_1.collectBody)(output.body, context);
10441
10441
  return contents;
10442
10442
  };
10443
10443
  exports.de_ReleasePhoneNumberCommand = de_ReleasePhoneNumberCommand;
@@ -10541,7 +10541,7 @@ const de_ResumeContactRecordingCommand = async (output, context) => {
10541
10541
  const contents = (0, smithy_client_1.map)({
10542
10542
  $metadata: deserializeMetadata(output),
10543
10543
  });
10544
- await collectBody(output.body, context);
10544
+ await (0, smithy_client_1.collectBody)(output.body, context);
10545
10545
  return contents;
10546
10546
  };
10547
10547
  exports.de_ResumeContactRecordingCommand = de_ResumeContactRecordingCommand;
@@ -11100,7 +11100,7 @@ const de_StartContactRecordingCommand = async (output, context) => {
11100
11100
  const contents = (0, smithy_client_1.map)({
11101
11101
  $metadata: deserializeMetadata(output),
11102
11102
  });
11103
- await collectBody(output.body, context);
11103
+ await (0, smithy_client_1.collectBody)(output.body, context);
11104
11104
  return contents;
11105
11105
  };
11106
11106
  exports.de_StartContactRecordingCommand = de_StartContactRecordingCommand;
@@ -11286,7 +11286,7 @@ const de_StopContactCommand = async (output, context) => {
11286
11286
  const contents = (0, smithy_client_1.map)({
11287
11287
  $metadata: deserializeMetadata(output),
11288
11288
  });
11289
- await collectBody(output.body, context);
11289
+ await (0, smithy_client_1.collectBody)(output.body, context);
11290
11290
  return contents;
11291
11291
  };
11292
11292
  exports.de_StopContactCommand = de_StopContactCommand;
@@ -11328,7 +11328,7 @@ const de_StopContactRecordingCommand = async (output, context) => {
11328
11328
  const contents = (0, smithy_client_1.map)({
11329
11329
  $metadata: deserializeMetadata(output),
11330
11330
  });
11331
- await collectBody(output.body, context);
11331
+ await (0, smithy_client_1.collectBody)(output.body, context);
11332
11332
  return contents;
11333
11333
  };
11334
11334
  exports.de_StopContactRecordingCommand = de_StopContactRecordingCommand;
@@ -11364,7 +11364,7 @@ const de_StopContactStreamingCommand = async (output, context) => {
11364
11364
  const contents = (0, smithy_client_1.map)({
11365
11365
  $metadata: deserializeMetadata(output),
11366
11366
  });
11367
- await collectBody(output.body, context);
11367
+ await (0, smithy_client_1.collectBody)(output.body, context);
11368
11368
  return contents;
11369
11369
  };
11370
11370
  exports.de_StopContactStreamingCommand = de_StopContactStreamingCommand;
@@ -11450,7 +11450,7 @@ const de_SuspendContactRecordingCommand = async (output, context) => {
11450
11450
  const contents = (0, smithy_client_1.map)({
11451
11451
  $metadata: deserializeMetadata(output),
11452
11452
  });
11453
- await collectBody(output.body, context);
11453
+ await (0, smithy_client_1.collectBody)(output.body, context);
11454
11454
  return contents;
11455
11455
  };
11456
11456
  exports.de_SuspendContactRecordingCommand = de_SuspendContactRecordingCommand;
@@ -11486,7 +11486,7 @@ const de_TagResourceCommand = async (output, context) => {
11486
11486
  const contents = (0, smithy_client_1.map)({
11487
11487
  $metadata: deserializeMetadata(output),
11488
11488
  });
11489
- await collectBody(output.body, context);
11489
+ await (0, smithy_client_1.collectBody)(output.body, context);
11490
11490
  return contents;
11491
11491
  };
11492
11492
  exports.de_TagResourceCommand = de_TagResourceCommand;
@@ -11581,7 +11581,7 @@ const de_UntagResourceCommand = async (output, context) => {
11581
11581
  const contents = (0, smithy_client_1.map)({
11582
11582
  $metadata: deserializeMetadata(output),
11583
11583
  });
11584
- await collectBody(output.body, context);
11584
+ await (0, smithy_client_1.collectBody)(output.body, context);
11585
11585
  return contents;
11586
11586
  };
11587
11587
  exports.de_UntagResourceCommand = de_UntagResourceCommand;
@@ -11623,7 +11623,7 @@ const de_UpdateAgentStatusCommand = async (output, context) => {
11623
11623
  const contents = (0, smithy_client_1.map)({
11624
11624
  $metadata: deserializeMetadata(output),
11625
11625
  });
11626
- await collectBody(output.body, context);
11626
+ await (0, smithy_client_1.collectBody)(output.body, context);
11627
11627
  return contents;
11628
11628
  };
11629
11629
  exports.de_UpdateAgentStatusCommand = de_UpdateAgentStatusCommand;
@@ -11671,7 +11671,7 @@ const de_UpdateContactCommand = async (output, context) => {
11671
11671
  const contents = (0, smithy_client_1.map)({
11672
11672
  $metadata: deserializeMetadata(output),
11673
11673
  });
11674
- await collectBody(output.body, context);
11674
+ await (0, smithy_client_1.collectBody)(output.body, context);
11675
11675
  return contents;
11676
11676
  };
11677
11677
  exports.de_UpdateContactCommand = de_UpdateContactCommand;
@@ -11713,7 +11713,7 @@ const de_UpdateContactAttributesCommand = async (output, context) => {
11713
11713
  const contents = (0, smithy_client_1.map)({
11714
11714
  $metadata: deserializeMetadata(output),
11715
11715
  });
11716
- await collectBody(output.body, context);
11716
+ await (0, smithy_client_1.collectBody)(output.body, context);
11717
11717
  return contents;
11718
11718
  };
11719
11719
  exports.de_UpdateContactAttributesCommand = de_UpdateContactAttributesCommand;
@@ -11799,7 +11799,7 @@ const de_UpdateContactFlowContentCommand = async (output, context) => {
11799
11799
  const contents = (0, smithy_client_1.map)({
11800
11800
  $metadata: deserializeMetadata(output),
11801
11801
  });
11802
- await collectBody(output.body, context);
11802
+ await (0, smithy_client_1.collectBody)(output.body, context);
11803
11803
  return contents;
11804
11804
  };
11805
11805
  exports.de_UpdateContactFlowContentCommand = de_UpdateContactFlowContentCommand;
@@ -11844,7 +11844,7 @@ const de_UpdateContactFlowMetadataCommand = async (output, context) => {
11844
11844
  const contents = (0, smithy_client_1.map)({
11845
11845
  $metadata: deserializeMetadata(output),
11846
11846
  });
11847
- await collectBody(output.body, context);
11847
+ await (0, smithy_client_1.collectBody)(output.body, context);
11848
11848
  return contents;
11849
11849
  };
11850
11850
  exports.de_UpdateContactFlowMetadataCommand = de_UpdateContactFlowMetadataCommand;
@@ -11889,7 +11889,7 @@ const de_UpdateContactFlowModuleContentCommand = async (output, context) => {
11889
11889
  const contents = (0, smithy_client_1.map)({
11890
11890
  $metadata: deserializeMetadata(output),
11891
11891
  });
11892
- await collectBody(output.body, context);
11892
+ await (0, smithy_client_1.collectBody)(output.body, context);
11893
11893
  return contents;
11894
11894
  };
11895
11895
  exports.de_UpdateContactFlowModuleContentCommand = de_UpdateContactFlowModuleContentCommand;
@@ -11934,7 +11934,7 @@ const de_UpdateContactFlowModuleMetadataCommand = async (output, context) => {
11934
11934
  const contents = (0, smithy_client_1.map)({
11935
11935
  $metadata: deserializeMetadata(output),
11936
11936
  });
11937
- await collectBody(output.body, context);
11937
+ await (0, smithy_client_1.collectBody)(output.body, context);
11938
11938
  return contents;
11939
11939
  };
11940
11940
  exports.de_UpdateContactFlowModuleMetadataCommand = de_UpdateContactFlowModuleMetadataCommand;
@@ -11982,7 +11982,7 @@ const de_UpdateContactFlowNameCommand = async (output, context) => {
11982
11982
  const contents = (0, smithy_client_1.map)({
11983
11983
  $metadata: deserializeMetadata(output),
11984
11984
  });
11985
- await collectBody(output.body, context);
11985
+ await (0, smithy_client_1.collectBody)(output.body, context);
11986
11986
  return contents;
11987
11987
  };
11988
11988
  exports.de_UpdateContactFlowNameCommand = de_UpdateContactFlowNameCommand;
@@ -12027,7 +12027,7 @@ const de_UpdateContactScheduleCommand = async (output, context) => {
12027
12027
  const contents = (0, smithy_client_1.map)({
12028
12028
  $metadata: deserializeMetadata(output),
12029
12029
  });
12030
- await collectBody(output.body, context);
12030
+ await (0, smithy_client_1.collectBody)(output.body, context);
12031
12031
  return contents;
12032
12032
  };
12033
12033
  exports.de_UpdateContactScheduleCommand = de_UpdateContactScheduleCommand;
@@ -12123,7 +12123,7 @@ const de_UpdateHoursOfOperationCommand = async (output, context) => {
12123
12123
  const contents = (0, smithy_client_1.map)({
12124
12124
  $metadata: deserializeMetadata(output),
12125
12125
  });
12126
- await collectBody(output.body, context);
12126
+ await (0, smithy_client_1.collectBody)(output.body, context);
12127
12127
  return contents;
12128
12128
  };
12129
12129
  exports.de_UpdateHoursOfOperationCommand = de_UpdateHoursOfOperationCommand;
@@ -12168,7 +12168,7 @@ const de_UpdateInstanceAttributeCommand = async (output, context) => {
12168
12168
  const contents = (0, smithy_client_1.map)({
12169
12169
  $metadata: deserializeMetadata(output),
12170
12170
  });
12171
- await collectBody(output.body, context);
12171
+ await (0, smithy_client_1.collectBody)(output.body, context);
12172
12172
  return contents;
12173
12173
  };
12174
12174
  exports.de_UpdateInstanceAttributeCommand = de_UpdateInstanceAttributeCommand;
@@ -12210,7 +12210,7 @@ const de_UpdateInstanceStorageConfigCommand = async (output, context) => {
12210
12210
  const contents = (0, smithy_client_1.map)({
12211
12211
  $metadata: deserializeMetadata(output),
12212
12212
  });
12213
- await collectBody(output.body, context);
12213
+ await (0, smithy_client_1.collectBody)(output.body, context);
12214
12214
  return contents;
12215
12215
  };
12216
12216
  exports.de_UpdateInstanceStorageConfigCommand = de_UpdateInstanceStorageConfigCommand;
@@ -12252,7 +12252,7 @@ const de_UpdateParticipantRoleConfigCommand = async (output, context) => {
12252
12252
  const contents = (0, smithy_client_1.map)({
12253
12253
  $metadata: deserializeMetadata(output),
12254
12254
  });
12255
- await collectBody(output.body, context);
12255
+ await (0, smithy_client_1.collectBody)(output.body, context);
12256
12256
  return contents;
12257
12257
  };
12258
12258
  exports.de_UpdateParticipantRoleConfigCommand = de_UpdateParticipantRoleConfigCommand;
@@ -12397,7 +12397,7 @@ const de_UpdateQueueHoursOfOperationCommand = async (output, context) => {
12397
12397
  const contents = (0, smithy_client_1.map)({
12398
12398
  $metadata: deserializeMetadata(output),
12399
12399
  });
12400
- await collectBody(output.body, context);
12400
+ await (0, smithy_client_1.collectBody)(output.body, context);
12401
12401
  return contents;
12402
12402
  };
12403
12403
  exports.de_UpdateQueueHoursOfOperationCommand = de_UpdateQueueHoursOfOperationCommand;
@@ -12439,7 +12439,7 @@ const de_UpdateQueueMaxContactsCommand = async (output, context) => {
12439
12439
  const contents = (0, smithy_client_1.map)({
12440
12440
  $metadata: deserializeMetadata(output),
12441
12441
  });
12442
- await collectBody(output.body, context);
12442
+ await (0, smithy_client_1.collectBody)(output.body, context);
12443
12443
  return contents;
12444
12444
  };
12445
12445
  exports.de_UpdateQueueMaxContactsCommand = de_UpdateQueueMaxContactsCommand;
@@ -12481,7 +12481,7 @@ const de_UpdateQueueNameCommand = async (output, context) => {
12481
12481
  const contents = (0, smithy_client_1.map)({
12482
12482
  $metadata: deserializeMetadata(output),
12483
12483
  });
12484
- await collectBody(output.body, context);
12484
+ await (0, smithy_client_1.collectBody)(output.body, context);
12485
12485
  return contents;
12486
12486
  };
12487
12487
  exports.de_UpdateQueueNameCommand = de_UpdateQueueNameCommand;
@@ -12526,7 +12526,7 @@ const de_UpdateQueueOutboundCallerConfigCommand = async (output, context) => {
12526
12526
  const contents = (0, smithy_client_1.map)({
12527
12527
  $metadata: deserializeMetadata(output),
12528
12528
  });
12529
- await collectBody(output.body, context);
12529
+ await (0, smithy_client_1.collectBody)(output.body, context);
12530
12530
  return contents;
12531
12531
  };
12532
12532
  exports.de_UpdateQueueOutboundCallerConfigCommand = de_UpdateQueueOutboundCallerConfigCommand;
@@ -12568,7 +12568,7 @@ const de_UpdateQueueStatusCommand = async (output, context) => {
12568
12568
  const contents = (0, smithy_client_1.map)({
12569
12569
  $metadata: deserializeMetadata(output),
12570
12570
  });
12571
- await collectBody(output.body, context);
12571
+ await (0, smithy_client_1.collectBody)(output.body, context);
12572
12572
  return contents;
12573
12573
  };
12574
12574
  exports.de_UpdateQueueStatusCommand = de_UpdateQueueStatusCommand;
@@ -12610,7 +12610,7 @@ const de_UpdateQuickConnectConfigCommand = async (output, context) => {
12610
12610
  const contents = (0, smithy_client_1.map)({
12611
12611
  $metadata: deserializeMetadata(output),
12612
12612
  });
12613
- await collectBody(output.body, context);
12613
+ await (0, smithy_client_1.collectBody)(output.body, context);
12614
12614
  return contents;
12615
12615
  };
12616
12616
  exports.de_UpdateQuickConnectConfigCommand = de_UpdateQuickConnectConfigCommand;
@@ -12652,7 +12652,7 @@ const de_UpdateQuickConnectNameCommand = async (output, context) => {
12652
12652
  const contents = (0, smithy_client_1.map)({
12653
12653
  $metadata: deserializeMetadata(output),
12654
12654
  });
12655
- await collectBody(output.body, context);
12655
+ await (0, smithy_client_1.collectBody)(output.body, context);
12656
12656
  return contents;
12657
12657
  };
12658
12658
  exports.de_UpdateQuickConnectNameCommand = de_UpdateQuickConnectNameCommand;
@@ -12694,7 +12694,7 @@ const de_UpdateRoutingProfileConcurrencyCommand = async (output, context) => {
12694
12694
  const contents = (0, smithy_client_1.map)({
12695
12695
  $metadata: deserializeMetadata(output),
12696
12696
  });
12697
- await collectBody(output.body, context);
12697
+ await (0, smithy_client_1.collectBody)(output.body, context);
12698
12698
  return contents;
12699
12699
  };
12700
12700
  exports.de_UpdateRoutingProfileConcurrencyCommand = de_UpdateRoutingProfileConcurrencyCommand;
@@ -12736,7 +12736,7 @@ const de_UpdateRoutingProfileDefaultOutboundQueueCommand = async (output, contex
12736
12736
  const contents = (0, smithy_client_1.map)({
12737
12737
  $metadata: deserializeMetadata(output),
12738
12738
  });
12739
- await collectBody(output.body, context);
12739
+ await (0, smithy_client_1.collectBody)(output.body, context);
12740
12740
  return contents;
12741
12741
  };
12742
12742
  exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = de_UpdateRoutingProfileDefaultOutboundQueueCommand;
@@ -12778,7 +12778,7 @@ const de_UpdateRoutingProfileNameCommand = async (output, context) => {
12778
12778
  const contents = (0, smithy_client_1.map)({
12779
12779
  $metadata: deserializeMetadata(output),
12780
12780
  });
12781
- await collectBody(output.body, context);
12781
+ await (0, smithy_client_1.collectBody)(output.body, context);
12782
12782
  return contents;
12783
12783
  };
12784
12784
  exports.de_UpdateRoutingProfileNameCommand = de_UpdateRoutingProfileNameCommand;
@@ -12823,7 +12823,7 @@ const de_UpdateRoutingProfileQueuesCommand = async (output, context) => {
12823
12823
  const contents = (0, smithy_client_1.map)({
12824
12824
  $metadata: deserializeMetadata(output),
12825
12825
  });
12826
- await collectBody(output.body, context);
12826
+ await (0, smithy_client_1.collectBody)(output.body, context);
12827
12827
  return contents;
12828
12828
  };
12829
12829
  exports.de_UpdateRoutingProfileQueuesCommand = de_UpdateRoutingProfileQueuesCommand;
@@ -12865,7 +12865,7 @@ const de_UpdateRuleCommand = async (output, context) => {
12865
12865
  const contents = (0, smithy_client_1.map)({
12866
12866
  $metadata: deserializeMetadata(output),
12867
12867
  });
12868
- await collectBody(output.body, context);
12868
+ await (0, smithy_client_1.collectBody)(output.body, context);
12869
12869
  return contents;
12870
12870
  };
12871
12871
  exports.de_UpdateRuleCommand = de_UpdateRuleCommand;
@@ -12910,7 +12910,7 @@ const de_UpdateSecurityProfileCommand = async (output, context) => {
12910
12910
  const contents = (0, smithy_client_1.map)({
12911
12911
  $metadata: deserializeMetadata(output),
12912
12912
  });
12913
- await collectBody(output.body, context);
12913
+ await (0, smithy_client_1.collectBody)(output.body, context);
12914
12914
  return contents;
12915
12915
  };
12916
12916
  exports.de_UpdateSecurityProfileCommand = de_UpdateSecurityProfileCommand;
@@ -13012,7 +13012,7 @@ const de_UpdateTrafficDistributionCommand = async (output, context) => {
13012
13012
  const contents = (0, smithy_client_1.map)({
13013
13013
  $metadata: deserializeMetadata(output),
13014
13014
  });
13015
- await collectBody(output.body, context);
13015
+ await (0, smithy_client_1.collectBody)(output.body, context);
13016
13016
  return contents;
13017
13017
  };
13018
13018
  exports.de_UpdateTrafficDistributionCommand = de_UpdateTrafficDistributionCommand;
@@ -13057,7 +13057,7 @@ const de_UpdateUserHierarchyCommand = async (output, context) => {
13057
13057
  const contents = (0, smithy_client_1.map)({
13058
13058
  $metadata: deserializeMetadata(output),
13059
13059
  });
13060
- await collectBody(output.body, context);
13060
+ await (0, smithy_client_1.collectBody)(output.body, context);
13061
13061
  return contents;
13062
13062
  };
13063
13063
  exports.de_UpdateUserHierarchyCommand = de_UpdateUserHierarchyCommand;
@@ -13099,7 +13099,7 @@ const de_UpdateUserHierarchyGroupNameCommand = async (output, context) => {
13099
13099
  const contents = (0, smithy_client_1.map)({
13100
13100
  $metadata: deserializeMetadata(output),
13101
13101
  });
13102
- await collectBody(output.body, context);
13102
+ await (0, smithy_client_1.collectBody)(output.body, context);
13103
13103
  return contents;
13104
13104
  };
13105
13105
  exports.de_UpdateUserHierarchyGroupNameCommand = de_UpdateUserHierarchyGroupNameCommand;
@@ -13144,7 +13144,7 @@ const de_UpdateUserHierarchyStructureCommand = async (output, context) => {
13144
13144
  const contents = (0, smithy_client_1.map)({
13145
13145
  $metadata: deserializeMetadata(output),
13146
13146
  });
13147
- await collectBody(output.body, context);
13147
+ await (0, smithy_client_1.collectBody)(output.body, context);
13148
13148
  return contents;
13149
13149
  };
13150
13150
  exports.de_UpdateUserHierarchyStructureCommand = de_UpdateUserHierarchyStructureCommand;
@@ -13189,7 +13189,7 @@ const de_UpdateUserIdentityInfoCommand = async (output, context) => {
13189
13189
  const contents = (0, smithy_client_1.map)({
13190
13190
  $metadata: deserializeMetadata(output),
13191
13191
  });
13192
- await collectBody(output.body, context);
13192
+ await (0, smithy_client_1.collectBody)(output.body, context);
13193
13193
  return contents;
13194
13194
  };
13195
13195
  exports.de_UpdateUserIdentityInfoCommand = de_UpdateUserIdentityInfoCommand;
@@ -13231,7 +13231,7 @@ const de_UpdateUserPhoneConfigCommand = async (output, context) => {
13231
13231
  const contents = (0, smithy_client_1.map)({
13232
13232
  $metadata: deserializeMetadata(output),
13233
13233
  });
13234
- await collectBody(output.body, context);
13234
+ await (0, smithy_client_1.collectBody)(output.body, context);
13235
13235
  return contents;
13236
13236
  };
13237
13237
  exports.de_UpdateUserPhoneConfigCommand = de_UpdateUserPhoneConfigCommand;
@@ -13273,7 +13273,7 @@ const de_UpdateUserRoutingProfileCommand = async (output, context) => {
13273
13273
  const contents = (0, smithy_client_1.map)({
13274
13274
  $metadata: deserializeMetadata(output),
13275
13275
  });
13276
- await collectBody(output.body, context);
13276
+ await (0, smithy_client_1.collectBody)(output.body, context);
13277
13277
  return contents;
13278
13278
  };
13279
13279
  exports.de_UpdateUserRoutingProfileCommand = de_UpdateUserRoutingProfileCommand;
@@ -13315,7 +13315,7 @@ const de_UpdateUserSecurityProfilesCommand = async (output, context) => {
13315
13315
  const contents = (0, smithy_client_1.map)({
13316
13316
  $metadata: deserializeMetadata(output),
13317
13317
  });
13318
- await collectBody(output.body, context);
13318
+ await (0, smithy_client_1.collectBody)(output.body, context);
13319
13319
  return contents;
13320
13320
  };
13321
13321
  exports.de_UpdateUserSecurityProfilesCommand = de_UpdateUserSecurityProfilesCommand;
@@ -14162,6 +14162,7 @@ const de_Instance = (output, context) => {
14162
14162
  Id: smithy_client_1.expectString,
14163
14163
  IdentityManagementType: smithy_client_1.expectString,
14164
14164
  InboundCallsEnabled: smithy_client_1.expectBoolean,
14165
+ InstanceAccessUrl: smithy_client_1.expectString,
14165
14166
  InstanceAlias: smithy_client_1.expectString,
14166
14167
  InstanceStatus: smithy_client_1.expectString,
14167
14168
  OutboundCallsEnabled: smithy_client_1.expectBoolean,
@@ -14176,6 +14177,7 @@ const de_InstanceSummary = (output, context) => {
14176
14177
  Id: smithy_client_1.expectString,
14177
14178
  IdentityManagementType: smithy_client_1.expectString,
14178
14179
  InboundCallsEnabled: smithy_client_1.expectBoolean,
14180
+ InstanceAccessUrl: smithy_client_1.expectString,
14179
14181
  InstanceAlias: smithy_client_1.expectString,
14180
14182
  InstanceStatus: smithy_client_1.expectString,
14181
14183
  OutboundCallsEnabled: smithy_client_1.expectBoolean,
@@ -14379,13 +14381,7 @@ const deserializeMetadata = (output) => ({
14379
14381
  extendedRequestId: output.headers["x-amz-id-2"],
14380
14382
  cfId: output.headers["x-amz-cf-id"],
14381
14383
  });
14382
- const collectBody = (streamBody = new Uint8Array(), context) => {
14383
- if (streamBody instanceof Uint8Array) {
14384
- return Promise.resolve(streamBody);
14385
- }
14386
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
14387
- };
14388
- const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
14384
+ const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
14389
14385
  const isSerializableHeaderValue = (value) => value !== undefined &&
14390
14386
  value !== null &&
14391
14387
  value !== "" &&
@@ -198,6 +198,7 @@ export const InstanceStorageResourceType = {
198
198
  MEDIA_STREAMS: "MEDIA_STREAMS",
199
199
  REAL_TIME_CONTACT_ANALYSIS_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS",
200
200
  SCHEDULED_REPORTS: "SCHEDULED_REPORTS",
201
+ SCREEN_RECORDINGS: "SCREEN_RECORDINGS",
201
202
  };
202
203
  export const EncryptionType = {
203
204
  KMS: "KMS",
@@ -1,4 +1,4 @@
1
- import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
1
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
@@ -13766,6 +13766,7 @@ const de_Instance = (output, context) => {
13766
13766
  Id: __expectString,
13767
13767
  IdentityManagementType: __expectString,
13768
13768
  InboundCallsEnabled: __expectBoolean,
13769
+ InstanceAccessUrl: __expectString,
13769
13770
  InstanceAlias: __expectString,
13770
13771
  InstanceStatus: __expectString,
13771
13772
  OutboundCallsEnabled: __expectBoolean,
@@ -13780,6 +13781,7 @@ const de_InstanceSummary = (output, context) => {
13780
13781
  Id: __expectString,
13781
13782
  IdentityManagementType: __expectString,
13782
13783
  InboundCallsEnabled: __expectBoolean,
13784
+ InstanceAccessUrl: __expectString,
13783
13785
  InstanceAlias: __expectString,
13784
13786
  InstanceStatus: __expectString,
13785
13787
  OutboundCallsEnabled: __expectBoolean,
@@ -13983,12 +13985,6 @@ const deserializeMetadata = (output) => ({
13983
13985
  extendedRequestId: output.headers["x-amz-id-2"],
13984
13986
  cfId: output.headers["x-amz-cf-id"],
13985
13987
  });
13986
- const collectBody = (streamBody = new Uint8Array(), context) => {
13987
- if (streamBody instanceof Uint8Array) {
13988
- return Promise.resolve(streamBody);
13989
- }
13990
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
13991
- };
13992
13988
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
13993
13989
  const isSerializableHeaderValue = (value) => value !== undefined &&
13994
13990
  value !== null &&
@@ -266,7 +266,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
266
266
  */
267
267
  runtime?: string;
268
268
  /**
269
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
269
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
270
270
  * trait of an operation.
271
271
  */
272
272
  disableHostPrefix?: boolean;
@@ -38,7 +38,7 @@ export interface AssociateInstanceStorageConfigCommandOutput extends AssociateIn
38
38
  * const client = new ConnectClient(config);
39
39
  * const input = { // AssociateInstanceStorageConfigRequest
40
40
  * InstanceId: "STRING_VALUE", // required
41
- * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
41
+ * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS" || "SCREEN_RECORDINGS", // required
42
42
  * StorageConfig: { // InstanceStorageConfig
43
43
  * AssociationId: "STRING_VALUE",
44
44
  * StorageType: "S3" || "KINESIS_VIDEO_STREAM" || "KINESIS_STREAM" || "KINESIS_FIREHOSE", // required
@@ -54,6 +54,7 @@ export interface DescribeInstanceCommandOutput extends DescribeInstanceResponse,
54
54
  * // },
55
55
  * // InboundCallsEnabled: true || false,
56
56
  * // OutboundCallsEnabled: true || false,
57
+ * // InstanceAccessUrl: "STRING_VALUE",
57
58
  * // },
58
59
  * // };
59
60
  *
@@ -35,7 +35,7 @@ export interface DescribeInstanceStorageConfigCommandOutput extends DescribeInst
35
35
  * const input = { // DescribeInstanceStorageConfigRequest
36
36
  * InstanceId: "STRING_VALUE", // required
37
37
  * AssociationId: "STRING_VALUE", // required
38
- * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
38
+ * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS" || "SCREEN_RECORDINGS", // required
39
39
  * };
40
40
  * const command = new DescribeInstanceStorageConfigCommand(input);
41
41
  * const response = await client.send(command);
@@ -35,7 +35,7 @@ export interface DisassociateInstanceStorageConfigCommandOutput extends __Metada
35
35
  * const input = { // DisassociateInstanceStorageConfigRequest
36
36
  * InstanceId: "STRING_VALUE", // required
37
37
  * AssociationId: "STRING_VALUE", // required
38
- * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
38
+ * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS" || "SCREEN_RECORDINGS", // required
39
39
  * };
40
40
  * const command = new DisassociateInstanceStorageConfigCommand(input);
41
41
  * const response = await client.send(command);
@@ -34,7 +34,7 @@ export interface ListInstanceStorageConfigsCommandOutput extends ListInstanceSto
34
34
  * const client = new ConnectClient(config);
35
35
  * const input = { // ListInstanceStorageConfigsRequest
36
36
  * InstanceId: "STRING_VALUE", // required
37
- * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
37
+ * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS" || "SCREEN_RECORDINGS", // required
38
38
  * NextToken: "STRING_VALUE",
39
39
  * MaxResults: Number("int"),
40
40
  * };
@@ -51,6 +51,7 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
51
51
  * // InstanceStatus: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED",
52
52
  * // InboundCallsEnabled: true || false,
53
53
  * // OutboundCallsEnabled: true || false,
54
+ * // InstanceAccessUrl: "STRING_VALUE",
54
55
  * // },
55
56
  * // ],
56
57
  * // NextToken: "STRING_VALUE",
@@ -24,8 +24,8 @@ export interface ResumeContactRecordingCommandOutput extends ResumeContactRecord
24
24
  /**
25
25
  * @public
26
26
  * <p>When a contact is being recorded, and the recording has been suspended using
27
- * SuspendContactRecording, this API resumes recording the call.</p>
28
- * <p>Only voice recordings are supported at this time.</p>
27
+ * SuspendContactRecording, this API resumes recording the call or screen.</p>
28
+ * <p>Voice and screen recordings are supported.</p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
31
31
  * ```javascript
@@ -23,12 +23,11 @@ export interface SuspendContactRecordingCommandOutput extends SuspendContactReco
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>When a contact is being recorded, this API suspends recording the call. For example, you
27
- * might suspend the call recording while collecting sensitive information, such as a credit card
28
- * number. Then use ResumeContactRecording to restart recording. </p>
29
- * <p>The period of time that the recording is suspended is filled with silence in the final
30
- * recording. </p>
31
- * <p>Only voice recordings are supported at this time.</p>
26
+ * <p>When a contact is being recorded, this API suspends recording the call or screen. For
27
+ * example, you might suspend the call or screen recording while collecting sensitive
28
+ * information, such as a credit card number. Then use ResumeContactRecording to restart recording.</p>
29
+ * <p>The period of time that the recording is suspended is filled with silence in the final recording.</p>
30
+ * <p>Voice and screen recordings are supported.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -34,7 +34,7 @@ export interface UpdateInstanceStorageConfigCommandOutput extends __MetadataBear
34
34
  * const input = { // UpdateInstanceStorageConfigRequest
35
35
  * InstanceId: "STRING_VALUE", // required
36
36
  * AssociationId: "STRING_VALUE", // required
37
- * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
37
+ * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS" || "SCREEN_RECORDINGS", // required
38
38
  * StorageConfig: { // InstanceStorageConfig
39
39
  * AssociationId: "STRING_VALUE",
40
40
  * StorageType: "S3" || "KINESIS_VIDEO_STREAM" || "KINESIS_STREAM" || "KINESIS_FIREHOSE", // required
@@ -545,6 +545,7 @@ export declare const InstanceStorageResourceType: {
545
545
  readonly MEDIA_STREAMS: "MEDIA_STREAMS";
546
546
  readonly REAL_TIME_CONTACT_ANALYSIS_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS";
547
547
  readonly SCHEDULED_REPORTS: "SCHEDULED_REPORTS";
548
+ readonly SCREEN_RECORDINGS: "SCREEN_RECORDINGS";
548
549
  };
549
550
  /**
550
551
  * @public
@@ -4038,6 +4039,10 @@ export interface Instance {
4038
4039
  * <p>Whether outbound calls are enabled.</p>
4039
4040
  */
4040
4041
  OutboundCallsEnabled?: boolean;
4042
+ /**
4043
+ * <p>This URL allows contact center users to access Amazon Connect admin website.</p>
4044
+ */
4045
+ InstanceAccessUrl?: string;
4041
4046
  }
4042
4047
  /**
4043
4048
  * @public
@@ -2153,6 +2153,10 @@ export interface InstanceSummary {
2153
2153
  * <p>Whether outbound calls are enabled.</p>
2154
2154
  */
2155
2155
  OutboundCallsEnabled?: boolean;
2156
+ /**
2157
+ * <p>This URL allows contact center users to access Amazon Connect admin website.</p>
2158
+ */
2159
+ InstanceAccessUrl?: string;
2156
2160
  }
2157
2161
  /**
2158
2162
  * @public
@@ -239,6 +239,7 @@ export declare const InstanceStorageResourceType: {
239
239
  readonly MEDIA_STREAMS: "MEDIA_STREAMS";
240
240
  readonly REAL_TIME_CONTACT_ANALYSIS_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS";
241
241
  readonly SCHEDULED_REPORTS: "SCHEDULED_REPORTS";
242
+ readonly SCREEN_RECORDINGS: "SCREEN_RECORDINGS";
242
243
  };
243
244
  export type InstanceStorageResourceType =
244
245
  (typeof InstanceStorageResourceType)[keyof typeof InstanceStorageResourceType];
@@ -1418,6 +1419,7 @@ export interface Instance {
1418
1419
  StatusReason?: InstanceStatusReason;
1419
1420
  InboundCallsEnabled?: boolean;
1420
1421
  OutboundCallsEnabled?: boolean;
1422
+ InstanceAccessUrl?: string;
1421
1423
  }
1422
1424
  export interface DescribeInstanceResponse {
1423
1425
  Instance?: Instance;
@@ -623,6 +623,7 @@ export interface InstanceSummary {
623
623
  InstanceStatus?: InstanceStatus | string;
624
624
  InboundCallsEnabled?: boolean;
625
625
  OutboundCallsEnabled?: boolean;
626
+ InstanceAccessUrl?: string;
626
627
  }
627
628
  export interface ListInstancesResponse {
628
629
  InstanceSummaryList?: InstanceSummary[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.353.0",
4
+ "version": "3.357.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.353.0",
25
- "@aws-sdk/config-resolver": "3.353.0",
26
- "@aws-sdk/credential-provider-node": "3.353.0",
27
- "@aws-sdk/fetch-http-handler": "3.353.0",
28
- "@aws-sdk/hash-node": "3.347.0",
29
- "@aws-sdk/invalid-dependency": "3.347.0",
30
- "@aws-sdk/middleware-content-length": "3.347.0",
31
- "@aws-sdk/middleware-endpoint": "3.347.0",
32
- "@aws-sdk/middleware-host-header": "3.347.0",
33
- "@aws-sdk/middleware-logger": "3.347.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.347.0",
35
- "@aws-sdk/middleware-retry": "3.353.0",
36
- "@aws-sdk/middleware-serde": "3.347.0",
37
- "@aws-sdk/middleware-signing": "3.353.0",
38
- "@aws-sdk/middleware-stack": "3.347.0",
39
- "@aws-sdk/middleware-user-agent": "3.352.0",
40
- "@aws-sdk/node-config-provider": "3.353.0",
41
- "@aws-sdk/node-http-handler": "3.350.0",
42
- "@aws-sdk/smithy-client": "3.347.0",
43
- "@aws-sdk/types": "3.347.0",
44
- "@aws-sdk/url-parser": "3.347.0",
24
+ "@aws-sdk/client-sts": "3.357.0",
25
+ "@aws-sdk/config-resolver": "3.357.0",
26
+ "@aws-sdk/credential-provider-node": "3.357.0",
27
+ "@aws-sdk/fetch-http-handler": "3.357.0",
28
+ "@aws-sdk/hash-node": "3.357.0",
29
+ "@aws-sdk/invalid-dependency": "3.357.0",
30
+ "@aws-sdk/middleware-content-length": "3.357.0",
31
+ "@aws-sdk/middleware-endpoint": "3.357.0",
32
+ "@aws-sdk/middleware-host-header": "3.357.0",
33
+ "@aws-sdk/middleware-logger": "3.357.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.357.0",
35
+ "@aws-sdk/middleware-retry": "3.357.0",
36
+ "@aws-sdk/middleware-serde": "3.357.0",
37
+ "@aws-sdk/middleware-signing": "3.357.0",
38
+ "@aws-sdk/middleware-stack": "3.357.0",
39
+ "@aws-sdk/middleware-user-agent": "3.357.0",
40
+ "@aws-sdk/node-config-provider": "3.357.0",
41
+ "@aws-sdk/node-http-handler": "3.357.0",
42
+ "@aws-sdk/smithy-client": "3.357.0",
43
+ "@aws-sdk/types": "3.357.0",
44
+ "@aws-sdk/url-parser": "3.357.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.353.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.353.0",
50
- "@aws-sdk/util-endpoints": "3.352.0",
51
- "@aws-sdk/util-retry": "3.347.0",
52
- "@aws-sdk/util-user-agent-browser": "3.347.0",
53
- "@aws-sdk/util-user-agent-node": "3.353.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.357.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.357.0",
50
+ "@aws-sdk/util-endpoints": "3.357.0",
51
+ "@aws-sdk/util-retry": "3.357.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.357.0",
53
+ "@aws-sdk/util-user-agent-node": "3.357.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",