@aws-sdk/client-codebuild 3.121.0 → 3.127.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.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +423 -745
- package/dist-es/protocols/Aws_json1_1.js +253 -575
- package/package.json +26 -26
|
@@ -2264,53 +2264,47 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
2264
2264
|
};
|
|
2265
2265
|
const serializeAws_json1_1BatchDeleteBuildsInput = (input, context) => {
|
|
2266
2266
|
return {
|
|
2267
|
-
...(input.ids
|
|
2267
|
+
...(input.ids != null && { ids: serializeAws_json1_1BuildIds(input.ids, context) }),
|
|
2268
2268
|
};
|
|
2269
2269
|
};
|
|
2270
2270
|
const serializeAws_json1_1BatchGetBuildBatchesInput = (input, context) => {
|
|
2271
2271
|
return {
|
|
2272
|
-
...(input.ids
|
|
2273
|
-
input.ids !== null && { ids: serializeAws_json1_1BuildBatchIds(input.ids, context) }),
|
|
2272
|
+
...(input.ids != null && { ids: serializeAws_json1_1BuildBatchIds(input.ids, context) }),
|
|
2274
2273
|
};
|
|
2275
2274
|
};
|
|
2276
2275
|
const serializeAws_json1_1BatchGetBuildsInput = (input, context) => {
|
|
2277
2276
|
return {
|
|
2278
|
-
...(input.ids
|
|
2277
|
+
...(input.ids != null && { ids: serializeAws_json1_1BuildIds(input.ids, context) }),
|
|
2279
2278
|
};
|
|
2280
2279
|
};
|
|
2281
2280
|
const serializeAws_json1_1BatchGetProjectsInput = (input, context) => {
|
|
2282
2281
|
return {
|
|
2283
|
-
...(input.names
|
|
2284
|
-
input.names !== null && { names: serializeAws_json1_1ProjectNames(input.names, context) }),
|
|
2282
|
+
...(input.names != null && { names: serializeAws_json1_1ProjectNames(input.names, context) }),
|
|
2285
2283
|
};
|
|
2286
2284
|
};
|
|
2287
2285
|
const serializeAws_json1_1BatchGetReportGroupsInput = (input, context) => {
|
|
2288
2286
|
return {
|
|
2289
|
-
...(input.reportGroupArns
|
|
2290
|
-
input.reportGroupArns !== null && {
|
|
2287
|
+
...(input.reportGroupArns != null && {
|
|
2291
2288
|
reportGroupArns: serializeAws_json1_1ReportGroupArns(input.reportGroupArns, context),
|
|
2292
2289
|
}),
|
|
2293
2290
|
};
|
|
2294
2291
|
};
|
|
2295
2292
|
const serializeAws_json1_1BatchGetReportsInput = (input, context) => {
|
|
2296
2293
|
return {
|
|
2297
|
-
...(input.reportArns
|
|
2298
|
-
input.reportArns !== null && { reportArns: serializeAws_json1_1ReportArns(input.reportArns, context) }),
|
|
2294
|
+
...(input.reportArns != null && { reportArns: serializeAws_json1_1ReportArns(input.reportArns, context) }),
|
|
2299
2295
|
};
|
|
2300
2296
|
};
|
|
2301
2297
|
const serializeAws_json1_1BatchRestrictions = (input, context) => {
|
|
2302
2298
|
return {
|
|
2303
|
-
...(input.computeTypesAllowed
|
|
2304
|
-
input.computeTypesAllowed !== null && {
|
|
2299
|
+
...(input.computeTypesAllowed != null && {
|
|
2305
2300
|
computeTypesAllowed: serializeAws_json1_1ComputeTypesAllowed(input.computeTypesAllowed, context),
|
|
2306
2301
|
}),
|
|
2307
|
-
...(input.maximumBuildsAllowed
|
|
2308
|
-
input.maximumBuildsAllowed !== null && { maximumBuildsAllowed: input.maximumBuildsAllowed }),
|
|
2302
|
+
...(input.maximumBuildsAllowed != null && { maximumBuildsAllowed: input.maximumBuildsAllowed }),
|
|
2309
2303
|
};
|
|
2310
2304
|
};
|
|
2311
2305
|
const serializeAws_json1_1BuildBatchFilter = (input, context) => {
|
|
2312
2306
|
return {
|
|
2313
|
-
...(input.status
|
|
2307
|
+
...(input.status != null && { status: input.status }),
|
|
2314
2308
|
};
|
|
2315
2309
|
};
|
|
2316
2310
|
const serializeAws_json1_1BuildBatchIds = (input, context) => {
|
|
@@ -2335,15 +2329,15 @@ const serializeAws_json1_1BuildIds = (input, context) => {
|
|
|
2335
2329
|
};
|
|
2336
2330
|
const serializeAws_json1_1BuildStatusConfig = (input, context) => {
|
|
2337
2331
|
return {
|
|
2338
|
-
...(input.context
|
|
2339
|
-
...(input.targetUrl
|
|
2332
|
+
...(input.context != null && { context: input.context }),
|
|
2333
|
+
...(input.targetUrl != null && { targetUrl: input.targetUrl }),
|
|
2340
2334
|
};
|
|
2341
2335
|
};
|
|
2342
2336
|
const serializeAws_json1_1CloudWatchLogsConfig = (input, context) => {
|
|
2343
2337
|
return {
|
|
2344
|
-
...(input.groupName
|
|
2345
|
-
...(input.status
|
|
2346
|
-
...(input.streamName
|
|
2338
|
+
...(input.groupName != null && { groupName: input.groupName }),
|
|
2339
|
+
...(input.status != null && { status: input.status }),
|
|
2340
|
+
...(input.streamName != null && { streamName: input.streamName }),
|
|
2347
2341
|
};
|
|
2348
2342
|
};
|
|
2349
2343
|
const serializeAws_json1_1ComputeTypesAllowed = (input, context) => {
|
|
@@ -2358,142 +2352,123 @@ const serializeAws_json1_1ComputeTypesAllowed = (input, context) => {
|
|
|
2358
2352
|
};
|
|
2359
2353
|
const serializeAws_json1_1CreateProjectInput = (input, context) => {
|
|
2360
2354
|
return {
|
|
2361
|
-
...(input.artifacts
|
|
2362
|
-
|
|
2363
|
-
...(input.
|
|
2364
|
-
...(input.buildBatchConfig !== undefined &&
|
|
2365
|
-
input.buildBatchConfig !== null && {
|
|
2355
|
+
...(input.artifacts != null && { artifacts: serializeAws_json1_1ProjectArtifacts(input.artifacts, context) }),
|
|
2356
|
+
...(input.badgeEnabled != null && { badgeEnabled: input.badgeEnabled }),
|
|
2357
|
+
...(input.buildBatchConfig != null && {
|
|
2366
2358
|
buildBatchConfig: serializeAws_json1_1ProjectBuildBatchConfig(input.buildBatchConfig, context),
|
|
2367
2359
|
}),
|
|
2368
|
-
...(input.cache
|
|
2369
|
-
|
|
2370
|
-
...(input.
|
|
2371
|
-
|
|
2372
|
-
...(input.
|
|
2373
|
-
...(input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey }),
|
|
2374
|
-
...(input.environment !== undefined &&
|
|
2375
|
-
input.environment !== null && {
|
|
2360
|
+
...(input.cache != null && { cache: serializeAws_json1_1ProjectCache(input.cache, context) }),
|
|
2361
|
+
...(input.concurrentBuildLimit != null && { concurrentBuildLimit: input.concurrentBuildLimit }),
|
|
2362
|
+
...(input.description != null && { description: input.description }),
|
|
2363
|
+
...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
|
|
2364
|
+
...(input.environment != null && {
|
|
2376
2365
|
environment: serializeAws_json1_1ProjectEnvironment(input.environment, context),
|
|
2377
2366
|
}),
|
|
2378
|
-
...(input.fileSystemLocations
|
|
2379
|
-
input.fileSystemLocations !== null && {
|
|
2367
|
+
...(input.fileSystemLocations != null && {
|
|
2380
2368
|
fileSystemLocations: serializeAws_json1_1ProjectFileSystemLocations(input.fileSystemLocations, context),
|
|
2381
2369
|
}),
|
|
2382
|
-
...(input.logsConfig
|
|
2383
|
-
|
|
2384
|
-
...(input.
|
|
2385
|
-
...(input.
|
|
2386
|
-
input.queuedTimeoutInMinutes !== null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes }),
|
|
2387
|
-
...(input.secondaryArtifacts !== undefined &&
|
|
2388
|
-
input.secondaryArtifacts !== null && {
|
|
2370
|
+
...(input.logsConfig != null && { logsConfig: serializeAws_json1_1LogsConfig(input.logsConfig, context) }),
|
|
2371
|
+
...(input.name != null && { name: input.name }),
|
|
2372
|
+
...(input.queuedTimeoutInMinutes != null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes }),
|
|
2373
|
+
...(input.secondaryArtifacts != null && {
|
|
2389
2374
|
secondaryArtifacts: serializeAws_json1_1ProjectArtifactsList(input.secondaryArtifacts, context),
|
|
2390
2375
|
}),
|
|
2391
|
-
...(input.secondarySourceVersions
|
|
2392
|
-
input.secondarySourceVersions !== null && {
|
|
2376
|
+
...(input.secondarySourceVersions != null && {
|
|
2393
2377
|
secondarySourceVersions: serializeAws_json1_1ProjectSecondarySourceVersions(input.secondarySourceVersions, context),
|
|
2394
2378
|
}),
|
|
2395
|
-
...(input.secondarySources
|
|
2396
|
-
input.secondarySources !== null && {
|
|
2379
|
+
...(input.secondarySources != null && {
|
|
2397
2380
|
secondarySources: serializeAws_json1_1ProjectSources(input.secondarySources, context),
|
|
2398
2381
|
}),
|
|
2399
|
-
...(input.serviceRole
|
|
2400
|
-
...(input.source
|
|
2401
|
-
|
|
2402
|
-
...(input.
|
|
2403
|
-
...(input.
|
|
2404
|
-
...(input.
|
|
2405
|
-
input.timeoutInMinutes !== null && { timeoutInMinutes: input.timeoutInMinutes }),
|
|
2406
|
-
...(input.vpcConfig !== undefined &&
|
|
2407
|
-
input.vpcConfig !== null && { vpcConfig: serializeAws_json1_1VpcConfig(input.vpcConfig, context) }),
|
|
2382
|
+
...(input.serviceRole != null && { serviceRole: input.serviceRole }),
|
|
2383
|
+
...(input.source != null && { source: serializeAws_json1_1ProjectSource(input.source, context) }),
|
|
2384
|
+
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
2385
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
2386
|
+
...(input.timeoutInMinutes != null && { timeoutInMinutes: input.timeoutInMinutes }),
|
|
2387
|
+
...(input.vpcConfig != null && { vpcConfig: serializeAws_json1_1VpcConfig(input.vpcConfig, context) }),
|
|
2408
2388
|
};
|
|
2409
2389
|
};
|
|
2410
2390
|
const serializeAws_json1_1CreateReportGroupInput = (input, context) => {
|
|
2411
2391
|
return {
|
|
2412
|
-
...(input.exportConfig
|
|
2413
|
-
input.exportConfig !== null && {
|
|
2392
|
+
...(input.exportConfig != null && {
|
|
2414
2393
|
exportConfig: serializeAws_json1_1ReportExportConfig(input.exportConfig, context),
|
|
2415
2394
|
}),
|
|
2416
|
-
...(input.name
|
|
2417
|
-
...(input.tags
|
|
2418
|
-
...(input.type
|
|
2395
|
+
...(input.name != null && { name: input.name }),
|
|
2396
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
2397
|
+
...(input.type != null && { type: input.type }),
|
|
2419
2398
|
};
|
|
2420
2399
|
};
|
|
2421
2400
|
const serializeAws_json1_1CreateWebhookInput = (input, context) => {
|
|
2422
2401
|
return {
|
|
2423
|
-
...(input.branchFilter
|
|
2424
|
-
...(input.buildType
|
|
2425
|
-
...(input.filterGroups
|
|
2426
|
-
|
|
2427
|
-
...(input.projectName !== undefined && input.projectName !== null && { projectName: input.projectName }),
|
|
2402
|
+
...(input.branchFilter != null && { branchFilter: input.branchFilter }),
|
|
2403
|
+
...(input.buildType != null && { buildType: input.buildType }),
|
|
2404
|
+
...(input.filterGroups != null && { filterGroups: serializeAws_json1_1FilterGroups(input.filterGroups, context) }),
|
|
2405
|
+
...(input.projectName != null && { projectName: input.projectName }),
|
|
2428
2406
|
};
|
|
2429
2407
|
};
|
|
2430
2408
|
const serializeAws_json1_1DeleteBuildBatchInput = (input, context) => {
|
|
2431
2409
|
return {
|
|
2432
|
-
...(input.id
|
|
2410
|
+
...(input.id != null && { id: input.id }),
|
|
2433
2411
|
};
|
|
2434
2412
|
};
|
|
2435
2413
|
const serializeAws_json1_1DeleteProjectInput = (input, context) => {
|
|
2436
2414
|
return {
|
|
2437
|
-
...(input.name
|
|
2415
|
+
...(input.name != null && { name: input.name }),
|
|
2438
2416
|
};
|
|
2439
2417
|
};
|
|
2440
2418
|
const serializeAws_json1_1DeleteReportGroupInput = (input, context) => {
|
|
2441
2419
|
return {
|
|
2442
|
-
...(input.arn
|
|
2443
|
-
...(input.deleteReports
|
|
2420
|
+
...(input.arn != null && { arn: input.arn }),
|
|
2421
|
+
...(input.deleteReports != null && { deleteReports: input.deleteReports }),
|
|
2444
2422
|
};
|
|
2445
2423
|
};
|
|
2446
2424
|
const serializeAws_json1_1DeleteReportInput = (input, context) => {
|
|
2447
2425
|
return {
|
|
2448
|
-
...(input.arn
|
|
2426
|
+
...(input.arn != null && { arn: input.arn }),
|
|
2449
2427
|
};
|
|
2450
2428
|
};
|
|
2451
2429
|
const serializeAws_json1_1DeleteResourcePolicyInput = (input, context) => {
|
|
2452
2430
|
return {
|
|
2453
|
-
...(input.resourceArn
|
|
2431
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2454
2432
|
};
|
|
2455
2433
|
};
|
|
2456
2434
|
const serializeAws_json1_1DeleteSourceCredentialsInput = (input, context) => {
|
|
2457
2435
|
return {
|
|
2458
|
-
...(input.arn
|
|
2436
|
+
...(input.arn != null && { arn: input.arn }),
|
|
2459
2437
|
};
|
|
2460
2438
|
};
|
|
2461
2439
|
const serializeAws_json1_1DeleteWebhookInput = (input, context) => {
|
|
2462
2440
|
return {
|
|
2463
|
-
...(input.projectName
|
|
2441
|
+
...(input.projectName != null && { projectName: input.projectName }),
|
|
2464
2442
|
};
|
|
2465
2443
|
};
|
|
2466
2444
|
const serializeAws_json1_1DescribeCodeCoveragesInput = (input, context) => {
|
|
2467
2445
|
return {
|
|
2468
|
-
...(input.maxLineCoveragePercentage
|
|
2469
|
-
input.maxLineCoveragePercentage !== null && {
|
|
2446
|
+
...(input.maxLineCoveragePercentage != null && {
|
|
2470
2447
|
maxLineCoveragePercentage: (0, smithy_client_1.serializeFloat)(input.maxLineCoveragePercentage),
|
|
2471
2448
|
}),
|
|
2472
|
-
...(input.maxResults
|
|
2473
|
-
...(input.minLineCoveragePercentage
|
|
2474
|
-
input.minLineCoveragePercentage !== null && {
|
|
2449
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2450
|
+
...(input.minLineCoveragePercentage != null && {
|
|
2475
2451
|
minLineCoveragePercentage: (0, smithy_client_1.serializeFloat)(input.minLineCoveragePercentage),
|
|
2476
2452
|
}),
|
|
2477
|
-
...(input.nextToken
|
|
2478
|
-
...(input.reportArn
|
|
2479
|
-
...(input.sortBy
|
|
2480
|
-
...(input.sortOrder
|
|
2453
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2454
|
+
...(input.reportArn != null && { reportArn: input.reportArn }),
|
|
2455
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2456
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2481
2457
|
};
|
|
2482
2458
|
};
|
|
2483
2459
|
const serializeAws_json1_1DescribeTestCasesInput = (input, context) => {
|
|
2484
2460
|
return {
|
|
2485
|
-
...(input.filter
|
|
2486
|
-
|
|
2487
|
-
...(input.
|
|
2488
|
-
...(input.
|
|
2489
|
-
...(input.reportArn !== undefined && input.reportArn !== null && { reportArn: input.reportArn }),
|
|
2461
|
+
...(input.filter != null && { filter: serializeAws_json1_1TestCaseFilter(input.filter, context) }),
|
|
2462
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2463
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2464
|
+
...(input.reportArn != null && { reportArn: input.reportArn }),
|
|
2490
2465
|
};
|
|
2491
2466
|
};
|
|
2492
2467
|
const serializeAws_json1_1EnvironmentVariable = (input, context) => {
|
|
2493
2468
|
return {
|
|
2494
|
-
...(input.name
|
|
2495
|
-
...(input.type
|
|
2496
|
-
...(input.value
|
|
2469
|
+
...(input.name != null && { name: input.name }),
|
|
2470
|
+
...(input.type != null && { type: input.type }),
|
|
2471
|
+
...(input.value != null && { value: input.value }),
|
|
2497
2472
|
};
|
|
2498
2473
|
};
|
|
2499
2474
|
const serializeAws_json1_1EnvironmentVariables = (input, context) => {
|
|
@@ -2528,68 +2503,63 @@ const serializeAws_json1_1FilterGroups = (input, context) => {
|
|
|
2528
2503
|
};
|
|
2529
2504
|
const serializeAws_json1_1GetReportGroupTrendInput = (input, context) => {
|
|
2530
2505
|
return {
|
|
2531
|
-
...(input.numOfReports
|
|
2532
|
-
...(input.reportGroupArn
|
|
2533
|
-
|
|
2534
|
-
...(input.trendField !== undefined && input.trendField !== null && { trendField: input.trendField }),
|
|
2506
|
+
...(input.numOfReports != null && { numOfReports: input.numOfReports }),
|
|
2507
|
+
...(input.reportGroupArn != null && { reportGroupArn: input.reportGroupArn }),
|
|
2508
|
+
...(input.trendField != null && { trendField: input.trendField }),
|
|
2535
2509
|
};
|
|
2536
2510
|
};
|
|
2537
2511
|
const serializeAws_json1_1GetResourcePolicyInput = (input, context) => {
|
|
2538
2512
|
return {
|
|
2539
|
-
...(input.resourceArn
|
|
2513
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2540
2514
|
};
|
|
2541
2515
|
};
|
|
2542
2516
|
const serializeAws_json1_1GitSubmodulesConfig = (input, context) => {
|
|
2543
2517
|
return {
|
|
2544
|
-
...(input.fetchSubmodules
|
|
2545
|
-
input.fetchSubmodules !== null && { fetchSubmodules: input.fetchSubmodules }),
|
|
2518
|
+
...(input.fetchSubmodules != null && { fetchSubmodules: input.fetchSubmodules }),
|
|
2546
2519
|
};
|
|
2547
2520
|
};
|
|
2548
2521
|
const serializeAws_json1_1ImportSourceCredentialsInput = (input, context) => {
|
|
2549
2522
|
return {
|
|
2550
|
-
...(input.authType
|
|
2551
|
-
...(input.serverType
|
|
2552
|
-
...(input.shouldOverwrite
|
|
2553
|
-
|
|
2554
|
-
...(input.
|
|
2555
|
-
...(input.username !== undefined && input.username !== null && { username: input.username }),
|
|
2523
|
+
...(input.authType != null && { authType: input.authType }),
|
|
2524
|
+
...(input.serverType != null && { serverType: input.serverType }),
|
|
2525
|
+
...(input.shouldOverwrite != null && { shouldOverwrite: input.shouldOverwrite }),
|
|
2526
|
+
...(input.token != null && { token: input.token }),
|
|
2527
|
+
...(input.username != null && { username: input.username }),
|
|
2556
2528
|
};
|
|
2557
2529
|
};
|
|
2558
2530
|
const serializeAws_json1_1InvalidateProjectCacheInput = (input, context) => {
|
|
2559
2531
|
return {
|
|
2560
|
-
...(input.projectName
|
|
2532
|
+
...(input.projectName != null && { projectName: input.projectName }),
|
|
2561
2533
|
};
|
|
2562
2534
|
};
|
|
2563
2535
|
const serializeAws_json1_1ListBuildBatchesForProjectInput = (input, context) => {
|
|
2564
2536
|
return {
|
|
2565
|
-
...(input.filter
|
|
2566
|
-
|
|
2567
|
-
...(input.
|
|
2568
|
-
...(input.
|
|
2569
|
-
...(input.
|
|
2570
|
-
...(input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }),
|
|
2537
|
+
...(input.filter != null && { filter: serializeAws_json1_1BuildBatchFilter(input.filter, context) }),
|
|
2538
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2539
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2540
|
+
...(input.projectName != null && { projectName: input.projectName }),
|
|
2541
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2571
2542
|
};
|
|
2572
2543
|
};
|
|
2573
2544
|
const serializeAws_json1_1ListBuildBatchesInput = (input, context) => {
|
|
2574
2545
|
return {
|
|
2575
|
-
...(input.filter
|
|
2576
|
-
|
|
2577
|
-
...(input.
|
|
2578
|
-
...(input.
|
|
2579
|
-
...(input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }),
|
|
2546
|
+
...(input.filter != null && { filter: serializeAws_json1_1BuildBatchFilter(input.filter, context) }),
|
|
2547
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2548
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2549
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2580
2550
|
};
|
|
2581
2551
|
};
|
|
2582
2552
|
const serializeAws_json1_1ListBuildsForProjectInput = (input, context) => {
|
|
2583
2553
|
return {
|
|
2584
|
-
...(input.nextToken
|
|
2585
|
-
...(input.projectName
|
|
2586
|
-
...(input.sortOrder
|
|
2554
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2555
|
+
...(input.projectName != null && { projectName: input.projectName }),
|
|
2556
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2587
2557
|
};
|
|
2588
2558
|
};
|
|
2589
2559
|
const serializeAws_json1_1ListBuildsInput = (input, context) => {
|
|
2590
2560
|
return {
|
|
2591
|
-
...(input.nextToken
|
|
2592
|
-
...(input.sortOrder
|
|
2561
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2562
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2593
2563
|
};
|
|
2594
2564
|
};
|
|
2595
2565
|
const serializeAws_json1_1ListCuratedEnvironmentImagesInput = (input, context) => {
|
|
@@ -2597,53 +2567,50 @@ const serializeAws_json1_1ListCuratedEnvironmentImagesInput = (input, context) =
|
|
|
2597
2567
|
};
|
|
2598
2568
|
const serializeAws_json1_1ListProjectsInput = (input, context) => {
|
|
2599
2569
|
return {
|
|
2600
|
-
...(input.nextToken
|
|
2601
|
-
...(input.sortBy
|
|
2602
|
-
...(input.sortOrder
|
|
2570
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2571
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2572
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2603
2573
|
};
|
|
2604
2574
|
};
|
|
2605
2575
|
const serializeAws_json1_1ListReportGroupsInput = (input, context) => {
|
|
2606
2576
|
return {
|
|
2607
|
-
...(input.maxResults
|
|
2608
|
-
...(input.nextToken
|
|
2609
|
-
...(input.sortBy
|
|
2610
|
-
...(input.sortOrder
|
|
2577
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2578
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2579
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2580
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2611
2581
|
};
|
|
2612
2582
|
};
|
|
2613
2583
|
const serializeAws_json1_1ListReportsForReportGroupInput = (input, context) => {
|
|
2614
2584
|
return {
|
|
2615
|
-
...(input.filter
|
|
2616
|
-
|
|
2617
|
-
...(input.
|
|
2618
|
-
...(input.
|
|
2619
|
-
...(input.
|
|
2620
|
-
input.reportGroupArn !== null && { reportGroupArn: input.reportGroupArn }),
|
|
2621
|
-
...(input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }),
|
|
2585
|
+
...(input.filter != null && { filter: serializeAws_json1_1ReportFilter(input.filter, context) }),
|
|
2586
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2587
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2588
|
+
...(input.reportGroupArn != null && { reportGroupArn: input.reportGroupArn }),
|
|
2589
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2622
2590
|
};
|
|
2623
2591
|
};
|
|
2624
2592
|
const serializeAws_json1_1ListReportsInput = (input, context) => {
|
|
2625
2593
|
return {
|
|
2626
|
-
...(input.filter
|
|
2627
|
-
|
|
2628
|
-
...(input.
|
|
2629
|
-
...(input.
|
|
2630
|
-
...(input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }),
|
|
2594
|
+
...(input.filter != null && { filter: serializeAws_json1_1ReportFilter(input.filter, context) }),
|
|
2595
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2596
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2597
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2631
2598
|
};
|
|
2632
2599
|
};
|
|
2633
2600
|
const serializeAws_json1_1ListSharedProjectsInput = (input, context) => {
|
|
2634
2601
|
return {
|
|
2635
|
-
...(input.maxResults
|
|
2636
|
-
...(input.nextToken
|
|
2637
|
-
...(input.sortBy
|
|
2638
|
-
...(input.sortOrder
|
|
2602
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2603
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2604
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2605
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2639
2606
|
};
|
|
2640
2607
|
};
|
|
2641
2608
|
const serializeAws_json1_1ListSharedReportGroupsInput = (input, context) => {
|
|
2642
2609
|
return {
|
|
2643
|
-
...(input.maxResults
|
|
2644
|
-
...(input.nextToken
|
|
2645
|
-
...(input.sortBy
|
|
2646
|
-
...(input.sortOrder
|
|
2610
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2611
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2612
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2613
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2647
2614
|
};
|
|
2648
2615
|
};
|
|
2649
2616
|
const serializeAws_json1_1ListSourceCredentialsInput = (input, context) => {
|
|
@@ -2651,30 +2618,24 @@ const serializeAws_json1_1ListSourceCredentialsInput = (input, context) => {
|
|
|
2651
2618
|
};
|
|
2652
2619
|
const serializeAws_json1_1LogsConfig = (input, context) => {
|
|
2653
2620
|
return {
|
|
2654
|
-
...(input.cloudWatchLogs
|
|
2655
|
-
input.cloudWatchLogs !== null && {
|
|
2621
|
+
...(input.cloudWatchLogs != null && {
|
|
2656
2622
|
cloudWatchLogs: serializeAws_json1_1CloudWatchLogsConfig(input.cloudWatchLogs, context),
|
|
2657
2623
|
}),
|
|
2658
|
-
...(input.s3Logs
|
|
2659
|
-
input.s3Logs !== null && { s3Logs: serializeAws_json1_1S3LogsConfig(input.s3Logs, context) }),
|
|
2624
|
+
...(input.s3Logs != null && { s3Logs: serializeAws_json1_1S3LogsConfig(input.s3Logs, context) }),
|
|
2660
2625
|
};
|
|
2661
2626
|
};
|
|
2662
2627
|
const serializeAws_json1_1ProjectArtifacts = (input, context) => {
|
|
2663
2628
|
return {
|
|
2664
|
-
...(input.artifactIdentifier
|
|
2665
|
-
|
|
2666
|
-
...(input.
|
|
2667
|
-
|
|
2668
|
-
...(input.
|
|
2669
|
-
|
|
2670
|
-
...(input.
|
|
2671
|
-
...(input.
|
|
2672
|
-
...(input.
|
|
2673
|
-
...(input.
|
|
2674
|
-
input.overrideArtifactName !== null && { overrideArtifactName: input.overrideArtifactName }),
|
|
2675
|
-
...(input.packaging !== undefined && input.packaging !== null && { packaging: input.packaging }),
|
|
2676
|
-
...(input.path !== undefined && input.path !== null && { path: input.path }),
|
|
2677
|
-
...(input.type !== undefined && input.type !== null && { type: input.type }),
|
|
2629
|
+
...(input.artifactIdentifier != null && { artifactIdentifier: input.artifactIdentifier }),
|
|
2630
|
+
...(input.bucketOwnerAccess != null && { bucketOwnerAccess: input.bucketOwnerAccess }),
|
|
2631
|
+
...(input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled }),
|
|
2632
|
+
...(input.location != null && { location: input.location }),
|
|
2633
|
+
...(input.name != null && { name: input.name }),
|
|
2634
|
+
...(input.namespaceType != null && { namespaceType: input.namespaceType }),
|
|
2635
|
+
...(input.overrideArtifactName != null && { overrideArtifactName: input.overrideArtifactName }),
|
|
2636
|
+
...(input.packaging != null && { packaging: input.packaging }),
|
|
2637
|
+
...(input.path != null && { path: input.path }),
|
|
2638
|
+
...(input.type != null && { type: input.type }),
|
|
2678
2639
|
};
|
|
2679
2640
|
};
|
|
2680
2641
|
const serializeAws_json1_1ProjectArtifactsList = (input, context) => {
|
|
@@ -2689,24 +2650,20 @@ const serializeAws_json1_1ProjectArtifactsList = (input, context) => {
|
|
|
2689
2650
|
};
|
|
2690
2651
|
const serializeAws_json1_1ProjectBuildBatchConfig = (input, context) => {
|
|
2691
2652
|
return {
|
|
2692
|
-
...(input.batchReportMode
|
|
2693
|
-
|
|
2694
|
-
...(input.
|
|
2695
|
-
input.combineArtifacts !== null && { combineArtifacts: input.combineArtifacts }),
|
|
2696
|
-
...(input.restrictions !== undefined &&
|
|
2697
|
-
input.restrictions !== null && {
|
|
2653
|
+
...(input.batchReportMode != null && { batchReportMode: input.batchReportMode }),
|
|
2654
|
+
...(input.combineArtifacts != null && { combineArtifacts: input.combineArtifacts }),
|
|
2655
|
+
...(input.restrictions != null && {
|
|
2698
2656
|
restrictions: serializeAws_json1_1BatchRestrictions(input.restrictions, context),
|
|
2699
2657
|
}),
|
|
2700
|
-
...(input.serviceRole
|
|
2701
|
-
...(input.timeoutInMins
|
|
2658
|
+
...(input.serviceRole != null && { serviceRole: input.serviceRole }),
|
|
2659
|
+
...(input.timeoutInMins != null && { timeoutInMins: input.timeoutInMins }),
|
|
2702
2660
|
};
|
|
2703
2661
|
};
|
|
2704
2662
|
const serializeAws_json1_1ProjectCache = (input, context) => {
|
|
2705
2663
|
return {
|
|
2706
|
-
...(input.location
|
|
2707
|
-
...(input.modes
|
|
2708
|
-
|
|
2709
|
-
...(input.type !== undefined && input.type !== null && { type: input.type }),
|
|
2664
|
+
...(input.location != null && { location: input.location }),
|
|
2665
|
+
...(input.modes != null && { modes: serializeAws_json1_1ProjectCacheModes(input.modes, context) }),
|
|
2666
|
+
...(input.type != null && { type: input.type }),
|
|
2710
2667
|
};
|
|
2711
2668
|
};
|
|
2712
2669
|
const serializeAws_json1_1ProjectCacheModes = (input, context) => {
|
|
@@ -2721,31 +2678,27 @@ const serializeAws_json1_1ProjectCacheModes = (input, context) => {
|
|
|
2721
2678
|
};
|
|
2722
2679
|
const serializeAws_json1_1ProjectEnvironment = (input, context) => {
|
|
2723
2680
|
return {
|
|
2724
|
-
...(input.certificate
|
|
2725
|
-
...(input.computeType
|
|
2726
|
-
...(input.environmentVariables
|
|
2727
|
-
input.environmentVariables !== null && {
|
|
2681
|
+
...(input.certificate != null && { certificate: input.certificate }),
|
|
2682
|
+
...(input.computeType != null && { computeType: input.computeType }),
|
|
2683
|
+
...(input.environmentVariables != null && {
|
|
2728
2684
|
environmentVariables: serializeAws_json1_1EnvironmentVariables(input.environmentVariables, context),
|
|
2729
2685
|
}),
|
|
2730
|
-
...(input.image
|
|
2731
|
-
...(input.imagePullCredentialsType
|
|
2732
|
-
|
|
2733
|
-
...(input.
|
|
2734
|
-
input.privilegedMode !== null && { privilegedMode: input.privilegedMode }),
|
|
2735
|
-
...(input.registryCredential !== undefined &&
|
|
2736
|
-
input.registryCredential !== null && {
|
|
2686
|
+
...(input.image != null && { image: input.image }),
|
|
2687
|
+
...(input.imagePullCredentialsType != null && { imagePullCredentialsType: input.imagePullCredentialsType }),
|
|
2688
|
+
...(input.privilegedMode != null && { privilegedMode: input.privilegedMode }),
|
|
2689
|
+
...(input.registryCredential != null && {
|
|
2737
2690
|
registryCredential: serializeAws_json1_1RegistryCredential(input.registryCredential, context),
|
|
2738
2691
|
}),
|
|
2739
|
-
...(input.type
|
|
2692
|
+
...(input.type != null && { type: input.type }),
|
|
2740
2693
|
};
|
|
2741
2694
|
};
|
|
2742
2695
|
const serializeAws_json1_1ProjectFileSystemLocation = (input, context) => {
|
|
2743
2696
|
return {
|
|
2744
|
-
...(input.identifier
|
|
2745
|
-
...(input.location
|
|
2746
|
-
...(input.mountOptions
|
|
2747
|
-
...(input.mountPoint
|
|
2748
|
-
...(input.type
|
|
2697
|
+
...(input.identifier != null && { identifier: input.identifier }),
|
|
2698
|
+
...(input.location != null && { location: input.location }),
|
|
2699
|
+
...(input.mountOptions != null && { mountOptions: input.mountOptions }),
|
|
2700
|
+
...(input.mountPoint != null && { mountPoint: input.mountPoint }),
|
|
2701
|
+
...(input.type != null && { type: input.type }),
|
|
2749
2702
|
};
|
|
2750
2703
|
};
|
|
2751
2704
|
const serializeAws_json1_1ProjectFileSystemLocations = (input, context) => {
|
|
@@ -2780,25 +2733,20 @@ const serializeAws_json1_1ProjectSecondarySourceVersions = (input, context) => {
|
|
|
2780
2733
|
};
|
|
2781
2734
|
const serializeAws_json1_1ProjectSource = (input, context) => {
|
|
2782
2735
|
return {
|
|
2783
|
-
...(input.auth
|
|
2784
|
-
|
|
2785
|
-
...(input.buildStatusConfig !== undefined &&
|
|
2786
|
-
input.buildStatusConfig !== null && {
|
|
2736
|
+
...(input.auth != null && { auth: serializeAws_json1_1SourceAuth(input.auth, context) }),
|
|
2737
|
+
...(input.buildStatusConfig != null && {
|
|
2787
2738
|
buildStatusConfig: serializeAws_json1_1BuildStatusConfig(input.buildStatusConfig, context),
|
|
2788
2739
|
}),
|
|
2789
|
-
...(input.buildspec
|
|
2790
|
-
...(input.gitCloneDepth
|
|
2791
|
-
...(input.gitSubmodulesConfig
|
|
2792
|
-
input.gitSubmodulesConfig !== null && {
|
|
2740
|
+
...(input.buildspec != null && { buildspec: input.buildspec }),
|
|
2741
|
+
...(input.gitCloneDepth != null && { gitCloneDepth: input.gitCloneDepth }),
|
|
2742
|
+
...(input.gitSubmodulesConfig != null && {
|
|
2793
2743
|
gitSubmodulesConfig: serializeAws_json1_1GitSubmodulesConfig(input.gitSubmodulesConfig, context),
|
|
2794
2744
|
}),
|
|
2795
|
-
...(input.insecureSsl
|
|
2796
|
-
...(input.location
|
|
2797
|
-
...(input.reportBuildStatus
|
|
2798
|
-
|
|
2799
|
-
...(input.
|
|
2800
|
-
input.sourceIdentifier !== null && { sourceIdentifier: input.sourceIdentifier }),
|
|
2801
|
-
...(input.type !== undefined && input.type !== null && { type: input.type }),
|
|
2745
|
+
...(input.insecureSsl != null && { insecureSsl: input.insecureSsl }),
|
|
2746
|
+
...(input.location != null && { location: input.location }),
|
|
2747
|
+
...(input.reportBuildStatus != null && { reportBuildStatus: input.reportBuildStatus }),
|
|
2748
|
+
...(input.sourceIdentifier != null && { sourceIdentifier: input.sourceIdentifier }),
|
|
2749
|
+
...(input.type != null && { type: input.type }),
|
|
2802
2750
|
};
|
|
2803
2751
|
};
|
|
2804
2752
|
const serializeAws_json1_1ProjectSources = (input, context) => {
|
|
@@ -2813,22 +2761,20 @@ const serializeAws_json1_1ProjectSources = (input, context) => {
|
|
|
2813
2761
|
};
|
|
2814
2762
|
const serializeAws_json1_1ProjectSourceVersion = (input, context) => {
|
|
2815
2763
|
return {
|
|
2816
|
-
...(input.sourceIdentifier
|
|
2817
|
-
|
|
2818
|
-
...(input.sourceVersion !== undefined && input.sourceVersion !== null && { sourceVersion: input.sourceVersion }),
|
|
2764
|
+
...(input.sourceIdentifier != null && { sourceIdentifier: input.sourceIdentifier }),
|
|
2765
|
+
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
2819
2766
|
};
|
|
2820
2767
|
};
|
|
2821
2768
|
const serializeAws_json1_1PutResourcePolicyInput = (input, context) => {
|
|
2822
2769
|
return {
|
|
2823
|
-
...(input.policy
|
|
2824
|
-
...(input.resourceArn
|
|
2770
|
+
...(input.policy != null && { policy: input.policy }),
|
|
2771
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2825
2772
|
};
|
|
2826
2773
|
};
|
|
2827
2774
|
const serializeAws_json1_1RegistryCredential = (input, context) => {
|
|
2828
2775
|
return {
|
|
2829
|
-
...(input.credential
|
|
2830
|
-
...(input.credentialProvider
|
|
2831
|
-
input.credentialProvider !== null && { credentialProvider: input.credentialProvider }),
|
|
2776
|
+
...(input.credential != null && { credential: input.credential }),
|
|
2777
|
+
...(input.credentialProvider != null && { credentialProvider: input.credentialProvider }),
|
|
2832
2778
|
};
|
|
2833
2779
|
};
|
|
2834
2780
|
const serializeAws_json1_1ReportArns = (input, context) => {
|
|
@@ -2843,17 +2789,15 @@ const serializeAws_json1_1ReportArns = (input, context) => {
|
|
|
2843
2789
|
};
|
|
2844
2790
|
const serializeAws_json1_1ReportExportConfig = (input, context) => {
|
|
2845
2791
|
return {
|
|
2846
|
-
...(input.exportConfigType
|
|
2847
|
-
|
|
2848
|
-
...(input.s3Destination !== undefined &&
|
|
2849
|
-
input.s3Destination !== null && {
|
|
2792
|
+
...(input.exportConfigType != null && { exportConfigType: input.exportConfigType }),
|
|
2793
|
+
...(input.s3Destination != null && {
|
|
2850
2794
|
s3Destination: serializeAws_json1_1S3ReportExportConfig(input.s3Destination, context),
|
|
2851
2795
|
}),
|
|
2852
2796
|
};
|
|
2853
2797
|
};
|
|
2854
2798
|
const serializeAws_json1_1ReportFilter = (input, context) => {
|
|
2855
2799
|
return {
|
|
2856
|
-
...(input.status
|
|
2800
|
+
...(input.status != null && { status: input.status }),
|
|
2857
2801
|
};
|
|
2858
2802
|
};
|
|
2859
2803
|
const serializeAws_json1_1ReportGroupArns = (input, context) => {
|
|
@@ -2868,38 +2812,33 @@ const serializeAws_json1_1ReportGroupArns = (input, context) => {
|
|
|
2868
2812
|
};
|
|
2869
2813
|
const serializeAws_json1_1RetryBuildBatchInput = (input, context) => {
|
|
2870
2814
|
return {
|
|
2871
|
-
...(input.id
|
|
2872
|
-
...(input.idempotencyToken
|
|
2873
|
-
|
|
2874
|
-
...(input.retryType !== undefined && input.retryType !== null && { retryType: input.retryType }),
|
|
2815
|
+
...(input.id != null && { id: input.id }),
|
|
2816
|
+
...(input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }),
|
|
2817
|
+
...(input.retryType != null && { retryType: input.retryType }),
|
|
2875
2818
|
};
|
|
2876
2819
|
};
|
|
2877
2820
|
const serializeAws_json1_1RetryBuildInput = (input, context) => {
|
|
2878
2821
|
return {
|
|
2879
|
-
...(input.id
|
|
2880
|
-
...(input.idempotencyToken
|
|
2881
|
-
input.idempotencyToken !== null && { idempotencyToken: input.idempotencyToken }),
|
|
2822
|
+
...(input.id != null && { id: input.id }),
|
|
2823
|
+
...(input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }),
|
|
2882
2824
|
};
|
|
2883
2825
|
};
|
|
2884
2826
|
const serializeAws_json1_1S3LogsConfig = (input, context) => {
|
|
2885
2827
|
return {
|
|
2886
|
-
...(input.bucketOwnerAccess
|
|
2887
|
-
|
|
2888
|
-
...(input.
|
|
2889
|
-
|
|
2890
|
-
...(input.location !== undefined && input.location !== null && { location: input.location }),
|
|
2891
|
-
...(input.status !== undefined && input.status !== null && { status: input.status }),
|
|
2828
|
+
...(input.bucketOwnerAccess != null && { bucketOwnerAccess: input.bucketOwnerAccess }),
|
|
2829
|
+
...(input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled }),
|
|
2830
|
+
...(input.location != null && { location: input.location }),
|
|
2831
|
+
...(input.status != null && { status: input.status }),
|
|
2892
2832
|
};
|
|
2893
2833
|
};
|
|
2894
2834
|
const serializeAws_json1_1S3ReportExportConfig = (input, context) => {
|
|
2895
2835
|
return {
|
|
2896
|
-
...(input.bucket
|
|
2897
|
-
...(input.bucketOwner
|
|
2898
|
-
...(input.encryptionDisabled
|
|
2899
|
-
|
|
2900
|
-
...(input.
|
|
2901
|
-
...(input.
|
|
2902
|
-
...(input.path !== undefined && input.path !== null && { path: input.path }),
|
|
2836
|
+
...(input.bucket != null && { bucket: input.bucket }),
|
|
2837
|
+
...(input.bucketOwner != null && { bucketOwner: input.bucketOwner }),
|
|
2838
|
+
...(input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled }),
|
|
2839
|
+
...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
|
|
2840
|
+
...(input.packaging != null && { packaging: input.packaging }),
|
|
2841
|
+
...(input.path != null && { path: input.path }),
|
|
2903
2842
|
};
|
|
2904
2843
|
};
|
|
2905
2844
|
const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
@@ -2914,200 +2853,144 @@ const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
|
2914
2853
|
};
|
|
2915
2854
|
const serializeAws_json1_1SourceAuth = (input, context) => {
|
|
2916
2855
|
return {
|
|
2917
|
-
...(input.resource
|
|
2918
|
-
...(input.type
|
|
2856
|
+
...(input.resource != null && { resource: input.resource }),
|
|
2857
|
+
...(input.type != null && { type: input.type }),
|
|
2919
2858
|
};
|
|
2920
2859
|
};
|
|
2921
2860
|
const serializeAws_json1_1StartBuildBatchInput = (input, context) => {
|
|
2922
2861
|
return {
|
|
2923
|
-
...(input.artifactsOverride
|
|
2924
|
-
input.artifactsOverride !== null && {
|
|
2862
|
+
...(input.artifactsOverride != null && {
|
|
2925
2863
|
artifactsOverride: serializeAws_json1_1ProjectArtifacts(input.artifactsOverride, context),
|
|
2926
2864
|
}),
|
|
2927
|
-
...(input.buildBatchConfigOverride
|
|
2928
|
-
input.buildBatchConfigOverride !== null && {
|
|
2865
|
+
...(input.buildBatchConfigOverride != null && {
|
|
2929
2866
|
buildBatchConfigOverride: serializeAws_json1_1ProjectBuildBatchConfig(input.buildBatchConfigOverride, context),
|
|
2930
2867
|
}),
|
|
2931
|
-
...(input.buildTimeoutInMinutesOverride
|
|
2932
|
-
input.buildTimeoutInMinutesOverride !== null && {
|
|
2868
|
+
...(input.buildTimeoutInMinutesOverride != null && {
|
|
2933
2869
|
buildTimeoutInMinutesOverride: input.buildTimeoutInMinutesOverride,
|
|
2934
2870
|
}),
|
|
2935
|
-
...(input.buildspecOverride
|
|
2936
|
-
|
|
2937
|
-
...(input.cacheOverride !== undefined &&
|
|
2938
|
-
input.cacheOverride !== null && {
|
|
2871
|
+
...(input.buildspecOverride != null && { buildspecOverride: input.buildspecOverride }),
|
|
2872
|
+
...(input.cacheOverride != null && {
|
|
2939
2873
|
cacheOverride: serializeAws_json1_1ProjectCache(input.cacheOverride, context),
|
|
2940
2874
|
}),
|
|
2941
|
-
...(input.certificateOverride
|
|
2942
|
-
|
|
2943
|
-
...(input.
|
|
2944
|
-
|
|
2945
|
-
...(input.
|
|
2946
|
-
|
|
2947
|
-
...(input.encryptionKeyOverride !== undefined &&
|
|
2948
|
-
input.encryptionKeyOverride !== null && { encryptionKeyOverride: input.encryptionKeyOverride }),
|
|
2949
|
-
...(input.environmentTypeOverride !== undefined &&
|
|
2950
|
-
input.environmentTypeOverride !== null && { environmentTypeOverride: input.environmentTypeOverride }),
|
|
2951
|
-
...(input.environmentVariablesOverride !== undefined &&
|
|
2952
|
-
input.environmentVariablesOverride !== null && {
|
|
2875
|
+
...(input.certificateOverride != null && { certificateOverride: input.certificateOverride }),
|
|
2876
|
+
...(input.computeTypeOverride != null && { computeTypeOverride: input.computeTypeOverride }),
|
|
2877
|
+
...(input.debugSessionEnabled != null && { debugSessionEnabled: input.debugSessionEnabled }),
|
|
2878
|
+
...(input.encryptionKeyOverride != null && { encryptionKeyOverride: input.encryptionKeyOverride }),
|
|
2879
|
+
...(input.environmentTypeOverride != null && { environmentTypeOverride: input.environmentTypeOverride }),
|
|
2880
|
+
...(input.environmentVariablesOverride != null && {
|
|
2953
2881
|
environmentVariablesOverride: serializeAws_json1_1EnvironmentVariables(input.environmentVariablesOverride, context),
|
|
2954
2882
|
}),
|
|
2955
|
-
...(input.gitCloneDepthOverride
|
|
2956
|
-
|
|
2957
|
-
...(input.gitSubmodulesConfigOverride !== undefined &&
|
|
2958
|
-
input.gitSubmodulesConfigOverride !== null && {
|
|
2883
|
+
...(input.gitCloneDepthOverride != null && { gitCloneDepthOverride: input.gitCloneDepthOverride }),
|
|
2884
|
+
...(input.gitSubmodulesConfigOverride != null && {
|
|
2959
2885
|
gitSubmodulesConfigOverride: serializeAws_json1_1GitSubmodulesConfig(input.gitSubmodulesConfigOverride, context),
|
|
2960
2886
|
}),
|
|
2961
|
-
...(input.idempotencyToken
|
|
2962
|
-
|
|
2963
|
-
...(input.
|
|
2964
|
-
...(input.imagePullCredentialsTypeOverride !== undefined &&
|
|
2965
|
-
input.imagePullCredentialsTypeOverride !== null && {
|
|
2887
|
+
...(input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }),
|
|
2888
|
+
...(input.imageOverride != null && { imageOverride: input.imageOverride }),
|
|
2889
|
+
...(input.imagePullCredentialsTypeOverride != null && {
|
|
2966
2890
|
imagePullCredentialsTypeOverride: input.imagePullCredentialsTypeOverride,
|
|
2967
2891
|
}),
|
|
2968
|
-
...(input.insecureSslOverride
|
|
2969
|
-
|
|
2970
|
-
...(input.logsConfigOverride !== undefined &&
|
|
2971
|
-
input.logsConfigOverride !== null && {
|
|
2892
|
+
...(input.insecureSslOverride != null && { insecureSslOverride: input.insecureSslOverride }),
|
|
2893
|
+
...(input.logsConfigOverride != null && {
|
|
2972
2894
|
logsConfigOverride: serializeAws_json1_1LogsConfig(input.logsConfigOverride, context),
|
|
2973
2895
|
}),
|
|
2974
|
-
...(input.privilegedModeOverride
|
|
2975
|
-
|
|
2976
|
-
...(input.
|
|
2977
|
-
...(input.queuedTimeoutInMinutesOverride !== undefined &&
|
|
2978
|
-
input.queuedTimeoutInMinutesOverride !== null && {
|
|
2896
|
+
...(input.privilegedModeOverride != null && { privilegedModeOverride: input.privilegedModeOverride }),
|
|
2897
|
+
...(input.projectName != null && { projectName: input.projectName }),
|
|
2898
|
+
...(input.queuedTimeoutInMinutesOverride != null && {
|
|
2979
2899
|
queuedTimeoutInMinutesOverride: input.queuedTimeoutInMinutesOverride,
|
|
2980
2900
|
}),
|
|
2981
|
-
...(input.registryCredentialOverride
|
|
2982
|
-
input.registryCredentialOverride !== null && {
|
|
2901
|
+
...(input.registryCredentialOverride != null && {
|
|
2983
2902
|
registryCredentialOverride: serializeAws_json1_1RegistryCredential(input.registryCredentialOverride, context),
|
|
2984
2903
|
}),
|
|
2985
|
-
...(input.reportBuildBatchStatusOverride
|
|
2986
|
-
input.reportBuildBatchStatusOverride !== null && {
|
|
2904
|
+
...(input.reportBuildBatchStatusOverride != null && {
|
|
2987
2905
|
reportBuildBatchStatusOverride: input.reportBuildBatchStatusOverride,
|
|
2988
2906
|
}),
|
|
2989
|
-
...(input.secondaryArtifactsOverride
|
|
2990
|
-
input.secondaryArtifactsOverride !== null && {
|
|
2907
|
+
...(input.secondaryArtifactsOverride != null && {
|
|
2991
2908
|
secondaryArtifactsOverride: serializeAws_json1_1ProjectArtifactsList(input.secondaryArtifactsOverride, context),
|
|
2992
2909
|
}),
|
|
2993
|
-
...(input.secondarySourcesOverride
|
|
2994
|
-
input.secondarySourcesOverride !== null && {
|
|
2910
|
+
...(input.secondarySourcesOverride != null && {
|
|
2995
2911
|
secondarySourcesOverride: serializeAws_json1_1ProjectSources(input.secondarySourcesOverride, context),
|
|
2996
2912
|
}),
|
|
2997
|
-
...(input.secondarySourcesVersionOverride
|
|
2998
|
-
input.secondarySourcesVersionOverride !== null && {
|
|
2913
|
+
...(input.secondarySourcesVersionOverride != null && {
|
|
2999
2914
|
secondarySourcesVersionOverride: serializeAws_json1_1ProjectSecondarySourceVersions(input.secondarySourcesVersionOverride, context),
|
|
3000
2915
|
}),
|
|
3001
|
-
...(input.serviceRoleOverride
|
|
3002
|
-
|
|
3003
|
-
...(input.sourceAuthOverride !== undefined &&
|
|
3004
|
-
input.sourceAuthOverride !== null && {
|
|
2916
|
+
...(input.serviceRoleOverride != null && { serviceRoleOverride: input.serviceRoleOverride }),
|
|
2917
|
+
...(input.sourceAuthOverride != null && {
|
|
3005
2918
|
sourceAuthOverride: serializeAws_json1_1SourceAuth(input.sourceAuthOverride, context),
|
|
3006
2919
|
}),
|
|
3007
|
-
...(input.sourceLocationOverride
|
|
3008
|
-
|
|
3009
|
-
...(input.
|
|
3010
|
-
input.sourceTypeOverride !== null && { sourceTypeOverride: input.sourceTypeOverride }),
|
|
3011
|
-
...(input.sourceVersion !== undefined && input.sourceVersion !== null && { sourceVersion: input.sourceVersion }),
|
|
2920
|
+
...(input.sourceLocationOverride != null && { sourceLocationOverride: input.sourceLocationOverride }),
|
|
2921
|
+
...(input.sourceTypeOverride != null && { sourceTypeOverride: input.sourceTypeOverride }),
|
|
2922
|
+
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
3012
2923
|
};
|
|
3013
2924
|
};
|
|
3014
2925
|
const serializeAws_json1_1StartBuildInput = (input, context) => {
|
|
3015
2926
|
return {
|
|
3016
|
-
...(input.artifactsOverride
|
|
3017
|
-
input.artifactsOverride !== null && {
|
|
2927
|
+
...(input.artifactsOverride != null && {
|
|
3018
2928
|
artifactsOverride: serializeAws_json1_1ProjectArtifacts(input.artifactsOverride, context),
|
|
3019
2929
|
}),
|
|
3020
|
-
...(input.buildStatusConfigOverride
|
|
3021
|
-
input.buildStatusConfigOverride !== null && {
|
|
2930
|
+
...(input.buildStatusConfigOverride != null && {
|
|
3022
2931
|
buildStatusConfigOverride: serializeAws_json1_1BuildStatusConfig(input.buildStatusConfigOverride, context),
|
|
3023
2932
|
}),
|
|
3024
|
-
...(input.buildspecOverride
|
|
3025
|
-
|
|
3026
|
-
...(input.cacheOverride !== undefined &&
|
|
3027
|
-
input.cacheOverride !== null && {
|
|
2933
|
+
...(input.buildspecOverride != null && { buildspecOverride: input.buildspecOverride }),
|
|
2934
|
+
...(input.cacheOverride != null && {
|
|
3028
2935
|
cacheOverride: serializeAws_json1_1ProjectCache(input.cacheOverride, context),
|
|
3029
2936
|
}),
|
|
3030
|
-
...(input.certificateOverride
|
|
3031
|
-
|
|
3032
|
-
...(input.
|
|
3033
|
-
|
|
3034
|
-
...(input.
|
|
3035
|
-
|
|
3036
|
-
...(input.encryptionKeyOverride !== undefined &&
|
|
3037
|
-
input.encryptionKeyOverride !== null && { encryptionKeyOverride: input.encryptionKeyOverride }),
|
|
3038
|
-
...(input.environmentTypeOverride !== undefined &&
|
|
3039
|
-
input.environmentTypeOverride !== null && { environmentTypeOverride: input.environmentTypeOverride }),
|
|
3040
|
-
...(input.environmentVariablesOverride !== undefined &&
|
|
3041
|
-
input.environmentVariablesOverride !== null && {
|
|
2937
|
+
...(input.certificateOverride != null && { certificateOverride: input.certificateOverride }),
|
|
2938
|
+
...(input.computeTypeOverride != null && { computeTypeOverride: input.computeTypeOverride }),
|
|
2939
|
+
...(input.debugSessionEnabled != null && { debugSessionEnabled: input.debugSessionEnabled }),
|
|
2940
|
+
...(input.encryptionKeyOverride != null && { encryptionKeyOverride: input.encryptionKeyOverride }),
|
|
2941
|
+
...(input.environmentTypeOverride != null && { environmentTypeOverride: input.environmentTypeOverride }),
|
|
2942
|
+
...(input.environmentVariablesOverride != null && {
|
|
3042
2943
|
environmentVariablesOverride: serializeAws_json1_1EnvironmentVariables(input.environmentVariablesOverride, context),
|
|
3043
2944
|
}),
|
|
3044
|
-
...(input.gitCloneDepthOverride
|
|
3045
|
-
|
|
3046
|
-
...(input.gitSubmodulesConfigOverride !== undefined &&
|
|
3047
|
-
input.gitSubmodulesConfigOverride !== null && {
|
|
2945
|
+
...(input.gitCloneDepthOverride != null && { gitCloneDepthOverride: input.gitCloneDepthOverride }),
|
|
2946
|
+
...(input.gitSubmodulesConfigOverride != null && {
|
|
3048
2947
|
gitSubmodulesConfigOverride: serializeAws_json1_1GitSubmodulesConfig(input.gitSubmodulesConfigOverride, context),
|
|
3049
2948
|
}),
|
|
3050
|
-
...(input.idempotencyToken
|
|
3051
|
-
|
|
3052
|
-
...(input.
|
|
3053
|
-
...(input.imagePullCredentialsTypeOverride !== undefined &&
|
|
3054
|
-
input.imagePullCredentialsTypeOverride !== null && {
|
|
2949
|
+
...(input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }),
|
|
2950
|
+
...(input.imageOverride != null && { imageOverride: input.imageOverride }),
|
|
2951
|
+
...(input.imagePullCredentialsTypeOverride != null && {
|
|
3055
2952
|
imagePullCredentialsTypeOverride: input.imagePullCredentialsTypeOverride,
|
|
3056
2953
|
}),
|
|
3057
|
-
...(input.insecureSslOverride
|
|
3058
|
-
|
|
3059
|
-
...(input.logsConfigOverride !== undefined &&
|
|
3060
|
-
input.logsConfigOverride !== null && {
|
|
2954
|
+
...(input.insecureSslOverride != null && { insecureSslOverride: input.insecureSslOverride }),
|
|
2955
|
+
...(input.logsConfigOverride != null && {
|
|
3061
2956
|
logsConfigOverride: serializeAws_json1_1LogsConfig(input.logsConfigOverride, context),
|
|
3062
2957
|
}),
|
|
3063
|
-
...(input.privilegedModeOverride
|
|
3064
|
-
|
|
3065
|
-
...(input.
|
|
3066
|
-
...(input.queuedTimeoutInMinutesOverride !== undefined &&
|
|
3067
|
-
input.queuedTimeoutInMinutesOverride !== null && {
|
|
2958
|
+
...(input.privilegedModeOverride != null && { privilegedModeOverride: input.privilegedModeOverride }),
|
|
2959
|
+
...(input.projectName != null && { projectName: input.projectName }),
|
|
2960
|
+
...(input.queuedTimeoutInMinutesOverride != null && {
|
|
3068
2961
|
queuedTimeoutInMinutesOverride: input.queuedTimeoutInMinutesOverride,
|
|
3069
2962
|
}),
|
|
3070
|
-
...(input.registryCredentialOverride
|
|
3071
|
-
input.registryCredentialOverride !== null && {
|
|
2963
|
+
...(input.registryCredentialOverride != null && {
|
|
3072
2964
|
registryCredentialOverride: serializeAws_json1_1RegistryCredential(input.registryCredentialOverride, context),
|
|
3073
2965
|
}),
|
|
3074
|
-
...(input.reportBuildStatusOverride
|
|
3075
|
-
|
|
3076
|
-
...(input.secondaryArtifactsOverride !== undefined &&
|
|
3077
|
-
input.secondaryArtifactsOverride !== null && {
|
|
2966
|
+
...(input.reportBuildStatusOverride != null && { reportBuildStatusOverride: input.reportBuildStatusOverride }),
|
|
2967
|
+
...(input.secondaryArtifactsOverride != null && {
|
|
3078
2968
|
secondaryArtifactsOverride: serializeAws_json1_1ProjectArtifactsList(input.secondaryArtifactsOverride, context),
|
|
3079
2969
|
}),
|
|
3080
|
-
...(input.secondarySourcesOverride
|
|
3081
|
-
input.secondarySourcesOverride !== null && {
|
|
2970
|
+
...(input.secondarySourcesOverride != null && {
|
|
3082
2971
|
secondarySourcesOverride: serializeAws_json1_1ProjectSources(input.secondarySourcesOverride, context),
|
|
3083
2972
|
}),
|
|
3084
|
-
...(input.secondarySourcesVersionOverride
|
|
3085
|
-
input.secondarySourcesVersionOverride !== null && {
|
|
2973
|
+
...(input.secondarySourcesVersionOverride != null && {
|
|
3086
2974
|
secondarySourcesVersionOverride: serializeAws_json1_1ProjectSecondarySourceVersions(input.secondarySourcesVersionOverride, context),
|
|
3087
2975
|
}),
|
|
3088
|
-
...(input.serviceRoleOverride
|
|
3089
|
-
|
|
3090
|
-
...(input.sourceAuthOverride !== undefined &&
|
|
3091
|
-
input.sourceAuthOverride !== null && {
|
|
2976
|
+
...(input.serviceRoleOverride != null && { serviceRoleOverride: input.serviceRoleOverride }),
|
|
2977
|
+
...(input.sourceAuthOverride != null && {
|
|
3092
2978
|
sourceAuthOverride: serializeAws_json1_1SourceAuth(input.sourceAuthOverride, context),
|
|
3093
2979
|
}),
|
|
3094
|
-
...(input.sourceLocationOverride
|
|
3095
|
-
|
|
3096
|
-
...(input.
|
|
3097
|
-
|
|
3098
|
-
...(input.sourceVersion !== undefined && input.sourceVersion !== null && { sourceVersion: input.sourceVersion }),
|
|
3099
|
-
...(input.timeoutInMinutesOverride !== undefined &&
|
|
3100
|
-
input.timeoutInMinutesOverride !== null && { timeoutInMinutesOverride: input.timeoutInMinutesOverride }),
|
|
2980
|
+
...(input.sourceLocationOverride != null && { sourceLocationOverride: input.sourceLocationOverride }),
|
|
2981
|
+
...(input.sourceTypeOverride != null && { sourceTypeOverride: input.sourceTypeOverride }),
|
|
2982
|
+
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
2983
|
+
...(input.timeoutInMinutesOverride != null && { timeoutInMinutesOverride: input.timeoutInMinutesOverride }),
|
|
3101
2984
|
};
|
|
3102
2985
|
};
|
|
3103
2986
|
const serializeAws_json1_1StopBuildBatchInput = (input, context) => {
|
|
3104
2987
|
return {
|
|
3105
|
-
...(input.id
|
|
2988
|
+
...(input.id != null && { id: input.id }),
|
|
3106
2989
|
};
|
|
3107
2990
|
};
|
|
3108
2991
|
const serializeAws_json1_1StopBuildInput = (input, context) => {
|
|
3109
2992
|
return {
|
|
3110
|
-
...(input.id
|
|
2993
|
+
...(input.id != null && { id: input.id }),
|
|
3111
2994
|
};
|
|
3112
2995
|
};
|
|
3113
2996
|
const serializeAws_json1_1Subnets = (input, context) => {
|
|
@@ -3122,8 +3005,8 @@ const serializeAws_json1_1Subnets = (input, context) => {
|
|
|
3122
3005
|
};
|
|
3123
3006
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
3124
3007
|
return {
|
|
3125
|
-
...(input.key
|
|
3126
|
-
...(input.value
|
|
3008
|
+
...(input.key != null && { key: input.key }),
|
|
3009
|
+
...(input.value != null && { value: input.value }),
|
|
3127
3010
|
};
|
|
3128
3011
|
};
|
|
3129
3012
|
const serializeAws_json1_1TagList = (input, context) => {
|
|
@@ -3138,107 +3021,86 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
3138
3021
|
};
|
|
3139
3022
|
const serializeAws_json1_1TestCaseFilter = (input, context) => {
|
|
3140
3023
|
return {
|
|
3141
|
-
...(input.keyword
|
|
3142
|
-
...(input.status
|
|
3024
|
+
...(input.keyword != null && { keyword: input.keyword }),
|
|
3025
|
+
...(input.status != null && { status: input.status }),
|
|
3143
3026
|
};
|
|
3144
3027
|
};
|
|
3145
3028
|
const serializeAws_json1_1UpdateProjectInput = (input, context) => {
|
|
3146
3029
|
return {
|
|
3147
|
-
...(input.artifacts
|
|
3148
|
-
|
|
3149
|
-
...(input.
|
|
3150
|
-
...(input.buildBatchConfig !== undefined &&
|
|
3151
|
-
input.buildBatchConfig !== null && {
|
|
3030
|
+
...(input.artifacts != null && { artifacts: serializeAws_json1_1ProjectArtifacts(input.artifacts, context) }),
|
|
3031
|
+
...(input.badgeEnabled != null && { badgeEnabled: input.badgeEnabled }),
|
|
3032
|
+
...(input.buildBatchConfig != null && {
|
|
3152
3033
|
buildBatchConfig: serializeAws_json1_1ProjectBuildBatchConfig(input.buildBatchConfig, context),
|
|
3153
3034
|
}),
|
|
3154
|
-
...(input.cache
|
|
3155
|
-
|
|
3156
|
-
...(input.
|
|
3157
|
-
|
|
3158
|
-
...(input.
|
|
3159
|
-
...(input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey }),
|
|
3160
|
-
...(input.environment !== undefined &&
|
|
3161
|
-
input.environment !== null && {
|
|
3035
|
+
...(input.cache != null && { cache: serializeAws_json1_1ProjectCache(input.cache, context) }),
|
|
3036
|
+
...(input.concurrentBuildLimit != null && { concurrentBuildLimit: input.concurrentBuildLimit }),
|
|
3037
|
+
...(input.description != null && { description: input.description }),
|
|
3038
|
+
...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
|
|
3039
|
+
...(input.environment != null && {
|
|
3162
3040
|
environment: serializeAws_json1_1ProjectEnvironment(input.environment, context),
|
|
3163
3041
|
}),
|
|
3164
|
-
...(input.fileSystemLocations
|
|
3165
|
-
input.fileSystemLocations !== null && {
|
|
3042
|
+
...(input.fileSystemLocations != null && {
|
|
3166
3043
|
fileSystemLocations: serializeAws_json1_1ProjectFileSystemLocations(input.fileSystemLocations, context),
|
|
3167
3044
|
}),
|
|
3168
|
-
...(input.logsConfig
|
|
3169
|
-
|
|
3170
|
-
...(input.
|
|
3171
|
-
...(input.
|
|
3172
|
-
input.queuedTimeoutInMinutes !== null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes }),
|
|
3173
|
-
...(input.secondaryArtifacts !== undefined &&
|
|
3174
|
-
input.secondaryArtifacts !== null && {
|
|
3045
|
+
...(input.logsConfig != null && { logsConfig: serializeAws_json1_1LogsConfig(input.logsConfig, context) }),
|
|
3046
|
+
...(input.name != null && { name: input.name }),
|
|
3047
|
+
...(input.queuedTimeoutInMinutes != null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes }),
|
|
3048
|
+
...(input.secondaryArtifacts != null && {
|
|
3175
3049
|
secondaryArtifacts: serializeAws_json1_1ProjectArtifactsList(input.secondaryArtifacts, context),
|
|
3176
3050
|
}),
|
|
3177
|
-
...(input.secondarySourceVersions
|
|
3178
|
-
input.secondarySourceVersions !== null && {
|
|
3051
|
+
...(input.secondarySourceVersions != null && {
|
|
3179
3052
|
secondarySourceVersions: serializeAws_json1_1ProjectSecondarySourceVersions(input.secondarySourceVersions, context),
|
|
3180
3053
|
}),
|
|
3181
|
-
...(input.secondarySources
|
|
3182
|
-
input.secondarySources !== null && {
|
|
3054
|
+
...(input.secondarySources != null && {
|
|
3183
3055
|
secondarySources: serializeAws_json1_1ProjectSources(input.secondarySources, context),
|
|
3184
3056
|
}),
|
|
3185
|
-
...(input.serviceRole
|
|
3186
|
-
...(input.source
|
|
3187
|
-
|
|
3188
|
-
...(input.
|
|
3189
|
-
...(input.
|
|
3190
|
-
...(input.
|
|
3191
|
-
input.timeoutInMinutes !== null && { timeoutInMinutes: input.timeoutInMinutes }),
|
|
3192
|
-
...(input.vpcConfig !== undefined &&
|
|
3193
|
-
input.vpcConfig !== null && { vpcConfig: serializeAws_json1_1VpcConfig(input.vpcConfig, context) }),
|
|
3057
|
+
...(input.serviceRole != null && { serviceRole: input.serviceRole }),
|
|
3058
|
+
...(input.source != null && { source: serializeAws_json1_1ProjectSource(input.source, context) }),
|
|
3059
|
+
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
3060
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
3061
|
+
...(input.timeoutInMinutes != null && { timeoutInMinutes: input.timeoutInMinutes }),
|
|
3062
|
+
...(input.vpcConfig != null && { vpcConfig: serializeAws_json1_1VpcConfig(input.vpcConfig, context) }),
|
|
3194
3063
|
};
|
|
3195
3064
|
};
|
|
3196
3065
|
const serializeAws_json1_1UpdateProjectVisibilityInput = (input, context) => {
|
|
3197
3066
|
return {
|
|
3198
|
-
...(input.projectArn
|
|
3199
|
-
...(input.projectVisibility
|
|
3200
|
-
|
|
3201
|
-
...(input.resourceAccessRole !== undefined &&
|
|
3202
|
-
input.resourceAccessRole !== null && { resourceAccessRole: input.resourceAccessRole }),
|
|
3067
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
3068
|
+
...(input.projectVisibility != null && { projectVisibility: input.projectVisibility }),
|
|
3069
|
+
...(input.resourceAccessRole != null && { resourceAccessRole: input.resourceAccessRole }),
|
|
3203
3070
|
};
|
|
3204
3071
|
};
|
|
3205
3072
|
const serializeAws_json1_1UpdateReportGroupInput = (input, context) => {
|
|
3206
3073
|
return {
|
|
3207
|
-
...(input.arn
|
|
3208
|
-
...(input.exportConfig
|
|
3209
|
-
input.exportConfig !== null && {
|
|
3074
|
+
...(input.arn != null && { arn: input.arn }),
|
|
3075
|
+
...(input.exportConfig != null && {
|
|
3210
3076
|
exportConfig: serializeAws_json1_1ReportExportConfig(input.exportConfig, context),
|
|
3211
3077
|
}),
|
|
3212
|
-
...(input.tags
|
|
3078
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
3213
3079
|
};
|
|
3214
3080
|
};
|
|
3215
3081
|
const serializeAws_json1_1UpdateWebhookInput = (input, context) => {
|
|
3216
3082
|
return {
|
|
3217
|
-
...(input.branchFilter
|
|
3218
|
-
...(input.buildType
|
|
3219
|
-
...(input.filterGroups
|
|
3220
|
-
|
|
3221
|
-
...(input.
|
|
3222
|
-
...(input.rotateSecret !== undefined && input.rotateSecret !== null && { rotateSecret: input.rotateSecret }),
|
|
3083
|
+
...(input.branchFilter != null && { branchFilter: input.branchFilter }),
|
|
3084
|
+
...(input.buildType != null && { buildType: input.buildType }),
|
|
3085
|
+
...(input.filterGroups != null && { filterGroups: serializeAws_json1_1FilterGroups(input.filterGroups, context) }),
|
|
3086
|
+
...(input.projectName != null && { projectName: input.projectName }),
|
|
3087
|
+
...(input.rotateSecret != null && { rotateSecret: input.rotateSecret }),
|
|
3223
3088
|
};
|
|
3224
3089
|
};
|
|
3225
3090
|
const serializeAws_json1_1VpcConfig = (input, context) => {
|
|
3226
3091
|
return {
|
|
3227
|
-
...(input.securityGroupIds
|
|
3228
|
-
input.securityGroupIds !== null && {
|
|
3092
|
+
...(input.securityGroupIds != null && {
|
|
3229
3093
|
securityGroupIds: serializeAws_json1_1SecurityGroupIds(input.securityGroupIds, context),
|
|
3230
3094
|
}),
|
|
3231
|
-
...(input.subnets
|
|
3232
|
-
|
|
3233
|
-
...(input.vpcId !== undefined && input.vpcId !== null && { vpcId: input.vpcId }),
|
|
3095
|
+
...(input.subnets != null && { subnets: serializeAws_json1_1Subnets(input.subnets, context) }),
|
|
3096
|
+
...(input.vpcId != null && { vpcId: input.vpcId }),
|
|
3234
3097
|
};
|
|
3235
3098
|
};
|
|
3236
3099
|
const serializeAws_json1_1WebhookFilter = (input, context) => {
|
|
3237
3100
|
return {
|
|
3238
|
-
...(input.excludeMatchedPattern
|
|
3239
|
-
|
|
3240
|
-
...(input.
|
|
3241
|
-
...(input.type !== undefined && input.type !== null && { type: input.type }),
|
|
3101
|
+
...(input.excludeMatchedPattern != null && { excludeMatchedPattern: input.excludeMatchedPattern }),
|
|
3102
|
+
...(input.pattern != null && { pattern: input.pattern }),
|
|
3103
|
+
...(input.type != null && { type: input.type }),
|
|
3242
3104
|
};
|
|
3243
3105
|
};
|
|
3244
3106
|
const deserializeAws_json1_1AccountLimitExceededException = (output, context) => {
|
|
@@ -3248,67 +3110,51 @@ const deserializeAws_json1_1AccountLimitExceededException = (output, context) =>
|
|
|
3248
3110
|
};
|
|
3249
3111
|
const deserializeAws_json1_1BatchDeleteBuildsOutput = (output, context) => {
|
|
3250
3112
|
return {
|
|
3251
|
-
buildsDeleted: output.buildsDeleted
|
|
3252
|
-
|
|
3253
|
-
: undefined,
|
|
3254
|
-
buildsNotDeleted: output.buildsNotDeleted !== undefined && output.buildsNotDeleted !== null
|
|
3113
|
+
buildsDeleted: output.buildsDeleted != null ? deserializeAws_json1_1BuildIds(output.buildsDeleted, context) : undefined,
|
|
3114
|
+
buildsNotDeleted: output.buildsNotDeleted != null
|
|
3255
3115
|
? deserializeAws_json1_1BuildsNotDeleted(output.buildsNotDeleted, context)
|
|
3256
3116
|
: undefined,
|
|
3257
3117
|
};
|
|
3258
3118
|
};
|
|
3259
3119
|
const deserializeAws_json1_1BatchGetBuildBatchesOutput = (output, context) => {
|
|
3260
3120
|
return {
|
|
3261
|
-
buildBatches: output.buildBatches
|
|
3262
|
-
|
|
3263
|
-
: undefined,
|
|
3264
|
-
buildBatchesNotFound: output.buildBatchesNotFound !== undefined && output.buildBatchesNotFound !== null
|
|
3121
|
+
buildBatches: output.buildBatches != null ? deserializeAws_json1_1BuildBatches(output.buildBatches, context) : undefined,
|
|
3122
|
+
buildBatchesNotFound: output.buildBatchesNotFound != null
|
|
3265
3123
|
? deserializeAws_json1_1BuildBatchIds(output.buildBatchesNotFound, context)
|
|
3266
3124
|
: undefined,
|
|
3267
3125
|
};
|
|
3268
3126
|
};
|
|
3269
3127
|
const deserializeAws_json1_1BatchGetBuildsOutput = (output, context) => {
|
|
3270
3128
|
return {
|
|
3271
|
-
builds: output.builds
|
|
3272
|
-
|
|
3273
|
-
: undefined,
|
|
3274
|
-
buildsNotFound: output.buildsNotFound !== undefined && output.buildsNotFound !== null
|
|
3275
|
-
? deserializeAws_json1_1BuildIds(output.buildsNotFound, context)
|
|
3276
|
-
: undefined,
|
|
3129
|
+
builds: output.builds != null ? deserializeAws_json1_1Builds(output.builds, context) : undefined,
|
|
3130
|
+
buildsNotFound: output.buildsNotFound != null ? deserializeAws_json1_1BuildIds(output.buildsNotFound, context) : undefined,
|
|
3277
3131
|
};
|
|
3278
3132
|
};
|
|
3279
3133
|
const deserializeAws_json1_1BatchGetProjectsOutput = (output, context) => {
|
|
3280
3134
|
return {
|
|
3281
|
-
projects: output.projects
|
|
3282
|
-
|
|
3283
|
-
: undefined,
|
|
3284
|
-
projectsNotFound: output.projectsNotFound !== undefined && output.projectsNotFound !== null
|
|
3135
|
+
projects: output.projects != null ? deserializeAws_json1_1Projects(output.projects, context) : undefined,
|
|
3136
|
+
projectsNotFound: output.projectsNotFound != null
|
|
3285
3137
|
? deserializeAws_json1_1ProjectNames(output.projectsNotFound, context)
|
|
3286
3138
|
: undefined,
|
|
3287
3139
|
};
|
|
3288
3140
|
};
|
|
3289
3141
|
const deserializeAws_json1_1BatchGetReportGroupsOutput = (output, context) => {
|
|
3290
3142
|
return {
|
|
3291
|
-
reportGroups: output.reportGroups
|
|
3292
|
-
|
|
3293
|
-
: undefined,
|
|
3294
|
-
reportGroupsNotFound: output.reportGroupsNotFound !== undefined && output.reportGroupsNotFound !== null
|
|
3143
|
+
reportGroups: output.reportGroups != null ? deserializeAws_json1_1ReportGroups(output.reportGroups, context) : undefined,
|
|
3144
|
+
reportGroupsNotFound: output.reportGroupsNotFound != null
|
|
3295
3145
|
? deserializeAws_json1_1ReportGroupArns(output.reportGroupsNotFound, context)
|
|
3296
3146
|
: undefined,
|
|
3297
3147
|
};
|
|
3298
3148
|
};
|
|
3299
3149
|
const deserializeAws_json1_1BatchGetReportsOutput = (output, context) => {
|
|
3300
3150
|
return {
|
|
3301
|
-
reports: output.reports
|
|
3302
|
-
|
|
3303
|
-
: undefined,
|
|
3304
|
-
reportsNotFound: output.reportsNotFound !== undefined && output.reportsNotFound !== null
|
|
3305
|
-
? deserializeAws_json1_1ReportArns(output.reportsNotFound, context)
|
|
3306
|
-
: undefined,
|
|
3151
|
+
reports: output.reports != null ? deserializeAws_json1_1Reports(output.reports, context) : undefined,
|
|
3152
|
+
reportsNotFound: output.reportsNotFound != null ? deserializeAws_json1_1ReportArns(output.reportsNotFound, context) : undefined,
|
|
3307
3153
|
};
|
|
3308
3154
|
};
|
|
3309
3155
|
const deserializeAws_json1_1BatchRestrictions = (output, context) => {
|
|
3310
3156
|
return {
|
|
3311
|
-
computeTypesAllowed: output.computeTypesAllowed
|
|
3157
|
+
computeTypesAllowed: output.computeTypesAllowed != null
|
|
3312
3158
|
? deserializeAws_json1_1ComputeTypesAllowed(output.computeTypesAllowed, context)
|
|
3313
3159
|
: undefined,
|
|
3314
3160
|
maximumBuildsAllowed: (0, smithy_client_1.expectInt32)(output.maximumBuildsAllowed),
|
|
@@ -3317,71 +3163,49 @@ const deserializeAws_json1_1BatchRestrictions = (output, context) => {
|
|
|
3317
3163
|
const deserializeAws_json1_1Build = (output, context) => {
|
|
3318
3164
|
return {
|
|
3319
3165
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3320
|
-
artifacts: output.artifacts
|
|
3321
|
-
? deserializeAws_json1_1BuildArtifacts(output.artifacts, context)
|
|
3322
|
-
: undefined,
|
|
3166
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1BuildArtifacts(output.artifacts, context) : undefined,
|
|
3323
3167
|
buildBatchArn: (0, smithy_client_1.expectString)(output.buildBatchArn),
|
|
3324
3168
|
buildComplete: (0, smithy_client_1.expectBoolean)(output.buildComplete),
|
|
3325
3169
|
buildNumber: (0, smithy_client_1.expectLong)(output.buildNumber),
|
|
3326
3170
|
buildStatus: (0, smithy_client_1.expectString)(output.buildStatus),
|
|
3327
|
-
cache: output.cache
|
|
3328
|
-
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
3329
|
-
: undefined,
|
|
3171
|
+
cache: output.cache != null ? deserializeAws_json1_1ProjectCache(output.cache, context) : undefined,
|
|
3330
3172
|
currentPhase: (0, smithy_client_1.expectString)(output.currentPhase),
|
|
3331
|
-
debugSession: output.debugSession
|
|
3332
|
-
? deserializeAws_json1_1DebugSession(output.debugSession, context)
|
|
3333
|
-
: undefined,
|
|
3173
|
+
debugSession: output.debugSession != null ? deserializeAws_json1_1DebugSession(output.debugSession, context) : undefined,
|
|
3334
3174
|
encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
|
|
3335
|
-
endTime: output.endTime
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
environment: output.environment !== undefined && output.environment !== null
|
|
3339
|
-
? deserializeAws_json1_1ProjectEnvironment(output.environment, context)
|
|
3340
|
-
: undefined,
|
|
3341
|
-
exportedEnvironmentVariables: output.exportedEnvironmentVariables !== undefined && output.exportedEnvironmentVariables !== null
|
|
3175
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
3176
|
+
environment: output.environment != null ? deserializeAws_json1_1ProjectEnvironment(output.environment, context) : undefined,
|
|
3177
|
+
exportedEnvironmentVariables: output.exportedEnvironmentVariables != null
|
|
3342
3178
|
? deserializeAws_json1_1ExportedEnvironmentVariables(output.exportedEnvironmentVariables, context)
|
|
3343
3179
|
: undefined,
|
|
3344
|
-
fileSystemLocations: output.fileSystemLocations
|
|
3180
|
+
fileSystemLocations: output.fileSystemLocations != null
|
|
3345
3181
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
3346
3182
|
: undefined,
|
|
3347
3183
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
3348
3184
|
initiator: (0, smithy_client_1.expectString)(output.initiator),
|
|
3349
|
-
logs: output.logs
|
|
3350
|
-
|
|
3351
|
-
: undefined,
|
|
3352
|
-
networkInterface: output.networkInterface !== undefined && output.networkInterface !== null
|
|
3185
|
+
logs: output.logs != null ? deserializeAws_json1_1LogsLocation(output.logs, context) : undefined,
|
|
3186
|
+
networkInterface: output.networkInterface != null
|
|
3353
3187
|
? deserializeAws_json1_1NetworkInterface(output.networkInterface, context)
|
|
3354
3188
|
: undefined,
|
|
3355
|
-
phases: output.phases
|
|
3356
|
-
? deserializeAws_json1_1BuildPhases(output.phases, context)
|
|
3357
|
-
: undefined,
|
|
3189
|
+
phases: output.phases != null ? deserializeAws_json1_1BuildPhases(output.phases, context) : undefined,
|
|
3358
3190
|
projectName: (0, smithy_client_1.expectString)(output.projectName),
|
|
3359
3191
|
queuedTimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.queuedTimeoutInMinutes),
|
|
3360
|
-
reportArns: output.reportArns
|
|
3361
|
-
? deserializeAws_json1_1BuildReportArns(output.reportArns, context)
|
|
3362
|
-
: undefined,
|
|
3192
|
+
reportArns: output.reportArns != null ? deserializeAws_json1_1BuildReportArns(output.reportArns, context) : undefined,
|
|
3363
3193
|
resolvedSourceVersion: (0, smithy_client_1.expectString)(output.resolvedSourceVersion),
|
|
3364
|
-
secondaryArtifacts: output.secondaryArtifacts
|
|
3194
|
+
secondaryArtifacts: output.secondaryArtifacts != null
|
|
3365
3195
|
? deserializeAws_json1_1BuildArtifactsList(output.secondaryArtifacts, context)
|
|
3366
3196
|
: undefined,
|
|
3367
|
-
secondarySourceVersions: output.secondarySourceVersions
|
|
3197
|
+
secondarySourceVersions: output.secondarySourceVersions != null
|
|
3368
3198
|
? deserializeAws_json1_1ProjectSecondarySourceVersions(output.secondarySourceVersions, context)
|
|
3369
3199
|
: undefined,
|
|
3370
|
-
secondarySources: output.secondarySources
|
|
3200
|
+
secondarySources: output.secondarySources != null
|
|
3371
3201
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
3372
3202
|
: undefined,
|
|
3373
3203
|
serviceRole: (0, smithy_client_1.expectString)(output.serviceRole),
|
|
3374
|
-
source: output.source
|
|
3375
|
-
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
3376
|
-
: undefined,
|
|
3204
|
+
source: output.source != null ? deserializeAws_json1_1ProjectSource(output.source, context) : undefined,
|
|
3377
3205
|
sourceVersion: (0, smithy_client_1.expectString)(output.sourceVersion),
|
|
3378
|
-
startTime: output.startTime
|
|
3379
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
3380
|
-
: undefined,
|
|
3206
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
3381
3207
|
timeoutInMinutes: (0, smithy_client_1.expectInt32)(output.timeoutInMinutes),
|
|
3382
|
-
vpcConfig: output.vpcConfig
|
|
3383
|
-
? deserializeAws_json1_1VpcConfig(output.vpcConfig, context)
|
|
3384
|
-
: undefined,
|
|
3208
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_json1_1VpcConfig(output.vpcConfig, context) : undefined,
|
|
3385
3209
|
};
|
|
3386
3210
|
};
|
|
3387
3211
|
const deserializeAws_json1_1BuildArtifacts = (output, context) => {
|
|
@@ -3409,65 +3233,45 @@ const deserializeAws_json1_1BuildArtifactsList = (output, context) => {
|
|
|
3409
3233
|
const deserializeAws_json1_1BuildBatch = (output, context) => {
|
|
3410
3234
|
return {
|
|
3411
3235
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3412
|
-
artifacts: output.artifacts
|
|
3413
|
-
|
|
3414
|
-
: undefined,
|
|
3415
|
-
buildBatchConfig: output.buildBatchConfig !== undefined && output.buildBatchConfig !== null
|
|
3236
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1BuildArtifacts(output.artifacts, context) : undefined,
|
|
3237
|
+
buildBatchConfig: output.buildBatchConfig != null
|
|
3416
3238
|
? deserializeAws_json1_1ProjectBuildBatchConfig(output.buildBatchConfig, context)
|
|
3417
3239
|
: undefined,
|
|
3418
3240
|
buildBatchNumber: (0, smithy_client_1.expectLong)(output.buildBatchNumber),
|
|
3419
3241
|
buildBatchStatus: (0, smithy_client_1.expectString)(output.buildBatchStatus),
|
|
3420
|
-
buildGroups: output.buildGroups
|
|
3421
|
-
? deserializeAws_json1_1BuildGroups(output.buildGroups, context)
|
|
3422
|
-
: undefined,
|
|
3242
|
+
buildGroups: output.buildGroups != null ? deserializeAws_json1_1BuildGroups(output.buildGroups, context) : undefined,
|
|
3423
3243
|
buildTimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.buildTimeoutInMinutes),
|
|
3424
|
-
cache: output.cache
|
|
3425
|
-
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
3426
|
-
: undefined,
|
|
3244
|
+
cache: output.cache != null ? deserializeAws_json1_1ProjectCache(output.cache, context) : undefined,
|
|
3427
3245
|
complete: (0, smithy_client_1.expectBoolean)(output.complete),
|
|
3428
3246
|
currentPhase: (0, smithy_client_1.expectString)(output.currentPhase),
|
|
3429
3247
|
debugSessionEnabled: (0, smithy_client_1.expectBoolean)(output.debugSessionEnabled),
|
|
3430
3248
|
encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
|
|
3431
|
-
endTime: output.endTime
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
environment: output.environment !== undefined && output.environment !== null
|
|
3435
|
-
? deserializeAws_json1_1ProjectEnvironment(output.environment, context)
|
|
3436
|
-
: undefined,
|
|
3437
|
-
fileSystemLocations: output.fileSystemLocations !== undefined && output.fileSystemLocations !== null
|
|
3249
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
3250
|
+
environment: output.environment != null ? deserializeAws_json1_1ProjectEnvironment(output.environment, context) : undefined,
|
|
3251
|
+
fileSystemLocations: output.fileSystemLocations != null
|
|
3438
3252
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
3439
3253
|
: undefined,
|
|
3440
3254
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
3441
3255
|
initiator: (0, smithy_client_1.expectString)(output.initiator),
|
|
3442
|
-
logConfig: output.logConfig
|
|
3443
|
-
|
|
3444
|
-
: undefined,
|
|
3445
|
-
phases: output.phases !== undefined && output.phases !== null
|
|
3446
|
-
? deserializeAws_json1_1BuildBatchPhases(output.phases, context)
|
|
3447
|
-
: undefined,
|
|
3256
|
+
logConfig: output.logConfig != null ? deserializeAws_json1_1LogsConfig(output.logConfig, context) : undefined,
|
|
3257
|
+
phases: output.phases != null ? deserializeAws_json1_1BuildBatchPhases(output.phases, context) : undefined,
|
|
3448
3258
|
projectName: (0, smithy_client_1.expectString)(output.projectName),
|
|
3449
3259
|
queuedTimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.queuedTimeoutInMinutes),
|
|
3450
3260
|
resolvedSourceVersion: (0, smithy_client_1.expectString)(output.resolvedSourceVersion),
|
|
3451
|
-
secondaryArtifacts: output.secondaryArtifacts
|
|
3261
|
+
secondaryArtifacts: output.secondaryArtifacts != null
|
|
3452
3262
|
? deserializeAws_json1_1BuildArtifactsList(output.secondaryArtifacts, context)
|
|
3453
3263
|
: undefined,
|
|
3454
|
-
secondarySourceVersions: output.secondarySourceVersions
|
|
3264
|
+
secondarySourceVersions: output.secondarySourceVersions != null
|
|
3455
3265
|
? deserializeAws_json1_1ProjectSecondarySourceVersions(output.secondarySourceVersions, context)
|
|
3456
3266
|
: undefined,
|
|
3457
|
-
secondarySources: output.secondarySources
|
|
3267
|
+
secondarySources: output.secondarySources != null
|
|
3458
3268
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
3459
3269
|
: undefined,
|
|
3460
3270
|
serviceRole: (0, smithy_client_1.expectString)(output.serviceRole),
|
|
3461
|
-
source: output.source
|
|
3462
|
-
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
3463
|
-
: undefined,
|
|
3271
|
+
source: output.source != null ? deserializeAws_json1_1ProjectSource(output.source, context) : undefined,
|
|
3464
3272
|
sourceVersion: (0, smithy_client_1.expectString)(output.sourceVersion),
|
|
3465
|
-
startTime: output.startTime
|
|
3466
|
-
|
|
3467
|
-
: undefined,
|
|
3468
|
-
vpcConfig: output.vpcConfig !== undefined && output.vpcConfig !== null
|
|
3469
|
-
? deserializeAws_json1_1VpcConfig(output.vpcConfig, context)
|
|
3470
|
-
: undefined,
|
|
3273
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
3274
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_json1_1VpcConfig(output.vpcConfig, context) : undefined,
|
|
3471
3275
|
};
|
|
3472
3276
|
};
|
|
3473
3277
|
const deserializeAws_json1_1BuildBatches = (output, context) => {
|
|
@@ -3494,18 +3298,12 @@ const deserializeAws_json1_1BuildBatchIds = (output, context) => {
|
|
|
3494
3298
|
};
|
|
3495
3299
|
const deserializeAws_json1_1BuildBatchPhase = (output, context) => {
|
|
3496
3300
|
return {
|
|
3497
|
-
contexts: output.contexts
|
|
3498
|
-
? deserializeAws_json1_1PhaseContexts(output.contexts, context)
|
|
3499
|
-
: undefined,
|
|
3301
|
+
contexts: output.contexts != null ? deserializeAws_json1_1PhaseContexts(output.contexts, context) : undefined,
|
|
3500
3302
|
durationInSeconds: (0, smithy_client_1.expectLong)(output.durationInSeconds),
|
|
3501
|
-
endTime: output.endTime
|
|
3502
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
3503
|
-
: undefined,
|
|
3303
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
3504
3304
|
phaseStatus: (0, smithy_client_1.expectString)(output.phaseStatus),
|
|
3505
3305
|
phaseType: (0, smithy_client_1.expectString)(output.phaseType),
|
|
3506
|
-
startTime: output.startTime
|
|
3507
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
3508
|
-
: undefined,
|
|
3306
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
3509
3307
|
};
|
|
3510
3308
|
};
|
|
3511
3309
|
const deserializeAws_json1_1BuildBatchPhases = (output, context) => {
|
|
@@ -3521,15 +3319,13 @@ const deserializeAws_json1_1BuildBatchPhases = (output, context) => {
|
|
|
3521
3319
|
};
|
|
3522
3320
|
const deserializeAws_json1_1BuildGroup = (output, context) => {
|
|
3523
3321
|
return {
|
|
3524
|
-
currentBuildSummary: output.currentBuildSummary
|
|
3322
|
+
currentBuildSummary: output.currentBuildSummary != null
|
|
3525
3323
|
? deserializeAws_json1_1BuildSummary(output.currentBuildSummary, context)
|
|
3526
3324
|
: undefined,
|
|
3527
|
-
dependsOn: output.dependsOn
|
|
3528
|
-
? deserializeAws_json1_1Identifiers(output.dependsOn, context)
|
|
3529
|
-
: undefined,
|
|
3325
|
+
dependsOn: output.dependsOn != null ? deserializeAws_json1_1Identifiers(output.dependsOn, context) : undefined,
|
|
3530
3326
|
identifier: (0, smithy_client_1.expectString)(output.identifier),
|
|
3531
3327
|
ignoreFailure: (0, smithy_client_1.expectBoolean)(output.ignoreFailure),
|
|
3532
|
-
priorBuildSummaryList: output.priorBuildSummaryList
|
|
3328
|
+
priorBuildSummaryList: output.priorBuildSummaryList != null
|
|
3533
3329
|
? deserializeAws_json1_1BuildSummaries(output.priorBuildSummaryList, context)
|
|
3534
3330
|
: undefined,
|
|
3535
3331
|
};
|
|
@@ -3564,18 +3360,12 @@ const deserializeAws_json1_1BuildNotDeleted = (output, context) => {
|
|
|
3564
3360
|
};
|
|
3565
3361
|
const deserializeAws_json1_1BuildPhase = (output, context) => {
|
|
3566
3362
|
return {
|
|
3567
|
-
contexts: output.contexts
|
|
3568
|
-
? deserializeAws_json1_1PhaseContexts(output.contexts, context)
|
|
3569
|
-
: undefined,
|
|
3363
|
+
contexts: output.contexts != null ? deserializeAws_json1_1PhaseContexts(output.contexts, context) : undefined,
|
|
3570
3364
|
durationInSeconds: (0, smithy_client_1.expectLong)(output.durationInSeconds),
|
|
3571
|
-
endTime: output.endTime
|
|
3572
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
3573
|
-
: undefined,
|
|
3365
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
3574
3366
|
phaseStatus: (0, smithy_client_1.expectString)(output.phaseStatus),
|
|
3575
3367
|
phaseType: (0, smithy_client_1.expectString)(output.phaseType),
|
|
3576
|
-
startTime: output.startTime
|
|
3577
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
3578
|
-
: undefined,
|
|
3368
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
3579
3369
|
};
|
|
3580
3370
|
};
|
|
3581
3371
|
const deserializeAws_json1_1BuildPhases = (output, context) => {
|
|
@@ -3643,13 +3433,13 @@ const deserializeAws_json1_1BuildSummary = (output, context) => {
|
|
|
3643
3433
|
return {
|
|
3644
3434
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3645
3435
|
buildStatus: (0, smithy_client_1.expectString)(output.buildStatus),
|
|
3646
|
-
primaryArtifact: output.primaryArtifact
|
|
3436
|
+
primaryArtifact: output.primaryArtifact != null
|
|
3647
3437
|
? deserializeAws_json1_1ResolvedArtifact(output.primaryArtifact, context)
|
|
3648
3438
|
: undefined,
|
|
3649
|
-
requestedOn: output.requestedOn
|
|
3439
|
+
requestedOn: output.requestedOn != null
|
|
3650
3440
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.requestedOn)))
|
|
3651
3441
|
: undefined,
|
|
3652
|
-
secondaryArtifacts: output.secondaryArtifacts
|
|
3442
|
+
secondaryArtifacts: output.secondaryArtifacts != null
|
|
3653
3443
|
? deserializeAws_json1_1ResolvedSecondaryArtifacts(output.secondaryArtifacts, context)
|
|
3654
3444
|
: undefined,
|
|
3655
3445
|
};
|
|
@@ -3666,9 +3456,7 @@ const deserializeAws_json1_1CodeCoverage = (output, context) => {
|
|
|
3666
3456
|
branchCoveragePercentage: (0, smithy_client_1.limitedParseDouble)(output.branchCoveragePercentage),
|
|
3667
3457
|
branchesCovered: (0, smithy_client_1.expectInt32)(output.branchesCovered),
|
|
3668
3458
|
branchesMissed: (0, smithy_client_1.expectInt32)(output.branchesMissed),
|
|
3669
|
-
expired: output.expired
|
|
3670
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expired)))
|
|
3671
|
-
: undefined,
|
|
3459
|
+
expired: output.expired != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expired))) : undefined,
|
|
3672
3460
|
filePath: (0, smithy_client_1.expectString)(output.filePath),
|
|
3673
3461
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
3674
3462
|
lineCoveragePercentage: (0, smithy_client_1.limitedParseDouble)(output.lineCoveragePercentage),
|
|
@@ -3711,23 +3499,17 @@ const deserializeAws_json1_1ComputeTypesAllowed = (output, context) => {
|
|
|
3711
3499
|
};
|
|
3712
3500
|
const deserializeAws_json1_1CreateProjectOutput = (output, context) => {
|
|
3713
3501
|
return {
|
|
3714
|
-
project: output.project
|
|
3715
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
3716
|
-
: undefined,
|
|
3502
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
3717
3503
|
};
|
|
3718
3504
|
};
|
|
3719
3505
|
const deserializeAws_json1_1CreateReportGroupOutput = (output, context) => {
|
|
3720
3506
|
return {
|
|
3721
|
-
reportGroup: output.reportGroup
|
|
3722
|
-
? deserializeAws_json1_1ReportGroup(output.reportGroup, context)
|
|
3723
|
-
: undefined,
|
|
3507
|
+
reportGroup: output.reportGroup != null ? deserializeAws_json1_1ReportGroup(output.reportGroup, context) : undefined,
|
|
3724
3508
|
};
|
|
3725
3509
|
};
|
|
3726
3510
|
const deserializeAws_json1_1CreateWebhookOutput = (output, context) => {
|
|
3727
3511
|
return {
|
|
3728
|
-
webhook: output.webhook
|
|
3729
|
-
? deserializeAws_json1_1Webhook(output.webhook, context)
|
|
3730
|
-
: undefined,
|
|
3512
|
+
webhook: output.webhook != null ? deserializeAws_json1_1Webhook(output.webhook, context) : undefined,
|
|
3731
3513
|
};
|
|
3732
3514
|
};
|
|
3733
3515
|
const deserializeAws_json1_1DebugSession = (output, context) => {
|
|
@@ -3738,10 +3520,8 @@ const deserializeAws_json1_1DebugSession = (output, context) => {
|
|
|
3738
3520
|
};
|
|
3739
3521
|
const deserializeAws_json1_1DeleteBuildBatchOutput = (output, context) => {
|
|
3740
3522
|
return {
|
|
3741
|
-
buildsDeleted: output.buildsDeleted
|
|
3742
|
-
|
|
3743
|
-
: undefined,
|
|
3744
|
-
buildsNotDeleted: output.buildsNotDeleted !== undefined && output.buildsNotDeleted !== null
|
|
3523
|
+
buildsDeleted: output.buildsDeleted != null ? deserializeAws_json1_1BuildIds(output.buildsDeleted, context) : undefined,
|
|
3524
|
+
buildsNotDeleted: output.buildsNotDeleted != null
|
|
3745
3525
|
? deserializeAws_json1_1BuildsNotDeleted(output.buildsNotDeleted, context)
|
|
3746
3526
|
: undefined,
|
|
3747
3527
|
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
@@ -3769,27 +3549,21 @@ const deserializeAws_json1_1DeleteWebhookOutput = (output, context) => {
|
|
|
3769
3549
|
};
|
|
3770
3550
|
const deserializeAws_json1_1DescribeCodeCoveragesOutput = (output, context) => {
|
|
3771
3551
|
return {
|
|
3772
|
-
codeCoverages: output.codeCoverages
|
|
3773
|
-
? deserializeAws_json1_1CodeCoverages(output.codeCoverages, context)
|
|
3774
|
-
: undefined,
|
|
3552
|
+
codeCoverages: output.codeCoverages != null ? deserializeAws_json1_1CodeCoverages(output.codeCoverages, context) : undefined,
|
|
3775
3553
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3776
3554
|
};
|
|
3777
3555
|
};
|
|
3778
3556
|
const deserializeAws_json1_1DescribeTestCasesOutput = (output, context) => {
|
|
3779
3557
|
return {
|
|
3780
3558
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3781
|
-
testCases: output.testCases
|
|
3782
|
-
? deserializeAws_json1_1TestCases(output.testCases, context)
|
|
3783
|
-
: undefined,
|
|
3559
|
+
testCases: output.testCases != null ? deserializeAws_json1_1TestCases(output.testCases, context) : undefined,
|
|
3784
3560
|
};
|
|
3785
3561
|
};
|
|
3786
3562
|
const deserializeAws_json1_1EnvironmentImage = (output, context) => {
|
|
3787
3563
|
return {
|
|
3788
3564
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
3789
3565
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
3790
|
-
versions: output.versions
|
|
3791
|
-
? deserializeAws_json1_1ImageVersions(output.versions, context)
|
|
3792
|
-
: undefined,
|
|
3566
|
+
versions: output.versions != null ? deserializeAws_json1_1ImageVersions(output.versions, context) : undefined,
|
|
3793
3567
|
};
|
|
3794
3568
|
};
|
|
3795
3569
|
const deserializeAws_json1_1EnvironmentImages = (output, context) => {
|
|
@@ -3805,9 +3579,7 @@ const deserializeAws_json1_1EnvironmentImages = (output, context) => {
|
|
|
3805
3579
|
};
|
|
3806
3580
|
const deserializeAws_json1_1EnvironmentLanguage = (output, context) => {
|
|
3807
3581
|
return {
|
|
3808
|
-
images: output.images
|
|
3809
|
-
? deserializeAws_json1_1EnvironmentImages(output.images, context)
|
|
3810
|
-
: undefined,
|
|
3582
|
+
images: output.images != null ? deserializeAws_json1_1EnvironmentImages(output.images, context) : undefined,
|
|
3811
3583
|
language: (0, smithy_client_1.expectString)(output.language),
|
|
3812
3584
|
};
|
|
3813
3585
|
};
|
|
@@ -3824,9 +3596,7 @@ const deserializeAws_json1_1EnvironmentLanguages = (output, context) => {
|
|
|
3824
3596
|
};
|
|
3825
3597
|
const deserializeAws_json1_1EnvironmentPlatform = (output, context) => {
|
|
3826
3598
|
return {
|
|
3827
|
-
languages: output.languages
|
|
3828
|
-
? deserializeAws_json1_1EnvironmentLanguages(output.languages, context)
|
|
3829
|
-
: undefined,
|
|
3599
|
+
languages: output.languages != null ? deserializeAws_json1_1EnvironmentLanguages(output.languages, context) : undefined,
|
|
3830
3600
|
platform: (0, smithy_client_1.expectString)(output.platform),
|
|
3831
3601
|
};
|
|
3832
3602
|
};
|
|
@@ -3900,12 +3670,8 @@ const deserializeAws_json1_1FilterGroups = (output, context) => {
|
|
|
3900
3670
|
};
|
|
3901
3671
|
const deserializeAws_json1_1GetReportGroupTrendOutput = (output, context) => {
|
|
3902
3672
|
return {
|
|
3903
|
-
rawData: output.rawData
|
|
3904
|
-
|
|
3905
|
-
: undefined,
|
|
3906
|
-
stats: output.stats !== undefined && output.stats !== null
|
|
3907
|
-
? deserializeAws_json1_1ReportGroupTrendStats(output.stats, context)
|
|
3908
|
-
: undefined,
|
|
3673
|
+
rawData: output.rawData != null ? deserializeAws_json1_1ReportGroupTrendRawDataList(output.rawData, context) : undefined,
|
|
3674
|
+
stats: output.stats != null ? deserializeAws_json1_1ReportGroupTrendStats(output.stats, context) : undefined,
|
|
3909
3675
|
};
|
|
3910
3676
|
};
|
|
3911
3677
|
const deserializeAws_json1_1GetResourcePolicyOutput = (output, context) => {
|
|
@@ -3955,116 +3721,94 @@ const deserializeAws_json1_1InvalidInputException = (output, context) => {
|
|
|
3955
3721
|
};
|
|
3956
3722
|
const deserializeAws_json1_1ListBuildBatchesForProjectOutput = (output, context) => {
|
|
3957
3723
|
return {
|
|
3958
|
-
ids: output.ids
|
|
3959
|
-
? deserializeAws_json1_1BuildBatchIds(output.ids, context)
|
|
3960
|
-
: undefined,
|
|
3724
|
+
ids: output.ids != null ? deserializeAws_json1_1BuildBatchIds(output.ids, context) : undefined,
|
|
3961
3725
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3962
3726
|
};
|
|
3963
3727
|
};
|
|
3964
3728
|
const deserializeAws_json1_1ListBuildBatchesOutput = (output, context) => {
|
|
3965
3729
|
return {
|
|
3966
|
-
ids: output.ids
|
|
3967
|
-
? deserializeAws_json1_1BuildBatchIds(output.ids, context)
|
|
3968
|
-
: undefined,
|
|
3730
|
+
ids: output.ids != null ? deserializeAws_json1_1BuildBatchIds(output.ids, context) : undefined,
|
|
3969
3731
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3970
3732
|
};
|
|
3971
3733
|
};
|
|
3972
3734
|
const deserializeAws_json1_1ListBuildsForProjectOutput = (output, context) => {
|
|
3973
3735
|
return {
|
|
3974
|
-
ids: output.ids
|
|
3736
|
+
ids: output.ids != null ? deserializeAws_json1_1BuildIds(output.ids, context) : undefined,
|
|
3975
3737
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3976
3738
|
};
|
|
3977
3739
|
};
|
|
3978
3740
|
const deserializeAws_json1_1ListBuildsOutput = (output, context) => {
|
|
3979
3741
|
return {
|
|
3980
|
-
ids: output.ids
|
|
3742
|
+
ids: output.ids != null ? deserializeAws_json1_1BuildIds(output.ids, context) : undefined,
|
|
3981
3743
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3982
3744
|
};
|
|
3983
3745
|
};
|
|
3984
3746
|
const deserializeAws_json1_1ListCuratedEnvironmentImagesOutput = (output, context) => {
|
|
3985
3747
|
return {
|
|
3986
|
-
platforms: output.platforms
|
|
3987
|
-
? deserializeAws_json1_1EnvironmentPlatforms(output.platforms, context)
|
|
3988
|
-
: undefined,
|
|
3748
|
+
platforms: output.platforms != null ? deserializeAws_json1_1EnvironmentPlatforms(output.platforms, context) : undefined,
|
|
3989
3749
|
};
|
|
3990
3750
|
};
|
|
3991
3751
|
const deserializeAws_json1_1ListProjectsOutput = (output, context) => {
|
|
3992
3752
|
return {
|
|
3993
3753
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3994
|
-
projects: output.projects
|
|
3995
|
-
? deserializeAws_json1_1ProjectNames(output.projects, context)
|
|
3996
|
-
: undefined,
|
|
3754
|
+
projects: output.projects != null ? deserializeAws_json1_1ProjectNames(output.projects, context) : undefined,
|
|
3997
3755
|
};
|
|
3998
3756
|
};
|
|
3999
3757
|
const deserializeAws_json1_1ListReportGroupsOutput = (output, context) => {
|
|
4000
3758
|
return {
|
|
4001
3759
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
4002
|
-
reportGroups: output.reportGroups
|
|
4003
|
-
? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context)
|
|
4004
|
-
: undefined,
|
|
3760
|
+
reportGroups: output.reportGroups != null ? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context) : undefined,
|
|
4005
3761
|
};
|
|
4006
3762
|
};
|
|
4007
3763
|
const deserializeAws_json1_1ListReportsForReportGroupOutput = (output, context) => {
|
|
4008
3764
|
return {
|
|
4009
3765
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
4010
|
-
reports: output.reports
|
|
4011
|
-
? deserializeAws_json1_1ReportArns(output.reports, context)
|
|
4012
|
-
: undefined,
|
|
3766
|
+
reports: output.reports != null ? deserializeAws_json1_1ReportArns(output.reports, context) : undefined,
|
|
4013
3767
|
};
|
|
4014
3768
|
};
|
|
4015
3769
|
const deserializeAws_json1_1ListReportsOutput = (output, context) => {
|
|
4016
3770
|
return {
|
|
4017
3771
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
4018
|
-
reports: output.reports
|
|
4019
|
-
? deserializeAws_json1_1ReportArns(output.reports, context)
|
|
4020
|
-
: undefined,
|
|
3772
|
+
reports: output.reports != null ? deserializeAws_json1_1ReportArns(output.reports, context) : undefined,
|
|
4021
3773
|
};
|
|
4022
3774
|
};
|
|
4023
3775
|
const deserializeAws_json1_1ListSharedProjectsOutput = (output, context) => {
|
|
4024
3776
|
return {
|
|
4025
3777
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
4026
|
-
projects: output.projects
|
|
4027
|
-
? deserializeAws_json1_1ProjectArns(output.projects, context)
|
|
4028
|
-
: undefined,
|
|
3778
|
+
projects: output.projects != null ? deserializeAws_json1_1ProjectArns(output.projects, context) : undefined,
|
|
4029
3779
|
};
|
|
4030
3780
|
};
|
|
4031
3781
|
const deserializeAws_json1_1ListSharedReportGroupsOutput = (output, context) => {
|
|
4032
3782
|
return {
|
|
4033
3783
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
4034
|
-
reportGroups: output.reportGroups
|
|
4035
|
-
? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context)
|
|
4036
|
-
: undefined,
|
|
3784
|
+
reportGroups: output.reportGroups != null ? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context) : undefined,
|
|
4037
3785
|
};
|
|
4038
3786
|
};
|
|
4039
3787
|
const deserializeAws_json1_1ListSourceCredentialsOutput = (output, context) => {
|
|
4040
3788
|
return {
|
|
4041
|
-
sourceCredentialsInfos: output.sourceCredentialsInfos
|
|
3789
|
+
sourceCredentialsInfos: output.sourceCredentialsInfos != null
|
|
4042
3790
|
? deserializeAws_json1_1SourceCredentialsInfos(output.sourceCredentialsInfos, context)
|
|
4043
3791
|
: undefined,
|
|
4044
3792
|
};
|
|
4045
3793
|
};
|
|
4046
3794
|
const deserializeAws_json1_1LogsConfig = (output, context) => {
|
|
4047
3795
|
return {
|
|
4048
|
-
cloudWatchLogs: output.cloudWatchLogs
|
|
3796
|
+
cloudWatchLogs: output.cloudWatchLogs != null
|
|
4049
3797
|
? deserializeAws_json1_1CloudWatchLogsConfig(output.cloudWatchLogs, context)
|
|
4050
3798
|
: undefined,
|
|
4051
|
-
s3Logs: output.s3Logs
|
|
4052
|
-
? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context)
|
|
4053
|
-
: undefined,
|
|
3799
|
+
s3Logs: output.s3Logs != null ? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context) : undefined,
|
|
4054
3800
|
};
|
|
4055
3801
|
};
|
|
4056
3802
|
const deserializeAws_json1_1LogsLocation = (output, context) => {
|
|
4057
3803
|
return {
|
|
4058
|
-
cloudWatchLogs: output.cloudWatchLogs
|
|
3804
|
+
cloudWatchLogs: output.cloudWatchLogs != null
|
|
4059
3805
|
? deserializeAws_json1_1CloudWatchLogsConfig(output.cloudWatchLogs, context)
|
|
4060
3806
|
: undefined,
|
|
4061
3807
|
cloudWatchLogsArn: (0, smithy_client_1.expectString)(output.cloudWatchLogsArn),
|
|
4062
3808
|
deepLink: (0, smithy_client_1.expectString)(output.deepLink),
|
|
4063
3809
|
groupName: (0, smithy_client_1.expectString)(output.groupName),
|
|
4064
3810
|
s3DeepLink: (0, smithy_client_1.expectString)(output.s3DeepLink),
|
|
4065
|
-
s3Logs: output.s3Logs
|
|
4066
|
-
? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context)
|
|
4067
|
-
: undefined,
|
|
3811
|
+
s3Logs: output.s3Logs != null ? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context) : undefined,
|
|
4068
3812
|
s3LogsArn: (0, smithy_client_1.expectString)(output.s3LogsArn),
|
|
4069
3813
|
streamName: (0, smithy_client_1.expectString)(output.streamName),
|
|
4070
3814
|
};
|
|
@@ -4100,65 +3844,45 @@ const deserializeAws_json1_1PhaseContexts = (output, context) => {
|
|
|
4100
3844
|
const deserializeAws_json1_1Project = (output, context) => {
|
|
4101
3845
|
return {
|
|
4102
3846
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4103
|
-
artifacts: output.artifacts
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
badge: output.badge !== undefined && output.badge !== null
|
|
4107
|
-
? deserializeAws_json1_1ProjectBadge(output.badge, context)
|
|
4108
|
-
: undefined,
|
|
4109
|
-
buildBatchConfig: output.buildBatchConfig !== undefined && output.buildBatchConfig !== null
|
|
3847
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1ProjectArtifacts(output.artifacts, context) : undefined,
|
|
3848
|
+
badge: output.badge != null ? deserializeAws_json1_1ProjectBadge(output.badge, context) : undefined,
|
|
3849
|
+
buildBatchConfig: output.buildBatchConfig != null
|
|
4110
3850
|
? deserializeAws_json1_1ProjectBuildBatchConfig(output.buildBatchConfig, context)
|
|
4111
3851
|
: undefined,
|
|
4112
|
-
cache: output.cache
|
|
4113
|
-
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
4114
|
-
: undefined,
|
|
3852
|
+
cache: output.cache != null ? deserializeAws_json1_1ProjectCache(output.cache, context) : undefined,
|
|
4115
3853
|
concurrentBuildLimit: (0, smithy_client_1.expectInt32)(output.concurrentBuildLimit),
|
|
4116
|
-
created: output.created
|
|
4117
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
4118
|
-
: undefined,
|
|
3854
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
4119
3855
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
4120
3856
|
encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
|
|
4121
|
-
environment: output.environment
|
|
4122
|
-
|
|
4123
|
-
: undefined,
|
|
4124
|
-
fileSystemLocations: output.fileSystemLocations !== undefined && output.fileSystemLocations !== null
|
|
3857
|
+
environment: output.environment != null ? deserializeAws_json1_1ProjectEnvironment(output.environment, context) : undefined,
|
|
3858
|
+
fileSystemLocations: output.fileSystemLocations != null
|
|
4125
3859
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
4126
3860
|
: undefined,
|
|
4127
|
-
lastModified: output.lastModified
|
|
3861
|
+
lastModified: output.lastModified != null
|
|
4128
3862
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModified)))
|
|
4129
3863
|
: undefined,
|
|
4130
|
-
logsConfig: output.logsConfig
|
|
4131
|
-
? deserializeAws_json1_1LogsConfig(output.logsConfig, context)
|
|
4132
|
-
: undefined,
|
|
3864
|
+
logsConfig: output.logsConfig != null ? deserializeAws_json1_1LogsConfig(output.logsConfig, context) : undefined,
|
|
4133
3865
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
4134
3866
|
projectVisibility: (0, smithy_client_1.expectString)(output.projectVisibility),
|
|
4135
3867
|
publicProjectAlias: (0, smithy_client_1.expectString)(output.publicProjectAlias),
|
|
4136
3868
|
queuedTimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.queuedTimeoutInMinutes),
|
|
4137
3869
|
resourceAccessRole: (0, smithy_client_1.expectString)(output.resourceAccessRole),
|
|
4138
|
-
secondaryArtifacts: output.secondaryArtifacts
|
|
3870
|
+
secondaryArtifacts: output.secondaryArtifacts != null
|
|
4139
3871
|
? deserializeAws_json1_1ProjectArtifactsList(output.secondaryArtifacts, context)
|
|
4140
3872
|
: undefined,
|
|
4141
|
-
secondarySourceVersions: output.secondarySourceVersions
|
|
3873
|
+
secondarySourceVersions: output.secondarySourceVersions != null
|
|
4142
3874
|
? deserializeAws_json1_1ProjectSecondarySourceVersions(output.secondarySourceVersions, context)
|
|
4143
3875
|
: undefined,
|
|
4144
|
-
secondarySources: output.secondarySources
|
|
3876
|
+
secondarySources: output.secondarySources != null
|
|
4145
3877
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
4146
3878
|
: undefined,
|
|
4147
3879
|
serviceRole: (0, smithy_client_1.expectString)(output.serviceRole),
|
|
4148
|
-
source: output.source
|
|
4149
|
-
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
4150
|
-
: undefined,
|
|
3880
|
+
source: output.source != null ? deserializeAws_json1_1ProjectSource(output.source, context) : undefined,
|
|
4151
3881
|
sourceVersion: (0, smithy_client_1.expectString)(output.sourceVersion),
|
|
4152
|
-
tags: output.tags
|
|
4153
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4154
|
-
: undefined,
|
|
3882
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
4155
3883
|
timeoutInMinutes: (0, smithy_client_1.expectInt32)(output.timeoutInMinutes),
|
|
4156
|
-
vpcConfig: output.vpcConfig
|
|
4157
|
-
|
|
4158
|
-
: undefined,
|
|
4159
|
-
webhook: output.webhook !== undefined && output.webhook !== null
|
|
4160
|
-
? deserializeAws_json1_1Webhook(output.webhook, context)
|
|
4161
|
-
: undefined,
|
|
3884
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_json1_1VpcConfig(output.vpcConfig, context) : undefined,
|
|
3885
|
+
webhook: output.webhook != null ? deserializeAws_json1_1Webhook(output.webhook, context) : undefined,
|
|
4162
3886
|
};
|
|
4163
3887
|
};
|
|
4164
3888
|
const deserializeAws_json1_1ProjectArns = (output, context) => {
|
|
@@ -4207,9 +3931,7 @@ const deserializeAws_json1_1ProjectBuildBatchConfig = (output, context) => {
|
|
|
4207
3931
|
return {
|
|
4208
3932
|
batchReportMode: (0, smithy_client_1.expectString)(output.batchReportMode),
|
|
4209
3933
|
combineArtifacts: (0, smithy_client_1.expectBoolean)(output.combineArtifacts),
|
|
4210
|
-
restrictions: output.restrictions
|
|
4211
|
-
? deserializeAws_json1_1BatchRestrictions(output.restrictions, context)
|
|
4212
|
-
: undefined,
|
|
3934
|
+
restrictions: output.restrictions != null ? deserializeAws_json1_1BatchRestrictions(output.restrictions, context) : undefined,
|
|
4213
3935
|
serviceRole: (0, smithy_client_1.expectString)(output.serviceRole),
|
|
4214
3936
|
timeoutInMins: (0, smithy_client_1.expectInt32)(output.timeoutInMins),
|
|
4215
3937
|
};
|
|
@@ -4217,9 +3939,7 @@ const deserializeAws_json1_1ProjectBuildBatchConfig = (output, context) => {
|
|
|
4217
3939
|
const deserializeAws_json1_1ProjectCache = (output, context) => {
|
|
4218
3940
|
return {
|
|
4219
3941
|
location: (0, smithy_client_1.expectString)(output.location),
|
|
4220
|
-
modes: output.modes
|
|
4221
|
-
? deserializeAws_json1_1ProjectCacheModes(output.modes, context)
|
|
4222
|
-
: undefined,
|
|
3942
|
+
modes: output.modes != null ? deserializeAws_json1_1ProjectCacheModes(output.modes, context) : undefined,
|
|
4223
3943
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
4224
3944
|
};
|
|
4225
3945
|
};
|
|
@@ -4238,13 +3958,13 @@ const deserializeAws_json1_1ProjectEnvironment = (output, context) => {
|
|
|
4238
3958
|
return {
|
|
4239
3959
|
certificate: (0, smithy_client_1.expectString)(output.certificate),
|
|
4240
3960
|
computeType: (0, smithy_client_1.expectString)(output.computeType),
|
|
4241
|
-
environmentVariables: output.environmentVariables
|
|
3961
|
+
environmentVariables: output.environmentVariables != null
|
|
4242
3962
|
? deserializeAws_json1_1EnvironmentVariables(output.environmentVariables, context)
|
|
4243
3963
|
: undefined,
|
|
4244
3964
|
image: (0, smithy_client_1.expectString)(output.image),
|
|
4245
3965
|
imagePullCredentialsType: (0, smithy_client_1.expectString)(output.imagePullCredentialsType),
|
|
4246
3966
|
privilegedMode: (0, smithy_client_1.expectBoolean)(output.privilegedMode),
|
|
4247
|
-
registryCredential: output.registryCredential
|
|
3967
|
+
registryCredential: output.registryCredential != null
|
|
4248
3968
|
? deserializeAws_json1_1RegistryCredential(output.registryCredential, context)
|
|
4249
3969
|
: undefined,
|
|
4250
3970
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
@@ -4305,15 +4025,13 @@ const deserializeAws_json1_1ProjectSecondarySourceVersions = (output, context) =
|
|
|
4305
4025
|
};
|
|
4306
4026
|
const deserializeAws_json1_1ProjectSource = (output, context) => {
|
|
4307
4027
|
return {
|
|
4308
|
-
auth: output.auth
|
|
4309
|
-
|
|
4310
|
-
: undefined,
|
|
4311
|
-
buildStatusConfig: output.buildStatusConfig !== undefined && output.buildStatusConfig !== null
|
|
4028
|
+
auth: output.auth != null ? deserializeAws_json1_1SourceAuth(output.auth, context) : undefined,
|
|
4029
|
+
buildStatusConfig: output.buildStatusConfig != null
|
|
4312
4030
|
? deserializeAws_json1_1BuildStatusConfig(output.buildStatusConfig, context)
|
|
4313
4031
|
: undefined,
|
|
4314
4032
|
buildspec: (0, smithy_client_1.expectString)(output.buildspec),
|
|
4315
4033
|
gitCloneDepth: (0, smithy_client_1.expectInt32)(output.gitCloneDepth),
|
|
4316
|
-
gitSubmodulesConfig: output.gitSubmodulesConfig
|
|
4034
|
+
gitSubmodulesConfig: output.gitSubmodulesConfig != null
|
|
4317
4035
|
? deserializeAws_json1_1GitSubmodulesConfig(output.gitSubmodulesConfig, context)
|
|
4318
4036
|
: undefined,
|
|
4319
4037
|
insecureSsl: (0, smithy_client_1.expectBoolean)(output.insecureSsl),
|
|
@@ -4354,25 +4072,17 @@ const deserializeAws_json1_1RegistryCredential = (output, context) => {
|
|
|
4354
4072
|
const deserializeAws_json1_1Report = (output, context) => {
|
|
4355
4073
|
return {
|
|
4356
4074
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4357
|
-
codeCoverageSummary: output.codeCoverageSummary
|
|
4075
|
+
codeCoverageSummary: output.codeCoverageSummary != null
|
|
4358
4076
|
? deserializeAws_json1_1CodeCoverageReportSummary(output.codeCoverageSummary, context)
|
|
4359
4077
|
: undefined,
|
|
4360
|
-
created: output.created
|
|
4361
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
4362
|
-
: undefined,
|
|
4078
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
4363
4079
|
executionId: (0, smithy_client_1.expectString)(output.executionId),
|
|
4364
|
-
expired: output.expired
|
|
4365
|
-
|
|
4366
|
-
: undefined,
|
|
4367
|
-
exportConfig: output.exportConfig !== undefined && output.exportConfig !== null
|
|
4368
|
-
? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context)
|
|
4369
|
-
: undefined,
|
|
4080
|
+
expired: output.expired != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expired))) : undefined,
|
|
4081
|
+
exportConfig: output.exportConfig != null ? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context) : undefined,
|
|
4370
4082
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
4371
4083
|
reportGroupArn: (0, smithy_client_1.expectString)(output.reportGroupArn),
|
|
4372
4084
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
4373
|
-
testSummary: output.testSummary
|
|
4374
|
-
? deserializeAws_json1_1TestReportSummary(output.testSummary, context)
|
|
4375
|
-
: undefined,
|
|
4085
|
+
testSummary: output.testSummary != null ? deserializeAws_json1_1TestReportSummary(output.testSummary, context) : undefined,
|
|
4376
4086
|
truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
|
|
4377
4087
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
4378
4088
|
};
|
|
@@ -4391,7 +4101,7 @@ const deserializeAws_json1_1ReportArns = (output, context) => {
|
|
|
4391
4101
|
const deserializeAws_json1_1ReportExportConfig = (output, context) => {
|
|
4392
4102
|
return {
|
|
4393
4103
|
exportConfigType: (0, smithy_client_1.expectString)(output.exportConfigType),
|
|
4394
|
-
s3Destination: output.s3Destination
|
|
4104
|
+
s3Destination: output.s3Destination != null
|
|
4395
4105
|
? deserializeAws_json1_1S3ReportExportConfig(output.s3Destination, context)
|
|
4396
4106
|
: undefined,
|
|
4397
4107
|
};
|
|
@@ -4399,20 +4109,14 @@ const deserializeAws_json1_1ReportExportConfig = (output, context) => {
|
|
|
4399
4109
|
const deserializeAws_json1_1ReportGroup = (output, context) => {
|
|
4400
4110
|
return {
|
|
4401
4111
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4402
|
-
created: output.created
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
exportConfig: output.exportConfig !== undefined && output.exportConfig !== null
|
|
4406
|
-
? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context)
|
|
4407
|
-
: undefined,
|
|
4408
|
-
lastModified: output.lastModified !== undefined && output.lastModified !== null
|
|
4112
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
4113
|
+
exportConfig: output.exportConfig != null ? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context) : undefined,
|
|
4114
|
+
lastModified: output.lastModified != null
|
|
4409
4115
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModified)))
|
|
4410
4116
|
: undefined,
|
|
4411
4117
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
4412
4118
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
4413
|
-
tags: output.tags
|
|
4414
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4415
|
-
: undefined,
|
|
4119
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
4416
4120
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
4417
4121
|
};
|
|
4418
4122
|
};
|
|
@@ -4514,16 +4218,12 @@ const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
|
4514
4218
|
};
|
|
4515
4219
|
const deserializeAws_json1_1RetryBuildBatchOutput = (output, context) => {
|
|
4516
4220
|
return {
|
|
4517
|
-
buildBatch: output.buildBatch
|
|
4518
|
-
? deserializeAws_json1_1BuildBatch(output.buildBatch, context)
|
|
4519
|
-
: undefined,
|
|
4221
|
+
buildBatch: output.buildBatch != null ? deserializeAws_json1_1BuildBatch(output.buildBatch, context) : undefined,
|
|
4520
4222
|
};
|
|
4521
4223
|
};
|
|
4522
4224
|
const deserializeAws_json1_1RetryBuildOutput = (output, context) => {
|
|
4523
4225
|
return {
|
|
4524
|
-
build: output.build
|
|
4525
|
-
? deserializeAws_json1_1Build(output.build, context)
|
|
4526
|
-
: undefined,
|
|
4226
|
+
build: output.build != null ? deserializeAws_json1_1Build(output.build, context) : undefined,
|
|
4527
4227
|
};
|
|
4528
4228
|
};
|
|
4529
4229
|
const deserializeAws_json1_1S3LogsConfig = (output, context) => {
|
|
@@ -4581,30 +4281,22 @@ const deserializeAws_json1_1SourceCredentialsInfos = (output, context) => {
|
|
|
4581
4281
|
};
|
|
4582
4282
|
const deserializeAws_json1_1StartBuildBatchOutput = (output, context) => {
|
|
4583
4283
|
return {
|
|
4584
|
-
buildBatch: output.buildBatch
|
|
4585
|
-
? deserializeAws_json1_1BuildBatch(output.buildBatch, context)
|
|
4586
|
-
: undefined,
|
|
4284
|
+
buildBatch: output.buildBatch != null ? deserializeAws_json1_1BuildBatch(output.buildBatch, context) : undefined,
|
|
4587
4285
|
};
|
|
4588
4286
|
};
|
|
4589
4287
|
const deserializeAws_json1_1StartBuildOutput = (output, context) => {
|
|
4590
4288
|
return {
|
|
4591
|
-
build: output.build
|
|
4592
|
-
? deserializeAws_json1_1Build(output.build, context)
|
|
4593
|
-
: undefined,
|
|
4289
|
+
build: output.build != null ? deserializeAws_json1_1Build(output.build, context) : undefined,
|
|
4594
4290
|
};
|
|
4595
4291
|
};
|
|
4596
4292
|
const deserializeAws_json1_1StopBuildBatchOutput = (output, context) => {
|
|
4597
4293
|
return {
|
|
4598
|
-
buildBatch: output.buildBatch
|
|
4599
|
-
? deserializeAws_json1_1BuildBatch(output.buildBatch, context)
|
|
4600
|
-
: undefined,
|
|
4294
|
+
buildBatch: output.buildBatch != null ? deserializeAws_json1_1BuildBatch(output.buildBatch, context) : undefined,
|
|
4601
4295
|
};
|
|
4602
4296
|
};
|
|
4603
4297
|
const deserializeAws_json1_1StopBuildOutput = (output, context) => {
|
|
4604
4298
|
return {
|
|
4605
|
-
build: output.build
|
|
4606
|
-
? deserializeAws_json1_1Build(output.build, context)
|
|
4607
|
-
: undefined,
|
|
4299
|
+
build: output.build != null ? deserializeAws_json1_1Build(output.build, context) : undefined,
|
|
4608
4300
|
};
|
|
4609
4301
|
};
|
|
4610
4302
|
const deserializeAws_json1_1Subnets = (output, context) => {
|
|
@@ -4638,9 +4330,7 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
4638
4330
|
const deserializeAws_json1_1TestCase = (output, context) => {
|
|
4639
4331
|
return {
|
|
4640
4332
|
durationInNanoSeconds: (0, smithy_client_1.expectLong)(output.durationInNanoSeconds),
|
|
4641
|
-
expired: output.expired
|
|
4642
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expired)))
|
|
4643
|
-
: undefined,
|
|
4333
|
+
expired: output.expired != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expired))) : undefined,
|
|
4644
4334
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
4645
4335
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
4646
4336
|
prefix: (0, smithy_client_1.expectString)(output.prefix),
|
|
@@ -4663,17 +4353,13 @@ const deserializeAws_json1_1TestCases = (output, context) => {
|
|
|
4663
4353
|
const deserializeAws_json1_1TestReportSummary = (output, context) => {
|
|
4664
4354
|
return {
|
|
4665
4355
|
durationInNanoSeconds: (0, smithy_client_1.expectLong)(output.durationInNanoSeconds),
|
|
4666
|
-
statusCounts: output.statusCounts
|
|
4667
|
-
? deserializeAws_json1_1ReportStatusCounts(output.statusCounts, context)
|
|
4668
|
-
: undefined,
|
|
4356
|
+
statusCounts: output.statusCounts != null ? deserializeAws_json1_1ReportStatusCounts(output.statusCounts, context) : undefined,
|
|
4669
4357
|
total: (0, smithy_client_1.expectInt32)(output.total),
|
|
4670
4358
|
};
|
|
4671
4359
|
};
|
|
4672
4360
|
const deserializeAws_json1_1UpdateProjectOutput = (output, context) => {
|
|
4673
4361
|
return {
|
|
4674
|
-
project: output.project
|
|
4675
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
4676
|
-
: undefined,
|
|
4362
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
4677
4363
|
};
|
|
4678
4364
|
};
|
|
4679
4365
|
const deserializeAws_json1_1UpdateProjectVisibilityOutput = (output, context) => {
|
|
@@ -4685,26 +4371,20 @@ const deserializeAws_json1_1UpdateProjectVisibilityOutput = (output, context) =>
|
|
|
4685
4371
|
};
|
|
4686
4372
|
const deserializeAws_json1_1UpdateReportGroupOutput = (output, context) => {
|
|
4687
4373
|
return {
|
|
4688
|
-
reportGroup: output.reportGroup
|
|
4689
|
-
? deserializeAws_json1_1ReportGroup(output.reportGroup, context)
|
|
4690
|
-
: undefined,
|
|
4374
|
+
reportGroup: output.reportGroup != null ? deserializeAws_json1_1ReportGroup(output.reportGroup, context) : undefined,
|
|
4691
4375
|
};
|
|
4692
4376
|
};
|
|
4693
4377
|
const deserializeAws_json1_1UpdateWebhookOutput = (output, context) => {
|
|
4694
4378
|
return {
|
|
4695
|
-
webhook: output.webhook
|
|
4696
|
-
? deserializeAws_json1_1Webhook(output.webhook, context)
|
|
4697
|
-
: undefined,
|
|
4379
|
+
webhook: output.webhook != null ? deserializeAws_json1_1Webhook(output.webhook, context) : undefined,
|
|
4698
4380
|
};
|
|
4699
4381
|
};
|
|
4700
4382
|
const deserializeAws_json1_1VpcConfig = (output, context) => {
|
|
4701
4383
|
return {
|
|
4702
|
-
securityGroupIds: output.securityGroupIds
|
|
4384
|
+
securityGroupIds: output.securityGroupIds != null
|
|
4703
4385
|
? deserializeAws_json1_1SecurityGroupIds(output.securityGroupIds, context)
|
|
4704
4386
|
: undefined,
|
|
4705
|
-
subnets: output.subnets
|
|
4706
|
-
? deserializeAws_json1_1Subnets(output.subnets, context)
|
|
4707
|
-
: undefined,
|
|
4387
|
+
subnets: output.subnets != null ? deserializeAws_json1_1Subnets(output.subnets, context) : undefined,
|
|
4708
4388
|
vpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
4709
4389
|
};
|
|
4710
4390
|
};
|
|
@@ -4712,10 +4392,8 @@ const deserializeAws_json1_1Webhook = (output, context) => {
|
|
|
4712
4392
|
return {
|
|
4713
4393
|
branchFilter: (0, smithy_client_1.expectString)(output.branchFilter),
|
|
4714
4394
|
buildType: (0, smithy_client_1.expectString)(output.buildType),
|
|
4715
|
-
filterGroups: output.filterGroups
|
|
4716
|
-
|
|
4717
|
-
: undefined,
|
|
4718
|
-
lastModifiedSecret: output.lastModifiedSecret !== undefined && output.lastModifiedSecret !== null
|
|
4395
|
+
filterGroups: output.filterGroups != null ? deserializeAws_json1_1FilterGroups(output.filterGroups, context) : undefined,
|
|
4396
|
+
lastModifiedSecret: output.lastModifiedSecret != null
|
|
4719
4397
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedSecret)))
|
|
4720
4398
|
: undefined,
|
|
4721
4399
|
payloadUrl: (0, smithy_client_1.expectString)(output.payloadUrl),
|