@@ -600,6 +600,7 @@ import {
600
600
InvalidResourceType,
601
601
InvalidSchedule,
602
602
InvalidTarget,
603
+ InvalidTargetMaps,
603
604
InvalidTypeNameException,
604
605
InventoryDeletionStatusItem,
605
606
InventoryDeletionSummary,
@@ -940,7 +941,6 @@ import {
940
941
UpdateAssociationStatusResult,
941
942
UpdateDocumentDefaultVersionRequest,
942
943
UpdateDocumentDefaultVersionResult,
943
- UpdateDocumentMetadataRequest,
944
944
UpdateDocumentRequest,
945
945
UpdateDocumentResult,
946
946
} from "../models/models_1";
@@ -951,6 +951,7 @@ import {
951
951
OpsAggregator,
952
952
OpsMetadataKeyLimitExceededException,
953
953
ResourceDataSyncConflictException,
954
+ UpdateDocumentMetadataRequest,
954
955
UpdateDocumentMetadataResponse,
955
956
UpdateMaintenanceWindowRequest,
956
957
UpdateMaintenanceWindowResult,
@@ -3041,6 +3042,9 @@ const deserializeAws_json1_1CreateAssociationCommandError = async (
3041
3042
case "InvalidTarget":
3042
3043
case "com.amazonaws.ssm#InvalidTarget":
3043
3044
throw await deserializeAws_json1_1InvalidTargetResponse(parsedOutput, context);
3045
+ case "InvalidTargetMaps":
3046
+ case "com.amazonaws.ssm#InvalidTargetMaps":
3047
+ throw await deserializeAws_json1_1InvalidTargetMapsResponse(parsedOutput, context);
3044
3048
case "UnsupportedPlatformType":
3045
3049
case "com.amazonaws.ssm#UnsupportedPlatformType":
3046
3050
throw await deserializeAws_json1_1UnsupportedPlatformTypeResponse(parsedOutput, context);
@@ -3114,6 +3118,9 @@ const deserializeAws_json1_1CreateAssociationBatchCommandError = async (
3114
3118
case "InvalidTarget":
3115
3119
case "com.amazonaws.ssm#InvalidTarget":
3116
3120
throw await deserializeAws_json1_1InvalidTargetResponse(parsedOutput, context);
3121
+ case "InvalidTargetMaps":
3122
+ case "com.amazonaws.ssm#InvalidTargetMaps":
3123
+ throw await deserializeAws_json1_1InvalidTargetMapsResponse(parsedOutput, context);
3117
3124
case "UnsupportedPlatformType":
3118
3125
case "com.amazonaws.ssm#UnsupportedPlatformType":
3119
3126
throw await deserializeAws_json1_1UnsupportedPlatformTypeResponse(parsedOutput, context);
@@ -8929,6 +8936,9 @@ const deserializeAws_json1_1UpdateAssociationCommandError = async (
8929
8936
case "InvalidTarget":
8930
8937
case "com.amazonaws.ssm#InvalidTarget":
8931
8938
throw await deserializeAws_json1_1InvalidTargetResponse(parsedOutput, context);
8939
+ case "InvalidTargetMaps":
8940
+ case "com.amazonaws.ssm#InvalidTargetMaps":
8941
+ throw await deserializeAws_json1_1InvalidTargetMapsResponse(parsedOutput, context);
8932
8942
case "InvalidUpdate":
8933
8943
case "com.amazonaws.ssm#InvalidUpdate":
8934
8944
throw await deserializeAws_json1_1InvalidUpdateResponse(parsedOutput, context);
@@ -10581,6 +10591,19 @@ const deserializeAws_json1_1InvalidTargetResponse = async (
10581
10591
return __decorateServiceException(exception, body);
10582
10592
};
10583
10593
10594
+ const deserializeAws_json1_1InvalidTargetMapsResponse = async (
10595
+ parsedOutput: any,
10596
+ context: __SerdeContext
10597
+ ): Promise<InvalidTargetMaps> => {
10598
+ const body = parsedOutput.body;
10599
+ const deserialized: any = deserializeAws_json1_1InvalidTargetMaps(body, context);
10600
+ const exception = new InvalidTargetMaps({
10601
+ $metadata: deserializeMetadata(parsedOutput),
10602
+ ...deserialized,
10603
+ });
10604
+ return __decorateServiceException(exception, body);
10605
+ };
10606
+
10584
10607
const deserializeAws_json1_1InvalidTypeNameExceptionResponse = async (
10585
10608
parsedOutput: any,
10586
10609
context: __SerdeContext
@@ -11713,6 +11736,8 @@ const serializeAws_json1_1CreateAssociationBatchRequestEntry = (
11713
11736
input.TargetLocations !== null && {
11714
11737
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
11715
11738
}),
11739
+ ...(input.TargetMaps !== undefined &&
11740
+ input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) }),
11716
11741
...(input.Targets !== undefined &&
11717
11742
input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }),
11718
11743
};
@@ -11760,6 +11785,8 @@ const serializeAws_json1_1CreateAssociationRequest = (
11760
11785
input.TargetLocations !== null && {
11761
11786
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
11762
11787
}),
11788
+ ...(input.TargetMaps !== undefined &&
11789
+ input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) }),
11763
11790
...(input.Targets !== undefined &&
11764
11791
input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }),
11765
11792
};
@@ -14875,6 +14902,8 @@ const serializeAws_json1_1UpdateAssociationRequest = (
14875
14902
input.TargetLocations !== null && {
14876
14903
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
14877
14904
}),
14905
+ ...(input.TargetMaps !== undefined &&
14906
+ input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) }),
14878
14907
...(input.Targets !== undefined &&
14879
14908
input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }),
14880
14909
};
@@ -15268,6 +15297,10 @@ const deserializeAws_json1_1Association = (output: any, context: __SerdeContext)
15268
15297
: undefined,
15269
15298
ScheduleExpression: __expectString(output.ScheduleExpression),
15270
15299
ScheduleOffset: __expectInt32(output.ScheduleOffset),
15300
+ TargetMaps:
15301
+ output.TargetMaps !== undefined && output.TargetMaps !== null
15302
+ ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
15303
+ : undefined,
15271
15304
Targets:
15272
15305
output.Targets !== undefined && output.Targets !== null
15273
15306
? deserializeAws_json1_1Targets(output.Targets, context)
@@ -15338,6 +15371,10 @@ const deserializeAws_json1_1AssociationDescription = (output: any, context: __Se
15338
15371
output.TargetLocations !== undefined && output.TargetLocations !== null
15339
15372
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
15340
15373
: undefined,
15374
+ TargetMaps:
15375
+ output.TargetMaps !== undefined && output.TargetMaps !== null
15376
+ ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
15377
+ : undefined,
15341
15378
Targets:
15342
15379
output.Targets !== undefined && output.Targets !== null
15343
15380
? deserializeAws_json1_1Targets(output.Targets, context)
@@ -15541,6 +15578,10 @@ const deserializeAws_json1_1AssociationVersionInfo = (output: any, context: __Se
15541
15578
output.TargetLocations !== undefined && output.TargetLocations !== null
15542
15579
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
15543
15580
: undefined,
15581
+ TargetMaps:
15582
+ output.TargetMaps !== undefined && output.TargetMaps !== null
15583
+ ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
15584
+ : undefined,
15544
15585
Targets:
15545
15586
output.Targets !== undefined && output.Targets !== null
15546
15587
? deserializeAws_json1_1Targets(output.Targets, context)
@@ -16190,6 +16231,10 @@ const deserializeAws_json1_1CreateAssociationBatchRequestEntry = (
16190
16231
output.TargetLocations !== undefined && output.TargetLocations !== null
16191
16232
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
16192
16233
: undefined,
16234
+ TargetMaps:
16235
+ output.TargetMaps !== undefined && output.TargetMaps !== null
16236
+ ? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
16237
+ : undefined,
16193
16238
Targets:
16194
16239
output.Targets !== undefined && output.Targets !== null
16195
16240
? deserializeAws_json1_1Targets(output.Targets, context)
@@ -18245,6 +18290,12 @@ const deserializeAws_json1_1InvalidTarget = (output: any, context: __SerdeContex
18245
18290
} as any;
18246
18291
};
18247
18292
18293
+ const deserializeAws_json1_1InvalidTargetMaps = (output: any, context: __SerdeContext): InvalidTargetMaps => {
18294
+ return {
18295
+ Message: __expectString(output.Message),
18296
+ } as any;
18297
+ };
18298
+
18248
18299
const deserializeAws_json1_1InvalidTypeNameException = (
18249
18300
output: any,
18250
18301
context: __SerdeContext
0 commit comments