@@ -103,9 +103,11 @@ import {
103
103
AnomalyGroupTimeSeries ,
104
104
AnomalyGroupTimeSeriesFeedback ,
105
105
AppFlowConfig ,
106
+ AthenaSourceConfig ,
106
107
AttributeValue ,
107
108
AutoDetectionMetricSource ,
108
109
AutoDetectionS3SourceConfig ,
110
+ BackTestConfiguration ,
109
111
CloudWatchConfig ,
110
112
ConflictException ,
111
113
ContributionMatrix ,
@@ -2866,6 +2868,21 @@ const serializeAws_restJson1AppFlowConfig = (input: AppFlowConfig, context: __Se
2866
2868
} ;
2867
2869
} ;
2868
2870
2871
+ const serializeAws_restJson1AthenaSourceConfig = ( input : AthenaSourceConfig , context : __SerdeContext ) : any => {
2872
+ return {
2873
+ ...( input . BackTestConfiguration !== undefined &&
2874
+ input . BackTestConfiguration !== null && {
2875
+ BackTestConfiguration : serializeAws_restJson1BackTestConfiguration ( input . BackTestConfiguration , context ) ,
2876
+ } ) ,
2877
+ ...( input . DataCatalog !== undefined && input . DataCatalog !== null && { DataCatalog : input . DataCatalog } ) ,
2878
+ ...( input . DatabaseName !== undefined && input . DatabaseName !== null && { DatabaseName : input . DatabaseName } ) ,
2879
+ ...( input . RoleArn !== undefined && input . RoleArn !== null && { RoleArn : input . RoleArn } ) ,
2880
+ ...( input . S3ResultsPath !== undefined && input . S3ResultsPath !== null && { S3ResultsPath : input . S3ResultsPath } ) ,
2881
+ ...( input . TableName !== undefined && input . TableName !== null && { TableName : input . TableName } ) ,
2882
+ ...( input . WorkGroupName !== undefined && input . WorkGroupName !== null && { WorkGroupName : input . WorkGroupName } ) ,
2883
+ } ;
2884
+ } ;
2885
+
2869
2886
const serializeAws_restJson1AutoDetectionMetricSource = (
2870
2887
input : AutoDetectionMetricSource ,
2871
2888
context : __SerdeContext
@@ -2894,6 +2911,13 @@ const serializeAws_restJson1AutoDetectionS3SourceConfig = (
2894
2911
} ;
2895
2912
} ;
2896
2913
2914
+ const serializeAws_restJson1BackTestConfiguration = ( input : BackTestConfiguration , context : __SerdeContext ) : any => {
2915
+ return {
2916
+ ...( input . RunBackTestMode !== undefined &&
2917
+ input . RunBackTestMode !== null && { RunBackTestMode : input . RunBackTestMode } ) ,
2918
+ } ;
2919
+ } ;
2920
+
2897
2921
const serializeAws_restJson1CloudWatchConfig = ( input : CloudWatchConfig , context : __SerdeContext ) : any => {
2898
2922
return {
2899
2923
...( input . RoleArn !== undefined && input . RoleArn !== null && { RoleArn : input . RoleArn } ) ,
@@ -3001,6 +3025,10 @@ const serializeAws_restJson1MetricSource = (input: MetricSource, context: __Serd
3001
3025
input . AppFlowConfig !== null && {
3002
3026
AppFlowConfig : serializeAws_restJson1AppFlowConfig ( input . AppFlowConfig , context ) ,
3003
3027
} ) ,
3028
+ ...( input . AthenaSourceConfig !== undefined &&
3029
+ input . AthenaSourceConfig !== null && {
3030
+ AthenaSourceConfig : serializeAws_restJson1AthenaSourceConfig ( input . AthenaSourceConfig , context ) ,
3031
+ } ) ,
3004
3032
...( input . CloudWatchConfig !== undefined &&
3005
3033
input . CloudWatchConfig !== null && {
3006
3034
CloudWatchConfig : serializeAws_restJson1CloudWatchConfig ( input . CloudWatchConfig , context ) ,
@@ -3346,6 +3374,21 @@ const deserializeAws_restJson1AppFlowConfig = (output: any, context: __SerdeCont
3346
3374
} as any ;
3347
3375
} ;
3348
3376
3377
+ const deserializeAws_restJson1AthenaSourceConfig = ( output : any , context : __SerdeContext ) : AthenaSourceConfig => {
3378
+ return {
3379
+ BackTestConfiguration :
3380
+ output . BackTestConfiguration !== undefined && output . BackTestConfiguration !== null
3381
+ ? deserializeAws_restJson1BackTestConfiguration ( output . BackTestConfiguration , context )
3382
+ : undefined ,
3383
+ DataCatalog : __expectString ( output . DataCatalog ) ,
3384
+ DatabaseName : __expectString ( output . DatabaseName ) ,
3385
+ RoleArn : __expectString ( output . RoleArn ) ,
3386
+ S3ResultsPath : __expectString ( output . S3ResultsPath ) ,
3387
+ TableName : __expectString ( output . TableName ) ,
3388
+ WorkGroupName : __expectString ( output . WorkGroupName ) ,
3389
+ } as any ;
3390
+ } ;
3391
+
3349
3392
const deserializeAws_restJson1AttributeValue = ( output : any , context : __SerdeContext ) : AttributeValue => {
3350
3393
return {
3351
3394
B : __expectString ( output . B ) ,
@@ -3366,6 +3409,12 @@ const deserializeAws_restJson1AttributeValue = (output: any, context: __SerdeCon
3366
3409
} as any ;
3367
3410
} ;
3368
3411
3412
+ const deserializeAws_restJson1BackTestConfiguration = ( output : any , context : __SerdeContext ) : BackTestConfiguration => {
3413
+ return {
3414
+ RunBackTestMode : __expectBoolean ( output . RunBackTestMode ) ,
3415
+ } as any ;
3416
+ } ;
3417
+
3369
3418
const deserializeAws_restJson1BinaryListAttributeValue = ( output : any , context : __SerdeContext ) : string [ ] => {
3370
3419
const retVal = ( output || [ ] )
3371
3420
. filter ( ( e : any ) => e != null )
@@ -3818,6 +3867,10 @@ const deserializeAws_restJson1MetricSource = (output: any, context: __SerdeConte
3818
3867
output . AppFlowConfig !== undefined && output . AppFlowConfig !== null
3819
3868
? deserializeAws_restJson1AppFlowConfig ( output . AppFlowConfig , context )
3820
3869
: undefined ,
3870
+ AthenaSourceConfig :
3871
+ output . AthenaSourceConfig !== undefined && output . AthenaSourceConfig !== null
3872
+ ? deserializeAws_restJson1AthenaSourceConfig ( output . AthenaSourceConfig , context )
3873
+ : undefined ,
3821
3874
CloudWatchConfig :
3822
3875
output . CloudWatchConfig !== undefined && output . CloudWatchConfig !== null
3823
3876
? deserializeAws_restJson1CloudWatchConfig ( output . CloudWatchConfig , context )
0 commit comments