@aws-sdk/client-kendra 3.95.0 → 3.104.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.
@@ -4897,7 +4897,7 @@ var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
4897
4897
  }));
4898
4898
  };
4899
4899
  var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
4900
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BoxConfiguration !== undefined &&
4900
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BoxConfiguration !== undefined &&
4901
4901
  input.BoxConfiguration !== null && {
4902
4902
  BoxConfiguration: serializeAws_json1_1BoxConfiguration(input.BoxConfiguration, context),
4903
4903
  })), (input.ConfluenceConfiguration !== undefined &&
@@ -4909,6 +4909,9 @@ var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
4909
4909
  })), (input.FsxConfiguration !== undefined &&
4910
4910
  input.FsxConfiguration !== null && {
4911
4911
  FsxConfiguration: serializeAws_json1_1FsxConfiguration(input.FsxConfiguration, context),
4912
+ })), (input.GitHubConfiguration !== undefined &&
4913
+ input.GitHubConfiguration !== null && {
4914
+ GitHubConfiguration: serializeAws_json1_1GitHubConfiguration(input.GitHubConfiguration, context),
4912
4915
  })), (input.GoogleDriveConfiguration !== undefined &&
4913
4916
  input.GoogleDriveConfiguration !== null && {
4914
4917
  GoogleDriveConfiguration: serializeAws_json1_1GoogleDriveConfiguration(input.GoogleDriveConfiguration, context),
@@ -5333,6 +5336,77 @@ var serializeAws_json1_1GetQuerySuggestionsRequest = function (input, context) {
5333
5336
  var serializeAws_json1_1GetSnapshotsRequest = function (input, context) {
5334
5337
  return __assign(__assign(__assign(__assign(__assign({}, (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.Interval !== undefined && input.Interval !== null && { Interval: input.Interval })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.MetricType !== undefined && input.MetricType !== null && { MetricType: input.MetricType })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
5335
5338
  };
5339
+ var serializeAws_json1_1GitHubConfiguration = function (input, context) {
5340
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionFileNamePatterns !== undefined &&
5341
+ input.ExclusionFileNamePatterns !== null && {
5342
+ ExclusionFileNamePatterns: serializeAws_json1_1StringList(input.ExclusionFileNamePatterns, context),
5343
+ })), (input.ExclusionFileTypePatterns !== undefined &&
5344
+ input.ExclusionFileTypePatterns !== null && {
5345
+ ExclusionFileTypePatterns: serializeAws_json1_1StringList(input.ExclusionFileTypePatterns, context),
5346
+ })), (input.ExclusionFolderNamePatterns !== undefined &&
5347
+ input.ExclusionFolderNamePatterns !== null && {
5348
+ ExclusionFolderNamePatterns: serializeAws_json1_1StringList(input.ExclusionFolderNamePatterns, context),
5349
+ })), (input.GitHubCommitConfigurationFieldMappings !== undefined &&
5350
+ input.GitHubCommitConfigurationFieldMappings !== null && {
5351
+ GitHubCommitConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubCommitConfigurationFieldMappings, context),
5352
+ })), (input.GitHubDocumentCrawlProperties !== undefined &&
5353
+ input.GitHubDocumentCrawlProperties !== null && {
5354
+ GitHubDocumentCrawlProperties: serializeAws_json1_1GitHubDocumentCrawlProperties(input.GitHubDocumentCrawlProperties, context),
5355
+ })), (input.GitHubIssueAttachmentConfigurationFieldMappings !== undefined &&
5356
+ input.GitHubIssueAttachmentConfigurationFieldMappings !== null && {
5357
+ GitHubIssueAttachmentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueAttachmentConfigurationFieldMappings, context),
5358
+ })), (input.GitHubIssueCommentConfigurationFieldMappings !== undefined &&
5359
+ input.GitHubIssueCommentConfigurationFieldMappings !== null && {
5360
+ GitHubIssueCommentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueCommentConfigurationFieldMappings, context),
5361
+ })), (input.GitHubIssueDocumentConfigurationFieldMappings !== undefined &&
5362
+ input.GitHubIssueDocumentConfigurationFieldMappings !== null && {
5363
+ GitHubIssueDocumentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueDocumentConfigurationFieldMappings, context),
5364
+ })), (input.GitHubPullRequestCommentConfigurationFieldMappings !== undefined &&
5365
+ input.GitHubPullRequestCommentConfigurationFieldMappings !== null && {
5366
+ GitHubPullRequestCommentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestCommentConfigurationFieldMappings, context),
5367
+ })), (input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== undefined &&
5368
+ input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== null && {
5369
+ GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, context),
5370
+ })), (input.GitHubPullRequestDocumentConfigurationFieldMappings !== undefined &&
5371
+ input.GitHubPullRequestDocumentConfigurationFieldMappings !== null && {
5372
+ GitHubPullRequestDocumentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestDocumentConfigurationFieldMappings, context),
5373
+ })), (input.GitHubRepositoryConfigurationFieldMappings !== undefined &&
5374
+ input.GitHubRepositoryConfigurationFieldMappings !== null && {
5375
+ GitHubRepositoryConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubRepositoryConfigurationFieldMappings, context),
5376
+ })), (input.InclusionFileNamePatterns !== undefined &&
5377
+ input.InclusionFileNamePatterns !== null && {
5378
+ InclusionFileNamePatterns: serializeAws_json1_1StringList(input.InclusionFileNamePatterns, context),
5379
+ })), (input.InclusionFileTypePatterns !== undefined &&
5380
+ input.InclusionFileTypePatterns !== null && {
5381
+ InclusionFileTypePatterns: serializeAws_json1_1StringList(input.InclusionFileTypePatterns, context),
5382
+ })), (input.InclusionFolderNamePatterns !== undefined &&
5383
+ input.InclusionFolderNamePatterns !== null && {
5384
+ InclusionFolderNamePatterns: serializeAws_json1_1StringList(input.InclusionFolderNamePatterns, context),
5385
+ })), (input.OnPremiseConfiguration !== undefined &&
5386
+ input.OnPremiseConfiguration !== null && {
5387
+ OnPremiseConfiguration: serializeAws_json1_1OnPremiseConfiguration(input.OnPremiseConfiguration, context),
5388
+ })), (input.RepositoryFilter !== undefined &&
5389
+ input.RepositoryFilter !== null && {
5390
+ RepositoryFilter: serializeAws_json1_1RepositoryNames(input.RepositoryFilter, context),
5391
+ })), (input.SaaSConfiguration !== undefined &&
5392
+ input.SaaSConfiguration !== null && {
5393
+ SaaSConfiguration: serializeAws_json1_1SaaSConfiguration(input.SaaSConfiguration, context),
5394
+ })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration !== undefined &&
5395
+ input.VpcConfiguration !== null && {
5396
+ VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
5397
+ }));
5398
+ };
5399
+ var serializeAws_json1_1GitHubDocumentCrawlProperties = function (input, context) {
5400
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlIssue !== undefined && input.CrawlIssue !== null && { CrawlIssue: input.CrawlIssue })), (input.CrawlIssueComment !== undefined &&
5401
+ input.CrawlIssueComment !== null && { CrawlIssueComment: input.CrawlIssueComment })), (input.CrawlIssueCommentAttachment !== undefined &&
5402
+ input.CrawlIssueCommentAttachment !== null && { CrawlIssueCommentAttachment: input.CrawlIssueCommentAttachment })), (input.CrawlPullRequest !== undefined &&
5403
+ input.CrawlPullRequest !== null && { CrawlPullRequest: input.CrawlPullRequest })), (input.CrawlPullRequestComment !== undefined &&
5404
+ input.CrawlPullRequestComment !== null && { CrawlPullRequestComment: input.CrawlPullRequestComment })), (input.CrawlPullRequestCommentAttachment !== undefined &&
5405
+ input.CrawlPullRequestCommentAttachment !== null && {
5406
+ CrawlPullRequestCommentAttachment: input.CrawlPullRequestCommentAttachment,
5407
+ })), (input.CrawlRepositoryDocuments !== undefined &&
5408
+ input.CrawlRepositoryDocuments !== null && { CrawlRepositoryDocuments: input.CrawlRepositoryDocuments }));
5409
+ };
5336
5410
  var serializeAws_json1_1GoogleDriveConfiguration = function (input, context) {
5337
5411
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExcludeMimeTypes !== undefined &&
5338
5412
  input.ExcludeMimeTypes !== null && {
@@ -5584,6 +5658,13 @@ var serializeAws_json1_1OneDriveUsers = function (input, context) {
5584
5658
  OneDriveUserS3Path: serializeAws_json1_1S3Path(input.OneDriveUserS3Path, context),
5585
5659
  }));
5586
5660
  };
5661
+ var serializeAws_json1_1OnPremiseConfiguration = function (input, context) {
5662
+ return __assign(__assign(__assign({}, (input.HostUrl !== undefined && input.HostUrl !== null && { HostUrl: input.HostUrl })), (input.OrganizationName !== undefined &&
5663
+ input.OrganizationName !== null && { OrganizationName: input.OrganizationName })), (input.SslCertificateS3Path !== undefined &&
5664
+ input.SslCertificateS3Path !== null && {
5665
+ SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
5666
+ }));
5667
+ };
5587
5668
  var serializeAws_json1_1Principal = function (input, context) {
5588
5669
  return __assign(__assign(__assign(__assign({}, (input.Access !== undefined && input.Access !== null && { Access: input.Access })), (input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
5589
5670
  };
@@ -5700,6 +5781,16 @@ var serializeAws_json1_1RelevanceFeedbackList = function (input, context) {
5700
5781
  return serializeAws_json1_1RelevanceFeedback(entry, context);
5701
5782
  });
5702
5783
  };
5784
+ var serializeAws_json1_1RepositoryNames = function (input, context) {
5785
+ return input
5786
+ .filter(function (e) { return e != null; })
5787
+ .map(function (entry) {
5788
+ if (entry === null) {
5789
+ return null;
5790
+ }
5791
+ return entry;
5792
+ });
5793
+ };
5703
5794
  var serializeAws_json1_1S3DataSourceConfiguration = function (input, context) {
5704
5795
  return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlListConfiguration !== undefined &&
5705
5796
  input.AccessControlListConfiguration !== null && {
@@ -5721,6 +5812,10 @@ var serializeAws_json1_1S3DataSourceConfiguration = function (input, context) {
5721
5812
  var serializeAws_json1_1S3Path = function (input, context) {
5722
5813
  return __assign(__assign({}, (input.Bucket !== undefined && input.Bucket !== null && { Bucket: input.Bucket })), (input.Key !== undefined && input.Key !== null && { Key: input.Key }));
5723
5814
  };
5815
+ var serializeAws_json1_1SaaSConfiguration = function (input, context) {
5816
+ return __assign(__assign({}, (input.HostUrl !== undefined && input.HostUrl !== null && { HostUrl: input.HostUrl })), (input.OrganizationName !== undefined &&
5817
+ input.OrganizationName !== null && { OrganizationName: input.OrganizationName }));
5818
+ };
5724
5819
  var serializeAws_json1_1SalesforceChatterFeedConfiguration = function (input, context) {
5725
5820
  return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName !== undefined &&
5726
5821
  input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
@@ -6016,6 +6111,16 @@ var serializeAws_json1_1StartDataSourceSyncJobRequest = function (input, context
6016
6111
  var serializeAws_json1_1StopDataSourceSyncJobRequest = function (input, context) {
6017
6112
  return __assign(__assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }));
6018
6113
  };
6114
+ var serializeAws_json1_1StringList = function (input, context) {
6115
+ return input
6116
+ .filter(function (e) { return e != null; })
6117
+ .map(function (entry) {
6118
+ if (entry === null) {
6119
+ return null;
6120
+ }
6121
+ return entry;
6122
+ });
6123
+ };
6019
6124
  var serializeAws_json1_1SubmitFeedbackRequest = function (input, context) {
6020
6125
  return __assign(__assign(__assign(__assign({}, (input.ClickFeedbackItems !== undefined &&
6021
6126
  input.ClickFeedbackItems !== null && {
@@ -6709,6 +6814,9 @@ var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
6709
6814
  FsxConfiguration: output.FsxConfiguration !== undefined && output.FsxConfiguration !== null
6710
6815
  ? deserializeAws_json1_1FsxConfiguration(output.FsxConfiguration, context)
6711
6816
  : undefined,
6817
+ GitHubConfiguration: output.GitHubConfiguration !== undefined && output.GitHubConfiguration !== null
6818
+ ? deserializeAws_json1_1GitHubConfiguration(output.GitHubConfiguration, context)
6819
+ : undefined,
6712
6820
  GoogleDriveConfiguration: output.GoogleDriveConfiguration !== undefined && output.GoogleDriveConfiguration !== null
6713
6821
  ? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
6714
6822
  : undefined,
@@ -7420,6 +7528,89 @@ var deserializeAws_json1_1GetSnapshotsResponse = function (output, context) {
7420
7528
  : undefined,
7421
7529
  };
7422
7530
  };
7531
+ var deserializeAws_json1_1GitHubConfiguration = function (output, context) {
7532
+ return {
7533
+ ExclusionFileNamePatterns: output.ExclusionFileNamePatterns !== undefined && output.ExclusionFileNamePatterns !== null
7534
+ ? deserializeAws_json1_1StringList(output.ExclusionFileNamePatterns, context)
7535
+ : undefined,
7536
+ ExclusionFileTypePatterns: output.ExclusionFileTypePatterns !== undefined && output.ExclusionFileTypePatterns !== null
7537
+ ? deserializeAws_json1_1StringList(output.ExclusionFileTypePatterns, context)
7538
+ : undefined,
7539
+ ExclusionFolderNamePatterns: output.ExclusionFolderNamePatterns !== undefined && output.ExclusionFolderNamePatterns !== null
7540
+ ? deserializeAws_json1_1StringList(output.ExclusionFolderNamePatterns, context)
7541
+ : undefined,
7542
+ GitHubCommitConfigurationFieldMappings: output.GitHubCommitConfigurationFieldMappings !== undefined &&
7543
+ output.GitHubCommitConfigurationFieldMappings !== null
7544
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubCommitConfigurationFieldMappings, context)
7545
+ : undefined,
7546
+ GitHubDocumentCrawlProperties: output.GitHubDocumentCrawlProperties !== undefined && output.GitHubDocumentCrawlProperties !== null
7547
+ ? deserializeAws_json1_1GitHubDocumentCrawlProperties(output.GitHubDocumentCrawlProperties, context)
7548
+ : undefined,
7549
+ GitHubIssueAttachmentConfigurationFieldMappings: output.GitHubIssueAttachmentConfigurationFieldMappings !== undefined &&
7550
+ output.GitHubIssueAttachmentConfigurationFieldMappings !== null
7551
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueAttachmentConfigurationFieldMappings, context)
7552
+ : undefined,
7553
+ GitHubIssueCommentConfigurationFieldMappings: output.GitHubIssueCommentConfigurationFieldMappings !== undefined &&
7554
+ output.GitHubIssueCommentConfigurationFieldMappings !== null
7555
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueCommentConfigurationFieldMappings, context)
7556
+ : undefined,
7557
+ GitHubIssueDocumentConfigurationFieldMappings: output.GitHubIssueDocumentConfigurationFieldMappings !== undefined &&
7558
+ output.GitHubIssueDocumentConfigurationFieldMappings !== null
7559
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueDocumentConfigurationFieldMappings, context)
7560
+ : undefined,
7561
+ GitHubPullRequestCommentConfigurationFieldMappings: output.GitHubPullRequestCommentConfigurationFieldMappings !== undefined &&
7562
+ output.GitHubPullRequestCommentConfigurationFieldMappings !== null
7563
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestCommentConfigurationFieldMappings, context)
7564
+ : undefined,
7565
+ GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== undefined &&
7566
+ output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== null
7567
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, context)
7568
+ : undefined,
7569
+ GitHubPullRequestDocumentConfigurationFieldMappings: output.GitHubPullRequestDocumentConfigurationFieldMappings !== undefined &&
7570
+ output.GitHubPullRequestDocumentConfigurationFieldMappings !== null
7571
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestDocumentConfigurationFieldMappings, context)
7572
+ : undefined,
7573
+ GitHubRepositoryConfigurationFieldMappings: output.GitHubRepositoryConfigurationFieldMappings !== undefined &&
7574
+ output.GitHubRepositoryConfigurationFieldMappings !== null
7575
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubRepositoryConfigurationFieldMappings, context)
7576
+ : undefined,
7577
+ InclusionFileNamePatterns: output.InclusionFileNamePatterns !== undefined && output.InclusionFileNamePatterns !== null
7578
+ ? deserializeAws_json1_1StringList(output.InclusionFileNamePatterns, context)
7579
+ : undefined,
7580
+ InclusionFileTypePatterns: output.InclusionFileTypePatterns !== undefined && output.InclusionFileTypePatterns !== null
7581
+ ? deserializeAws_json1_1StringList(output.InclusionFileTypePatterns, context)
7582
+ : undefined,
7583
+ InclusionFolderNamePatterns: output.InclusionFolderNamePatterns !== undefined && output.InclusionFolderNamePatterns !== null
7584
+ ? deserializeAws_json1_1StringList(output.InclusionFolderNamePatterns, context)
7585
+ : undefined,
7586
+ OnPremiseConfiguration: output.OnPremiseConfiguration !== undefined && output.OnPremiseConfiguration !== null
7587
+ ? deserializeAws_json1_1OnPremiseConfiguration(output.OnPremiseConfiguration, context)
7588
+ : undefined,
7589
+ RepositoryFilter: output.RepositoryFilter !== undefined && output.RepositoryFilter !== null
7590
+ ? deserializeAws_json1_1RepositoryNames(output.RepositoryFilter, context)
7591
+ : undefined,
7592
+ SaaSConfiguration: output.SaaSConfiguration !== undefined && output.SaaSConfiguration !== null
7593
+ ? deserializeAws_json1_1SaaSConfiguration(output.SaaSConfiguration, context)
7594
+ : undefined,
7595
+ SecretArn: __expectString(output.SecretArn),
7596
+ Type: __expectString(output.Type),
7597
+ UseChangeLog: __expectBoolean(output.UseChangeLog),
7598
+ VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
7599
+ ? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
7600
+ : undefined,
7601
+ };
7602
+ };
7603
+ var deserializeAws_json1_1GitHubDocumentCrawlProperties = function (output, context) {
7604
+ return {
7605
+ CrawlIssue: __expectBoolean(output.CrawlIssue),
7606
+ CrawlIssueComment: __expectBoolean(output.CrawlIssueComment),
7607
+ CrawlIssueCommentAttachment: __expectBoolean(output.CrawlIssueCommentAttachment),
7608
+ CrawlPullRequest: __expectBoolean(output.CrawlPullRequest),
7609
+ CrawlPullRequestComment: __expectBoolean(output.CrawlPullRequestComment),
7610
+ CrawlPullRequestCommentAttachment: __expectBoolean(output.CrawlPullRequestCommentAttachment),
7611
+ CrawlRepositoryDocuments: __expectBoolean(output.CrawlRepositoryDocuments),
7612
+ };
7613
+ };
7423
7614
  var deserializeAws_json1_1GoogleDriveConfiguration = function (output, context) {
7424
7615
  return {
7425
7616
  ExcludeMimeTypes: output.ExcludeMimeTypes !== undefined && output.ExcludeMimeTypes !== null
@@ -7799,6 +7990,15 @@ var deserializeAws_json1_1OneDriveUsers = function (output, context) {
7799
7990
  : undefined,
7800
7991
  };
7801
7992
  };
7993
+ var deserializeAws_json1_1OnPremiseConfiguration = function (output, context) {
7994
+ return {
7995
+ HostUrl: __expectString(output.HostUrl),
7996
+ OrganizationName: __expectString(output.OrganizationName),
7997
+ SslCertificateS3Path: output.SslCertificateS3Path !== undefined && output.SslCertificateS3Path !== null
7998
+ ? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
7999
+ : undefined,
8000
+ };
8001
+ };
7802
8002
  var deserializeAws_json1_1PersonasSummary = function (output, context) {
7803
8003
  return {
7804
8004
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
@@ -7981,6 +8181,17 @@ var deserializeAws_json1_1Relevance = function (output, context) {
7981
8181
  : undefined,
7982
8182
  };
7983
8183
  };
8184
+ var deserializeAws_json1_1RepositoryNames = function (output, context) {
8185
+ var retVal = (output || [])
8186
+ .filter(function (e) { return e != null; })
8187
+ .map(function (entry) {
8188
+ if (entry === null) {
8189
+ return null;
8190
+ }
8191
+ return __expectString(entry);
8192
+ });
8193
+ return retVal;
8194
+ };
7984
8195
  var deserializeAws_json1_1ResourceAlreadyExistException = function (output, context) {
7985
8196
  return {
7986
8197
  Message: __expectString(output.Message),
@@ -8027,6 +8238,12 @@ var deserializeAws_json1_1S3Path = function (output, context) {
8027
8238
  Key: __expectString(output.Key),
8028
8239
  };
8029
8240
  };
8241
+ var deserializeAws_json1_1SaaSConfiguration = function (output, context) {
8242
+ return {
8243
+ HostUrl: __expectString(output.HostUrl),
8244
+ OrganizationName: __expectString(output.OrganizationName),
8245
+ };
8246
+ };
8030
8247
  var deserializeAws_json1_1SalesforceChatterFeedConfiguration = function (output, context) {
8031
8248
  return {
8032
8249
  DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
@@ -8431,6 +8648,17 @@ var deserializeAws_json1_1Status = function (output, context) {
8431
8648
  FailureReason: __expectString(output.FailureReason),
8432
8649
  };
8433
8650
  };
8651
+ var deserializeAws_json1_1StringList = function (output, context) {
8652
+ var retVal = (output || [])
8653
+ .filter(function (e) { return e != null; })
8654
+ .map(function (entry) {
8655
+ if (entry === null) {
8656
+ return null;
8657
+ }
8658
+ return __expectString(entry);
8659
+ });
8660
+ return retVal;
8661
+ };
8434
8662
  var deserializeAws_json1_1SubnetIdList = function (output, context) {
8435
8663
  var retVal = (output || [])
8436
8664
  .filter(function (e) { return e != null; })
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);