@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
|
@@ -2966,38 +2966,32 @@ var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOu
|
|
|
2966
2966
|
});
|
|
2967
2967
|
}); };
|
|
2968
2968
|
var serializeAws_json1_1BatchDeleteBuildsInput = function (input, context) {
|
|
2969
|
-
return __assign({}, (input.ids
|
|
2969
|
+
return __assign({}, (input.ids != null && { ids: serializeAws_json1_1BuildIds(input.ids, context) }));
|
|
2970
2970
|
};
|
|
2971
2971
|
var serializeAws_json1_1BatchGetBuildBatchesInput = function (input, context) {
|
|
2972
|
-
return __assign({}, (input.ids
|
|
2973
|
-
input.ids !== null && { ids: serializeAws_json1_1BuildBatchIds(input.ids, context) }));
|
|
2972
|
+
return __assign({}, (input.ids != null && { ids: serializeAws_json1_1BuildBatchIds(input.ids, context) }));
|
|
2974
2973
|
};
|
|
2975
2974
|
var serializeAws_json1_1BatchGetBuildsInput = function (input, context) {
|
|
2976
|
-
return __assign({}, (input.ids
|
|
2975
|
+
return __assign({}, (input.ids != null && { ids: serializeAws_json1_1BuildIds(input.ids, context) }));
|
|
2977
2976
|
};
|
|
2978
2977
|
var serializeAws_json1_1BatchGetProjectsInput = function (input, context) {
|
|
2979
|
-
return __assign({}, (input.names
|
|
2980
|
-
input.names !== null && { names: serializeAws_json1_1ProjectNames(input.names, context) }));
|
|
2978
|
+
return __assign({}, (input.names != null && { names: serializeAws_json1_1ProjectNames(input.names, context) }));
|
|
2981
2979
|
};
|
|
2982
2980
|
var serializeAws_json1_1BatchGetReportGroupsInput = function (input, context) {
|
|
2983
|
-
return __assign({}, (input.reportGroupArns
|
|
2984
|
-
input.reportGroupArns !== null && {
|
|
2981
|
+
return __assign({}, (input.reportGroupArns != null && {
|
|
2985
2982
|
reportGroupArns: serializeAws_json1_1ReportGroupArns(input.reportGroupArns, context),
|
|
2986
2983
|
}));
|
|
2987
2984
|
};
|
|
2988
2985
|
var serializeAws_json1_1BatchGetReportsInput = function (input, context) {
|
|
2989
|
-
return __assign({}, (input.reportArns
|
|
2990
|
-
input.reportArns !== null && { reportArns: serializeAws_json1_1ReportArns(input.reportArns, context) }));
|
|
2986
|
+
return __assign({}, (input.reportArns != null && { reportArns: serializeAws_json1_1ReportArns(input.reportArns, context) }));
|
|
2991
2987
|
};
|
|
2992
2988
|
var serializeAws_json1_1BatchRestrictions = function (input, context) {
|
|
2993
|
-
return __assign(__assign({}, (input.computeTypesAllowed
|
|
2994
|
-
input.computeTypesAllowed !== null && {
|
|
2989
|
+
return __assign(__assign({}, (input.computeTypesAllowed != null && {
|
|
2995
2990
|
computeTypesAllowed: serializeAws_json1_1ComputeTypesAllowed(input.computeTypesAllowed, context),
|
|
2996
|
-
})), (input.maximumBuildsAllowed
|
|
2997
|
-
input.maximumBuildsAllowed !== null && { maximumBuildsAllowed: input.maximumBuildsAllowed }));
|
|
2991
|
+
})), (input.maximumBuildsAllowed != null && { maximumBuildsAllowed: input.maximumBuildsAllowed }));
|
|
2998
2992
|
};
|
|
2999
2993
|
var serializeAws_json1_1BuildBatchFilter = function (input, context) {
|
|
3000
|
-
return __assign({}, (input.status
|
|
2994
|
+
return __assign({}, (input.status != null && { status: input.status }));
|
|
3001
2995
|
};
|
|
3002
2996
|
var serializeAws_json1_1BuildBatchIds = function (input, context) {
|
|
3003
2997
|
return input
|
|
@@ -3020,10 +3014,10 @@ var serializeAws_json1_1BuildIds = function (input, context) {
|
|
|
3020
3014
|
});
|
|
3021
3015
|
};
|
|
3022
3016
|
var serializeAws_json1_1BuildStatusConfig = function (input, context) {
|
|
3023
|
-
return __assign(__assign({}, (input.context
|
|
3017
|
+
return __assign(__assign({}, (input.context != null && { context: input.context })), (input.targetUrl != null && { targetUrl: input.targetUrl }));
|
|
3024
3018
|
};
|
|
3025
3019
|
var serializeAws_json1_1CloudWatchLogsConfig = function (input, context) {
|
|
3026
|
-
return __assign(__assign(__assign({}, (input.groupName
|
|
3020
|
+
return __assign(__assign(__assign({}, (input.groupName != null && { groupName: input.groupName })), (input.status != null && { status: input.status })), (input.streamName != null && { streamName: input.streamName }));
|
|
3027
3021
|
};
|
|
3028
3022
|
var serializeAws_json1_1ComputeTypesAllowed = function (input, context) {
|
|
3029
3023
|
return input
|
|
@@ -3036,80 +3030,61 @@ var serializeAws_json1_1ComputeTypesAllowed = function (input, context) {
|
|
|
3036
3030
|
});
|
|
3037
3031
|
};
|
|
3038
3032
|
var serializeAws_json1_1CreateProjectInput = function (input, context) {
|
|
3039
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifacts
|
|
3040
|
-
input.artifacts !== null && { artifacts: serializeAws_json1_1ProjectArtifacts(input.artifacts, context) })), (input.badgeEnabled !== undefined && input.badgeEnabled !== null && { badgeEnabled: input.badgeEnabled })), (input.buildBatchConfig !== undefined &&
|
|
3041
|
-
input.buildBatchConfig !== null && {
|
|
3033
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifacts != null && { artifacts: serializeAws_json1_1ProjectArtifacts(input.artifacts, context) })), (input.badgeEnabled != null && { badgeEnabled: input.badgeEnabled })), (input.buildBatchConfig != null && {
|
|
3042
3034
|
buildBatchConfig: serializeAws_json1_1ProjectBuildBatchConfig(input.buildBatchConfig, context),
|
|
3043
|
-
})), (input.cache
|
|
3044
|
-
input.cache !== null && { cache: serializeAws_json1_1ProjectCache(input.cache, context) })), (input.concurrentBuildLimit !== undefined &&
|
|
3045
|
-
input.concurrentBuildLimit !== null && { concurrentBuildLimit: input.concurrentBuildLimit })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey })), (input.environment !== undefined &&
|
|
3046
|
-
input.environment !== null && {
|
|
3035
|
+
})), (input.cache != null && { cache: serializeAws_json1_1ProjectCache(input.cache, context) })), (input.concurrentBuildLimit != null && { concurrentBuildLimit: input.concurrentBuildLimit })), (input.description != null && { description: input.description })), (input.encryptionKey != null && { encryptionKey: input.encryptionKey })), (input.environment != null && {
|
|
3047
3036
|
environment: serializeAws_json1_1ProjectEnvironment(input.environment, context),
|
|
3048
|
-
})), (input.fileSystemLocations
|
|
3049
|
-
input.fileSystemLocations !== null && {
|
|
3037
|
+
})), (input.fileSystemLocations != null && {
|
|
3050
3038
|
fileSystemLocations: serializeAws_json1_1ProjectFileSystemLocations(input.fileSystemLocations, context),
|
|
3051
|
-
})), (input.logsConfig
|
|
3052
|
-
input.logsConfig !== null && { logsConfig: serializeAws_json1_1LogsConfig(input.logsConfig, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.queuedTimeoutInMinutes !== undefined &&
|
|
3053
|
-
input.queuedTimeoutInMinutes !== null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes })), (input.secondaryArtifacts !== undefined &&
|
|
3054
|
-
input.secondaryArtifacts !== null && {
|
|
3039
|
+
})), (input.logsConfig != null && { logsConfig: serializeAws_json1_1LogsConfig(input.logsConfig, context) })), (input.name != null && { name: input.name })), (input.queuedTimeoutInMinutes != null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes })), (input.secondaryArtifacts != null && {
|
|
3055
3040
|
secondaryArtifacts: serializeAws_json1_1ProjectArtifactsList(input.secondaryArtifacts, context),
|
|
3056
|
-
})), (input.secondarySourceVersions
|
|
3057
|
-
input.secondarySourceVersions !== null && {
|
|
3041
|
+
})), (input.secondarySourceVersions != null && {
|
|
3058
3042
|
secondarySourceVersions: serializeAws_json1_1ProjectSecondarySourceVersions(input.secondarySourceVersions, context),
|
|
3059
|
-
})), (input.secondarySources
|
|
3060
|
-
input.secondarySources !== null && {
|
|
3043
|
+
})), (input.secondarySources != null && {
|
|
3061
3044
|
secondarySources: serializeAws_json1_1ProjectSources(input.secondarySources, context),
|
|
3062
|
-
})), (input.serviceRole
|
|
3063
|
-
input.source !== null && { source: serializeAws_json1_1ProjectSource(input.source, context) })), (input.sourceVersion !== undefined && input.sourceVersion !== null && { sourceVersion: input.sourceVersion })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.timeoutInMinutes !== undefined &&
|
|
3064
|
-
input.timeoutInMinutes !== null && { timeoutInMinutes: input.timeoutInMinutes })), (input.vpcConfig !== undefined &&
|
|
3065
|
-
input.vpcConfig !== null && { vpcConfig: serializeAws_json1_1VpcConfig(input.vpcConfig, context) }));
|
|
3045
|
+
})), (input.serviceRole != null && { serviceRole: input.serviceRole })), (input.source != null && { source: serializeAws_json1_1ProjectSource(input.source, context) })), (input.sourceVersion != null && { sourceVersion: input.sourceVersion })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.timeoutInMinutes != null && { timeoutInMinutes: input.timeoutInMinutes })), (input.vpcConfig != null && { vpcConfig: serializeAws_json1_1VpcConfig(input.vpcConfig, context) }));
|
|
3066
3046
|
};
|
|
3067
3047
|
var serializeAws_json1_1CreateReportGroupInput = function (input, context) {
|
|
3068
|
-
return __assign(__assign(__assign(__assign({}, (input.exportConfig
|
|
3069
|
-
input.exportConfig !== null && {
|
|
3048
|
+
return __assign(__assign(__assign(__assign({}, (input.exportConfig != null && {
|
|
3070
3049
|
exportConfig: serializeAws_json1_1ReportExportConfig(input.exportConfig, context),
|
|
3071
|
-
})), (input.name
|
|
3050
|
+
})), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.type != null && { type: input.type }));
|
|
3072
3051
|
};
|
|
3073
3052
|
var serializeAws_json1_1CreateWebhookInput = function (input, context) {
|
|
3074
|
-
return __assign(__assign(__assign(__assign({}, (input.branchFilter
|
|
3075
|
-
input.filterGroups !== null && { filterGroups: serializeAws_json1_1FilterGroups(input.filterGroups, context) })), (input.projectName !== undefined && input.projectName !== null && { projectName: input.projectName }));
|
|
3053
|
+
return __assign(__assign(__assign(__assign({}, (input.branchFilter != null && { branchFilter: input.branchFilter })), (input.buildType != null && { buildType: input.buildType })), (input.filterGroups != null && { filterGroups: serializeAws_json1_1FilterGroups(input.filterGroups, context) })), (input.projectName != null && { projectName: input.projectName }));
|
|
3076
3054
|
};
|
|
3077
3055
|
var serializeAws_json1_1DeleteBuildBatchInput = function (input, context) {
|
|
3078
|
-
return __assign({}, (input.id
|
|
3056
|
+
return __assign({}, (input.id != null && { id: input.id }));
|
|
3079
3057
|
};
|
|
3080
3058
|
var serializeAws_json1_1DeleteProjectInput = function (input, context) {
|
|
3081
|
-
return __assign({}, (input.name
|
|
3059
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
3082
3060
|
};
|
|
3083
3061
|
var serializeAws_json1_1DeleteReportGroupInput = function (input, context) {
|
|
3084
|
-
return __assign(__assign({}, (input.arn
|
|
3062
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.deleteReports != null && { deleteReports: input.deleteReports }));
|
|
3085
3063
|
};
|
|
3086
3064
|
var serializeAws_json1_1DeleteReportInput = function (input, context) {
|
|
3087
|
-
return __assign({}, (input.arn
|
|
3065
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
3088
3066
|
};
|
|
3089
3067
|
var serializeAws_json1_1DeleteResourcePolicyInput = function (input, context) {
|
|
3090
|
-
return __assign({}, (input.resourceArn
|
|
3068
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
3091
3069
|
};
|
|
3092
3070
|
var serializeAws_json1_1DeleteSourceCredentialsInput = function (input, context) {
|
|
3093
|
-
return __assign({}, (input.arn
|
|
3071
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
3094
3072
|
};
|
|
3095
3073
|
var serializeAws_json1_1DeleteWebhookInput = function (input, context) {
|
|
3096
|
-
return __assign({}, (input.projectName
|
|
3074
|
+
return __assign({}, (input.projectName != null && { projectName: input.projectName }));
|
|
3097
3075
|
};
|
|
3098
3076
|
var serializeAws_json1_1DescribeCodeCoveragesInput = function (input, context) {
|
|
3099
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.maxLineCoveragePercentage
|
|
3100
|
-
input.maxLineCoveragePercentage !== null && {
|
|
3077
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.maxLineCoveragePercentage != null && {
|
|
3101
3078
|
maxLineCoveragePercentage: __serializeFloat(input.maxLineCoveragePercentage),
|
|
3102
|
-
})), (input.maxResults
|
|
3103
|
-
input.minLineCoveragePercentage !== null && {
|
|
3079
|
+
})), (input.maxResults != null && { maxResults: input.maxResults })), (input.minLineCoveragePercentage != null && {
|
|
3104
3080
|
minLineCoveragePercentage: __serializeFloat(input.minLineCoveragePercentage),
|
|
3105
|
-
})), (input.nextToken
|
|
3081
|
+
})), (input.nextToken != null && { nextToken: input.nextToken })), (input.reportArn != null && { reportArn: input.reportArn })), (input.sortBy != null && { sortBy: input.sortBy })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3106
3082
|
};
|
|
3107
3083
|
var serializeAws_json1_1DescribeTestCasesInput = function (input, context) {
|
|
3108
|
-
return __assign(__assign(__assign(__assign({}, (input.filter
|
|
3109
|
-
input.filter !== null && { filter: serializeAws_json1_1TestCaseFilter(input.filter, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.reportArn !== undefined && input.reportArn !== null && { reportArn: input.reportArn }));
|
|
3084
|
+
return __assign(__assign(__assign(__assign({}, (input.filter != null && { filter: serializeAws_json1_1TestCaseFilter(input.filter, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.reportArn != null && { reportArn: input.reportArn }));
|
|
3110
3085
|
};
|
|
3111
3086
|
var serializeAws_json1_1EnvironmentVariable = function (input, context) {
|
|
3112
|
-
return __assign(__assign(__assign({}, (input.name
|
|
3087
|
+
return __assign(__assign(__assign({}, (input.name != null && { name: input.name })), (input.type != null && { type: input.type })), (input.value != null && { value: input.value }));
|
|
3113
3088
|
};
|
|
3114
3089
|
var serializeAws_json1_1EnvironmentVariables = function (input, context) {
|
|
3115
3090
|
return input
|
|
@@ -3142,77 +3117,63 @@ var serializeAws_json1_1FilterGroups = function (input, context) {
|
|
|
3142
3117
|
});
|
|
3143
3118
|
};
|
|
3144
3119
|
var serializeAws_json1_1GetReportGroupTrendInput = function (input, context) {
|
|
3145
|
-
return __assign(__assign(__assign({}, (input.numOfReports
|
|
3146
|
-
input.reportGroupArn !== null && { reportGroupArn: input.reportGroupArn })), (input.trendField !== undefined && input.trendField !== null && { trendField: input.trendField }));
|
|
3120
|
+
return __assign(__assign(__assign({}, (input.numOfReports != null && { numOfReports: input.numOfReports })), (input.reportGroupArn != null && { reportGroupArn: input.reportGroupArn })), (input.trendField != null && { trendField: input.trendField }));
|
|
3147
3121
|
};
|
|
3148
3122
|
var serializeAws_json1_1GetResourcePolicyInput = function (input, context) {
|
|
3149
|
-
return __assign({}, (input.resourceArn
|
|
3123
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
3150
3124
|
};
|
|
3151
3125
|
var serializeAws_json1_1GitSubmodulesConfig = function (input, context) {
|
|
3152
|
-
return __assign({}, (input.fetchSubmodules
|
|
3153
|
-
input.fetchSubmodules !== null && { fetchSubmodules: input.fetchSubmodules }));
|
|
3126
|
+
return __assign({}, (input.fetchSubmodules != null && { fetchSubmodules: input.fetchSubmodules }));
|
|
3154
3127
|
};
|
|
3155
3128
|
var serializeAws_json1_1ImportSourceCredentialsInput = function (input, context) {
|
|
3156
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.authType
|
|
3157
|
-
input.shouldOverwrite !== null && { shouldOverwrite: input.shouldOverwrite })), (input.token !== undefined && input.token !== null && { token: input.token })), (input.username !== undefined && input.username !== null && { username: input.username }));
|
|
3129
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.authType != null && { authType: input.authType })), (input.serverType != null && { serverType: input.serverType })), (input.shouldOverwrite != null && { shouldOverwrite: input.shouldOverwrite })), (input.token != null && { token: input.token })), (input.username != null && { username: input.username }));
|
|
3158
3130
|
};
|
|
3159
3131
|
var serializeAws_json1_1InvalidateProjectCacheInput = function (input, context) {
|
|
3160
|
-
return __assign({}, (input.projectName
|
|
3132
|
+
return __assign({}, (input.projectName != null && { projectName: input.projectName }));
|
|
3161
3133
|
};
|
|
3162
3134
|
var serializeAws_json1_1ListBuildBatchesForProjectInput = function (input, context) {
|
|
3163
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.filter
|
|
3164
|
-
input.filter !== null && { filter: serializeAws_json1_1BuildBatchFilter(input.filter, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.projectName !== undefined && input.projectName !== null && { projectName: input.projectName })), (input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }));
|
|
3135
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.filter != null && { filter: serializeAws_json1_1BuildBatchFilter(input.filter, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.projectName != null && { projectName: input.projectName })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3165
3136
|
};
|
|
3166
3137
|
var serializeAws_json1_1ListBuildBatchesInput = function (input, context) {
|
|
3167
|
-
return __assign(__assign(__assign(__assign({}, (input.filter
|
|
3168
|
-
input.filter !== null && { filter: serializeAws_json1_1BuildBatchFilter(input.filter, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }));
|
|
3138
|
+
return __assign(__assign(__assign(__assign({}, (input.filter != null && { filter: serializeAws_json1_1BuildBatchFilter(input.filter, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3169
3139
|
};
|
|
3170
3140
|
var serializeAws_json1_1ListBuildsForProjectInput = function (input, context) {
|
|
3171
|
-
return __assign(__assign(__assign({}, (input.nextToken
|
|
3141
|
+
return __assign(__assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.projectName != null && { projectName: input.projectName })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3172
3142
|
};
|
|
3173
3143
|
var serializeAws_json1_1ListBuildsInput = function (input, context) {
|
|
3174
|
-
return __assign(__assign({}, (input.nextToken
|
|
3144
|
+
return __assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3175
3145
|
};
|
|
3176
3146
|
var serializeAws_json1_1ListCuratedEnvironmentImagesInput = function (input, context) {
|
|
3177
3147
|
return {};
|
|
3178
3148
|
};
|
|
3179
3149
|
var serializeAws_json1_1ListProjectsInput = function (input, context) {
|
|
3180
|
-
return __assign(__assign(__assign({}, (input.nextToken
|
|
3150
|
+
return __assign(__assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.sortBy != null && { sortBy: input.sortBy })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3181
3151
|
};
|
|
3182
3152
|
var serializeAws_json1_1ListReportGroupsInput = function (input, context) {
|
|
3183
|
-
return __assign(__assign(__assign(__assign({}, (input.maxResults
|
|
3153
|
+
return __assign(__assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.sortBy != null && { sortBy: input.sortBy })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3184
3154
|
};
|
|
3185
3155
|
var serializeAws_json1_1ListReportsForReportGroupInput = function (input, context) {
|
|
3186
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.filter
|
|
3187
|
-
input.filter !== null && { filter: serializeAws_json1_1ReportFilter(input.filter, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.reportGroupArn !== undefined &&
|
|
3188
|
-
input.reportGroupArn !== null && { reportGroupArn: input.reportGroupArn })), (input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }));
|
|
3156
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.filter != null && { filter: serializeAws_json1_1ReportFilter(input.filter, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.reportGroupArn != null && { reportGroupArn: input.reportGroupArn })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3189
3157
|
};
|
|
3190
3158
|
var serializeAws_json1_1ListReportsInput = function (input, context) {
|
|
3191
|
-
return __assign(__assign(__assign(__assign({}, (input.filter
|
|
3192
|
-
input.filter !== null && { filter: serializeAws_json1_1ReportFilter(input.filter, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }));
|
|
3159
|
+
return __assign(__assign(__assign(__assign({}, (input.filter != null && { filter: serializeAws_json1_1ReportFilter(input.filter, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3193
3160
|
};
|
|
3194
3161
|
var serializeAws_json1_1ListSharedProjectsInput = function (input, context) {
|
|
3195
|
-
return __assign(__assign(__assign(__assign({}, (input.maxResults
|
|
3162
|
+
return __assign(__assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.sortBy != null && { sortBy: input.sortBy })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3196
3163
|
};
|
|
3197
3164
|
var serializeAws_json1_1ListSharedReportGroupsInput = function (input, context) {
|
|
3198
|
-
return __assign(__assign(__assign(__assign({}, (input.maxResults
|
|
3165
|
+
return __assign(__assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.sortBy != null && { sortBy: input.sortBy })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
3199
3166
|
};
|
|
3200
3167
|
var serializeAws_json1_1ListSourceCredentialsInput = function (input, context) {
|
|
3201
3168
|
return {};
|
|
3202
3169
|
};
|
|
3203
3170
|
var serializeAws_json1_1LogsConfig = function (input, context) {
|
|
3204
|
-
return __assign(__assign({}, (input.cloudWatchLogs
|
|
3205
|
-
input.cloudWatchLogs !== null && {
|
|
3171
|
+
return __assign(__assign({}, (input.cloudWatchLogs != null && {
|
|
3206
3172
|
cloudWatchLogs: serializeAws_json1_1CloudWatchLogsConfig(input.cloudWatchLogs, context),
|
|
3207
|
-
})), (input.s3Logs
|
|
3208
|
-
input.s3Logs !== null && { s3Logs: serializeAws_json1_1S3LogsConfig(input.s3Logs, context) }));
|
|
3173
|
+
})), (input.s3Logs != null && { s3Logs: serializeAws_json1_1S3LogsConfig(input.s3Logs, context) }));
|
|
3209
3174
|
};
|
|
3210
3175
|
var serializeAws_json1_1ProjectArtifacts = function (input, context) {
|
|
3211
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifactIdentifier
|
|
3212
|
-
input.artifactIdentifier !== null && { artifactIdentifier: input.artifactIdentifier })), (input.bucketOwnerAccess !== undefined &&
|
|
3213
|
-
input.bucketOwnerAccess !== null && { bucketOwnerAccess: input.bucketOwnerAccess })), (input.encryptionDisabled !== undefined &&
|
|
3214
|
-
input.encryptionDisabled !== null && { encryptionDisabled: input.encryptionDisabled })), (input.location !== undefined && input.location !== null && { location: input.location })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.namespaceType !== undefined && input.namespaceType !== null && { namespaceType: input.namespaceType })), (input.overrideArtifactName !== undefined &&
|
|
3215
|
-
input.overrideArtifactName !== null && { overrideArtifactName: input.overrideArtifactName })), (input.packaging !== undefined && input.packaging !== null && { packaging: input.packaging })), (input.path !== undefined && input.path !== null && { path: input.path })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
3176
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifactIdentifier != null && { artifactIdentifier: input.artifactIdentifier })), (input.bucketOwnerAccess != null && { bucketOwnerAccess: input.bucketOwnerAccess })), (input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled })), (input.location != null && { location: input.location })), (input.name != null && { name: input.name })), (input.namespaceType != null && { namespaceType: input.namespaceType })), (input.overrideArtifactName != null && { overrideArtifactName: input.overrideArtifactName })), (input.packaging != null && { packaging: input.packaging })), (input.path != null && { path: input.path })), (input.type != null && { type: input.type }));
|
|
3216
3177
|
};
|
|
3217
3178
|
var serializeAws_json1_1ProjectArtifactsList = function (input, context) {
|
|
3218
3179
|
return input
|
|
@@ -3225,16 +3186,12 @@ var serializeAws_json1_1ProjectArtifactsList = function (input, context) {
|
|
|
3225
3186
|
});
|
|
3226
3187
|
};
|
|
3227
3188
|
var serializeAws_json1_1ProjectBuildBatchConfig = function (input, context) {
|
|
3228
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.batchReportMode
|
|
3229
|
-
input.batchReportMode !== null && { batchReportMode: input.batchReportMode })), (input.combineArtifacts !== undefined &&
|
|
3230
|
-
input.combineArtifacts !== null && { combineArtifacts: input.combineArtifacts })), (input.restrictions !== undefined &&
|
|
3231
|
-
input.restrictions !== null && {
|
|
3189
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.batchReportMode != null && { batchReportMode: input.batchReportMode })), (input.combineArtifacts != null && { combineArtifacts: input.combineArtifacts })), (input.restrictions != null && {
|
|
3232
3190
|
restrictions: serializeAws_json1_1BatchRestrictions(input.restrictions, context),
|
|
3233
|
-
})), (input.serviceRole
|
|
3191
|
+
})), (input.serviceRole != null && { serviceRole: input.serviceRole })), (input.timeoutInMins != null && { timeoutInMins: input.timeoutInMins }));
|
|
3234
3192
|
};
|
|
3235
3193
|
var serializeAws_json1_1ProjectCache = function (input, context) {
|
|
3236
|
-
return __assign(__assign(__assign({}, (input.location
|
|
3237
|
-
input.modes !== null && { modes: serializeAws_json1_1ProjectCacheModes(input.modes, context) })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
3194
|
+
return __assign(__assign(__assign({}, (input.location != null && { location: input.location })), (input.modes != null && { modes: serializeAws_json1_1ProjectCacheModes(input.modes, context) })), (input.type != null && { type: input.type }));
|
|
3238
3195
|
};
|
|
3239
3196
|
var serializeAws_json1_1ProjectCacheModes = function (input, context) {
|
|
3240
3197
|
return input
|
|
@@ -3247,18 +3204,14 @@ var serializeAws_json1_1ProjectCacheModes = function (input, context) {
|
|
|
3247
3204
|
});
|
|
3248
3205
|
};
|
|
3249
3206
|
var serializeAws_json1_1ProjectEnvironment = function (input, context) {
|
|
3250
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.certificate
|
|
3251
|
-
input.environmentVariables !== null && {
|
|
3207
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.certificate != null && { certificate: input.certificate })), (input.computeType != null && { computeType: input.computeType })), (input.environmentVariables != null && {
|
|
3252
3208
|
environmentVariables: serializeAws_json1_1EnvironmentVariables(input.environmentVariables, context),
|
|
3253
|
-
})), (input.image
|
|
3254
|
-
input.imagePullCredentialsType !== null && { imagePullCredentialsType: input.imagePullCredentialsType })), (input.privilegedMode !== undefined &&
|
|
3255
|
-
input.privilegedMode !== null && { privilegedMode: input.privilegedMode })), (input.registryCredential !== undefined &&
|
|
3256
|
-
input.registryCredential !== null && {
|
|
3209
|
+
})), (input.image != null && { image: input.image })), (input.imagePullCredentialsType != null && { imagePullCredentialsType: input.imagePullCredentialsType })), (input.privilegedMode != null && { privilegedMode: input.privilegedMode })), (input.registryCredential != null && {
|
|
3257
3210
|
registryCredential: serializeAws_json1_1RegistryCredential(input.registryCredential, context),
|
|
3258
|
-
})), (input.type
|
|
3211
|
+
})), (input.type != null && { type: input.type }));
|
|
3259
3212
|
};
|
|
3260
3213
|
var serializeAws_json1_1ProjectFileSystemLocation = function (input, context) {
|
|
3261
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.identifier
|
|
3214
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.identifier != null && { identifier: input.identifier })), (input.location != null && { location: input.location })), (input.mountOptions != null && { mountOptions: input.mountOptions })), (input.mountPoint != null && { mountPoint: input.mountPoint })), (input.type != null && { type: input.type }));
|
|
3262
3215
|
};
|
|
3263
3216
|
var serializeAws_json1_1ProjectFileSystemLocations = function (input, context) {
|
|
3264
3217
|
return input
|
|
@@ -3291,16 +3244,11 @@ var serializeAws_json1_1ProjectSecondarySourceVersions = function (input, contex
|
|
|
3291
3244
|
});
|
|
3292
3245
|
};
|
|
3293
3246
|
var serializeAws_json1_1ProjectSource = function (input, context) {
|
|
3294
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.auth
|
|
3295
|
-
input.auth !== null && { auth: serializeAws_json1_1SourceAuth(input.auth, context) })), (input.buildStatusConfig !== undefined &&
|
|
3296
|
-
input.buildStatusConfig !== null && {
|
|
3247
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.auth != null && { auth: serializeAws_json1_1SourceAuth(input.auth, context) })), (input.buildStatusConfig != null && {
|
|
3297
3248
|
buildStatusConfig: serializeAws_json1_1BuildStatusConfig(input.buildStatusConfig, context),
|
|
3298
|
-
})), (input.buildspec
|
|
3299
|
-
input.gitSubmodulesConfig !== null && {
|
|
3249
|
+
})), (input.buildspec != null && { buildspec: input.buildspec })), (input.gitCloneDepth != null && { gitCloneDepth: input.gitCloneDepth })), (input.gitSubmodulesConfig != null && {
|
|
3300
3250
|
gitSubmodulesConfig: serializeAws_json1_1GitSubmodulesConfig(input.gitSubmodulesConfig, context),
|
|
3301
|
-
})), (input.insecureSsl
|
|
3302
|
-
input.reportBuildStatus !== null && { reportBuildStatus: input.reportBuildStatus })), (input.sourceIdentifier !== undefined &&
|
|
3303
|
-
input.sourceIdentifier !== null && { sourceIdentifier: input.sourceIdentifier })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
3251
|
+
})), (input.insecureSsl != null && { insecureSsl: input.insecureSsl })), (input.location != null && { location: input.location })), (input.reportBuildStatus != null && { reportBuildStatus: input.reportBuildStatus })), (input.sourceIdentifier != null && { sourceIdentifier: input.sourceIdentifier })), (input.type != null && { type: input.type }));
|
|
3304
3252
|
};
|
|
3305
3253
|
var serializeAws_json1_1ProjectSources = function (input, context) {
|
|
3306
3254
|
return input
|
|
@@ -3313,15 +3261,13 @@ var serializeAws_json1_1ProjectSources = function (input, context) {
|
|
|
3313
3261
|
});
|
|
3314
3262
|
};
|
|
3315
3263
|
var serializeAws_json1_1ProjectSourceVersion = function (input, context) {
|
|
3316
|
-
return __assign(__assign({}, (input.sourceIdentifier
|
|
3317
|
-
input.sourceIdentifier !== null && { sourceIdentifier: input.sourceIdentifier })), (input.sourceVersion !== undefined && input.sourceVersion !== null && { sourceVersion: input.sourceVersion }));
|
|
3264
|
+
return __assign(__assign({}, (input.sourceIdentifier != null && { sourceIdentifier: input.sourceIdentifier })), (input.sourceVersion != null && { sourceVersion: input.sourceVersion }));
|
|
3318
3265
|
};
|
|
3319
3266
|
var serializeAws_json1_1PutResourcePolicyInput = function (input, context) {
|
|
3320
|
-
return __assign(__assign({}, (input.policy
|
|
3267
|
+
return __assign(__assign({}, (input.policy != null && { policy: input.policy })), (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
3321
3268
|
};
|
|
3322
3269
|
var serializeAws_json1_1RegistryCredential = function (input, context) {
|
|
3323
|
-
return __assign(__assign({}, (input.credential
|
|
3324
|
-
input.credentialProvider !== null && { credentialProvider: input.credentialProvider }));
|
|
3270
|
+
return __assign(__assign({}, (input.credential != null && { credential: input.credential })), (input.credentialProvider != null && { credentialProvider: input.credentialProvider }));
|
|
3325
3271
|
};
|
|
3326
3272
|
var serializeAws_json1_1ReportArns = function (input, context) {
|
|
3327
3273
|
return input
|
|
@@ -3334,14 +3280,12 @@ var serializeAws_json1_1ReportArns = function (input, context) {
|
|
|
3334
3280
|
});
|
|
3335
3281
|
};
|
|
3336
3282
|
var serializeAws_json1_1ReportExportConfig = function (input, context) {
|
|
3337
|
-
return __assign(__assign({}, (input.exportConfigType
|
|
3338
|
-
input.exportConfigType !== null && { exportConfigType: input.exportConfigType })), (input.s3Destination !== undefined &&
|
|
3339
|
-
input.s3Destination !== null && {
|
|
3283
|
+
return __assign(__assign({}, (input.exportConfigType != null && { exportConfigType: input.exportConfigType })), (input.s3Destination != null && {
|
|
3340
3284
|
s3Destination: serializeAws_json1_1S3ReportExportConfig(input.s3Destination, context),
|
|
3341
3285
|
}));
|
|
3342
3286
|
};
|
|
3343
3287
|
var serializeAws_json1_1ReportFilter = function (input, context) {
|
|
3344
|
-
return __assign({}, (input.status
|
|
3288
|
+
return __assign({}, (input.status != null && { status: input.status }));
|
|
3345
3289
|
};
|
|
3346
3290
|
var serializeAws_json1_1ReportGroupArns = function (input, context) {
|
|
3347
3291
|
return input
|
|
@@ -3354,21 +3298,16 @@ var serializeAws_json1_1ReportGroupArns = function (input, context) {
|
|
|
3354
3298
|
});
|
|
3355
3299
|
};
|
|
3356
3300
|
var serializeAws_json1_1RetryBuildBatchInput = function (input, context) {
|
|
3357
|
-
return __assign(__assign(__assign({}, (input.id
|
|
3358
|
-
input.idempotencyToken !== null && { idempotencyToken: input.idempotencyToken })), (input.retryType !== undefined && input.retryType !== null && { retryType: input.retryType }));
|
|
3301
|
+
return __assign(__assign(__assign({}, (input.id != null && { id: input.id })), (input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken })), (input.retryType != null && { retryType: input.retryType }));
|
|
3359
3302
|
};
|
|
3360
3303
|
var serializeAws_json1_1RetryBuildInput = function (input, context) {
|
|
3361
|
-
return __assign(__assign({}, (input.id
|
|
3362
|
-
input.idempotencyToken !== null && { idempotencyToken: input.idempotencyToken }));
|
|
3304
|
+
return __assign(__assign({}, (input.id != null && { id: input.id })), (input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }));
|
|
3363
3305
|
};
|
|
3364
3306
|
var serializeAws_json1_1S3LogsConfig = function (input, context) {
|
|
3365
|
-
return __assign(__assign(__assign(__assign({}, (input.bucketOwnerAccess
|
|
3366
|
-
input.bucketOwnerAccess !== null && { bucketOwnerAccess: input.bucketOwnerAccess })), (input.encryptionDisabled !== undefined &&
|
|
3367
|
-
input.encryptionDisabled !== null && { encryptionDisabled: input.encryptionDisabled })), (input.location !== undefined && input.location !== null && { location: input.location })), (input.status !== undefined && input.status !== null && { status: input.status }));
|
|
3307
|
+
return __assign(__assign(__assign(__assign({}, (input.bucketOwnerAccess != null && { bucketOwnerAccess: input.bucketOwnerAccess })), (input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled })), (input.location != null && { location: input.location })), (input.status != null && { status: input.status }));
|
|
3368
3308
|
};
|
|
3369
3309
|
var serializeAws_json1_1S3ReportExportConfig = function (input, context) {
|
|
3370
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.bucket
|
|
3371
|
-
input.encryptionDisabled !== null && { encryptionDisabled: input.encryptionDisabled })), (input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey })), (input.packaging !== undefined && input.packaging !== null && { packaging: input.packaging })), (input.path !== undefined && input.path !== null && { path: input.path }));
|
|
3310
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.bucket != null && { bucket: input.bucket })), (input.bucketOwner != null && { bucketOwner: input.bucketOwner })), (input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled })), (input.encryptionKey != null && { encryptionKey: input.encryptionKey })), (input.packaging != null && { packaging: input.packaging })), (input.path != null && { path: input.path }));
|
|
3372
3311
|
};
|
|
3373
3312
|
var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
3374
3313
|
return input
|
|
@@ -3381,131 +3320,75 @@ var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
|
3381
3320
|
});
|
|
3382
3321
|
};
|
|
3383
3322
|
var serializeAws_json1_1SourceAuth = function (input, context) {
|
|
3384
|
-
return __assign(__assign({}, (input.resource
|
|
3323
|
+
return __assign(__assign({}, (input.resource != null && { resource: input.resource })), (input.type != null && { type: input.type }));
|
|
3385
3324
|
};
|
|
3386
3325
|
var serializeAws_json1_1StartBuildBatchInput = function (input, context) {
|
|
3387
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifactsOverride
|
|
3388
|
-
input.artifactsOverride !== null && {
|
|
3326
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifactsOverride != null && {
|
|
3389
3327
|
artifactsOverride: serializeAws_json1_1ProjectArtifacts(input.artifactsOverride, context),
|
|
3390
|
-
})), (input.buildBatchConfigOverride
|
|
3391
|
-
input.buildBatchConfigOverride !== null && {
|
|
3328
|
+
})), (input.buildBatchConfigOverride != null && {
|
|
3392
3329
|
buildBatchConfigOverride: serializeAws_json1_1ProjectBuildBatchConfig(input.buildBatchConfigOverride, context),
|
|
3393
|
-
})), (input.buildTimeoutInMinutesOverride
|
|
3394
|
-
input.buildTimeoutInMinutesOverride !== null && {
|
|
3330
|
+
})), (input.buildTimeoutInMinutesOverride != null && {
|
|
3395
3331
|
buildTimeoutInMinutesOverride: input.buildTimeoutInMinutesOverride,
|
|
3396
|
-
})), (input.buildspecOverride
|
|
3397
|
-
input.buildspecOverride !== null && { buildspecOverride: input.buildspecOverride })), (input.cacheOverride !== undefined &&
|
|
3398
|
-
input.cacheOverride !== null && {
|
|
3332
|
+
})), (input.buildspecOverride != null && { buildspecOverride: input.buildspecOverride })), (input.cacheOverride != null && {
|
|
3399
3333
|
cacheOverride: serializeAws_json1_1ProjectCache(input.cacheOverride, context),
|
|
3400
|
-
})), (input.certificateOverride
|
|
3401
|
-
input.certificateOverride !== null && { certificateOverride: input.certificateOverride })), (input.computeTypeOverride !== undefined &&
|
|
3402
|
-
input.computeTypeOverride !== null && { computeTypeOverride: input.computeTypeOverride })), (input.debugSessionEnabled !== undefined &&
|
|
3403
|
-
input.debugSessionEnabled !== null && { debugSessionEnabled: input.debugSessionEnabled })), (input.encryptionKeyOverride !== undefined &&
|
|
3404
|
-
input.encryptionKeyOverride !== null && { encryptionKeyOverride: input.encryptionKeyOverride })), (input.environmentTypeOverride !== undefined &&
|
|
3405
|
-
input.environmentTypeOverride !== null && { environmentTypeOverride: input.environmentTypeOverride })), (input.environmentVariablesOverride !== undefined &&
|
|
3406
|
-
input.environmentVariablesOverride !== null && {
|
|
3334
|
+
})), (input.certificateOverride != null && { certificateOverride: input.certificateOverride })), (input.computeTypeOverride != null && { computeTypeOverride: input.computeTypeOverride })), (input.debugSessionEnabled != null && { debugSessionEnabled: input.debugSessionEnabled })), (input.encryptionKeyOverride != null && { encryptionKeyOverride: input.encryptionKeyOverride })), (input.environmentTypeOverride != null && { environmentTypeOverride: input.environmentTypeOverride })), (input.environmentVariablesOverride != null && {
|
|
3407
3335
|
environmentVariablesOverride: serializeAws_json1_1EnvironmentVariables(input.environmentVariablesOverride, context),
|
|
3408
|
-
})), (input.gitCloneDepthOverride
|
|
3409
|
-
input.gitCloneDepthOverride !== null && { gitCloneDepthOverride: input.gitCloneDepthOverride })), (input.gitSubmodulesConfigOverride !== undefined &&
|
|
3410
|
-
input.gitSubmodulesConfigOverride !== null && {
|
|
3336
|
+
})), (input.gitCloneDepthOverride != null && { gitCloneDepthOverride: input.gitCloneDepthOverride })), (input.gitSubmodulesConfigOverride != null && {
|
|
3411
3337
|
gitSubmodulesConfigOverride: serializeAws_json1_1GitSubmodulesConfig(input.gitSubmodulesConfigOverride, context),
|
|
3412
|
-
})), (input.idempotencyToken
|
|
3413
|
-
input.idempotencyToken !== null && { idempotencyToken: input.idempotencyToken })), (input.imageOverride !== undefined && input.imageOverride !== null && { imageOverride: input.imageOverride })), (input.imagePullCredentialsTypeOverride !== undefined &&
|
|
3414
|
-
input.imagePullCredentialsTypeOverride !== null && {
|
|
3338
|
+
})), (input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken })), (input.imageOverride != null && { imageOverride: input.imageOverride })), (input.imagePullCredentialsTypeOverride != null && {
|
|
3415
3339
|
imagePullCredentialsTypeOverride: input.imagePullCredentialsTypeOverride,
|
|
3416
|
-
})), (input.insecureSslOverride
|
|
3417
|
-
input.insecureSslOverride !== null && { insecureSslOverride: input.insecureSslOverride })), (input.logsConfigOverride !== undefined &&
|
|
3418
|
-
input.logsConfigOverride !== null && {
|
|
3340
|
+
})), (input.insecureSslOverride != null && { insecureSslOverride: input.insecureSslOverride })), (input.logsConfigOverride != null && {
|
|
3419
3341
|
logsConfigOverride: serializeAws_json1_1LogsConfig(input.logsConfigOverride, context),
|
|
3420
|
-
})), (input.privilegedModeOverride
|
|
3421
|
-
input.privilegedModeOverride !== null && { privilegedModeOverride: input.privilegedModeOverride })), (input.projectName !== undefined && input.projectName !== null && { projectName: input.projectName })), (input.queuedTimeoutInMinutesOverride !== undefined &&
|
|
3422
|
-
input.queuedTimeoutInMinutesOverride !== null && {
|
|
3342
|
+
})), (input.privilegedModeOverride != null && { privilegedModeOverride: input.privilegedModeOverride })), (input.projectName != null && { projectName: input.projectName })), (input.queuedTimeoutInMinutesOverride != null && {
|
|
3423
3343
|
queuedTimeoutInMinutesOverride: input.queuedTimeoutInMinutesOverride,
|
|
3424
|
-
})), (input.registryCredentialOverride
|
|
3425
|
-
input.registryCredentialOverride !== null && {
|
|
3344
|
+
})), (input.registryCredentialOverride != null && {
|
|
3426
3345
|
registryCredentialOverride: serializeAws_json1_1RegistryCredential(input.registryCredentialOverride, context),
|
|
3427
|
-
})), (input.reportBuildBatchStatusOverride
|
|
3428
|
-
input.reportBuildBatchStatusOverride !== null && {
|
|
3346
|
+
})), (input.reportBuildBatchStatusOverride != null && {
|
|
3429
3347
|
reportBuildBatchStatusOverride: input.reportBuildBatchStatusOverride,
|
|
3430
|
-
})), (input.secondaryArtifactsOverride
|
|
3431
|
-
input.secondaryArtifactsOverride !== null && {
|
|
3348
|
+
})), (input.secondaryArtifactsOverride != null && {
|
|
3432
3349
|
secondaryArtifactsOverride: serializeAws_json1_1ProjectArtifactsList(input.secondaryArtifactsOverride, context),
|
|
3433
|
-
})), (input.secondarySourcesOverride
|
|
3434
|
-
input.secondarySourcesOverride !== null && {
|
|
3350
|
+
})), (input.secondarySourcesOverride != null && {
|
|
3435
3351
|
secondarySourcesOverride: serializeAws_json1_1ProjectSources(input.secondarySourcesOverride, context),
|
|
3436
|
-
})), (input.secondarySourcesVersionOverride
|
|
3437
|
-
input.secondarySourcesVersionOverride !== null && {
|
|
3352
|
+
})), (input.secondarySourcesVersionOverride != null && {
|
|
3438
3353
|
secondarySourcesVersionOverride: serializeAws_json1_1ProjectSecondarySourceVersions(input.secondarySourcesVersionOverride, context),
|
|
3439
|
-
})), (input.serviceRoleOverride
|
|
3440
|
-
input.serviceRoleOverride !== null && { serviceRoleOverride: input.serviceRoleOverride })), (input.sourceAuthOverride !== undefined &&
|
|
3441
|
-
input.sourceAuthOverride !== null && {
|
|
3354
|
+
})), (input.serviceRoleOverride != null && { serviceRoleOverride: input.serviceRoleOverride })), (input.sourceAuthOverride != null && {
|
|
3442
3355
|
sourceAuthOverride: serializeAws_json1_1SourceAuth(input.sourceAuthOverride, context),
|
|
3443
|
-
})), (input.sourceLocationOverride
|
|
3444
|
-
input.sourceLocationOverride !== null && { sourceLocationOverride: input.sourceLocationOverride })), (input.sourceTypeOverride !== undefined &&
|
|
3445
|
-
input.sourceTypeOverride !== null && { sourceTypeOverride: input.sourceTypeOverride })), (input.sourceVersion !== undefined && input.sourceVersion !== null && { sourceVersion: input.sourceVersion }));
|
|
3356
|
+
})), (input.sourceLocationOverride != null && { sourceLocationOverride: input.sourceLocationOverride })), (input.sourceTypeOverride != null && { sourceTypeOverride: input.sourceTypeOverride })), (input.sourceVersion != null && { sourceVersion: input.sourceVersion }));
|
|
3446
3357
|
};
|
|
3447
3358
|
var serializeAws_json1_1StartBuildInput = function (input, context) {
|
|
3448
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifactsOverride
|
|
3449
|
-
input.artifactsOverride !== null && {
|
|
3359
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifactsOverride != null && {
|
|
3450
3360
|
artifactsOverride: serializeAws_json1_1ProjectArtifacts(input.artifactsOverride, context),
|
|
3451
|
-
})), (input.buildStatusConfigOverride
|
|
3452
|
-
input.buildStatusConfigOverride !== null && {
|
|
3361
|
+
})), (input.buildStatusConfigOverride != null && {
|
|
3453
3362
|
buildStatusConfigOverride: serializeAws_json1_1BuildStatusConfig(input.buildStatusConfigOverride, context),
|
|
3454
|
-
})), (input.buildspecOverride
|
|
3455
|
-
input.buildspecOverride !== null && { buildspecOverride: input.buildspecOverride })), (input.cacheOverride !== undefined &&
|
|
3456
|
-
input.cacheOverride !== null && {
|
|
3363
|
+
})), (input.buildspecOverride != null && { buildspecOverride: input.buildspecOverride })), (input.cacheOverride != null && {
|
|
3457
3364
|
cacheOverride: serializeAws_json1_1ProjectCache(input.cacheOverride, context),
|
|
3458
|
-
})), (input.certificateOverride
|
|
3459
|
-
input.certificateOverride !== null && { certificateOverride: input.certificateOverride })), (input.computeTypeOverride !== undefined &&
|
|
3460
|
-
input.computeTypeOverride !== null && { computeTypeOverride: input.computeTypeOverride })), (input.debugSessionEnabled !== undefined &&
|
|
3461
|
-
input.debugSessionEnabled !== null && { debugSessionEnabled: input.debugSessionEnabled })), (input.encryptionKeyOverride !== undefined &&
|
|
3462
|
-
input.encryptionKeyOverride !== null && { encryptionKeyOverride: input.encryptionKeyOverride })), (input.environmentTypeOverride !== undefined &&
|
|
3463
|
-
input.environmentTypeOverride !== null && { environmentTypeOverride: input.environmentTypeOverride })), (input.environmentVariablesOverride !== undefined &&
|
|
3464
|
-
input.environmentVariablesOverride !== null && {
|
|
3365
|
+
})), (input.certificateOverride != null && { certificateOverride: input.certificateOverride })), (input.computeTypeOverride != null && { computeTypeOverride: input.computeTypeOverride })), (input.debugSessionEnabled != null && { debugSessionEnabled: input.debugSessionEnabled })), (input.encryptionKeyOverride != null && { encryptionKeyOverride: input.encryptionKeyOverride })), (input.environmentTypeOverride != null && { environmentTypeOverride: input.environmentTypeOverride })), (input.environmentVariablesOverride != null && {
|
|
3465
3366
|
environmentVariablesOverride: serializeAws_json1_1EnvironmentVariables(input.environmentVariablesOverride, context),
|
|
3466
|
-
})), (input.gitCloneDepthOverride
|
|
3467
|
-
input.gitCloneDepthOverride !== null && { gitCloneDepthOverride: input.gitCloneDepthOverride })), (input.gitSubmodulesConfigOverride !== undefined &&
|
|
3468
|
-
input.gitSubmodulesConfigOverride !== null && {
|
|
3367
|
+
})), (input.gitCloneDepthOverride != null && { gitCloneDepthOverride: input.gitCloneDepthOverride })), (input.gitSubmodulesConfigOverride != null && {
|
|
3469
3368
|
gitSubmodulesConfigOverride: serializeAws_json1_1GitSubmodulesConfig(input.gitSubmodulesConfigOverride, context),
|
|
3470
|
-
})), (input.idempotencyToken
|
|
3471
|
-
input.idempotencyToken !== null && { idempotencyToken: input.idempotencyToken })), (input.imageOverride !== undefined && input.imageOverride !== null && { imageOverride: input.imageOverride })), (input.imagePullCredentialsTypeOverride !== undefined &&
|
|
3472
|
-
input.imagePullCredentialsTypeOverride !== null && {
|
|
3369
|
+
})), (input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken })), (input.imageOverride != null && { imageOverride: input.imageOverride })), (input.imagePullCredentialsTypeOverride != null && {
|
|
3473
3370
|
imagePullCredentialsTypeOverride: input.imagePullCredentialsTypeOverride,
|
|
3474
|
-
})), (input.insecureSslOverride
|
|
3475
|
-
input.insecureSslOverride !== null && { insecureSslOverride: input.insecureSslOverride })), (input.logsConfigOverride !== undefined &&
|
|
3476
|
-
input.logsConfigOverride !== null && {
|
|
3371
|
+
})), (input.insecureSslOverride != null && { insecureSslOverride: input.insecureSslOverride })), (input.logsConfigOverride != null && {
|
|
3477
3372
|
logsConfigOverride: serializeAws_json1_1LogsConfig(input.logsConfigOverride, context),
|
|
3478
|
-
})), (input.privilegedModeOverride
|
|
3479
|
-
input.privilegedModeOverride !== null && { privilegedModeOverride: input.privilegedModeOverride })), (input.projectName !== undefined && input.projectName !== null && { projectName: input.projectName })), (input.queuedTimeoutInMinutesOverride !== undefined &&
|
|
3480
|
-
input.queuedTimeoutInMinutesOverride !== null && {
|
|
3373
|
+
})), (input.privilegedModeOverride != null && { privilegedModeOverride: input.privilegedModeOverride })), (input.projectName != null && { projectName: input.projectName })), (input.queuedTimeoutInMinutesOverride != null && {
|
|
3481
3374
|
queuedTimeoutInMinutesOverride: input.queuedTimeoutInMinutesOverride,
|
|
3482
|
-
})), (input.registryCredentialOverride
|
|
3483
|
-
input.registryCredentialOverride !== null && {
|
|
3375
|
+
})), (input.registryCredentialOverride != null && {
|
|
3484
3376
|
registryCredentialOverride: serializeAws_json1_1RegistryCredential(input.registryCredentialOverride, context),
|
|
3485
|
-
})), (input.reportBuildStatusOverride
|
|
3486
|
-
input.reportBuildStatusOverride !== null && { reportBuildStatusOverride: input.reportBuildStatusOverride })), (input.secondaryArtifactsOverride !== undefined &&
|
|
3487
|
-
input.secondaryArtifactsOverride !== null && {
|
|
3377
|
+
})), (input.reportBuildStatusOverride != null && { reportBuildStatusOverride: input.reportBuildStatusOverride })), (input.secondaryArtifactsOverride != null && {
|
|
3488
3378
|
secondaryArtifactsOverride: serializeAws_json1_1ProjectArtifactsList(input.secondaryArtifactsOverride, context),
|
|
3489
|
-
})), (input.secondarySourcesOverride
|
|
3490
|
-
input.secondarySourcesOverride !== null && {
|
|
3379
|
+
})), (input.secondarySourcesOverride != null && {
|
|
3491
3380
|
secondarySourcesOverride: serializeAws_json1_1ProjectSources(input.secondarySourcesOverride, context),
|
|
3492
|
-
})), (input.secondarySourcesVersionOverride
|
|
3493
|
-
input.secondarySourcesVersionOverride !== null && {
|
|
3381
|
+
})), (input.secondarySourcesVersionOverride != null && {
|
|
3494
3382
|
secondarySourcesVersionOverride: serializeAws_json1_1ProjectSecondarySourceVersions(input.secondarySourcesVersionOverride, context),
|
|
3495
|
-
})), (input.serviceRoleOverride
|
|
3496
|
-
input.serviceRoleOverride !== null && { serviceRoleOverride: input.serviceRoleOverride })), (input.sourceAuthOverride !== undefined &&
|
|
3497
|
-
input.sourceAuthOverride !== null && {
|
|
3383
|
+
})), (input.serviceRoleOverride != null && { serviceRoleOverride: input.serviceRoleOverride })), (input.sourceAuthOverride != null && {
|
|
3498
3384
|
sourceAuthOverride: serializeAws_json1_1SourceAuth(input.sourceAuthOverride, context),
|
|
3499
|
-
})), (input.sourceLocationOverride
|
|
3500
|
-
input.sourceLocationOverride !== null && { sourceLocationOverride: input.sourceLocationOverride })), (input.sourceTypeOverride !== undefined &&
|
|
3501
|
-
input.sourceTypeOverride !== null && { sourceTypeOverride: input.sourceTypeOverride })), (input.sourceVersion !== undefined && input.sourceVersion !== null && { sourceVersion: input.sourceVersion })), (input.timeoutInMinutesOverride !== undefined &&
|
|
3502
|
-
input.timeoutInMinutesOverride !== null && { timeoutInMinutesOverride: input.timeoutInMinutesOverride }));
|
|
3385
|
+
})), (input.sourceLocationOverride != null && { sourceLocationOverride: input.sourceLocationOverride })), (input.sourceTypeOverride != null && { sourceTypeOverride: input.sourceTypeOverride })), (input.sourceVersion != null && { sourceVersion: input.sourceVersion })), (input.timeoutInMinutesOverride != null && { timeoutInMinutesOverride: input.timeoutInMinutesOverride }));
|
|
3503
3386
|
};
|
|
3504
3387
|
var serializeAws_json1_1StopBuildBatchInput = function (input, context) {
|
|
3505
|
-
return __assign({}, (input.id
|
|
3388
|
+
return __assign({}, (input.id != null && { id: input.id }));
|
|
3506
3389
|
};
|
|
3507
3390
|
var serializeAws_json1_1StopBuildInput = function (input, context) {
|
|
3508
|
-
return __assign({}, (input.id
|
|
3391
|
+
return __assign({}, (input.id != null && { id: input.id }));
|
|
3509
3392
|
};
|
|
3510
3393
|
var serializeAws_json1_1Subnets = function (input, context) {
|
|
3511
3394
|
return input
|
|
@@ -3518,7 +3401,7 @@ var serializeAws_json1_1Subnets = function (input, context) {
|
|
|
3518
3401
|
});
|
|
3519
3402
|
};
|
|
3520
3403
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3521
|
-
return __assign(__assign({}, (input.key
|
|
3404
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
3522
3405
|
};
|
|
3523
3406
|
var serializeAws_json1_1TagList = function (input, context) {
|
|
3524
3407
|
return input
|
|
@@ -3531,62 +3414,41 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
3531
3414
|
});
|
|
3532
3415
|
};
|
|
3533
3416
|
var serializeAws_json1_1TestCaseFilter = function (input, context) {
|
|
3534
|
-
return __assign(__assign({}, (input.keyword
|
|
3417
|
+
return __assign(__assign({}, (input.keyword != null && { keyword: input.keyword })), (input.status != null && { status: input.status }));
|
|
3535
3418
|
};
|
|
3536
3419
|
var serializeAws_json1_1UpdateProjectInput = function (input, context) {
|
|
3537
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifacts
|
|
3538
|
-
input.artifacts !== null && { artifacts: serializeAws_json1_1ProjectArtifacts(input.artifacts, context) })), (input.badgeEnabled !== undefined && input.badgeEnabled !== null && { badgeEnabled: input.badgeEnabled })), (input.buildBatchConfig !== undefined &&
|
|
3539
|
-
input.buildBatchConfig !== null && {
|
|
3420
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifacts != null && { artifacts: serializeAws_json1_1ProjectArtifacts(input.artifacts, context) })), (input.badgeEnabled != null && { badgeEnabled: input.badgeEnabled })), (input.buildBatchConfig != null && {
|
|
3540
3421
|
buildBatchConfig: serializeAws_json1_1ProjectBuildBatchConfig(input.buildBatchConfig, context),
|
|
3541
|
-
})), (input.cache
|
|
3542
|
-
input.cache !== null && { cache: serializeAws_json1_1ProjectCache(input.cache, context) })), (input.concurrentBuildLimit !== undefined &&
|
|
3543
|
-
input.concurrentBuildLimit !== null && { concurrentBuildLimit: input.concurrentBuildLimit })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey })), (input.environment !== undefined &&
|
|
3544
|
-
input.environment !== null && {
|
|
3422
|
+
})), (input.cache != null && { cache: serializeAws_json1_1ProjectCache(input.cache, context) })), (input.concurrentBuildLimit != null && { concurrentBuildLimit: input.concurrentBuildLimit })), (input.description != null && { description: input.description })), (input.encryptionKey != null && { encryptionKey: input.encryptionKey })), (input.environment != null && {
|
|
3545
3423
|
environment: serializeAws_json1_1ProjectEnvironment(input.environment, context),
|
|
3546
|
-
})), (input.fileSystemLocations
|
|
3547
|
-
input.fileSystemLocations !== null && {
|
|
3424
|
+
})), (input.fileSystemLocations != null && {
|
|
3548
3425
|
fileSystemLocations: serializeAws_json1_1ProjectFileSystemLocations(input.fileSystemLocations, context),
|
|
3549
|
-
})), (input.logsConfig
|
|
3550
|
-
input.logsConfig !== null && { logsConfig: serializeAws_json1_1LogsConfig(input.logsConfig, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.queuedTimeoutInMinutes !== undefined &&
|
|
3551
|
-
input.queuedTimeoutInMinutes !== null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes })), (input.secondaryArtifacts !== undefined &&
|
|
3552
|
-
input.secondaryArtifacts !== null && {
|
|
3426
|
+
})), (input.logsConfig != null && { logsConfig: serializeAws_json1_1LogsConfig(input.logsConfig, context) })), (input.name != null && { name: input.name })), (input.queuedTimeoutInMinutes != null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes })), (input.secondaryArtifacts != null && {
|
|
3553
3427
|
secondaryArtifacts: serializeAws_json1_1ProjectArtifactsList(input.secondaryArtifacts, context),
|
|
3554
|
-
})), (input.secondarySourceVersions
|
|
3555
|
-
input.secondarySourceVersions !== null && {
|
|
3428
|
+
})), (input.secondarySourceVersions != null && {
|
|
3556
3429
|
secondarySourceVersions: serializeAws_json1_1ProjectSecondarySourceVersions(input.secondarySourceVersions, context),
|
|
3557
|
-
})), (input.secondarySources
|
|
3558
|
-
input.secondarySources !== null && {
|
|
3430
|
+
})), (input.secondarySources != null && {
|
|
3559
3431
|
secondarySources: serializeAws_json1_1ProjectSources(input.secondarySources, context),
|
|
3560
|
-
})), (input.serviceRole
|
|
3561
|
-
input.source !== null && { source: serializeAws_json1_1ProjectSource(input.source, context) })), (input.sourceVersion !== undefined && input.sourceVersion !== null && { sourceVersion: input.sourceVersion })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.timeoutInMinutes !== undefined &&
|
|
3562
|
-
input.timeoutInMinutes !== null && { timeoutInMinutes: input.timeoutInMinutes })), (input.vpcConfig !== undefined &&
|
|
3563
|
-
input.vpcConfig !== null && { vpcConfig: serializeAws_json1_1VpcConfig(input.vpcConfig, context) }));
|
|
3432
|
+
})), (input.serviceRole != null && { serviceRole: input.serviceRole })), (input.source != null && { source: serializeAws_json1_1ProjectSource(input.source, context) })), (input.sourceVersion != null && { sourceVersion: input.sourceVersion })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.timeoutInMinutes != null && { timeoutInMinutes: input.timeoutInMinutes })), (input.vpcConfig != null && { vpcConfig: serializeAws_json1_1VpcConfig(input.vpcConfig, context) }));
|
|
3564
3433
|
};
|
|
3565
3434
|
var serializeAws_json1_1UpdateProjectVisibilityInput = function (input, context) {
|
|
3566
|
-
return __assign(__assign(__assign({}, (input.projectArn
|
|
3567
|
-
input.projectVisibility !== null && { projectVisibility: input.projectVisibility })), (input.resourceAccessRole !== undefined &&
|
|
3568
|
-
input.resourceAccessRole !== null && { resourceAccessRole: input.resourceAccessRole }));
|
|
3435
|
+
return __assign(__assign(__assign({}, (input.projectArn != null && { projectArn: input.projectArn })), (input.projectVisibility != null && { projectVisibility: input.projectVisibility })), (input.resourceAccessRole != null && { resourceAccessRole: input.resourceAccessRole }));
|
|
3569
3436
|
};
|
|
3570
3437
|
var serializeAws_json1_1UpdateReportGroupInput = function (input, context) {
|
|
3571
|
-
return __assign(__assign(__assign({}, (input.arn
|
|
3572
|
-
input.exportConfig !== null && {
|
|
3438
|
+
return __assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.exportConfig != null && {
|
|
3573
3439
|
exportConfig: serializeAws_json1_1ReportExportConfig(input.exportConfig, context),
|
|
3574
|
-
})), (input.tags
|
|
3440
|
+
})), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
3575
3441
|
};
|
|
3576
3442
|
var serializeAws_json1_1UpdateWebhookInput = function (input, context) {
|
|
3577
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.branchFilter
|
|
3578
|
-
input.filterGroups !== null && { filterGroups: serializeAws_json1_1FilterGroups(input.filterGroups, context) })), (input.projectName !== undefined && input.projectName !== null && { projectName: input.projectName })), (input.rotateSecret !== undefined && input.rotateSecret !== null && { rotateSecret: input.rotateSecret }));
|
|
3443
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.branchFilter != null && { branchFilter: input.branchFilter })), (input.buildType != null && { buildType: input.buildType })), (input.filterGroups != null && { filterGroups: serializeAws_json1_1FilterGroups(input.filterGroups, context) })), (input.projectName != null && { projectName: input.projectName })), (input.rotateSecret != null && { rotateSecret: input.rotateSecret }));
|
|
3579
3444
|
};
|
|
3580
3445
|
var serializeAws_json1_1VpcConfig = function (input, context) {
|
|
3581
|
-
return __assign(__assign(__assign({}, (input.securityGroupIds
|
|
3582
|
-
input.securityGroupIds !== null && {
|
|
3446
|
+
return __assign(__assign(__assign({}, (input.securityGroupIds != null && {
|
|
3583
3447
|
securityGroupIds: serializeAws_json1_1SecurityGroupIds(input.securityGroupIds, context),
|
|
3584
|
-
})), (input.subnets
|
|
3585
|
-
input.subnets !== null && { subnets: serializeAws_json1_1Subnets(input.subnets, context) })), (input.vpcId !== undefined && input.vpcId !== null && { vpcId: input.vpcId }));
|
|
3448
|
+
})), (input.subnets != null && { subnets: serializeAws_json1_1Subnets(input.subnets, context) })), (input.vpcId != null && { vpcId: input.vpcId }));
|
|
3586
3449
|
};
|
|
3587
3450
|
var serializeAws_json1_1WebhookFilter = function (input, context) {
|
|
3588
|
-
return __assign(__assign(__assign({}, (input.excludeMatchedPattern
|
|
3589
|
-
input.excludeMatchedPattern !== null && { excludeMatchedPattern: input.excludeMatchedPattern })), (input.pattern !== undefined && input.pattern !== null && { pattern: input.pattern })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
3451
|
+
return __assign(__assign(__assign({}, (input.excludeMatchedPattern != null && { excludeMatchedPattern: input.excludeMatchedPattern })), (input.pattern != null && { pattern: input.pattern })), (input.type != null && { type: input.type }));
|
|
3590
3452
|
};
|
|
3591
3453
|
var deserializeAws_json1_1AccountLimitExceededException = function (output, context) {
|
|
3592
3454
|
return {
|
|
@@ -3595,67 +3457,51 @@ var deserializeAws_json1_1AccountLimitExceededException = function (output, cont
|
|
|
3595
3457
|
};
|
|
3596
3458
|
var deserializeAws_json1_1BatchDeleteBuildsOutput = function (output, context) {
|
|
3597
3459
|
return {
|
|
3598
|
-
buildsDeleted: output.buildsDeleted
|
|
3599
|
-
|
|
3600
|
-
: undefined,
|
|
3601
|
-
buildsNotDeleted: output.buildsNotDeleted !== undefined && output.buildsNotDeleted !== null
|
|
3460
|
+
buildsDeleted: output.buildsDeleted != null ? deserializeAws_json1_1BuildIds(output.buildsDeleted, context) : undefined,
|
|
3461
|
+
buildsNotDeleted: output.buildsNotDeleted != null
|
|
3602
3462
|
? deserializeAws_json1_1BuildsNotDeleted(output.buildsNotDeleted, context)
|
|
3603
3463
|
: undefined,
|
|
3604
3464
|
};
|
|
3605
3465
|
};
|
|
3606
3466
|
var deserializeAws_json1_1BatchGetBuildBatchesOutput = function (output, context) {
|
|
3607
3467
|
return {
|
|
3608
|
-
buildBatches: output.buildBatches
|
|
3609
|
-
|
|
3610
|
-
: undefined,
|
|
3611
|
-
buildBatchesNotFound: output.buildBatchesNotFound !== undefined && output.buildBatchesNotFound !== null
|
|
3468
|
+
buildBatches: output.buildBatches != null ? deserializeAws_json1_1BuildBatches(output.buildBatches, context) : undefined,
|
|
3469
|
+
buildBatchesNotFound: output.buildBatchesNotFound != null
|
|
3612
3470
|
? deserializeAws_json1_1BuildBatchIds(output.buildBatchesNotFound, context)
|
|
3613
3471
|
: undefined,
|
|
3614
3472
|
};
|
|
3615
3473
|
};
|
|
3616
3474
|
var deserializeAws_json1_1BatchGetBuildsOutput = function (output, context) {
|
|
3617
3475
|
return {
|
|
3618
|
-
builds: output.builds
|
|
3619
|
-
|
|
3620
|
-
: undefined,
|
|
3621
|
-
buildsNotFound: output.buildsNotFound !== undefined && output.buildsNotFound !== null
|
|
3622
|
-
? deserializeAws_json1_1BuildIds(output.buildsNotFound, context)
|
|
3623
|
-
: undefined,
|
|
3476
|
+
builds: output.builds != null ? deserializeAws_json1_1Builds(output.builds, context) : undefined,
|
|
3477
|
+
buildsNotFound: output.buildsNotFound != null ? deserializeAws_json1_1BuildIds(output.buildsNotFound, context) : undefined,
|
|
3624
3478
|
};
|
|
3625
3479
|
};
|
|
3626
3480
|
var deserializeAws_json1_1BatchGetProjectsOutput = function (output, context) {
|
|
3627
3481
|
return {
|
|
3628
|
-
projects: output.projects
|
|
3629
|
-
|
|
3630
|
-
: undefined,
|
|
3631
|
-
projectsNotFound: output.projectsNotFound !== undefined && output.projectsNotFound !== null
|
|
3482
|
+
projects: output.projects != null ? deserializeAws_json1_1Projects(output.projects, context) : undefined,
|
|
3483
|
+
projectsNotFound: output.projectsNotFound != null
|
|
3632
3484
|
? deserializeAws_json1_1ProjectNames(output.projectsNotFound, context)
|
|
3633
3485
|
: undefined,
|
|
3634
3486
|
};
|
|
3635
3487
|
};
|
|
3636
3488
|
var deserializeAws_json1_1BatchGetReportGroupsOutput = function (output, context) {
|
|
3637
3489
|
return {
|
|
3638
|
-
reportGroups: output.reportGroups
|
|
3639
|
-
|
|
3640
|
-
: undefined,
|
|
3641
|
-
reportGroupsNotFound: output.reportGroupsNotFound !== undefined && output.reportGroupsNotFound !== null
|
|
3490
|
+
reportGroups: output.reportGroups != null ? deserializeAws_json1_1ReportGroups(output.reportGroups, context) : undefined,
|
|
3491
|
+
reportGroupsNotFound: output.reportGroupsNotFound != null
|
|
3642
3492
|
? deserializeAws_json1_1ReportGroupArns(output.reportGroupsNotFound, context)
|
|
3643
3493
|
: undefined,
|
|
3644
3494
|
};
|
|
3645
3495
|
};
|
|
3646
3496
|
var deserializeAws_json1_1BatchGetReportsOutput = function (output, context) {
|
|
3647
3497
|
return {
|
|
3648
|
-
reports: output.reports
|
|
3649
|
-
|
|
3650
|
-
: undefined,
|
|
3651
|
-
reportsNotFound: output.reportsNotFound !== undefined && output.reportsNotFound !== null
|
|
3652
|
-
? deserializeAws_json1_1ReportArns(output.reportsNotFound, context)
|
|
3653
|
-
: undefined,
|
|
3498
|
+
reports: output.reports != null ? deserializeAws_json1_1Reports(output.reports, context) : undefined,
|
|
3499
|
+
reportsNotFound: output.reportsNotFound != null ? deserializeAws_json1_1ReportArns(output.reportsNotFound, context) : undefined,
|
|
3654
3500
|
};
|
|
3655
3501
|
};
|
|
3656
3502
|
var deserializeAws_json1_1BatchRestrictions = function (output, context) {
|
|
3657
3503
|
return {
|
|
3658
|
-
computeTypesAllowed: output.computeTypesAllowed
|
|
3504
|
+
computeTypesAllowed: output.computeTypesAllowed != null
|
|
3659
3505
|
? deserializeAws_json1_1ComputeTypesAllowed(output.computeTypesAllowed, context)
|
|
3660
3506
|
: undefined,
|
|
3661
3507
|
maximumBuildsAllowed: __expectInt32(output.maximumBuildsAllowed),
|
|
@@ -3664,71 +3510,49 @@ var deserializeAws_json1_1BatchRestrictions = function (output, context) {
|
|
|
3664
3510
|
var deserializeAws_json1_1Build = function (output, context) {
|
|
3665
3511
|
return {
|
|
3666
3512
|
arn: __expectString(output.arn),
|
|
3667
|
-
artifacts: output.artifacts
|
|
3668
|
-
? deserializeAws_json1_1BuildArtifacts(output.artifacts, context)
|
|
3669
|
-
: undefined,
|
|
3513
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1BuildArtifacts(output.artifacts, context) : undefined,
|
|
3670
3514
|
buildBatchArn: __expectString(output.buildBatchArn),
|
|
3671
3515
|
buildComplete: __expectBoolean(output.buildComplete),
|
|
3672
3516
|
buildNumber: __expectLong(output.buildNumber),
|
|
3673
3517
|
buildStatus: __expectString(output.buildStatus),
|
|
3674
|
-
cache: output.cache
|
|
3675
|
-
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
3676
|
-
: undefined,
|
|
3518
|
+
cache: output.cache != null ? deserializeAws_json1_1ProjectCache(output.cache, context) : undefined,
|
|
3677
3519
|
currentPhase: __expectString(output.currentPhase),
|
|
3678
|
-
debugSession: output.debugSession
|
|
3679
|
-
? deserializeAws_json1_1DebugSession(output.debugSession, context)
|
|
3680
|
-
: undefined,
|
|
3520
|
+
debugSession: output.debugSession != null ? deserializeAws_json1_1DebugSession(output.debugSession, context) : undefined,
|
|
3681
3521
|
encryptionKey: __expectString(output.encryptionKey),
|
|
3682
|
-
endTime: output.endTime
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
environment: output.environment !== undefined && output.environment !== null
|
|
3686
|
-
? deserializeAws_json1_1ProjectEnvironment(output.environment, context)
|
|
3687
|
-
: undefined,
|
|
3688
|
-
exportedEnvironmentVariables: output.exportedEnvironmentVariables !== undefined && output.exportedEnvironmentVariables !== null
|
|
3522
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
3523
|
+
environment: output.environment != null ? deserializeAws_json1_1ProjectEnvironment(output.environment, context) : undefined,
|
|
3524
|
+
exportedEnvironmentVariables: output.exportedEnvironmentVariables != null
|
|
3689
3525
|
? deserializeAws_json1_1ExportedEnvironmentVariables(output.exportedEnvironmentVariables, context)
|
|
3690
3526
|
: undefined,
|
|
3691
|
-
fileSystemLocations: output.fileSystemLocations
|
|
3527
|
+
fileSystemLocations: output.fileSystemLocations != null
|
|
3692
3528
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
3693
3529
|
: undefined,
|
|
3694
3530
|
id: __expectString(output.id),
|
|
3695
3531
|
initiator: __expectString(output.initiator),
|
|
3696
|
-
logs: output.logs
|
|
3697
|
-
|
|
3698
|
-
: undefined,
|
|
3699
|
-
networkInterface: output.networkInterface !== undefined && output.networkInterface !== null
|
|
3532
|
+
logs: output.logs != null ? deserializeAws_json1_1LogsLocation(output.logs, context) : undefined,
|
|
3533
|
+
networkInterface: output.networkInterface != null
|
|
3700
3534
|
? deserializeAws_json1_1NetworkInterface(output.networkInterface, context)
|
|
3701
3535
|
: undefined,
|
|
3702
|
-
phases: output.phases
|
|
3703
|
-
? deserializeAws_json1_1BuildPhases(output.phases, context)
|
|
3704
|
-
: undefined,
|
|
3536
|
+
phases: output.phases != null ? deserializeAws_json1_1BuildPhases(output.phases, context) : undefined,
|
|
3705
3537
|
projectName: __expectString(output.projectName),
|
|
3706
3538
|
queuedTimeoutInMinutes: __expectInt32(output.queuedTimeoutInMinutes),
|
|
3707
|
-
reportArns: output.reportArns
|
|
3708
|
-
? deserializeAws_json1_1BuildReportArns(output.reportArns, context)
|
|
3709
|
-
: undefined,
|
|
3539
|
+
reportArns: output.reportArns != null ? deserializeAws_json1_1BuildReportArns(output.reportArns, context) : undefined,
|
|
3710
3540
|
resolvedSourceVersion: __expectString(output.resolvedSourceVersion),
|
|
3711
|
-
secondaryArtifacts: output.secondaryArtifacts
|
|
3541
|
+
secondaryArtifacts: output.secondaryArtifacts != null
|
|
3712
3542
|
? deserializeAws_json1_1BuildArtifactsList(output.secondaryArtifacts, context)
|
|
3713
3543
|
: undefined,
|
|
3714
|
-
secondarySourceVersions: output.secondarySourceVersions
|
|
3544
|
+
secondarySourceVersions: output.secondarySourceVersions != null
|
|
3715
3545
|
? deserializeAws_json1_1ProjectSecondarySourceVersions(output.secondarySourceVersions, context)
|
|
3716
3546
|
: undefined,
|
|
3717
|
-
secondarySources: output.secondarySources
|
|
3547
|
+
secondarySources: output.secondarySources != null
|
|
3718
3548
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
3719
3549
|
: undefined,
|
|
3720
3550
|
serviceRole: __expectString(output.serviceRole),
|
|
3721
|
-
source: output.source
|
|
3722
|
-
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
3723
|
-
: undefined,
|
|
3551
|
+
source: output.source != null ? deserializeAws_json1_1ProjectSource(output.source, context) : undefined,
|
|
3724
3552
|
sourceVersion: __expectString(output.sourceVersion),
|
|
3725
|
-
startTime: output.startTime
|
|
3726
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
3727
|
-
: undefined,
|
|
3553
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
3728
3554
|
timeoutInMinutes: __expectInt32(output.timeoutInMinutes),
|
|
3729
|
-
vpcConfig: output.vpcConfig
|
|
3730
|
-
? deserializeAws_json1_1VpcConfig(output.vpcConfig, context)
|
|
3731
|
-
: undefined,
|
|
3555
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_json1_1VpcConfig(output.vpcConfig, context) : undefined,
|
|
3732
3556
|
};
|
|
3733
3557
|
};
|
|
3734
3558
|
var deserializeAws_json1_1BuildArtifacts = function (output, context) {
|
|
@@ -3756,65 +3580,45 @@ var deserializeAws_json1_1BuildArtifactsList = function (output, context) {
|
|
|
3756
3580
|
var deserializeAws_json1_1BuildBatch = function (output, context) {
|
|
3757
3581
|
return {
|
|
3758
3582
|
arn: __expectString(output.arn),
|
|
3759
|
-
artifacts: output.artifacts
|
|
3760
|
-
|
|
3761
|
-
: undefined,
|
|
3762
|
-
buildBatchConfig: output.buildBatchConfig !== undefined && output.buildBatchConfig !== null
|
|
3583
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1BuildArtifacts(output.artifacts, context) : undefined,
|
|
3584
|
+
buildBatchConfig: output.buildBatchConfig != null
|
|
3763
3585
|
? deserializeAws_json1_1ProjectBuildBatchConfig(output.buildBatchConfig, context)
|
|
3764
3586
|
: undefined,
|
|
3765
3587
|
buildBatchNumber: __expectLong(output.buildBatchNumber),
|
|
3766
3588
|
buildBatchStatus: __expectString(output.buildBatchStatus),
|
|
3767
|
-
buildGroups: output.buildGroups
|
|
3768
|
-
? deserializeAws_json1_1BuildGroups(output.buildGroups, context)
|
|
3769
|
-
: undefined,
|
|
3589
|
+
buildGroups: output.buildGroups != null ? deserializeAws_json1_1BuildGroups(output.buildGroups, context) : undefined,
|
|
3770
3590
|
buildTimeoutInMinutes: __expectInt32(output.buildTimeoutInMinutes),
|
|
3771
|
-
cache: output.cache
|
|
3772
|
-
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
3773
|
-
: undefined,
|
|
3591
|
+
cache: output.cache != null ? deserializeAws_json1_1ProjectCache(output.cache, context) : undefined,
|
|
3774
3592
|
complete: __expectBoolean(output.complete),
|
|
3775
3593
|
currentPhase: __expectString(output.currentPhase),
|
|
3776
3594
|
debugSessionEnabled: __expectBoolean(output.debugSessionEnabled),
|
|
3777
3595
|
encryptionKey: __expectString(output.encryptionKey),
|
|
3778
|
-
endTime: output.endTime
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
environment: output.environment !== undefined && output.environment !== null
|
|
3782
|
-
? deserializeAws_json1_1ProjectEnvironment(output.environment, context)
|
|
3783
|
-
: undefined,
|
|
3784
|
-
fileSystemLocations: output.fileSystemLocations !== undefined && output.fileSystemLocations !== null
|
|
3596
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
3597
|
+
environment: output.environment != null ? deserializeAws_json1_1ProjectEnvironment(output.environment, context) : undefined,
|
|
3598
|
+
fileSystemLocations: output.fileSystemLocations != null
|
|
3785
3599
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
3786
3600
|
: undefined,
|
|
3787
3601
|
id: __expectString(output.id),
|
|
3788
3602
|
initiator: __expectString(output.initiator),
|
|
3789
|
-
logConfig: output.logConfig
|
|
3790
|
-
|
|
3791
|
-
: undefined,
|
|
3792
|
-
phases: output.phases !== undefined && output.phases !== null
|
|
3793
|
-
? deserializeAws_json1_1BuildBatchPhases(output.phases, context)
|
|
3794
|
-
: undefined,
|
|
3603
|
+
logConfig: output.logConfig != null ? deserializeAws_json1_1LogsConfig(output.logConfig, context) : undefined,
|
|
3604
|
+
phases: output.phases != null ? deserializeAws_json1_1BuildBatchPhases(output.phases, context) : undefined,
|
|
3795
3605
|
projectName: __expectString(output.projectName),
|
|
3796
3606
|
queuedTimeoutInMinutes: __expectInt32(output.queuedTimeoutInMinutes),
|
|
3797
3607
|
resolvedSourceVersion: __expectString(output.resolvedSourceVersion),
|
|
3798
|
-
secondaryArtifacts: output.secondaryArtifacts
|
|
3608
|
+
secondaryArtifacts: output.secondaryArtifacts != null
|
|
3799
3609
|
? deserializeAws_json1_1BuildArtifactsList(output.secondaryArtifacts, context)
|
|
3800
3610
|
: undefined,
|
|
3801
|
-
secondarySourceVersions: output.secondarySourceVersions
|
|
3611
|
+
secondarySourceVersions: output.secondarySourceVersions != null
|
|
3802
3612
|
? deserializeAws_json1_1ProjectSecondarySourceVersions(output.secondarySourceVersions, context)
|
|
3803
3613
|
: undefined,
|
|
3804
|
-
secondarySources: output.secondarySources
|
|
3614
|
+
secondarySources: output.secondarySources != null
|
|
3805
3615
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
3806
3616
|
: undefined,
|
|
3807
3617
|
serviceRole: __expectString(output.serviceRole),
|
|
3808
|
-
source: output.source
|
|
3809
|
-
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
3810
|
-
: undefined,
|
|
3618
|
+
source: output.source != null ? deserializeAws_json1_1ProjectSource(output.source, context) : undefined,
|
|
3811
3619
|
sourceVersion: __expectString(output.sourceVersion),
|
|
3812
|
-
startTime: output.startTime
|
|
3813
|
-
|
|
3814
|
-
: undefined,
|
|
3815
|
-
vpcConfig: output.vpcConfig !== undefined && output.vpcConfig !== null
|
|
3816
|
-
? deserializeAws_json1_1VpcConfig(output.vpcConfig, context)
|
|
3817
|
-
: undefined,
|
|
3620
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
3621
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_json1_1VpcConfig(output.vpcConfig, context) : undefined,
|
|
3818
3622
|
};
|
|
3819
3623
|
};
|
|
3820
3624
|
var deserializeAws_json1_1BuildBatches = function (output, context) {
|
|
@@ -3841,18 +3645,12 @@ var deserializeAws_json1_1BuildBatchIds = function (output, context) {
|
|
|
3841
3645
|
};
|
|
3842
3646
|
var deserializeAws_json1_1BuildBatchPhase = function (output, context) {
|
|
3843
3647
|
return {
|
|
3844
|
-
contexts: output.contexts
|
|
3845
|
-
? deserializeAws_json1_1PhaseContexts(output.contexts, context)
|
|
3846
|
-
: undefined,
|
|
3648
|
+
contexts: output.contexts != null ? deserializeAws_json1_1PhaseContexts(output.contexts, context) : undefined,
|
|
3847
3649
|
durationInSeconds: __expectLong(output.durationInSeconds),
|
|
3848
|
-
endTime: output.endTime
|
|
3849
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
3850
|
-
: undefined,
|
|
3650
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
3851
3651
|
phaseStatus: __expectString(output.phaseStatus),
|
|
3852
3652
|
phaseType: __expectString(output.phaseType),
|
|
3853
|
-
startTime: output.startTime
|
|
3854
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
3855
|
-
: undefined,
|
|
3653
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
3856
3654
|
};
|
|
3857
3655
|
};
|
|
3858
3656
|
var deserializeAws_json1_1BuildBatchPhases = function (output, context) {
|
|
@@ -3868,15 +3666,13 @@ var deserializeAws_json1_1BuildBatchPhases = function (output, context) {
|
|
|
3868
3666
|
};
|
|
3869
3667
|
var deserializeAws_json1_1BuildGroup = function (output, context) {
|
|
3870
3668
|
return {
|
|
3871
|
-
currentBuildSummary: output.currentBuildSummary
|
|
3669
|
+
currentBuildSummary: output.currentBuildSummary != null
|
|
3872
3670
|
? deserializeAws_json1_1BuildSummary(output.currentBuildSummary, context)
|
|
3873
3671
|
: undefined,
|
|
3874
|
-
dependsOn: output.dependsOn
|
|
3875
|
-
? deserializeAws_json1_1Identifiers(output.dependsOn, context)
|
|
3876
|
-
: undefined,
|
|
3672
|
+
dependsOn: output.dependsOn != null ? deserializeAws_json1_1Identifiers(output.dependsOn, context) : undefined,
|
|
3877
3673
|
identifier: __expectString(output.identifier),
|
|
3878
3674
|
ignoreFailure: __expectBoolean(output.ignoreFailure),
|
|
3879
|
-
priorBuildSummaryList: output.priorBuildSummaryList
|
|
3675
|
+
priorBuildSummaryList: output.priorBuildSummaryList != null
|
|
3880
3676
|
? deserializeAws_json1_1BuildSummaries(output.priorBuildSummaryList, context)
|
|
3881
3677
|
: undefined,
|
|
3882
3678
|
};
|
|
@@ -3911,18 +3707,12 @@ var deserializeAws_json1_1BuildNotDeleted = function (output, context) {
|
|
|
3911
3707
|
};
|
|
3912
3708
|
var deserializeAws_json1_1BuildPhase = function (output, context) {
|
|
3913
3709
|
return {
|
|
3914
|
-
contexts: output.contexts
|
|
3915
|
-
? deserializeAws_json1_1PhaseContexts(output.contexts, context)
|
|
3916
|
-
: undefined,
|
|
3710
|
+
contexts: output.contexts != null ? deserializeAws_json1_1PhaseContexts(output.contexts, context) : undefined,
|
|
3917
3711
|
durationInSeconds: __expectLong(output.durationInSeconds),
|
|
3918
|
-
endTime: output.endTime
|
|
3919
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
3920
|
-
: undefined,
|
|
3712
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
3921
3713
|
phaseStatus: __expectString(output.phaseStatus),
|
|
3922
3714
|
phaseType: __expectString(output.phaseType),
|
|
3923
|
-
startTime: output.startTime
|
|
3924
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
3925
|
-
: undefined,
|
|
3715
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
3926
3716
|
};
|
|
3927
3717
|
};
|
|
3928
3718
|
var deserializeAws_json1_1BuildPhases = function (output, context) {
|
|
@@ -3990,13 +3780,13 @@ var deserializeAws_json1_1BuildSummary = function (output, context) {
|
|
|
3990
3780
|
return {
|
|
3991
3781
|
arn: __expectString(output.arn),
|
|
3992
3782
|
buildStatus: __expectString(output.buildStatus),
|
|
3993
|
-
primaryArtifact: output.primaryArtifact
|
|
3783
|
+
primaryArtifact: output.primaryArtifact != null
|
|
3994
3784
|
? deserializeAws_json1_1ResolvedArtifact(output.primaryArtifact, context)
|
|
3995
3785
|
: undefined,
|
|
3996
|
-
requestedOn: output.requestedOn
|
|
3786
|
+
requestedOn: output.requestedOn != null
|
|
3997
3787
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.requestedOn)))
|
|
3998
3788
|
: undefined,
|
|
3999
|
-
secondaryArtifacts: output.secondaryArtifacts
|
|
3789
|
+
secondaryArtifacts: output.secondaryArtifacts != null
|
|
4000
3790
|
? deserializeAws_json1_1ResolvedSecondaryArtifacts(output.secondaryArtifacts, context)
|
|
4001
3791
|
: undefined,
|
|
4002
3792
|
};
|
|
@@ -4013,9 +3803,7 @@ var deserializeAws_json1_1CodeCoverage = function (output, context) {
|
|
|
4013
3803
|
branchCoveragePercentage: __limitedParseDouble(output.branchCoveragePercentage),
|
|
4014
3804
|
branchesCovered: __expectInt32(output.branchesCovered),
|
|
4015
3805
|
branchesMissed: __expectInt32(output.branchesMissed),
|
|
4016
|
-
expired: output.expired
|
|
4017
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expired)))
|
|
4018
|
-
: undefined,
|
|
3806
|
+
expired: output.expired != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expired))) : undefined,
|
|
4019
3807
|
filePath: __expectString(output.filePath),
|
|
4020
3808
|
id: __expectString(output.id),
|
|
4021
3809
|
lineCoveragePercentage: __limitedParseDouble(output.lineCoveragePercentage),
|
|
@@ -4058,23 +3846,17 @@ var deserializeAws_json1_1ComputeTypesAllowed = function (output, context) {
|
|
|
4058
3846
|
};
|
|
4059
3847
|
var deserializeAws_json1_1CreateProjectOutput = function (output, context) {
|
|
4060
3848
|
return {
|
|
4061
|
-
project: output.project
|
|
4062
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
4063
|
-
: undefined,
|
|
3849
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
4064
3850
|
};
|
|
4065
3851
|
};
|
|
4066
3852
|
var deserializeAws_json1_1CreateReportGroupOutput = function (output, context) {
|
|
4067
3853
|
return {
|
|
4068
|
-
reportGroup: output.reportGroup
|
|
4069
|
-
? deserializeAws_json1_1ReportGroup(output.reportGroup, context)
|
|
4070
|
-
: undefined,
|
|
3854
|
+
reportGroup: output.reportGroup != null ? deserializeAws_json1_1ReportGroup(output.reportGroup, context) : undefined,
|
|
4071
3855
|
};
|
|
4072
3856
|
};
|
|
4073
3857
|
var deserializeAws_json1_1CreateWebhookOutput = function (output, context) {
|
|
4074
3858
|
return {
|
|
4075
|
-
webhook: output.webhook
|
|
4076
|
-
? deserializeAws_json1_1Webhook(output.webhook, context)
|
|
4077
|
-
: undefined,
|
|
3859
|
+
webhook: output.webhook != null ? deserializeAws_json1_1Webhook(output.webhook, context) : undefined,
|
|
4078
3860
|
};
|
|
4079
3861
|
};
|
|
4080
3862
|
var deserializeAws_json1_1DebugSession = function (output, context) {
|
|
@@ -4085,10 +3867,8 @@ var deserializeAws_json1_1DebugSession = function (output, context) {
|
|
|
4085
3867
|
};
|
|
4086
3868
|
var deserializeAws_json1_1DeleteBuildBatchOutput = function (output, context) {
|
|
4087
3869
|
return {
|
|
4088
|
-
buildsDeleted: output.buildsDeleted
|
|
4089
|
-
|
|
4090
|
-
: undefined,
|
|
4091
|
-
buildsNotDeleted: output.buildsNotDeleted !== undefined && output.buildsNotDeleted !== null
|
|
3870
|
+
buildsDeleted: output.buildsDeleted != null ? deserializeAws_json1_1BuildIds(output.buildsDeleted, context) : undefined,
|
|
3871
|
+
buildsNotDeleted: output.buildsNotDeleted != null
|
|
4092
3872
|
? deserializeAws_json1_1BuildsNotDeleted(output.buildsNotDeleted, context)
|
|
4093
3873
|
: undefined,
|
|
4094
3874
|
statusCode: __expectString(output.statusCode),
|
|
@@ -4116,27 +3896,21 @@ var deserializeAws_json1_1DeleteWebhookOutput = function (output, context) {
|
|
|
4116
3896
|
};
|
|
4117
3897
|
var deserializeAws_json1_1DescribeCodeCoveragesOutput = function (output, context) {
|
|
4118
3898
|
return {
|
|
4119
|
-
codeCoverages: output.codeCoverages
|
|
4120
|
-
? deserializeAws_json1_1CodeCoverages(output.codeCoverages, context)
|
|
4121
|
-
: undefined,
|
|
3899
|
+
codeCoverages: output.codeCoverages != null ? deserializeAws_json1_1CodeCoverages(output.codeCoverages, context) : undefined,
|
|
4122
3900
|
nextToken: __expectString(output.nextToken),
|
|
4123
3901
|
};
|
|
4124
3902
|
};
|
|
4125
3903
|
var deserializeAws_json1_1DescribeTestCasesOutput = function (output, context) {
|
|
4126
3904
|
return {
|
|
4127
3905
|
nextToken: __expectString(output.nextToken),
|
|
4128
|
-
testCases: output.testCases
|
|
4129
|
-
? deserializeAws_json1_1TestCases(output.testCases, context)
|
|
4130
|
-
: undefined,
|
|
3906
|
+
testCases: output.testCases != null ? deserializeAws_json1_1TestCases(output.testCases, context) : undefined,
|
|
4131
3907
|
};
|
|
4132
3908
|
};
|
|
4133
3909
|
var deserializeAws_json1_1EnvironmentImage = function (output, context) {
|
|
4134
3910
|
return {
|
|
4135
3911
|
description: __expectString(output.description),
|
|
4136
3912
|
name: __expectString(output.name),
|
|
4137
|
-
versions: output.versions
|
|
4138
|
-
? deserializeAws_json1_1ImageVersions(output.versions, context)
|
|
4139
|
-
: undefined,
|
|
3913
|
+
versions: output.versions != null ? deserializeAws_json1_1ImageVersions(output.versions, context) : undefined,
|
|
4140
3914
|
};
|
|
4141
3915
|
};
|
|
4142
3916
|
var deserializeAws_json1_1EnvironmentImages = function (output, context) {
|
|
@@ -4152,9 +3926,7 @@ var deserializeAws_json1_1EnvironmentImages = function (output, context) {
|
|
|
4152
3926
|
};
|
|
4153
3927
|
var deserializeAws_json1_1EnvironmentLanguage = function (output, context) {
|
|
4154
3928
|
return {
|
|
4155
|
-
images: output.images
|
|
4156
|
-
? deserializeAws_json1_1EnvironmentImages(output.images, context)
|
|
4157
|
-
: undefined,
|
|
3929
|
+
images: output.images != null ? deserializeAws_json1_1EnvironmentImages(output.images, context) : undefined,
|
|
4158
3930
|
language: __expectString(output.language),
|
|
4159
3931
|
};
|
|
4160
3932
|
};
|
|
@@ -4171,9 +3943,7 @@ var deserializeAws_json1_1EnvironmentLanguages = function (output, context) {
|
|
|
4171
3943
|
};
|
|
4172
3944
|
var deserializeAws_json1_1EnvironmentPlatform = function (output, context) {
|
|
4173
3945
|
return {
|
|
4174
|
-
languages: output.languages
|
|
4175
|
-
? deserializeAws_json1_1EnvironmentLanguages(output.languages, context)
|
|
4176
|
-
: undefined,
|
|
3946
|
+
languages: output.languages != null ? deserializeAws_json1_1EnvironmentLanguages(output.languages, context) : undefined,
|
|
4177
3947
|
platform: __expectString(output.platform),
|
|
4178
3948
|
};
|
|
4179
3949
|
};
|
|
@@ -4247,12 +4017,8 @@ var deserializeAws_json1_1FilterGroups = function (output, context) {
|
|
|
4247
4017
|
};
|
|
4248
4018
|
var deserializeAws_json1_1GetReportGroupTrendOutput = function (output, context) {
|
|
4249
4019
|
return {
|
|
4250
|
-
rawData: output.rawData
|
|
4251
|
-
|
|
4252
|
-
: undefined,
|
|
4253
|
-
stats: output.stats !== undefined && output.stats !== null
|
|
4254
|
-
? deserializeAws_json1_1ReportGroupTrendStats(output.stats, context)
|
|
4255
|
-
: undefined,
|
|
4020
|
+
rawData: output.rawData != null ? deserializeAws_json1_1ReportGroupTrendRawDataList(output.rawData, context) : undefined,
|
|
4021
|
+
stats: output.stats != null ? deserializeAws_json1_1ReportGroupTrendStats(output.stats, context) : undefined,
|
|
4256
4022
|
};
|
|
4257
4023
|
};
|
|
4258
4024
|
var deserializeAws_json1_1GetResourcePolicyOutput = function (output, context) {
|
|
@@ -4302,116 +4068,94 @@ var deserializeAws_json1_1InvalidInputException = function (output, context) {
|
|
|
4302
4068
|
};
|
|
4303
4069
|
var deserializeAws_json1_1ListBuildBatchesForProjectOutput = function (output, context) {
|
|
4304
4070
|
return {
|
|
4305
|
-
ids: output.ids
|
|
4306
|
-
? deserializeAws_json1_1BuildBatchIds(output.ids, context)
|
|
4307
|
-
: undefined,
|
|
4071
|
+
ids: output.ids != null ? deserializeAws_json1_1BuildBatchIds(output.ids, context) : undefined,
|
|
4308
4072
|
nextToken: __expectString(output.nextToken),
|
|
4309
4073
|
};
|
|
4310
4074
|
};
|
|
4311
4075
|
var deserializeAws_json1_1ListBuildBatchesOutput = function (output, context) {
|
|
4312
4076
|
return {
|
|
4313
|
-
ids: output.ids
|
|
4314
|
-
? deserializeAws_json1_1BuildBatchIds(output.ids, context)
|
|
4315
|
-
: undefined,
|
|
4077
|
+
ids: output.ids != null ? deserializeAws_json1_1BuildBatchIds(output.ids, context) : undefined,
|
|
4316
4078
|
nextToken: __expectString(output.nextToken),
|
|
4317
4079
|
};
|
|
4318
4080
|
};
|
|
4319
4081
|
var deserializeAws_json1_1ListBuildsForProjectOutput = function (output, context) {
|
|
4320
4082
|
return {
|
|
4321
|
-
ids: output.ids
|
|
4083
|
+
ids: output.ids != null ? deserializeAws_json1_1BuildIds(output.ids, context) : undefined,
|
|
4322
4084
|
nextToken: __expectString(output.nextToken),
|
|
4323
4085
|
};
|
|
4324
4086
|
};
|
|
4325
4087
|
var deserializeAws_json1_1ListBuildsOutput = function (output, context) {
|
|
4326
4088
|
return {
|
|
4327
|
-
ids: output.ids
|
|
4089
|
+
ids: output.ids != null ? deserializeAws_json1_1BuildIds(output.ids, context) : undefined,
|
|
4328
4090
|
nextToken: __expectString(output.nextToken),
|
|
4329
4091
|
};
|
|
4330
4092
|
};
|
|
4331
4093
|
var deserializeAws_json1_1ListCuratedEnvironmentImagesOutput = function (output, context) {
|
|
4332
4094
|
return {
|
|
4333
|
-
platforms: output.platforms
|
|
4334
|
-
? deserializeAws_json1_1EnvironmentPlatforms(output.platforms, context)
|
|
4335
|
-
: undefined,
|
|
4095
|
+
platforms: output.platforms != null ? deserializeAws_json1_1EnvironmentPlatforms(output.platforms, context) : undefined,
|
|
4336
4096
|
};
|
|
4337
4097
|
};
|
|
4338
4098
|
var deserializeAws_json1_1ListProjectsOutput = function (output, context) {
|
|
4339
4099
|
return {
|
|
4340
4100
|
nextToken: __expectString(output.nextToken),
|
|
4341
|
-
projects: output.projects
|
|
4342
|
-
? deserializeAws_json1_1ProjectNames(output.projects, context)
|
|
4343
|
-
: undefined,
|
|
4101
|
+
projects: output.projects != null ? deserializeAws_json1_1ProjectNames(output.projects, context) : undefined,
|
|
4344
4102
|
};
|
|
4345
4103
|
};
|
|
4346
4104
|
var deserializeAws_json1_1ListReportGroupsOutput = function (output, context) {
|
|
4347
4105
|
return {
|
|
4348
4106
|
nextToken: __expectString(output.nextToken),
|
|
4349
|
-
reportGroups: output.reportGroups
|
|
4350
|
-
? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context)
|
|
4351
|
-
: undefined,
|
|
4107
|
+
reportGroups: output.reportGroups != null ? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context) : undefined,
|
|
4352
4108
|
};
|
|
4353
4109
|
};
|
|
4354
4110
|
var deserializeAws_json1_1ListReportsForReportGroupOutput = function (output, context) {
|
|
4355
4111
|
return {
|
|
4356
4112
|
nextToken: __expectString(output.nextToken),
|
|
4357
|
-
reports: output.reports
|
|
4358
|
-
? deserializeAws_json1_1ReportArns(output.reports, context)
|
|
4359
|
-
: undefined,
|
|
4113
|
+
reports: output.reports != null ? deserializeAws_json1_1ReportArns(output.reports, context) : undefined,
|
|
4360
4114
|
};
|
|
4361
4115
|
};
|
|
4362
4116
|
var deserializeAws_json1_1ListReportsOutput = function (output, context) {
|
|
4363
4117
|
return {
|
|
4364
4118
|
nextToken: __expectString(output.nextToken),
|
|
4365
|
-
reports: output.reports
|
|
4366
|
-
? deserializeAws_json1_1ReportArns(output.reports, context)
|
|
4367
|
-
: undefined,
|
|
4119
|
+
reports: output.reports != null ? deserializeAws_json1_1ReportArns(output.reports, context) : undefined,
|
|
4368
4120
|
};
|
|
4369
4121
|
};
|
|
4370
4122
|
var deserializeAws_json1_1ListSharedProjectsOutput = function (output, context) {
|
|
4371
4123
|
return {
|
|
4372
4124
|
nextToken: __expectString(output.nextToken),
|
|
4373
|
-
projects: output.projects
|
|
4374
|
-
? deserializeAws_json1_1ProjectArns(output.projects, context)
|
|
4375
|
-
: undefined,
|
|
4125
|
+
projects: output.projects != null ? deserializeAws_json1_1ProjectArns(output.projects, context) : undefined,
|
|
4376
4126
|
};
|
|
4377
4127
|
};
|
|
4378
4128
|
var deserializeAws_json1_1ListSharedReportGroupsOutput = function (output, context) {
|
|
4379
4129
|
return {
|
|
4380
4130
|
nextToken: __expectString(output.nextToken),
|
|
4381
|
-
reportGroups: output.reportGroups
|
|
4382
|
-
? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context)
|
|
4383
|
-
: undefined,
|
|
4131
|
+
reportGroups: output.reportGroups != null ? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context) : undefined,
|
|
4384
4132
|
};
|
|
4385
4133
|
};
|
|
4386
4134
|
var deserializeAws_json1_1ListSourceCredentialsOutput = function (output, context) {
|
|
4387
4135
|
return {
|
|
4388
|
-
sourceCredentialsInfos: output.sourceCredentialsInfos
|
|
4136
|
+
sourceCredentialsInfos: output.sourceCredentialsInfos != null
|
|
4389
4137
|
? deserializeAws_json1_1SourceCredentialsInfos(output.sourceCredentialsInfos, context)
|
|
4390
4138
|
: undefined,
|
|
4391
4139
|
};
|
|
4392
4140
|
};
|
|
4393
4141
|
var deserializeAws_json1_1LogsConfig = function (output, context) {
|
|
4394
4142
|
return {
|
|
4395
|
-
cloudWatchLogs: output.cloudWatchLogs
|
|
4143
|
+
cloudWatchLogs: output.cloudWatchLogs != null
|
|
4396
4144
|
? deserializeAws_json1_1CloudWatchLogsConfig(output.cloudWatchLogs, context)
|
|
4397
4145
|
: undefined,
|
|
4398
|
-
s3Logs: output.s3Logs
|
|
4399
|
-
? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context)
|
|
4400
|
-
: undefined,
|
|
4146
|
+
s3Logs: output.s3Logs != null ? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context) : undefined,
|
|
4401
4147
|
};
|
|
4402
4148
|
};
|
|
4403
4149
|
var deserializeAws_json1_1LogsLocation = function (output, context) {
|
|
4404
4150
|
return {
|
|
4405
|
-
cloudWatchLogs: output.cloudWatchLogs
|
|
4151
|
+
cloudWatchLogs: output.cloudWatchLogs != null
|
|
4406
4152
|
? deserializeAws_json1_1CloudWatchLogsConfig(output.cloudWatchLogs, context)
|
|
4407
4153
|
: undefined,
|
|
4408
4154
|
cloudWatchLogsArn: __expectString(output.cloudWatchLogsArn),
|
|
4409
4155
|
deepLink: __expectString(output.deepLink),
|
|
4410
4156
|
groupName: __expectString(output.groupName),
|
|
4411
4157
|
s3DeepLink: __expectString(output.s3DeepLink),
|
|
4412
|
-
s3Logs: output.s3Logs
|
|
4413
|
-
? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context)
|
|
4414
|
-
: undefined,
|
|
4158
|
+
s3Logs: output.s3Logs != null ? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context) : undefined,
|
|
4415
4159
|
s3LogsArn: __expectString(output.s3LogsArn),
|
|
4416
4160
|
streamName: __expectString(output.streamName),
|
|
4417
4161
|
};
|
|
@@ -4447,65 +4191,45 @@ var deserializeAws_json1_1PhaseContexts = function (output, context) {
|
|
|
4447
4191
|
var deserializeAws_json1_1Project = function (output, context) {
|
|
4448
4192
|
return {
|
|
4449
4193
|
arn: __expectString(output.arn),
|
|
4450
|
-
artifacts: output.artifacts
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
badge: output.badge !== undefined && output.badge !== null
|
|
4454
|
-
? deserializeAws_json1_1ProjectBadge(output.badge, context)
|
|
4455
|
-
: undefined,
|
|
4456
|
-
buildBatchConfig: output.buildBatchConfig !== undefined && output.buildBatchConfig !== null
|
|
4194
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1ProjectArtifacts(output.artifacts, context) : undefined,
|
|
4195
|
+
badge: output.badge != null ? deserializeAws_json1_1ProjectBadge(output.badge, context) : undefined,
|
|
4196
|
+
buildBatchConfig: output.buildBatchConfig != null
|
|
4457
4197
|
? deserializeAws_json1_1ProjectBuildBatchConfig(output.buildBatchConfig, context)
|
|
4458
4198
|
: undefined,
|
|
4459
|
-
cache: output.cache
|
|
4460
|
-
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
4461
|
-
: undefined,
|
|
4199
|
+
cache: output.cache != null ? deserializeAws_json1_1ProjectCache(output.cache, context) : undefined,
|
|
4462
4200
|
concurrentBuildLimit: __expectInt32(output.concurrentBuildLimit),
|
|
4463
|
-
created: output.created
|
|
4464
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
4465
|
-
: undefined,
|
|
4201
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
4466
4202
|
description: __expectString(output.description),
|
|
4467
4203
|
encryptionKey: __expectString(output.encryptionKey),
|
|
4468
|
-
environment: output.environment
|
|
4469
|
-
|
|
4470
|
-
: undefined,
|
|
4471
|
-
fileSystemLocations: output.fileSystemLocations !== undefined && output.fileSystemLocations !== null
|
|
4204
|
+
environment: output.environment != null ? deserializeAws_json1_1ProjectEnvironment(output.environment, context) : undefined,
|
|
4205
|
+
fileSystemLocations: output.fileSystemLocations != null
|
|
4472
4206
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
4473
4207
|
: undefined,
|
|
4474
|
-
lastModified: output.lastModified
|
|
4208
|
+
lastModified: output.lastModified != null
|
|
4475
4209
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModified)))
|
|
4476
4210
|
: undefined,
|
|
4477
|
-
logsConfig: output.logsConfig
|
|
4478
|
-
? deserializeAws_json1_1LogsConfig(output.logsConfig, context)
|
|
4479
|
-
: undefined,
|
|
4211
|
+
logsConfig: output.logsConfig != null ? deserializeAws_json1_1LogsConfig(output.logsConfig, context) : undefined,
|
|
4480
4212
|
name: __expectString(output.name),
|
|
4481
4213
|
projectVisibility: __expectString(output.projectVisibility),
|
|
4482
4214
|
publicProjectAlias: __expectString(output.publicProjectAlias),
|
|
4483
4215
|
queuedTimeoutInMinutes: __expectInt32(output.queuedTimeoutInMinutes),
|
|
4484
4216
|
resourceAccessRole: __expectString(output.resourceAccessRole),
|
|
4485
|
-
secondaryArtifacts: output.secondaryArtifacts
|
|
4217
|
+
secondaryArtifacts: output.secondaryArtifacts != null
|
|
4486
4218
|
? deserializeAws_json1_1ProjectArtifactsList(output.secondaryArtifacts, context)
|
|
4487
4219
|
: undefined,
|
|
4488
|
-
secondarySourceVersions: output.secondarySourceVersions
|
|
4220
|
+
secondarySourceVersions: output.secondarySourceVersions != null
|
|
4489
4221
|
? deserializeAws_json1_1ProjectSecondarySourceVersions(output.secondarySourceVersions, context)
|
|
4490
4222
|
: undefined,
|
|
4491
|
-
secondarySources: output.secondarySources
|
|
4223
|
+
secondarySources: output.secondarySources != null
|
|
4492
4224
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
4493
4225
|
: undefined,
|
|
4494
4226
|
serviceRole: __expectString(output.serviceRole),
|
|
4495
|
-
source: output.source
|
|
4496
|
-
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
4497
|
-
: undefined,
|
|
4227
|
+
source: output.source != null ? deserializeAws_json1_1ProjectSource(output.source, context) : undefined,
|
|
4498
4228
|
sourceVersion: __expectString(output.sourceVersion),
|
|
4499
|
-
tags: output.tags
|
|
4500
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4501
|
-
: undefined,
|
|
4229
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
4502
4230
|
timeoutInMinutes: __expectInt32(output.timeoutInMinutes),
|
|
4503
|
-
vpcConfig: output.vpcConfig
|
|
4504
|
-
|
|
4505
|
-
: undefined,
|
|
4506
|
-
webhook: output.webhook !== undefined && output.webhook !== null
|
|
4507
|
-
? deserializeAws_json1_1Webhook(output.webhook, context)
|
|
4508
|
-
: undefined,
|
|
4231
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_json1_1VpcConfig(output.vpcConfig, context) : undefined,
|
|
4232
|
+
webhook: output.webhook != null ? deserializeAws_json1_1Webhook(output.webhook, context) : undefined,
|
|
4509
4233
|
};
|
|
4510
4234
|
};
|
|
4511
4235
|
var deserializeAws_json1_1ProjectArns = function (output, context) {
|
|
@@ -4554,9 +4278,7 @@ var deserializeAws_json1_1ProjectBuildBatchConfig = function (output, context) {
|
|
|
4554
4278
|
return {
|
|
4555
4279
|
batchReportMode: __expectString(output.batchReportMode),
|
|
4556
4280
|
combineArtifacts: __expectBoolean(output.combineArtifacts),
|
|
4557
|
-
restrictions: output.restrictions
|
|
4558
|
-
? deserializeAws_json1_1BatchRestrictions(output.restrictions, context)
|
|
4559
|
-
: undefined,
|
|
4281
|
+
restrictions: output.restrictions != null ? deserializeAws_json1_1BatchRestrictions(output.restrictions, context) : undefined,
|
|
4560
4282
|
serviceRole: __expectString(output.serviceRole),
|
|
4561
4283
|
timeoutInMins: __expectInt32(output.timeoutInMins),
|
|
4562
4284
|
};
|
|
@@ -4564,9 +4286,7 @@ var deserializeAws_json1_1ProjectBuildBatchConfig = function (output, context) {
|
|
|
4564
4286
|
var deserializeAws_json1_1ProjectCache = function (output, context) {
|
|
4565
4287
|
return {
|
|
4566
4288
|
location: __expectString(output.location),
|
|
4567
|
-
modes: output.modes
|
|
4568
|
-
? deserializeAws_json1_1ProjectCacheModes(output.modes, context)
|
|
4569
|
-
: undefined,
|
|
4289
|
+
modes: output.modes != null ? deserializeAws_json1_1ProjectCacheModes(output.modes, context) : undefined,
|
|
4570
4290
|
type: __expectString(output.type),
|
|
4571
4291
|
};
|
|
4572
4292
|
};
|
|
@@ -4585,13 +4305,13 @@ var deserializeAws_json1_1ProjectEnvironment = function (output, context) {
|
|
|
4585
4305
|
return {
|
|
4586
4306
|
certificate: __expectString(output.certificate),
|
|
4587
4307
|
computeType: __expectString(output.computeType),
|
|
4588
|
-
environmentVariables: output.environmentVariables
|
|
4308
|
+
environmentVariables: output.environmentVariables != null
|
|
4589
4309
|
? deserializeAws_json1_1EnvironmentVariables(output.environmentVariables, context)
|
|
4590
4310
|
: undefined,
|
|
4591
4311
|
image: __expectString(output.image),
|
|
4592
4312
|
imagePullCredentialsType: __expectString(output.imagePullCredentialsType),
|
|
4593
4313
|
privilegedMode: __expectBoolean(output.privilegedMode),
|
|
4594
|
-
registryCredential: output.registryCredential
|
|
4314
|
+
registryCredential: output.registryCredential != null
|
|
4595
4315
|
? deserializeAws_json1_1RegistryCredential(output.registryCredential, context)
|
|
4596
4316
|
: undefined,
|
|
4597
4317
|
type: __expectString(output.type),
|
|
@@ -4652,15 +4372,13 @@ var deserializeAws_json1_1ProjectSecondarySourceVersions = function (output, con
|
|
|
4652
4372
|
};
|
|
4653
4373
|
var deserializeAws_json1_1ProjectSource = function (output, context) {
|
|
4654
4374
|
return {
|
|
4655
|
-
auth: output.auth
|
|
4656
|
-
|
|
4657
|
-
: undefined,
|
|
4658
|
-
buildStatusConfig: output.buildStatusConfig !== undefined && output.buildStatusConfig !== null
|
|
4375
|
+
auth: output.auth != null ? deserializeAws_json1_1SourceAuth(output.auth, context) : undefined,
|
|
4376
|
+
buildStatusConfig: output.buildStatusConfig != null
|
|
4659
4377
|
? deserializeAws_json1_1BuildStatusConfig(output.buildStatusConfig, context)
|
|
4660
4378
|
: undefined,
|
|
4661
4379
|
buildspec: __expectString(output.buildspec),
|
|
4662
4380
|
gitCloneDepth: __expectInt32(output.gitCloneDepth),
|
|
4663
|
-
gitSubmodulesConfig: output.gitSubmodulesConfig
|
|
4381
|
+
gitSubmodulesConfig: output.gitSubmodulesConfig != null
|
|
4664
4382
|
? deserializeAws_json1_1GitSubmodulesConfig(output.gitSubmodulesConfig, context)
|
|
4665
4383
|
: undefined,
|
|
4666
4384
|
insecureSsl: __expectBoolean(output.insecureSsl),
|
|
@@ -4701,25 +4419,17 @@ var deserializeAws_json1_1RegistryCredential = function (output, context) {
|
|
|
4701
4419
|
var deserializeAws_json1_1Report = function (output, context) {
|
|
4702
4420
|
return {
|
|
4703
4421
|
arn: __expectString(output.arn),
|
|
4704
|
-
codeCoverageSummary: output.codeCoverageSummary
|
|
4422
|
+
codeCoverageSummary: output.codeCoverageSummary != null
|
|
4705
4423
|
? deserializeAws_json1_1CodeCoverageReportSummary(output.codeCoverageSummary, context)
|
|
4706
4424
|
: undefined,
|
|
4707
|
-
created: output.created
|
|
4708
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
4709
|
-
: undefined,
|
|
4425
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
4710
4426
|
executionId: __expectString(output.executionId),
|
|
4711
|
-
expired: output.expired
|
|
4712
|
-
|
|
4713
|
-
: undefined,
|
|
4714
|
-
exportConfig: output.exportConfig !== undefined && output.exportConfig !== null
|
|
4715
|
-
? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context)
|
|
4716
|
-
: undefined,
|
|
4427
|
+
expired: output.expired != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expired))) : undefined,
|
|
4428
|
+
exportConfig: output.exportConfig != null ? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context) : undefined,
|
|
4717
4429
|
name: __expectString(output.name),
|
|
4718
4430
|
reportGroupArn: __expectString(output.reportGroupArn),
|
|
4719
4431
|
status: __expectString(output.status),
|
|
4720
|
-
testSummary: output.testSummary
|
|
4721
|
-
? deserializeAws_json1_1TestReportSummary(output.testSummary, context)
|
|
4722
|
-
: undefined,
|
|
4432
|
+
testSummary: output.testSummary != null ? deserializeAws_json1_1TestReportSummary(output.testSummary, context) : undefined,
|
|
4723
4433
|
truncated: __expectBoolean(output.truncated),
|
|
4724
4434
|
type: __expectString(output.type),
|
|
4725
4435
|
};
|
|
@@ -4738,7 +4448,7 @@ var deserializeAws_json1_1ReportArns = function (output, context) {
|
|
|
4738
4448
|
var deserializeAws_json1_1ReportExportConfig = function (output, context) {
|
|
4739
4449
|
return {
|
|
4740
4450
|
exportConfigType: __expectString(output.exportConfigType),
|
|
4741
|
-
s3Destination: output.s3Destination
|
|
4451
|
+
s3Destination: output.s3Destination != null
|
|
4742
4452
|
? deserializeAws_json1_1S3ReportExportConfig(output.s3Destination, context)
|
|
4743
4453
|
: undefined,
|
|
4744
4454
|
};
|
|
@@ -4746,20 +4456,14 @@ var deserializeAws_json1_1ReportExportConfig = function (output, context) {
|
|
|
4746
4456
|
var deserializeAws_json1_1ReportGroup = function (output, context) {
|
|
4747
4457
|
return {
|
|
4748
4458
|
arn: __expectString(output.arn),
|
|
4749
|
-
created: output.created
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
exportConfig: output.exportConfig !== undefined && output.exportConfig !== null
|
|
4753
|
-
? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context)
|
|
4754
|
-
: undefined,
|
|
4755
|
-
lastModified: output.lastModified !== undefined && output.lastModified !== null
|
|
4459
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
4460
|
+
exportConfig: output.exportConfig != null ? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context) : undefined,
|
|
4461
|
+
lastModified: output.lastModified != null
|
|
4756
4462
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModified)))
|
|
4757
4463
|
: undefined,
|
|
4758
4464
|
name: __expectString(output.name),
|
|
4759
4465
|
status: __expectString(output.status),
|
|
4760
|
-
tags: output.tags
|
|
4761
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4762
|
-
: undefined,
|
|
4466
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
4763
4467
|
type: __expectString(output.type),
|
|
4764
4468
|
};
|
|
4765
4469
|
};
|
|
@@ -4860,16 +4564,12 @@ var deserializeAws_json1_1ResourceNotFoundException = function (output, context)
|
|
|
4860
4564
|
};
|
|
4861
4565
|
var deserializeAws_json1_1RetryBuildBatchOutput = function (output, context) {
|
|
4862
4566
|
return {
|
|
4863
|
-
buildBatch: output.buildBatch
|
|
4864
|
-
? deserializeAws_json1_1BuildBatch(output.buildBatch, context)
|
|
4865
|
-
: undefined,
|
|
4567
|
+
buildBatch: output.buildBatch != null ? deserializeAws_json1_1BuildBatch(output.buildBatch, context) : undefined,
|
|
4866
4568
|
};
|
|
4867
4569
|
};
|
|
4868
4570
|
var deserializeAws_json1_1RetryBuildOutput = function (output, context) {
|
|
4869
4571
|
return {
|
|
4870
|
-
build: output.build
|
|
4871
|
-
? deserializeAws_json1_1Build(output.build, context)
|
|
4872
|
-
: undefined,
|
|
4572
|
+
build: output.build != null ? deserializeAws_json1_1Build(output.build, context) : undefined,
|
|
4873
4573
|
};
|
|
4874
4574
|
};
|
|
4875
4575
|
var deserializeAws_json1_1S3LogsConfig = function (output, context) {
|
|
@@ -4927,30 +4627,22 @@ var deserializeAws_json1_1SourceCredentialsInfos = function (output, context) {
|
|
|
4927
4627
|
};
|
|
4928
4628
|
var deserializeAws_json1_1StartBuildBatchOutput = function (output, context) {
|
|
4929
4629
|
return {
|
|
4930
|
-
buildBatch: output.buildBatch
|
|
4931
|
-
? deserializeAws_json1_1BuildBatch(output.buildBatch, context)
|
|
4932
|
-
: undefined,
|
|
4630
|
+
buildBatch: output.buildBatch != null ? deserializeAws_json1_1BuildBatch(output.buildBatch, context) : undefined,
|
|
4933
4631
|
};
|
|
4934
4632
|
};
|
|
4935
4633
|
var deserializeAws_json1_1StartBuildOutput = function (output, context) {
|
|
4936
4634
|
return {
|
|
4937
|
-
build: output.build
|
|
4938
|
-
? deserializeAws_json1_1Build(output.build, context)
|
|
4939
|
-
: undefined,
|
|
4635
|
+
build: output.build != null ? deserializeAws_json1_1Build(output.build, context) : undefined,
|
|
4940
4636
|
};
|
|
4941
4637
|
};
|
|
4942
4638
|
var deserializeAws_json1_1StopBuildBatchOutput = function (output, context) {
|
|
4943
4639
|
return {
|
|
4944
|
-
buildBatch: output.buildBatch
|
|
4945
|
-
? deserializeAws_json1_1BuildBatch(output.buildBatch, context)
|
|
4946
|
-
: undefined,
|
|
4640
|
+
buildBatch: output.buildBatch != null ? deserializeAws_json1_1BuildBatch(output.buildBatch, context) : undefined,
|
|
4947
4641
|
};
|
|
4948
4642
|
};
|
|
4949
4643
|
var deserializeAws_json1_1StopBuildOutput = function (output, context) {
|
|
4950
4644
|
return {
|
|
4951
|
-
build: output.build
|
|
4952
|
-
? deserializeAws_json1_1Build(output.build, context)
|
|
4953
|
-
: undefined,
|
|
4645
|
+
build: output.build != null ? deserializeAws_json1_1Build(output.build, context) : undefined,
|
|
4954
4646
|
};
|
|
4955
4647
|
};
|
|
4956
4648
|
var deserializeAws_json1_1Subnets = function (output, context) {
|
|
@@ -4984,9 +4676,7 @@ var deserializeAws_json1_1TagList = function (output, context) {
|
|
|
4984
4676
|
var deserializeAws_json1_1TestCase = function (output, context) {
|
|
4985
4677
|
return {
|
|
4986
4678
|
durationInNanoSeconds: __expectLong(output.durationInNanoSeconds),
|
|
4987
|
-
expired: output.expired
|
|
4988
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expired)))
|
|
4989
|
-
: undefined,
|
|
4679
|
+
expired: output.expired != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expired))) : undefined,
|
|
4990
4680
|
message: __expectString(output.message),
|
|
4991
4681
|
name: __expectString(output.name),
|
|
4992
4682
|
prefix: __expectString(output.prefix),
|
|
@@ -5009,17 +4699,13 @@ var deserializeAws_json1_1TestCases = function (output, context) {
|
|
|
5009
4699
|
var deserializeAws_json1_1TestReportSummary = function (output, context) {
|
|
5010
4700
|
return {
|
|
5011
4701
|
durationInNanoSeconds: __expectLong(output.durationInNanoSeconds),
|
|
5012
|
-
statusCounts: output.statusCounts
|
|
5013
|
-
? deserializeAws_json1_1ReportStatusCounts(output.statusCounts, context)
|
|
5014
|
-
: undefined,
|
|
4702
|
+
statusCounts: output.statusCounts != null ? deserializeAws_json1_1ReportStatusCounts(output.statusCounts, context) : undefined,
|
|
5015
4703
|
total: __expectInt32(output.total),
|
|
5016
4704
|
};
|
|
5017
4705
|
};
|
|
5018
4706
|
var deserializeAws_json1_1UpdateProjectOutput = function (output, context) {
|
|
5019
4707
|
return {
|
|
5020
|
-
project: output.project
|
|
5021
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
5022
|
-
: undefined,
|
|
4708
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
5023
4709
|
};
|
|
5024
4710
|
};
|
|
5025
4711
|
var deserializeAws_json1_1UpdateProjectVisibilityOutput = function (output, context) {
|
|
@@ -5031,26 +4717,20 @@ var deserializeAws_json1_1UpdateProjectVisibilityOutput = function (output, cont
|
|
|
5031
4717
|
};
|
|
5032
4718
|
var deserializeAws_json1_1UpdateReportGroupOutput = function (output, context) {
|
|
5033
4719
|
return {
|
|
5034
|
-
reportGroup: output.reportGroup
|
|
5035
|
-
? deserializeAws_json1_1ReportGroup(output.reportGroup, context)
|
|
5036
|
-
: undefined,
|
|
4720
|
+
reportGroup: output.reportGroup != null ? deserializeAws_json1_1ReportGroup(output.reportGroup, context) : undefined,
|
|
5037
4721
|
};
|
|
5038
4722
|
};
|
|
5039
4723
|
var deserializeAws_json1_1UpdateWebhookOutput = function (output, context) {
|
|
5040
4724
|
return {
|
|
5041
|
-
webhook: output.webhook
|
|
5042
|
-
? deserializeAws_json1_1Webhook(output.webhook, context)
|
|
5043
|
-
: undefined,
|
|
4725
|
+
webhook: output.webhook != null ? deserializeAws_json1_1Webhook(output.webhook, context) : undefined,
|
|
5044
4726
|
};
|
|
5045
4727
|
};
|
|
5046
4728
|
var deserializeAws_json1_1VpcConfig = function (output, context) {
|
|
5047
4729
|
return {
|
|
5048
|
-
securityGroupIds: output.securityGroupIds
|
|
4730
|
+
securityGroupIds: output.securityGroupIds != null
|
|
5049
4731
|
? deserializeAws_json1_1SecurityGroupIds(output.securityGroupIds, context)
|
|
5050
4732
|
: undefined,
|
|
5051
|
-
subnets: output.subnets
|
|
5052
|
-
? deserializeAws_json1_1Subnets(output.subnets, context)
|
|
5053
|
-
: undefined,
|
|
4733
|
+
subnets: output.subnets != null ? deserializeAws_json1_1Subnets(output.subnets, context) : undefined,
|
|
5054
4734
|
vpcId: __expectString(output.vpcId),
|
|
5055
4735
|
};
|
|
5056
4736
|
};
|
|
@@ -5058,10 +4738,8 @@ var deserializeAws_json1_1Webhook = function (output, context) {
|
|
|
5058
4738
|
return {
|
|
5059
4739
|
branchFilter: __expectString(output.branchFilter),
|
|
5060
4740
|
buildType: __expectString(output.buildType),
|
|
5061
|
-
filterGroups: output.filterGroups
|
|
5062
|
-
|
|
5063
|
-
: undefined,
|
|
5064
|
-
lastModifiedSecret: output.lastModifiedSecret !== undefined && output.lastModifiedSecret !== null
|
|
4741
|
+
filterGroups: output.filterGroups != null ? deserializeAws_json1_1FilterGroups(output.filterGroups, context) : undefined,
|
|
4742
|
+
lastModifiedSecret: output.lastModifiedSecret != null
|
|
5065
4743
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedSecret)))
|
|
5066
4744
|
: undefined,
|
|
5067
4745
|
payloadUrl: __expectString(output.payloadUrl),
|