@@ -312,6 +312,7 @@ import {
312
312
QueryResult ,
313
313
QueryResultItem ,
314
314
QuerySuggestionsBlockListSummary ,
315
+ QuipConfiguration ,
315
316
Relevance ,
316
317
RelevanceFeedback ,
317
318
ResourceAlreadyExistException ,
@@ -5096,6 +5097,10 @@ const serializeAws_json1_1DataSourceConfiguration = (input: DataSourceConfigurat
5096
5097
input . OneDriveConfiguration !== null && {
5097
5098
OneDriveConfiguration : serializeAws_json1_1OneDriveConfiguration ( input . OneDriveConfiguration , context ) ,
5098
5099
} ) ,
5100
+ ...( input . QuipConfiguration !== undefined &&
5101
+ input . QuipConfiguration !== null && {
5102
+ QuipConfiguration : serializeAws_json1_1QuipConfiguration ( input . QuipConfiguration , context ) ,
5103
+ } ) ,
5099
5104
...( input . S3Configuration !== undefined &&
5100
5105
input . S3Configuration !== null && {
5101
5106
S3Configuration : serializeAws_json1_1S3DataSourceConfiguration ( input . S3Configuration , context ) ,
@@ -5729,6 +5734,17 @@ const serializeAws_json1_1FaqIdsList = (input: string[], context: __SerdeContext
5729
5734
} ) ;
5730
5735
} ;
5731
5736
5737
+ const serializeAws_json1_1FolderIdList = ( input : string [ ] , context : __SerdeContext ) : any => {
5738
+ return input
5739
+ . filter ( ( e : any ) => e != null )
5740
+ . map ( ( entry ) => {
5741
+ if ( entry === null ) {
5742
+ return null as any ;
5743
+ }
5744
+ return entry ;
5745
+ } ) ;
5746
+ } ;
5747
+
5732
5748
const serializeAws_json1_1FsxConfiguration = ( input : FsxConfiguration , context : __SerdeContext ) : any => {
5733
5749
return {
5734
5750
...( input . ExclusionPatterns !== undefined &&
@@ -6233,6 +6249,51 @@ const serializeAws_json1_1QueryRequest = (input: QueryRequest, context: __SerdeC
6233
6249
} ;
6234
6250
} ;
6235
6251
6252
+ const serializeAws_json1_1QuipConfiguration = ( input : QuipConfiguration , context : __SerdeContext ) : any => {
6253
+ return {
6254
+ ...( input . AttachmentFieldMappings !== undefined &&
6255
+ input . AttachmentFieldMappings !== null && {
6256
+ AttachmentFieldMappings : serializeAws_json1_1DataSourceToIndexFieldMappingList (
6257
+ input . AttachmentFieldMappings ,
6258
+ context
6259
+ ) ,
6260
+ } ) ,
6261
+ ...( input . CrawlAttachments !== undefined &&
6262
+ input . CrawlAttachments !== null && { CrawlAttachments : input . CrawlAttachments } ) ,
6263
+ ...( input . CrawlChatRooms !== undefined &&
6264
+ input . CrawlChatRooms !== null && { CrawlChatRooms : input . CrawlChatRooms } ) ,
6265
+ ...( input . CrawlFileComments !== undefined &&
6266
+ input . CrawlFileComments !== null && { CrawlFileComments : input . CrawlFileComments } ) ,
6267
+ ...( input . Domain !== undefined && input . Domain !== null && { Domain : input . Domain } ) ,
6268
+ ...( input . ExclusionPatterns !== undefined &&
6269
+ input . ExclusionPatterns !== null && {
6270
+ ExclusionPatterns : serializeAws_json1_1DataSourceInclusionsExclusionsStrings ( input . ExclusionPatterns , context ) ,
6271
+ } ) ,
6272
+ ...( input . FolderIds !== undefined &&
6273
+ input . FolderIds !== null && { FolderIds : serializeAws_json1_1FolderIdList ( input . FolderIds , context ) } ) ,
6274
+ ...( input . InclusionPatterns !== undefined &&
6275
+ input . InclusionPatterns !== null && {
6276
+ InclusionPatterns : serializeAws_json1_1DataSourceInclusionsExclusionsStrings ( input . InclusionPatterns , context ) ,
6277
+ } ) ,
6278
+ ...( input . MessageFieldMappings !== undefined &&
6279
+ input . MessageFieldMappings !== null && {
6280
+ MessageFieldMappings : serializeAws_json1_1DataSourceToIndexFieldMappingList (
6281
+ input . MessageFieldMappings ,
6282
+ context
6283
+ ) ,
6284
+ } ) ,
6285
+ ...( input . SecretArn !== undefined && input . SecretArn !== null && { SecretArn : input . SecretArn } ) ,
6286
+ ...( input . ThreadFieldMappings !== undefined &&
6287
+ input . ThreadFieldMappings !== null && {
6288
+ ThreadFieldMappings : serializeAws_json1_1DataSourceToIndexFieldMappingList ( input . ThreadFieldMappings , context ) ,
6289
+ } ) ,
6290
+ ...( input . VpcConfiguration !== undefined &&
6291
+ input . VpcConfiguration !== null && {
6292
+ VpcConfiguration : serializeAws_json1_1DataSourceVpcConfiguration ( input . VpcConfiguration , context ) ,
6293
+ } ) ,
6294
+ } ;
6295
+ } ;
6296
+
6236
6297
const serializeAws_json1_1Relevance = ( input : Relevance , context : __SerdeContext ) : any => {
6237
6298
return {
6238
6299
...( input . Duration !== undefined && input . Duration !== null && { Duration : input . Duration } ) ,
@@ -7919,6 +7980,10 @@ const deserializeAws_json1_1DataSourceConfiguration = (
7919
7980
output . OneDriveConfiguration !== undefined && output . OneDriveConfiguration !== null
7920
7981
? deserializeAws_json1_1OneDriveConfiguration ( output . OneDriveConfiguration , context )
7921
7982
: undefined ,
7983
+ QuipConfiguration :
7984
+ output . QuipConfiguration !== undefined && output . QuipConfiguration !== null
7985
+ ? deserializeAws_json1_1QuipConfiguration ( output . QuipConfiguration , context )
7986
+ : undefined ,
7922
7987
S3Configuration :
7923
7988
output . S3Configuration !== undefined && output . S3Configuration !== null
7924
7989
? deserializeAws_json1_1S3DataSourceConfiguration ( output . S3Configuration , context )
@@ -8754,6 +8819,18 @@ const deserializeAws_json1_1FaqSummaryItems = (output: any, context: __SerdeCont
8754
8819
return retVal ;
8755
8820
} ;
8756
8821
8822
+ const deserializeAws_json1_1FolderIdList = ( output : any , context : __SerdeContext ) : string [ ] => {
8823
+ const retVal = ( output || [ ] )
8824
+ . filter ( ( e : any ) => e != null )
8825
+ . map ( ( entry : any ) => {
8826
+ if ( entry === null ) {
8827
+ return null as any ;
8828
+ }
8829
+ return __expectString ( entry ) as any ;
8830
+ } ) ;
8831
+ return retVal ;
8832
+ } ;
8833
+
8757
8834
const deserializeAws_json1_1FsxConfiguration = ( output : any , context : __SerdeContext ) : FsxConfiguration => {
8758
8835
return {
8759
8836
ExclusionPatterns :
@@ -9388,6 +9465,44 @@ const deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = (
9388
9465
return retVal ;
9389
9466
} ;
9390
9467
9468
+ const deserializeAws_json1_1QuipConfiguration = ( output : any , context : __SerdeContext ) : QuipConfiguration => {
9469
+ return {
9470
+ AttachmentFieldMappings :
9471
+ output . AttachmentFieldMappings !== undefined && output . AttachmentFieldMappings !== null
9472
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList ( output . AttachmentFieldMappings , context )
9473
+ : undefined ,
9474
+ CrawlAttachments : __expectBoolean ( output . CrawlAttachments ) ,
9475
+ CrawlChatRooms : __expectBoolean ( output . CrawlChatRooms ) ,
9476
+ CrawlFileComments : __expectBoolean ( output . CrawlFileComments ) ,
9477
+ Domain : __expectString ( output . Domain ) ,
9478
+ ExclusionPatterns :
9479
+ output . ExclusionPatterns !== undefined && output . ExclusionPatterns !== null
9480
+ ? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings ( output . ExclusionPatterns , context )
9481
+ : undefined ,
9482
+ FolderIds :
9483
+ output . FolderIds !== undefined && output . FolderIds !== null
9484
+ ? deserializeAws_json1_1FolderIdList ( output . FolderIds , context )
9485
+ : undefined ,
9486
+ InclusionPatterns :
9487
+ output . InclusionPatterns !== undefined && output . InclusionPatterns !== null
9488
+ ? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings ( output . InclusionPatterns , context )
9489
+ : undefined ,
9490
+ MessageFieldMappings :
9491
+ output . MessageFieldMappings !== undefined && output . MessageFieldMappings !== null
9492
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList ( output . MessageFieldMappings , context )
9493
+ : undefined ,
9494
+ SecretArn : __expectString ( output . SecretArn ) ,
9495
+ ThreadFieldMappings :
9496
+ output . ThreadFieldMappings !== undefined && output . ThreadFieldMappings !== null
9497
+ ? deserializeAws_json1_1DataSourceToIndexFieldMappingList ( output . ThreadFieldMappings , context )
9498
+ : undefined ,
9499
+ VpcConfiguration :
9500
+ output . VpcConfiguration !== undefined && output . VpcConfiguration !== null
9501
+ ? deserializeAws_json1_1DataSourceVpcConfiguration ( output . VpcConfiguration , context )
9502
+ : undefined ,
9503
+ } as any ;
9504
+ } ;
9505
+
9391
9506
const deserializeAws_json1_1Relevance = ( output : any , context : __SerdeContext ) : Relevance => {
9392
9507
return {
9393
9508
Duration : __expectString ( output . Duration ) ,
0 commit comments