@aws-sdk/client-codebuild 3.31.0 → 3.32.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/CodeBuildClient.js +13 -13
- package/dist/cjs/CodeBuildClient.js.map +1 -1
- package/dist/cjs/commands/BatchDeleteBuildsCommand.js +3 -3
- package/dist/cjs/commands/BatchDeleteBuildsCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetBuildBatchesCommand.js +3 -3
- package/dist/cjs/commands/BatchGetBuildBatchesCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetBuildsCommand.js +3 -3
- package/dist/cjs/commands/BatchGetBuildsCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetProjectsCommand.js +3 -3
- package/dist/cjs/commands/BatchGetProjectsCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetReportGroupsCommand.js +3 -3
- package/dist/cjs/commands/BatchGetReportGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetReportsCommand.js +3 -3
- package/dist/cjs/commands/BatchGetReportsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateProjectCommand.js +3 -3
- package/dist/cjs/commands/CreateProjectCommand.js.map +1 -1
- package/dist/cjs/commands/CreateReportGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateReportGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateWebhookCommand.js +3 -3
- package/dist/cjs/commands/CreateWebhookCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBuildBatchCommand.js +3 -3
- package/dist/cjs/commands/DeleteBuildBatchCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteProjectCommand.js +3 -3
- package/dist/cjs/commands/DeleteProjectCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteReportCommand.js +3 -3
- package/dist/cjs/commands/DeleteReportCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteReportGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteReportGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSourceCredentialsCommand.js +3 -3
- package/dist/cjs/commands/DeleteSourceCredentialsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteWebhookCommand.js +3 -3
- package/dist/cjs/commands/DeleteWebhookCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCodeCoveragesCommand.js +3 -3
- package/dist/cjs/commands/DescribeCodeCoveragesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTestCasesCommand.js +3 -3
- package/dist/cjs/commands/DescribeTestCasesCommand.js.map +1 -1
- package/dist/cjs/commands/GetReportGroupTrendCommand.js +3 -3
- package/dist/cjs/commands/GetReportGroupTrendCommand.js.map +1 -1
- package/dist/cjs/commands/GetResourcePolicyCommand.js +3 -3
- package/dist/cjs/commands/GetResourcePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/ImportSourceCredentialsCommand.js +3 -3
- package/dist/cjs/commands/ImportSourceCredentialsCommand.js.map +1 -1
- package/dist/cjs/commands/InvalidateProjectCacheCommand.js +3 -3
- package/dist/cjs/commands/InvalidateProjectCacheCommand.js.map +1 -1
- package/dist/cjs/commands/ListBuildBatchesCommand.js +3 -3
- package/dist/cjs/commands/ListBuildBatchesCommand.js.map +1 -1
- package/dist/cjs/commands/ListBuildBatchesForProjectCommand.js +3 -3
- package/dist/cjs/commands/ListBuildBatchesForProjectCommand.js.map +1 -1
- package/dist/cjs/commands/ListBuildsCommand.js +3 -3
- package/dist/cjs/commands/ListBuildsCommand.js.map +1 -1
- package/dist/cjs/commands/ListBuildsForProjectCommand.js +3 -3
- package/dist/cjs/commands/ListBuildsForProjectCommand.js.map +1 -1
- package/dist/cjs/commands/ListCuratedEnvironmentImagesCommand.js +3 -3
- package/dist/cjs/commands/ListCuratedEnvironmentImagesCommand.js.map +1 -1
- package/dist/cjs/commands/ListProjectsCommand.js +3 -3
- package/dist/cjs/commands/ListProjectsCommand.js.map +1 -1
- package/dist/cjs/commands/ListReportGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListReportGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListReportsCommand.js +3 -3
- package/dist/cjs/commands/ListReportsCommand.js.map +1 -1
- package/dist/cjs/commands/ListReportsForReportGroupCommand.js +3 -3
- package/dist/cjs/commands/ListReportsForReportGroupCommand.js.map +1 -1
- package/dist/cjs/commands/ListSharedProjectsCommand.js +3 -3
- package/dist/cjs/commands/ListSharedProjectsCommand.js.map +1 -1
- package/dist/cjs/commands/ListSharedReportGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListSharedReportGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListSourceCredentialsCommand.js +3 -3
- package/dist/cjs/commands/ListSourceCredentialsCommand.js.map +1 -1
- package/dist/cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist/cjs/commands/PutResourcePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/RetryBuildBatchCommand.js +3 -3
- package/dist/cjs/commands/RetryBuildBatchCommand.js.map +1 -1
- package/dist/cjs/commands/RetryBuildCommand.js +3 -3
- package/dist/cjs/commands/RetryBuildCommand.js.map +1 -1
- package/dist/cjs/commands/StartBuildBatchCommand.js +3 -3
- package/dist/cjs/commands/StartBuildBatchCommand.js.map +1 -1
- package/dist/cjs/commands/StartBuildCommand.js +3 -3
- package/dist/cjs/commands/StartBuildCommand.js.map +1 -1
- package/dist/cjs/commands/StopBuildBatchCommand.js +3 -3
- package/dist/cjs/commands/StopBuildBatchCommand.js.map +1 -1
- package/dist/cjs/commands/StopBuildCommand.js +3 -3
- package/dist/cjs/commands/StopBuildCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateProjectCommand.js +3 -3
- package/dist/cjs/commands/UpdateProjectCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateProjectVisibilityCommand.js +3 -3
- package/dist/cjs/commands/UpdateProjectVisibilityCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateReportGroupCommand.js +3 -3
- package/dist/cjs/commands/UpdateReportGroupCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateWebhookCommand.js +3 -3
- package/dist/cjs/commands/UpdateWebhookCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +61 -61
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +257 -257
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/DescribeCodeCoveragesPaginator.js +4 -4
- package/dist/es/pagination/DescribeCodeCoveragesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeTestCasesPaginator.js +4 -4
- package/dist/es/pagination/DescribeTestCasesPaginator.js.map +1 -1
- package/dist/es/pagination/ListBuildBatchesForProjectPaginator.js +4 -4
- package/dist/es/pagination/ListBuildBatchesForProjectPaginator.js.map +1 -1
- package/dist/es/pagination/ListBuildBatchesPaginator.js +4 -4
- package/dist/es/pagination/ListBuildBatchesPaginator.js.map +1 -1
- package/dist/es/pagination/ListBuildsForProjectPaginator.js +4 -4
- package/dist/es/pagination/ListBuildsForProjectPaginator.js.map +1 -1
- package/dist/es/pagination/ListBuildsPaginator.js +4 -4
- package/dist/es/pagination/ListBuildsPaginator.js.map +1 -1
- package/dist/es/pagination/ListProjectsPaginator.js +4 -4
- package/dist/es/pagination/ListProjectsPaginator.js.map +1 -1
- package/dist/es/pagination/ListReportGroupsPaginator.js +4 -4
- package/dist/es/pagination/ListReportGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListReportsForReportGroupPaginator.js +4 -4
- package/dist/es/pagination/ListReportsForReportGroupPaginator.js.map +1 -1
- package/dist/es/pagination/ListReportsPaginator.js +4 -4
- package/dist/es/pagination/ListReportsPaginator.js.map +1 -1
- package/dist/es/pagination/ListSharedProjectsPaginator.js +4 -4
- package/dist/es/pagination/ListSharedProjectsPaginator.js.map +1 -1
- package/dist/es/pagination/ListSharedReportGroupsPaginator.js +4 -4
- package/dist/es/pagination/ListSharedReportGroupsPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -3085,12 +3085,12 @@ const serializeAws_json1_1DescribeCodeCoveragesInput = (input, context) => {
|
|
|
3085
3085
|
return {
|
|
3086
3086
|
...(input.maxLineCoveragePercentage !== undefined &&
|
|
3087
3087
|
input.maxLineCoveragePercentage !== null && {
|
|
3088
|
-
maxLineCoveragePercentage:
|
|
3088
|
+
maxLineCoveragePercentage: smithy_client_1.serializeFloat(input.maxLineCoveragePercentage),
|
|
3089
3089
|
}),
|
|
3090
3090
|
...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
|
|
3091
3091
|
...(input.minLineCoveragePercentage !== undefined &&
|
|
3092
3092
|
input.minLineCoveragePercentage !== null && {
|
|
3093
|
-
minLineCoveragePercentage:
|
|
3093
|
+
minLineCoveragePercentage: smithy_client_1.serializeFloat(input.minLineCoveragePercentage),
|
|
3094
3094
|
}),
|
|
3095
3095
|
...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
|
|
3096
3096
|
...(input.reportArn !== undefined && input.reportArn !== null && { reportArn: input.reportArn }),
|
|
@@ -3859,7 +3859,7 @@ const serializeAws_json1_1WebhookFilter = (input, context) => {
|
|
|
3859
3859
|
};
|
|
3860
3860
|
const deserializeAws_json1_1AccountLimitExceededException = (output, context) => {
|
|
3861
3861
|
return {
|
|
3862
|
-
message:
|
|
3862
|
+
message: smithy_client_1.expectString(output.message),
|
|
3863
3863
|
};
|
|
3864
3864
|
};
|
|
3865
3865
|
const deserializeAws_json1_1BatchDeleteBuildsOutput = (output, context) => {
|
|
@@ -3927,29 +3927,29 @@ const deserializeAws_json1_1BatchRestrictions = (output, context) => {
|
|
|
3927
3927
|
computeTypesAllowed: output.computeTypesAllowed !== undefined && output.computeTypesAllowed !== null
|
|
3928
3928
|
? deserializeAws_json1_1ComputeTypesAllowed(output.computeTypesAllowed, context)
|
|
3929
3929
|
: undefined,
|
|
3930
|
-
maximumBuildsAllowed:
|
|
3930
|
+
maximumBuildsAllowed: smithy_client_1.expectInt32(output.maximumBuildsAllowed),
|
|
3931
3931
|
};
|
|
3932
3932
|
};
|
|
3933
3933
|
const deserializeAws_json1_1Build = (output, context) => {
|
|
3934
3934
|
return {
|
|
3935
|
-
arn:
|
|
3935
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
3936
3936
|
artifacts: output.artifacts !== undefined && output.artifacts !== null
|
|
3937
3937
|
? deserializeAws_json1_1BuildArtifacts(output.artifacts, context)
|
|
3938
3938
|
: undefined,
|
|
3939
|
-
buildBatchArn:
|
|
3940
|
-
buildComplete:
|
|
3941
|
-
buildNumber:
|
|
3942
|
-
buildStatus:
|
|
3939
|
+
buildBatchArn: smithy_client_1.expectString(output.buildBatchArn),
|
|
3940
|
+
buildComplete: smithy_client_1.expectBoolean(output.buildComplete),
|
|
3941
|
+
buildNumber: smithy_client_1.expectLong(output.buildNumber),
|
|
3942
|
+
buildStatus: smithy_client_1.expectString(output.buildStatus),
|
|
3943
3943
|
cache: output.cache !== undefined && output.cache !== null
|
|
3944
3944
|
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
3945
3945
|
: undefined,
|
|
3946
|
-
currentPhase:
|
|
3946
|
+
currentPhase: smithy_client_1.expectString(output.currentPhase),
|
|
3947
3947
|
debugSession: output.debugSession !== undefined && output.debugSession !== null
|
|
3948
3948
|
? deserializeAws_json1_1DebugSession(output.debugSession, context)
|
|
3949
3949
|
: undefined,
|
|
3950
|
-
encryptionKey:
|
|
3950
|
+
encryptionKey: smithy_client_1.expectString(output.encryptionKey),
|
|
3951
3951
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
3952
|
-
?
|
|
3952
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
3953
3953
|
: undefined,
|
|
3954
3954
|
environment: output.environment !== undefined && output.environment !== null
|
|
3955
3955
|
? deserializeAws_json1_1ProjectEnvironment(output.environment, context)
|
|
@@ -3960,8 +3960,8 @@ const deserializeAws_json1_1Build = (output, context) => {
|
|
|
3960
3960
|
fileSystemLocations: output.fileSystemLocations !== undefined && output.fileSystemLocations !== null
|
|
3961
3961
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
3962
3962
|
: undefined,
|
|
3963
|
-
id:
|
|
3964
|
-
initiator:
|
|
3963
|
+
id: smithy_client_1.expectString(output.id),
|
|
3964
|
+
initiator: smithy_client_1.expectString(output.initiator),
|
|
3965
3965
|
logs: output.logs !== undefined && output.logs !== null
|
|
3966
3966
|
? deserializeAws_json1_1LogsLocation(output.logs, context)
|
|
3967
3967
|
: undefined,
|
|
@@ -3971,12 +3971,12 @@ const deserializeAws_json1_1Build = (output, context) => {
|
|
|
3971
3971
|
phases: output.phases !== undefined && output.phases !== null
|
|
3972
3972
|
? deserializeAws_json1_1BuildPhases(output.phases, context)
|
|
3973
3973
|
: undefined,
|
|
3974
|
-
projectName:
|
|
3975
|
-
queuedTimeoutInMinutes:
|
|
3974
|
+
projectName: smithy_client_1.expectString(output.projectName),
|
|
3975
|
+
queuedTimeoutInMinutes: smithy_client_1.expectInt32(output.queuedTimeoutInMinutes),
|
|
3976
3976
|
reportArns: output.reportArns !== undefined && output.reportArns !== null
|
|
3977
3977
|
? deserializeAws_json1_1BuildReportArns(output.reportArns, context)
|
|
3978
3978
|
: undefined,
|
|
3979
|
-
resolvedSourceVersion:
|
|
3979
|
+
resolvedSourceVersion: smithy_client_1.expectString(output.resolvedSourceVersion),
|
|
3980
3980
|
secondaryArtifacts: output.secondaryArtifacts !== undefined && output.secondaryArtifacts !== null
|
|
3981
3981
|
? deserializeAws_json1_1BuildArtifactsList(output.secondaryArtifacts, context)
|
|
3982
3982
|
: undefined,
|
|
@@ -3986,15 +3986,15 @@ const deserializeAws_json1_1Build = (output, context) => {
|
|
|
3986
3986
|
secondarySources: output.secondarySources !== undefined && output.secondarySources !== null
|
|
3987
3987
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
3988
3988
|
: undefined,
|
|
3989
|
-
serviceRole:
|
|
3989
|
+
serviceRole: smithy_client_1.expectString(output.serviceRole),
|
|
3990
3990
|
source: output.source !== undefined && output.source !== null
|
|
3991
3991
|
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
3992
3992
|
: undefined,
|
|
3993
|
-
sourceVersion:
|
|
3993
|
+
sourceVersion: smithy_client_1.expectString(output.sourceVersion),
|
|
3994
3994
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
3995
|
-
?
|
|
3995
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
3996
3996
|
: undefined,
|
|
3997
|
-
timeoutInMinutes:
|
|
3997
|
+
timeoutInMinutes: smithy_client_1.expectInt32(output.timeoutInMinutes),
|
|
3998
3998
|
vpcConfig: output.vpcConfig !== undefined && output.vpcConfig !== null
|
|
3999
3999
|
? deserializeAws_json1_1VpcConfig(output.vpcConfig, context)
|
|
4000
4000
|
: undefined,
|
|
@@ -4002,13 +4002,13 @@ const deserializeAws_json1_1Build = (output, context) => {
|
|
|
4002
4002
|
};
|
|
4003
4003
|
const deserializeAws_json1_1BuildArtifacts = (output, context) => {
|
|
4004
4004
|
return {
|
|
4005
|
-
artifactIdentifier:
|
|
4006
|
-
bucketOwnerAccess:
|
|
4007
|
-
encryptionDisabled:
|
|
4008
|
-
location:
|
|
4009
|
-
md5sum:
|
|
4010
|
-
overrideArtifactName:
|
|
4011
|
-
sha256sum:
|
|
4005
|
+
artifactIdentifier: smithy_client_1.expectString(output.artifactIdentifier),
|
|
4006
|
+
bucketOwnerAccess: smithy_client_1.expectString(output.bucketOwnerAccess),
|
|
4007
|
+
encryptionDisabled: smithy_client_1.expectBoolean(output.encryptionDisabled),
|
|
4008
|
+
location: smithy_client_1.expectString(output.location),
|
|
4009
|
+
md5sum: smithy_client_1.expectString(output.md5sum),
|
|
4010
|
+
overrideArtifactName: smithy_client_1.expectBoolean(output.overrideArtifactName),
|
|
4011
|
+
sha256sum: smithy_client_1.expectString(output.sha256sum),
|
|
4012
4012
|
};
|
|
4013
4013
|
};
|
|
4014
4014
|
const deserializeAws_json1_1BuildArtifactsList = (output, context) => {
|
|
@@ -4023,28 +4023,28 @@ const deserializeAws_json1_1BuildArtifactsList = (output, context) => {
|
|
|
4023
4023
|
};
|
|
4024
4024
|
const deserializeAws_json1_1BuildBatch = (output, context) => {
|
|
4025
4025
|
return {
|
|
4026
|
-
arn:
|
|
4026
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
4027
4027
|
artifacts: output.artifacts !== undefined && output.artifacts !== null
|
|
4028
4028
|
? deserializeAws_json1_1BuildArtifacts(output.artifacts, context)
|
|
4029
4029
|
: undefined,
|
|
4030
4030
|
buildBatchConfig: output.buildBatchConfig !== undefined && output.buildBatchConfig !== null
|
|
4031
4031
|
? deserializeAws_json1_1ProjectBuildBatchConfig(output.buildBatchConfig, context)
|
|
4032
4032
|
: undefined,
|
|
4033
|
-
buildBatchNumber:
|
|
4034
|
-
buildBatchStatus:
|
|
4033
|
+
buildBatchNumber: smithy_client_1.expectLong(output.buildBatchNumber),
|
|
4034
|
+
buildBatchStatus: smithy_client_1.expectString(output.buildBatchStatus),
|
|
4035
4035
|
buildGroups: output.buildGroups !== undefined && output.buildGroups !== null
|
|
4036
4036
|
? deserializeAws_json1_1BuildGroups(output.buildGroups, context)
|
|
4037
4037
|
: undefined,
|
|
4038
|
-
buildTimeoutInMinutes:
|
|
4038
|
+
buildTimeoutInMinutes: smithy_client_1.expectInt32(output.buildTimeoutInMinutes),
|
|
4039
4039
|
cache: output.cache !== undefined && output.cache !== null
|
|
4040
4040
|
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
4041
4041
|
: undefined,
|
|
4042
|
-
complete:
|
|
4043
|
-
currentPhase:
|
|
4044
|
-
debugSessionEnabled:
|
|
4045
|
-
encryptionKey:
|
|
4042
|
+
complete: smithy_client_1.expectBoolean(output.complete),
|
|
4043
|
+
currentPhase: smithy_client_1.expectString(output.currentPhase),
|
|
4044
|
+
debugSessionEnabled: smithy_client_1.expectBoolean(output.debugSessionEnabled),
|
|
4045
|
+
encryptionKey: smithy_client_1.expectString(output.encryptionKey),
|
|
4046
4046
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
4047
|
-
?
|
|
4047
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
4048
4048
|
: undefined,
|
|
4049
4049
|
environment: output.environment !== undefined && output.environment !== null
|
|
4050
4050
|
? deserializeAws_json1_1ProjectEnvironment(output.environment, context)
|
|
@@ -4052,17 +4052,17 @@ const deserializeAws_json1_1BuildBatch = (output, context) => {
|
|
|
4052
4052
|
fileSystemLocations: output.fileSystemLocations !== undefined && output.fileSystemLocations !== null
|
|
4053
4053
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
4054
4054
|
: undefined,
|
|
4055
|
-
id:
|
|
4056
|
-
initiator:
|
|
4055
|
+
id: smithy_client_1.expectString(output.id),
|
|
4056
|
+
initiator: smithy_client_1.expectString(output.initiator),
|
|
4057
4057
|
logConfig: output.logConfig !== undefined && output.logConfig !== null
|
|
4058
4058
|
? deserializeAws_json1_1LogsConfig(output.logConfig, context)
|
|
4059
4059
|
: undefined,
|
|
4060
4060
|
phases: output.phases !== undefined && output.phases !== null
|
|
4061
4061
|
? deserializeAws_json1_1BuildBatchPhases(output.phases, context)
|
|
4062
4062
|
: undefined,
|
|
4063
|
-
projectName:
|
|
4064
|
-
queuedTimeoutInMinutes:
|
|
4065
|
-
resolvedSourceVersion:
|
|
4063
|
+
projectName: smithy_client_1.expectString(output.projectName),
|
|
4064
|
+
queuedTimeoutInMinutes: smithy_client_1.expectInt32(output.queuedTimeoutInMinutes),
|
|
4065
|
+
resolvedSourceVersion: smithy_client_1.expectString(output.resolvedSourceVersion),
|
|
4066
4066
|
secondaryArtifacts: output.secondaryArtifacts !== undefined && output.secondaryArtifacts !== null
|
|
4067
4067
|
? deserializeAws_json1_1BuildArtifactsList(output.secondaryArtifacts, context)
|
|
4068
4068
|
: undefined,
|
|
@@ -4072,13 +4072,13 @@ const deserializeAws_json1_1BuildBatch = (output, context) => {
|
|
|
4072
4072
|
secondarySources: output.secondarySources !== undefined && output.secondarySources !== null
|
|
4073
4073
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
4074
4074
|
: undefined,
|
|
4075
|
-
serviceRole:
|
|
4075
|
+
serviceRole: smithy_client_1.expectString(output.serviceRole),
|
|
4076
4076
|
source: output.source !== undefined && output.source !== null
|
|
4077
4077
|
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
4078
4078
|
: undefined,
|
|
4079
|
-
sourceVersion:
|
|
4079
|
+
sourceVersion: smithy_client_1.expectString(output.sourceVersion),
|
|
4080
4080
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
4081
|
-
?
|
|
4081
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
4082
4082
|
: undefined,
|
|
4083
4083
|
vpcConfig: output.vpcConfig !== undefined && output.vpcConfig !== null
|
|
4084
4084
|
? deserializeAws_json1_1VpcConfig(output.vpcConfig, context)
|
|
@@ -4102,7 +4102,7 @@ const deserializeAws_json1_1BuildBatchIds = (output, context) => {
|
|
|
4102
4102
|
if (entry === null) {
|
|
4103
4103
|
return null;
|
|
4104
4104
|
}
|
|
4105
|
-
return
|
|
4105
|
+
return smithy_client_1.expectString(entry);
|
|
4106
4106
|
});
|
|
4107
4107
|
};
|
|
4108
4108
|
const deserializeAws_json1_1BuildBatchPhase = (output, context) => {
|
|
@@ -4110,14 +4110,14 @@ const deserializeAws_json1_1BuildBatchPhase = (output, context) => {
|
|
|
4110
4110
|
contexts: output.contexts !== undefined && output.contexts !== null
|
|
4111
4111
|
? deserializeAws_json1_1PhaseContexts(output.contexts, context)
|
|
4112
4112
|
: undefined,
|
|
4113
|
-
durationInSeconds:
|
|
4113
|
+
durationInSeconds: smithy_client_1.expectLong(output.durationInSeconds),
|
|
4114
4114
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
4115
|
-
?
|
|
4115
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
4116
4116
|
: undefined,
|
|
4117
|
-
phaseStatus:
|
|
4118
|
-
phaseType:
|
|
4117
|
+
phaseStatus: smithy_client_1.expectString(output.phaseStatus),
|
|
4118
|
+
phaseType: smithy_client_1.expectString(output.phaseType),
|
|
4119
4119
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
4120
|
-
?
|
|
4120
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
4121
4121
|
: undefined,
|
|
4122
4122
|
};
|
|
4123
4123
|
};
|
|
@@ -4139,8 +4139,8 @@ const deserializeAws_json1_1BuildGroup = (output, context) => {
|
|
|
4139
4139
|
dependsOn: output.dependsOn !== undefined && output.dependsOn !== null
|
|
4140
4140
|
? deserializeAws_json1_1Identifiers(output.dependsOn, context)
|
|
4141
4141
|
: undefined,
|
|
4142
|
-
identifier:
|
|
4143
|
-
ignoreFailure:
|
|
4142
|
+
identifier: smithy_client_1.expectString(output.identifier),
|
|
4143
|
+
ignoreFailure: smithy_client_1.expectBoolean(output.ignoreFailure),
|
|
4144
4144
|
priorBuildSummaryList: output.priorBuildSummaryList !== undefined && output.priorBuildSummaryList !== null
|
|
4145
4145
|
? deserializeAws_json1_1BuildSummaries(output.priorBuildSummaryList, context)
|
|
4146
4146
|
: undefined,
|
|
@@ -4163,13 +4163,13 @@ const deserializeAws_json1_1BuildIds = (output, context) => {
|
|
|
4163
4163
|
if (entry === null) {
|
|
4164
4164
|
return null;
|
|
4165
4165
|
}
|
|
4166
|
-
return
|
|
4166
|
+
return smithy_client_1.expectString(entry);
|
|
4167
4167
|
});
|
|
4168
4168
|
};
|
|
4169
4169
|
const deserializeAws_json1_1BuildNotDeleted = (output, context) => {
|
|
4170
4170
|
return {
|
|
4171
|
-
id:
|
|
4172
|
-
statusCode:
|
|
4171
|
+
id: smithy_client_1.expectString(output.id),
|
|
4172
|
+
statusCode: smithy_client_1.expectString(output.statusCode),
|
|
4173
4173
|
};
|
|
4174
4174
|
};
|
|
4175
4175
|
const deserializeAws_json1_1BuildPhase = (output, context) => {
|
|
@@ -4177,14 +4177,14 @@ const deserializeAws_json1_1BuildPhase = (output, context) => {
|
|
|
4177
4177
|
contexts: output.contexts !== undefined && output.contexts !== null
|
|
4178
4178
|
? deserializeAws_json1_1PhaseContexts(output.contexts, context)
|
|
4179
4179
|
: undefined,
|
|
4180
|
-
durationInSeconds:
|
|
4180
|
+
durationInSeconds: smithy_client_1.expectLong(output.durationInSeconds),
|
|
4181
4181
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
4182
|
-
?
|
|
4182
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
4183
4183
|
: undefined,
|
|
4184
|
-
phaseStatus:
|
|
4185
|
-
phaseType:
|
|
4184
|
+
phaseStatus: smithy_client_1.expectString(output.phaseStatus),
|
|
4185
|
+
phaseType: smithy_client_1.expectString(output.phaseType),
|
|
4186
4186
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
4187
|
-
?
|
|
4187
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
4188
4188
|
: undefined,
|
|
4189
4189
|
};
|
|
4190
4190
|
};
|
|
@@ -4205,7 +4205,7 @@ const deserializeAws_json1_1BuildReportArns = (output, context) => {
|
|
|
4205
4205
|
if (entry === null) {
|
|
4206
4206
|
return null;
|
|
4207
4207
|
}
|
|
4208
|
-
return
|
|
4208
|
+
return smithy_client_1.expectString(entry);
|
|
4209
4209
|
});
|
|
4210
4210
|
};
|
|
4211
4211
|
const deserializeAws_json1_1Builds = (output, context) => {
|
|
@@ -4230,8 +4230,8 @@ const deserializeAws_json1_1BuildsNotDeleted = (output, context) => {
|
|
|
4230
4230
|
};
|
|
4231
4231
|
const deserializeAws_json1_1BuildStatusConfig = (output, context) => {
|
|
4232
4232
|
return {
|
|
4233
|
-
context:
|
|
4234
|
-
targetUrl:
|
|
4233
|
+
context: smithy_client_1.expectString(output.context),
|
|
4234
|
+
targetUrl: smithy_client_1.expectString(output.targetUrl),
|
|
4235
4235
|
};
|
|
4236
4236
|
};
|
|
4237
4237
|
const deserializeAws_json1_1BuildSummaries = (output, context) => {
|
|
@@ -4246,13 +4246,13 @@ const deserializeAws_json1_1BuildSummaries = (output, context) => {
|
|
|
4246
4246
|
};
|
|
4247
4247
|
const deserializeAws_json1_1BuildSummary = (output, context) => {
|
|
4248
4248
|
return {
|
|
4249
|
-
arn:
|
|
4250
|
-
buildStatus:
|
|
4249
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
4250
|
+
buildStatus: smithy_client_1.expectString(output.buildStatus),
|
|
4251
4251
|
primaryArtifact: output.primaryArtifact !== undefined && output.primaryArtifact !== null
|
|
4252
4252
|
? deserializeAws_json1_1ResolvedArtifact(output.primaryArtifact, context)
|
|
4253
4253
|
: undefined,
|
|
4254
4254
|
requestedOn: output.requestedOn !== undefined && output.requestedOn !== null
|
|
4255
|
-
?
|
|
4255
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.requestedOn)))
|
|
4256
4256
|
: undefined,
|
|
4257
4257
|
secondaryArtifacts: output.secondaryArtifacts !== undefined && output.secondaryArtifacts !== null
|
|
4258
4258
|
? deserializeAws_json1_1ResolvedSecondaryArtifacts(output.secondaryArtifacts, context)
|
|
@@ -4261,35 +4261,35 @@ const deserializeAws_json1_1BuildSummary = (output, context) => {
|
|
|
4261
4261
|
};
|
|
4262
4262
|
const deserializeAws_json1_1CloudWatchLogsConfig = (output, context) => {
|
|
4263
4263
|
return {
|
|
4264
|
-
groupName:
|
|
4265
|
-
status:
|
|
4266
|
-
streamName:
|
|
4264
|
+
groupName: smithy_client_1.expectString(output.groupName),
|
|
4265
|
+
status: smithy_client_1.expectString(output.status),
|
|
4266
|
+
streamName: smithy_client_1.expectString(output.streamName),
|
|
4267
4267
|
};
|
|
4268
4268
|
};
|
|
4269
4269
|
const deserializeAws_json1_1CodeCoverage = (output, context) => {
|
|
4270
4270
|
return {
|
|
4271
|
-
branchCoveragePercentage:
|
|
4272
|
-
branchesCovered:
|
|
4273
|
-
branchesMissed:
|
|
4271
|
+
branchCoveragePercentage: smithy_client_1.limitedParseDouble(output.branchCoveragePercentage),
|
|
4272
|
+
branchesCovered: smithy_client_1.expectInt32(output.branchesCovered),
|
|
4273
|
+
branchesMissed: smithy_client_1.expectInt32(output.branchesMissed),
|
|
4274
4274
|
expired: output.expired !== undefined && output.expired !== null
|
|
4275
|
-
?
|
|
4275
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.expired)))
|
|
4276
4276
|
: undefined,
|
|
4277
|
-
filePath:
|
|
4278
|
-
id:
|
|
4279
|
-
lineCoveragePercentage:
|
|
4280
|
-
linesCovered:
|
|
4281
|
-
linesMissed:
|
|
4282
|
-
reportARN:
|
|
4277
|
+
filePath: smithy_client_1.expectString(output.filePath),
|
|
4278
|
+
id: smithy_client_1.expectString(output.id),
|
|
4279
|
+
lineCoveragePercentage: smithy_client_1.limitedParseDouble(output.lineCoveragePercentage),
|
|
4280
|
+
linesCovered: smithy_client_1.expectInt32(output.linesCovered),
|
|
4281
|
+
linesMissed: smithy_client_1.expectInt32(output.linesMissed),
|
|
4282
|
+
reportARN: smithy_client_1.expectString(output.reportARN),
|
|
4283
4283
|
};
|
|
4284
4284
|
};
|
|
4285
4285
|
const deserializeAws_json1_1CodeCoverageReportSummary = (output, context) => {
|
|
4286
4286
|
return {
|
|
4287
|
-
branchCoveragePercentage:
|
|
4288
|
-
branchesCovered:
|
|
4289
|
-
branchesMissed:
|
|
4290
|
-
lineCoveragePercentage:
|
|
4291
|
-
linesCovered:
|
|
4292
|
-
linesMissed:
|
|
4287
|
+
branchCoveragePercentage: smithy_client_1.limitedParseDouble(output.branchCoveragePercentage),
|
|
4288
|
+
branchesCovered: smithy_client_1.expectInt32(output.branchesCovered),
|
|
4289
|
+
branchesMissed: smithy_client_1.expectInt32(output.branchesMissed),
|
|
4290
|
+
lineCoveragePercentage: smithy_client_1.limitedParseDouble(output.lineCoveragePercentage),
|
|
4291
|
+
linesCovered: smithy_client_1.expectInt32(output.linesCovered),
|
|
4292
|
+
linesMissed: smithy_client_1.expectInt32(output.linesMissed),
|
|
4293
4293
|
};
|
|
4294
4294
|
};
|
|
4295
4295
|
const deserializeAws_json1_1CodeCoverages = (output, context) => {
|
|
@@ -4309,7 +4309,7 @@ const deserializeAws_json1_1ComputeTypesAllowed = (output, context) => {
|
|
|
4309
4309
|
if (entry === null) {
|
|
4310
4310
|
return null;
|
|
4311
4311
|
}
|
|
4312
|
-
return
|
|
4312
|
+
return smithy_client_1.expectString(entry);
|
|
4313
4313
|
});
|
|
4314
4314
|
};
|
|
4315
4315
|
const deserializeAws_json1_1CreateProjectOutput = (output, context) => {
|
|
@@ -4335,8 +4335,8 @@ const deserializeAws_json1_1CreateWebhookOutput = (output, context) => {
|
|
|
4335
4335
|
};
|
|
4336
4336
|
const deserializeAws_json1_1DebugSession = (output, context) => {
|
|
4337
4337
|
return {
|
|
4338
|
-
sessionEnabled:
|
|
4339
|
-
sessionTarget:
|
|
4338
|
+
sessionEnabled: smithy_client_1.expectBoolean(output.sessionEnabled),
|
|
4339
|
+
sessionTarget: smithy_client_1.expectString(output.sessionTarget),
|
|
4340
4340
|
};
|
|
4341
4341
|
};
|
|
4342
4342
|
const deserializeAws_json1_1DeleteBuildBatchOutput = (output, context) => {
|
|
@@ -4347,7 +4347,7 @@ const deserializeAws_json1_1DeleteBuildBatchOutput = (output, context) => {
|
|
|
4347
4347
|
buildsNotDeleted: output.buildsNotDeleted !== undefined && output.buildsNotDeleted !== null
|
|
4348
4348
|
? deserializeAws_json1_1BuildsNotDeleted(output.buildsNotDeleted, context)
|
|
4349
4349
|
: undefined,
|
|
4350
|
-
statusCode:
|
|
4350
|
+
statusCode: smithy_client_1.expectString(output.statusCode),
|
|
4351
4351
|
};
|
|
4352
4352
|
};
|
|
4353
4353
|
const deserializeAws_json1_1DeleteProjectOutput = (output, context) => {
|
|
@@ -4364,7 +4364,7 @@ const deserializeAws_json1_1DeleteResourcePolicyOutput = (output, context) => {
|
|
|
4364
4364
|
};
|
|
4365
4365
|
const deserializeAws_json1_1DeleteSourceCredentialsOutput = (output, context) => {
|
|
4366
4366
|
return {
|
|
4367
|
-
arn:
|
|
4367
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
4368
4368
|
};
|
|
4369
4369
|
};
|
|
4370
4370
|
const deserializeAws_json1_1DeleteWebhookOutput = (output, context) => {
|
|
@@ -4375,12 +4375,12 @@ const deserializeAws_json1_1DescribeCodeCoveragesOutput = (output, context) => {
|
|
|
4375
4375
|
codeCoverages: output.codeCoverages !== undefined && output.codeCoverages !== null
|
|
4376
4376
|
? deserializeAws_json1_1CodeCoverages(output.codeCoverages, context)
|
|
4377
4377
|
: undefined,
|
|
4378
|
-
nextToken:
|
|
4378
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4379
4379
|
};
|
|
4380
4380
|
};
|
|
4381
4381
|
const deserializeAws_json1_1DescribeTestCasesOutput = (output, context) => {
|
|
4382
4382
|
return {
|
|
4383
|
-
nextToken:
|
|
4383
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4384
4384
|
testCases: output.testCases !== undefined && output.testCases !== null
|
|
4385
4385
|
? deserializeAws_json1_1TestCases(output.testCases, context)
|
|
4386
4386
|
: undefined,
|
|
@@ -4388,8 +4388,8 @@ const deserializeAws_json1_1DescribeTestCasesOutput = (output, context) => {
|
|
|
4388
4388
|
};
|
|
4389
4389
|
const deserializeAws_json1_1EnvironmentImage = (output, context) => {
|
|
4390
4390
|
return {
|
|
4391
|
-
description:
|
|
4392
|
-
name:
|
|
4391
|
+
description: smithy_client_1.expectString(output.description),
|
|
4392
|
+
name: smithy_client_1.expectString(output.name),
|
|
4393
4393
|
versions: output.versions !== undefined && output.versions !== null
|
|
4394
4394
|
? deserializeAws_json1_1ImageVersions(output.versions, context)
|
|
4395
4395
|
: undefined,
|
|
@@ -4410,7 +4410,7 @@ const deserializeAws_json1_1EnvironmentLanguage = (output, context) => {
|
|
|
4410
4410
|
images: output.images !== undefined && output.images !== null
|
|
4411
4411
|
? deserializeAws_json1_1EnvironmentImages(output.images, context)
|
|
4412
4412
|
: undefined,
|
|
4413
|
-
language:
|
|
4413
|
+
language: smithy_client_1.expectString(output.language),
|
|
4414
4414
|
};
|
|
4415
4415
|
};
|
|
4416
4416
|
const deserializeAws_json1_1EnvironmentLanguages = (output, context) => {
|
|
@@ -4428,7 +4428,7 @@ const deserializeAws_json1_1EnvironmentPlatform = (output, context) => {
|
|
|
4428
4428
|
languages: output.languages !== undefined && output.languages !== null
|
|
4429
4429
|
? deserializeAws_json1_1EnvironmentLanguages(output.languages, context)
|
|
4430
4430
|
: undefined,
|
|
4431
|
-
platform:
|
|
4431
|
+
platform: smithy_client_1.expectString(output.platform),
|
|
4432
4432
|
};
|
|
4433
4433
|
};
|
|
4434
4434
|
const deserializeAws_json1_1EnvironmentPlatforms = (output, context) => {
|
|
@@ -4443,9 +4443,9 @@ const deserializeAws_json1_1EnvironmentPlatforms = (output, context) => {
|
|
|
4443
4443
|
};
|
|
4444
4444
|
const deserializeAws_json1_1EnvironmentVariable = (output, context) => {
|
|
4445
4445
|
return {
|
|
4446
|
-
name:
|
|
4447
|
-
type:
|
|
4448
|
-
value:
|
|
4446
|
+
name: smithy_client_1.expectString(output.name),
|
|
4447
|
+
type: smithy_client_1.expectString(output.type),
|
|
4448
|
+
value: smithy_client_1.expectString(output.value),
|
|
4449
4449
|
};
|
|
4450
4450
|
};
|
|
4451
4451
|
const deserializeAws_json1_1EnvironmentVariables = (output, context) => {
|
|
@@ -4460,8 +4460,8 @@ const deserializeAws_json1_1EnvironmentVariables = (output, context) => {
|
|
|
4460
4460
|
};
|
|
4461
4461
|
const deserializeAws_json1_1ExportedEnvironmentVariable = (output, context) => {
|
|
4462
4462
|
return {
|
|
4463
|
-
name:
|
|
4464
|
-
value:
|
|
4463
|
+
name: smithy_client_1.expectString(output.name),
|
|
4464
|
+
value: smithy_client_1.expectString(output.value),
|
|
4465
4465
|
};
|
|
4466
4466
|
};
|
|
4467
4467
|
const deserializeAws_json1_1ExportedEnvironmentVariables = (output, context) => {
|
|
@@ -4506,12 +4506,12 @@ const deserializeAws_json1_1GetReportGroupTrendOutput = (output, context) => {
|
|
|
4506
4506
|
};
|
|
4507
4507
|
const deserializeAws_json1_1GetResourcePolicyOutput = (output, context) => {
|
|
4508
4508
|
return {
|
|
4509
|
-
policy:
|
|
4509
|
+
policy: smithy_client_1.expectString(output.policy),
|
|
4510
4510
|
};
|
|
4511
4511
|
};
|
|
4512
4512
|
const deserializeAws_json1_1GitSubmodulesConfig = (output, context) => {
|
|
4513
4513
|
return {
|
|
4514
|
-
fetchSubmodules:
|
|
4514
|
+
fetchSubmodules: smithy_client_1.expectBoolean(output.fetchSubmodules),
|
|
4515
4515
|
};
|
|
4516
4516
|
};
|
|
4517
4517
|
const deserializeAws_json1_1Identifiers = (output, context) => {
|
|
@@ -4521,7 +4521,7 @@ const deserializeAws_json1_1Identifiers = (output, context) => {
|
|
|
4521
4521
|
if (entry === null) {
|
|
4522
4522
|
return null;
|
|
4523
4523
|
}
|
|
4524
|
-
return
|
|
4524
|
+
return smithy_client_1.expectString(entry);
|
|
4525
4525
|
});
|
|
4526
4526
|
};
|
|
4527
4527
|
const deserializeAws_json1_1ImageVersions = (output, context) => {
|
|
@@ -4531,12 +4531,12 @@ const deserializeAws_json1_1ImageVersions = (output, context) => {
|
|
|
4531
4531
|
if (entry === null) {
|
|
4532
4532
|
return null;
|
|
4533
4533
|
}
|
|
4534
|
-
return
|
|
4534
|
+
return smithy_client_1.expectString(entry);
|
|
4535
4535
|
});
|
|
4536
4536
|
};
|
|
4537
4537
|
const deserializeAws_json1_1ImportSourceCredentialsOutput = (output, context) => {
|
|
4538
4538
|
return {
|
|
4539
|
-
arn:
|
|
4539
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
4540
4540
|
};
|
|
4541
4541
|
};
|
|
4542
4542
|
const deserializeAws_json1_1InvalidateProjectCacheOutput = (output, context) => {
|
|
@@ -4544,7 +4544,7 @@ const deserializeAws_json1_1InvalidateProjectCacheOutput = (output, context) =>
|
|
|
4544
4544
|
};
|
|
4545
4545
|
const deserializeAws_json1_1InvalidInputException = (output, context) => {
|
|
4546
4546
|
return {
|
|
4547
|
-
message:
|
|
4547
|
+
message: smithy_client_1.expectString(output.message),
|
|
4548
4548
|
};
|
|
4549
4549
|
};
|
|
4550
4550
|
const deserializeAws_json1_1ListBuildBatchesForProjectOutput = (output, context) => {
|
|
@@ -4552,7 +4552,7 @@ const deserializeAws_json1_1ListBuildBatchesForProjectOutput = (output, context)
|
|
|
4552
4552
|
ids: output.ids !== undefined && output.ids !== null
|
|
4553
4553
|
? deserializeAws_json1_1BuildBatchIds(output.ids, context)
|
|
4554
4554
|
: undefined,
|
|
4555
|
-
nextToken:
|
|
4555
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4556
4556
|
};
|
|
4557
4557
|
};
|
|
4558
4558
|
const deserializeAws_json1_1ListBuildBatchesOutput = (output, context) => {
|
|
@@ -4560,19 +4560,19 @@ const deserializeAws_json1_1ListBuildBatchesOutput = (output, context) => {
|
|
|
4560
4560
|
ids: output.ids !== undefined && output.ids !== null
|
|
4561
4561
|
? deserializeAws_json1_1BuildBatchIds(output.ids, context)
|
|
4562
4562
|
: undefined,
|
|
4563
|
-
nextToken:
|
|
4563
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4564
4564
|
};
|
|
4565
4565
|
};
|
|
4566
4566
|
const deserializeAws_json1_1ListBuildsForProjectOutput = (output, context) => {
|
|
4567
4567
|
return {
|
|
4568
4568
|
ids: output.ids !== undefined && output.ids !== null ? deserializeAws_json1_1BuildIds(output.ids, context) : undefined,
|
|
4569
|
-
nextToken:
|
|
4569
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4570
4570
|
};
|
|
4571
4571
|
};
|
|
4572
4572
|
const deserializeAws_json1_1ListBuildsOutput = (output, context) => {
|
|
4573
4573
|
return {
|
|
4574
4574
|
ids: output.ids !== undefined && output.ids !== null ? deserializeAws_json1_1BuildIds(output.ids, context) : undefined,
|
|
4575
|
-
nextToken:
|
|
4575
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4576
4576
|
};
|
|
4577
4577
|
};
|
|
4578
4578
|
const deserializeAws_json1_1ListCuratedEnvironmentImagesOutput = (output, context) => {
|
|
@@ -4584,7 +4584,7 @@ const deserializeAws_json1_1ListCuratedEnvironmentImagesOutput = (output, contex
|
|
|
4584
4584
|
};
|
|
4585
4585
|
const deserializeAws_json1_1ListProjectsOutput = (output, context) => {
|
|
4586
4586
|
return {
|
|
4587
|
-
nextToken:
|
|
4587
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4588
4588
|
projects: output.projects !== undefined && output.projects !== null
|
|
4589
4589
|
? deserializeAws_json1_1ProjectNames(output.projects, context)
|
|
4590
4590
|
: undefined,
|
|
@@ -4592,7 +4592,7 @@ const deserializeAws_json1_1ListProjectsOutput = (output, context) => {
|
|
|
4592
4592
|
};
|
|
4593
4593
|
const deserializeAws_json1_1ListReportGroupsOutput = (output, context) => {
|
|
4594
4594
|
return {
|
|
4595
|
-
nextToken:
|
|
4595
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4596
4596
|
reportGroups: output.reportGroups !== undefined && output.reportGroups !== null
|
|
4597
4597
|
? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context)
|
|
4598
4598
|
: undefined,
|
|
@@ -4600,7 +4600,7 @@ const deserializeAws_json1_1ListReportGroupsOutput = (output, context) => {
|
|
|
4600
4600
|
};
|
|
4601
4601
|
const deserializeAws_json1_1ListReportsForReportGroupOutput = (output, context) => {
|
|
4602
4602
|
return {
|
|
4603
|
-
nextToken:
|
|
4603
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4604
4604
|
reports: output.reports !== undefined && output.reports !== null
|
|
4605
4605
|
? deserializeAws_json1_1ReportArns(output.reports, context)
|
|
4606
4606
|
: undefined,
|
|
@@ -4608,7 +4608,7 @@ const deserializeAws_json1_1ListReportsForReportGroupOutput = (output, context)
|
|
|
4608
4608
|
};
|
|
4609
4609
|
const deserializeAws_json1_1ListReportsOutput = (output, context) => {
|
|
4610
4610
|
return {
|
|
4611
|
-
nextToken:
|
|
4611
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4612
4612
|
reports: output.reports !== undefined && output.reports !== null
|
|
4613
4613
|
? deserializeAws_json1_1ReportArns(output.reports, context)
|
|
4614
4614
|
: undefined,
|
|
@@ -4616,7 +4616,7 @@ const deserializeAws_json1_1ListReportsOutput = (output, context) => {
|
|
|
4616
4616
|
};
|
|
4617
4617
|
const deserializeAws_json1_1ListSharedProjectsOutput = (output, context) => {
|
|
4618
4618
|
return {
|
|
4619
|
-
nextToken:
|
|
4619
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4620
4620
|
projects: output.projects !== undefined && output.projects !== null
|
|
4621
4621
|
? deserializeAws_json1_1ProjectArns(output.projects, context)
|
|
4622
4622
|
: undefined,
|
|
@@ -4624,7 +4624,7 @@ const deserializeAws_json1_1ListSharedProjectsOutput = (output, context) => {
|
|
|
4624
4624
|
};
|
|
4625
4625
|
const deserializeAws_json1_1ListSharedReportGroupsOutput = (output, context) => {
|
|
4626
4626
|
return {
|
|
4627
|
-
nextToken:
|
|
4627
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
4628
4628
|
reportGroups: output.reportGroups !== undefined && output.reportGroups !== null
|
|
4629
4629
|
? deserializeAws_json1_1ReportGroupArns(output.reportGroups, context)
|
|
4630
4630
|
: undefined,
|
|
@@ -4652,32 +4652,32 @@ const deserializeAws_json1_1LogsLocation = (output, context) => {
|
|
|
4652
4652
|
cloudWatchLogs: output.cloudWatchLogs !== undefined && output.cloudWatchLogs !== null
|
|
4653
4653
|
? deserializeAws_json1_1CloudWatchLogsConfig(output.cloudWatchLogs, context)
|
|
4654
4654
|
: undefined,
|
|
4655
|
-
cloudWatchLogsArn:
|
|
4656
|
-
deepLink:
|
|
4657
|
-
groupName:
|
|
4658
|
-
s3DeepLink:
|
|
4655
|
+
cloudWatchLogsArn: smithy_client_1.expectString(output.cloudWatchLogsArn),
|
|
4656
|
+
deepLink: smithy_client_1.expectString(output.deepLink),
|
|
4657
|
+
groupName: smithy_client_1.expectString(output.groupName),
|
|
4658
|
+
s3DeepLink: smithy_client_1.expectString(output.s3DeepLink),
|
|
4659
4659
|
s3Logs: output.s3Logs !== undefined && output.s3Logs !== null
|
|
4660
4660
|
? deserializeAws_json1_1S3LogsConfig(output.s3Logs, context)
|
|
4661
4661
|
: undefined,
|
|
4662
|
-
s3LogsArn:
|
|
4663
|
-
streamName:
|
|
4662
|
+
s3LogsArn: smithy_client_1.expectString(output.s3LogsArn),
|
|
4663
|
+
streamName: smithy_client_1.expectString(output.streamName),
|
|
4664
4664
|
};
|
|
4665
4665
|
};
|
|
4666
4666
|
const deserializeAws_json1_1NetworkInterface = (output, context) => {
|
|
4667
4667
|
return {
|
|
4668
|
-
networkInterfaceId:
|
|
4669
|
-
subnetId:
|
|
4668
|
+
networkInterfaceId: smithy_client_1.expectString(output.networkInterfaceId),
|
|
4669
|
+
subnetId: smithy_client_1.expectString(output.subnetId),
|
|
4670
4670
|
};
|
|
4671
4671
|
};
|
|
4672
4672
|
const deserializeAws_json1_1OAuthProviderException = (output, context) => {
|
|
4673
4673
|
return {
|
|
4674
|
-
message:
|
|
4674
|
+
message: smithy_client_1.expectString(output.message),
|
|
4675
4675
|
};
|
|
4676
4676
|
};
|
|
4677
4677
|
const deserializeAws_json1_1PhaseContext = (output, context) => {
|
|
4678
4678
|
return {
|
|
4679
|
-
message:
|
|
4680
|
-
statusCode:
|
|
4679
|
+
message: smithy_client_1.expectString(output.message),
|
|
4680
|
+
statusCode: smithy_client_1.expectString(output.statusCode),
|
|
4681
4681
|
};
|
|
4682
4682
|
};
|
|
4683
4683
|
const deserializeAws_json1_1PhaseContexts = (output, context) => {
|
|
@@ -4692,7 +4692,7 @@ const deserializeAws_json1_1PhaseContexts = (output, context) => {
|
|
|
4692
4692
|
};
|
|
4693
4693
|
const deserializeAws_json1_1Project = (output, context) => {
|
|
4694
4694
|
return {
|
|
4695
|
-
arn:
|
|
4695
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
4696
4696
|
artifacts: output.artifacts !== undefined && output.artifacts !== null
|
|
4697
4697
|
? deserializeAws_json1_1ProjectArtifacts(output.artifacts, context)
|
|
4698
4698
|
: undefined,
|
|
@@ -4705,12 +4705,12 @@ const deserializeAws_json1_1Project = (output, context) => {
|
|
|
4705
4705
|
cache: output.cache !== undefined && output.cache !== null
|
|
4706
4706
|
? deserializeAws_json1_1ProjectCache(output.cache, context)
|
|
4707
4707
|
: undefined,
|
|
4708
|
-
concurrentBuildLimit:
|
|
4708
|
+
concurrentBuildLimit: smithy_client_1.expectInt32(output.concurrentBuildLimit),
|
|
4709
4709
|
created: output.created !== undefined && output.created !== null
|
|
4710
|
-
?
|
|
4710
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
4711
4711
|
: undefined,
|
|
4712
|
-
description:
|
|
4713
|
-
encryptionKey:
|
|
4712
|
+
description: smithy_client_1.expectString(output.description),
|
|
4713
|
+
encryptionKey: smithy_client_1.expectString(output.encryptionKey),
|
|
4714
4714
|
environment: output.environment !== undefined && output.environment !== null
|
|
4715
4715
|
? deserializeAws_json1_1ProjectEnvironment(output.environment, context)
|
|
4716
4716
|
: undefined,
|
|
@@ -4718,16 +4718,16 @@ const deserializeAws_json1_1Project = (output, context) => {
|
|
|
4718
4718
|
? deserializeAws_json1_1ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
4719
4719
|
: undefined,
|
|
4720
4720
|
lastModified: output.lastModified !== undefined && output.lastModified !== null
|
|
4721
|
-
?
|
|
4721
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModified)))
|
|
4722
4722
|
: undefined,
|
|
4723
4723
|
logsConfig: output.logsConfig !== undefined && output.logsConfig !== null
|
|
4724
4724
|
? deserializeAws_json1_1LogsConfig(output.logsConfig, context)
|
|
4725
4725
|
: undefined,
|
|
4726
|
-
name:
|
|
4727
|
-
projectVisibility:
|
|
4728
|
-
publicProjectAlias:
|
|
4729
|
-
queuedTimeoutInMinutes:
|
|
4730
|
-
resourceAccessRole:
|
|
4726
|
+
name: smithy_client_1.expectString(output.name),
|
|
4727
|
+
projectVisibility: smithy_client_1.expectString(output.projectVisibility),
|
|
4728
|
+
publicProjectAlias: smithy_client_1.expectString(output.publicProjectAlias),
|
|
4729
|
+
queuedTimeoutInMinutes: smithy_client_1.expectInt32(output.queuedTimeoutInMinutes),
|
|
4730
|
+
resourceAccessRole: smithy_client_1.expectString(output.resourceAccessRole),
|
|
4731
4731
|
secondaryArtifacts: output.secondaryArtifacts !== undefined && output.secondaryArtifacts !== null
|
|
4732
4732
|
? deserializeAws_json1_1ProjectArtifactsList(output.secondaryArtifacts, context)
|
|
4733
4733
|
: undefined,
|
|
@@ -4737,15 +4737,15 @@ const deserializeAws_json1_1Project = (output, context) => {
|
|
|
4737
4737
|
secondarySources: output.secondarySources !== undefined && output.secondarySources !== null
|
|
4738
4738
|
? deserializeAws_json1_1ProjectSources(output.secondarySources, context)
|
|
4739
4739
|
: undefined,
|
|
4740
|
-
serviceRole:
|
|
4740
|
+
serviceRole: smithy_client_1.expectString(output.serviceRole),
|
|
4741
4741
|
source: output.source !== undefined && output.source !== null
|
|
4742
4742
|
? deserializeAws_json1_1ProjectSource(output.source, context)
|
|
4743
4743
|
: undefined,
|
|
4744
|
-
sourceVersion:
|
|
4744
|
+
sourceVersion: smithy_client_1.expectString(output.sourceVersion),
|
|
4745
4745
|
tags: output.tags !== undefined && output.tags !== null
|
|
4746
4746
|
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4747
4747
|
: undefined,
|
|
4748
|
-
timeoutInMinutes:
|
|
4748
|
+
timeoutInMinutes: smithy_client_1.expectInt32(output.timeoutInMinutes),
|
|
4749
4749
|
vpcConfig: output.vpcConfig !== undefined && output.vpcConfig !== null
|
|
4750
4750
|
? deserializeAws_json1_1VpcConfig(output.vpcConfig, context)
|
|
4751
4751
|
: undefined,
|
|
@@ -4761,21 +4761,21 @@ const deserializeAws_json1_1ProjectArns = (output, context) => {
|
|
|
4761
4761
|
if (entry === null) {
|
|
4762
4762
|
return null;
|
|
4763
4763
|
}
|
|
4764
|
-
return
|
|
4764
|
+
return smithy_client_1.expectString(entry);
|
|
4765
4765
|
});
|
|
4766
4766
|
};
|
|
4767
4767
|
const deserializeAws_json1_1ProjectArtifacts = (output, context) => {
|
|
4768
4768
|
return {
|
|
4769
|
-
artifactIdentifier:
|
|
4770
|
-
bucketOwnerAccess:
|
|
4771
|
-
encryptionDisabled:
|
|
4772
|
-
location:
|
|
4773
|
-
name:
|
|
4774
|
-
namespaceType:
|
|
4775
|
-
overrideArtifactName:
|
|
4776
|
-
packaging:
|
|
4777
|
-
path:
|
|
4778
|
-
type:
|
|
4769
|
+
artifactIdentifier: smithy_client_1.expectString(output.artifactIdentifier),
|
|
4770
|
+
bucketOwnerAccess: smithy_client_1.expectString(output.bucketOwnerAccess),
|
|
4771
|
+
encryptionDisabled: smithy_client_1.expectBoolean(output.encryptionDisabled),
|
|
4772
|
+
location: smithy_client_1.expectString(output.location),
|
|
4773
|
+
name: smithy_client_1.expectString(output.name),
|
|
4774
|
+
namespaceType: smithy_client_1.expectString(output.namespaceType),
|
|
4775
|
+
overrideArtifactName: smithy_client_1.expectBoolean(output.overrideArtifactName),
|
|
4776
|
+
packaging: smithy_client_1.expectString(output.packaging),
|
|
4777
|
+
path: smithy_client_1.expectString(output.path),
|
|
4778
|
+
type: smithy_client_1.expectString(output.type),
|
|
4779
4779
|
};
|
|
4780
4780
|
};
|
|
4781
4781
|
const deserializeAws_json1_1ProjectArtifactsList = (output, context) => {
|
|
@@ -4790,27 +4790,27 @@ const deserializeAws_json1_1ProjectArtifactsList = (output, context) => {
|
|
|
4790
4790
|
};
|
|
4791
4791
|
const deserializeAws_json1_1ProjectBadge = (output, context) => {
|
|
4792
4792
|
return {
|
|
4793
|
-
badgeEnabled:
|
|
4794
|
-
badgeRequestUrl:
|
|
4793
|
+
badgeEnabled: smithy_client_1.expectBoolean(output.badgeEnabled),
|
|
4794
|
+
badgeRequestUrl: smithy_client_1.expectString(output.badgeRequestUrl),
|
|
4795
4795
|
};
|
|
4796
4796
|
};
|
|
4797
4797
|
const deserializeAws_json1_1ProjectBuildBatchConfig = (output, context) => {
|
|
4798
4798
|
return {
|
|
4799
|
-
combineArtifacts:
|
|
4799
|
+
combineArtifacts: smithy_client_1.expectBoolean(output.combineArtifacts),
|
|
4800
4800
|
restrictions: output.restrictions !== undefined && output.restrictions !== null
|
|
4801
4801
|
? deserializeAws_json1_1BatchRestrictions(output.restrictions, context)
|
|
4802
4802
|
: undefined,
|
|
4803
|
-
serviceRole:
|
|
4804
|
-
timeoutInMins:
|
|
4803
|
+
serviceRole: smithy_client_1.expectString(output.serviceRole),
|
|
4804
|
+
timeoutInMins: smithy_client_1.expectInt32(output.timeoutInMins),
|
|
4805
4805
|
};
|
|
4806
4806
|
};
|
|
4807
4807
|
const deserializeAws_json1_1ProjectCache = (output, context) => {
|
|
4808
4808
|
return {
|
|
4809
|
-
location:
|
|
4809
|
+
location: smithy_client_1.expectString(output.location),
|
|
4810
4810
|
modes: output.modes !== undefined && output.modes !== null
|
|
4811
4811
|
? deserializeAws_json1_1ProjectCacheModes(output.modes, context)
|
|
4812
4812
|
: undefined,
|
|
4813
|
-
type:
|
|
4813
|
+
type: smithy_client_1.expectString(output.type),
|
|
4814
4814
|
};
|
|
4815
4815
|
};
|
|
4816
4816
|
const deserializeAws_json1_1ProjectCacheModes = (output, context) => {
|
|
@@ -4820,32 +4820,32 @@ const deserializeAws_json1_1ProjectCacheModes = (output, context) => {
|
|
|
4820
4820
|
if (entry === null) {
|
|
4821
4821
|
return null;
|
|
4822
4822
|
}
|
|
4823
|
-
return
|
|
4823
|
+
return smithy_client_1.expectString(entry);
|
|
4824
4824
|
});
|
|
4825
4825
|
};
|
|
4826
4826
|
const deserializeAws_json1_1ProjectEnvironment = (output, context) => {
|
|
4827
4827
|
return {
|
|
4828
|
-
certificate:
|
|
4829
|
-
computeType:
|
|
4828
|
+
certificate: smithy_client_1.expectString(output.certificate),
|
|
4829
|
+
computeType: smithy_client_1.expectString(output.computeType),
|
|
4830
4830
|
environmentVariables: output.environmentVariables !== undefined && output.environmentVariables !== null
|
|
4831
4831
|
? deserializeAws_json1_1EnvironmentVariables(output.environmentVariables, context)
|
|
4832
4832
|
: undefined,
|
|
4833
|
-
image:
|
|
4834
|
-
imagePullCredentialsType:
|
|
4835
|
-
privilegedMode:
|
|
4833
|
+
image: smithy_client_1.expectString(output.image),
|
|
4834
|
+
imagePullCredentialsType: smithy_client_1.expectString(output.imagePullCredentialsType),
|
|
4835
|
+
privilegedMode: smithy_client_1.expectBoolean(output.privilegedMode),
|
|
4836
4836
|
registryCredential: output.registryCredential !== undefined && output.registryCredential !== null
|
|
4837
4837
|
? deserializeAws_json1_1RegistryCredential(output.registryCredential, context)
|
|
4838
4838
|
: undefined,
|
|
4839
|
-
type:
|
|
4839
|
+
type: smithy_client_1.expectString(output.type),
|
|
4840
4840
|
};
|
|
4841
4841
|
};
|
|
4842
4842
|
const deserializeAws_json1_1ProjectFileSystemLocation = (output, context) => {
|
|
4843
4843
|
return {
|
|
4844
|
-
identifier:
|
|
4845
|
-
location:
|
|
4846
|
-
mountOptions:
|
|
4847
|
-
mountPoint:
|
|
4848
|
-
type:
|
|
4844
|
+
identifier: smithy_client_1.expectString(output.identifier),
|
|
4845
|
+
location: smithy_client_1.expectString(output.location),
|
|
4846
|
+
mountOptions: smithy_client_1.expectString(output.mountOptions),
|
|
4847
|
+
mountPoint: smithy_client_1.expectString(output.mountPoint),
|
|
4848
|
+
type: smithy_client_1.expectString(output.type),
|
|
4849
4849
|
};
|
|
4850
4850
|
};
|
|
4851
4851
|
const deserializeAws_json1_1ProjectFileSystemLocations = (output, context) => {
|
|
@@ -4865,7 +4865,7 @@ const deserializeAws_json1_1ProjectNames = (output, context) => {
|
|
|
4865
4865
|
if (entry === null) {
|
|
4866
4866
|
return null;
|
|
4867
4867
|
}
|
|
4868
|
-
return
|
|
4868
|
+
return smithy_client_1.expectString(entry);
|
|
4869
4869
|
});
|
|
4870
4870
|
};
|
|
4871
4871
|
const deserializeAws_json1_1Projects = (output, context) => {
|
|
@@ -4896,16 +4896,16 @@ const deserializeAws_json1_1ProjectSource = (output, context) => {
|
|
|
4896
4896
|
buildStatusConfig: output.buildStatusConfig !== undefined && output.buildStatusConfig !== null
|
|
4897
4897
|
? deserializeAws_json1_1BuildStatusConfig(output.buildStatusConfig, context)
|
|
4898
4898
|
: undefined,
|
|
4899
|
-
buildspec:
|
|
4900
|
-
gitCloneDepth:
|
|
4899
|
+
buildspec: smithy_client_1.expectString(output.buildspec),
|
|
4900
|
+
gitCloneDepth: smithy_client_1.expectInt32(output.gitCloneDepth),
|
|
4901
4901
|
gitSubmodulesConfig: output.gitSubmodulesConfig !== undefined && output.gitSubmodulesConfig !== null
|
|
4902
4902
|
? deserializeAws_json1_1GitSubmodulesConfig(output.gitSubmodulesConfig, context)
|
|
4903
4903
|
: undefined,
|
|
4904
|
-
insecureSsl:
|
|
4905
|
-
location:
|
|
4906
|
-
reportBuildStatus:
|
|
4907
|
-
sourceIdentifier:
|
|
4908
|
-
type:
|
|
4904
|
+
insecureSsl: smithy_client_1.expectBoolean(output.insecureSsl),
|
|
4905
|
+
location: smithy_client_1.expectString(output.location),
|
|
4906
|
+
reportBuildStatus: smithy_client_1.expectBoolean(output.reportBuildStatus),
|
|
4907
|
+
sourceIdentifier: smithy_client_1.expectString(output.sourceIdentifier),
|
|
4908
|
+
type: smithy_client_1.expectString(output.type),
|
|
4909
4909
|
};
|
|
4910
4910
|
};
|
|
4911
4911
|
const deserializeAws_json1_1ProjectSources = (output, context) => {
|
|
@@ -4920,45 +4920,45 @@ const deserializeAws_json1_1ProjectSources = (output, context) => {
|
|
|
4920
4920
|
};
|
|
4921
4921
|
const deserializeAws_json1_1ProjectSourceVersion = (output, context) => {
|
|
4922
4922
|
return {
|
|
4923
|
-
sourceIdentifier:
|
|
4924
|
-
sourceVersion:
|
|
4923
|
+
sourceIdentifier: smithy_client_1.expectString(output.sourceIdentifier),
|
|
4924
|
+
sourceVersion: smithy_client_1.expectString(output.sourceVersion),
|
|
4925
4925
|
};
|
|
4926
4926
|
};
|
|
4927
4927
|
const deserializeAws_json1_1PutResourcePolicyOutput = (output, context) => {
|
|
4928
4928
|
return {
|
|
4929
|
-
resourceArn:
|
|
4929
|
+
resourceArn: smithy_client_1.expectString(output.resourceArn),
|
|
4930
4930
|
};
|
|
4931
4931
|
};
|
|
4932
4932
|
const deserializeAws_json1_1RegistryCredential = (output, context) => {
|
|
4933
4933
|
return {
|
|
4934
|
-
credential:
|
|
4935
|
-
credentialProvider:
|
|
4934
|
+
credential: smithy_client_1.expectString(output.credential),
|
|
4935
|
+
credentialProvider: smithy_client_1.expectString(output.credentialProvider),
|
|
4936
4936
|
};
|
|
4937
4937
|
};
|
|
4938
4938
|
const deserializeAws_json1_1Report = (output, context) => {
|
|
4939
4939
|
return {
|
|
4940
|
-
arn:
|
|
4940
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
4941
4941
|
codeCoverageSummary: output.codeCoverageSummary !== undefined && output.codeCoverageSummary !== null
|
|
4942
4942
|
? deserializeAws_json1_1CodeCoverageReportSummary(output.codeCoverageSummary, context)
|
|
4943
4943
|
: undefined,
|
|
4944
4944
|
created: output.created !== undefined && output.created !== null
|
|
4945
|
-
?
|
|
4945
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
4946
4946
|
: undefined,
|
|
4947
|
-
executionId:
|
|
4947
|
+
executionId: smithy_client_1.expectString(output.executionId),
|
|
4948
4948
|
expired: output.expired !== undefined && output.expired !== null
|
|
4949
|
-
?
|
|
4949
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.expired)))
|
|
4950
4950
|
: undefined,
|
|
4951
4951
|
exportConfig: output.exportConfig !== undefined && output.exportConfig !== null
|
|
4952
4952
|
? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context)
|
|
4953
4953
|
: undefined,
|
|
4954
|
-
name:
|
|
4955
|
-
reportGroupArn:
|
|
4956
|
-
status:
|
|
4954
|
+
name: smithy_client_1.expectString(output.name),
|
|
4955
|
+
reportGroupArn: smithy_client_1.expectString(output.reportGroupArn),
|
|
4956
|
+
status: smithy_client_1.expectString(output.status),
|
|
4957
4957
|
testSummary: output.testSummary !== undefined && output.testSummary !== null
|
|
4958
4958
|
? deserializeAws_json1_1TestReportSummary(output.testSummary, context)
|
|
4959
4959
|
: undefined,
|
|
4960
|
-
truncated:
|
|
4961
|
-
type:
|
|
4960
|
+
truncated: smithy_client_1.expectBoolean(output.truncated),
|
|
4961
|
+
type: smithy_client_1.expectString(output.type),
|
|
4962
4962
|
};
|
|
4963
4963
|
};
|
|
4964
4964
|
const deserializeAws_json1_1ReportArns = (output, context) => {
|
|
@@ -4968,12 +4968,12 @@ const deserializeAws_json1_1ReportArns = (output, context) => {
|
|
|
4968
4968
|
if (entry === null) {
|
|
4969
4969
|
return null;
|
|
4970
4970
|
}
|
|
4971
|
-
return
|
|
4971
|
+
return smithy_client_1.expectString(entry);
|
|
4972
4972
|
});
|
|
4973
4973
|
};
|
|
4974
4974
|
const deserializeAws_json1_1ReportExportConfig = (output, context) => {
|
|
4975
4975
|
return {
|
|
4976
|
-
exportConfigType:
|
|
4976
|
+
exportConfigType: smithy_client_1.expectString(output.exportConfigType),
|
|
4977
4977
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
4978
4978
|
? deserializeAws_json1_1S3ReportExportConfig(output.s3Destination, context)
|
|
4979
4979
|
: undefined,
|
|
@@ -4981,22 +4981,22 @@ const deserializeAws_json1_1ReportExportConfig = (output, context) => {
|
|
|
4981
4981
|
};
|
|
4982
4982
|
const deserializeAws_json1_1ReportGroup = (output, context) => {
|
|
4983
4983
|
return {
|
|
4984
|
-
arn:
|
|
4984
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
4985
4985
|
created: output.created !== undefined && output.created !== null
|
|
4986
|
-
?
|
|
4986
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
4987
4987
|
: undefined,
|
|
4988
4988
|
exportConfig: output.exportConfig !== undefined && output.exportConfig !== null
|
|
4989
4989
|
? deserializeAws_json1_1ReportExportConfig(output.exportConfig, context)
|
|
4990
4990
|
: undefined,
|
|
4991
4991
|
lastModified: output.lastModified !== undefined && output.lastModified !== null
|
|
4992
|
-
?
|
|
4992
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModified)))
|
|
4993
4993
|
: undefined,
|
|
4994
|
-
name:
|
|
4995
|
-
status:
|
|
4994
|
+
name: smithy_client_1.expectString(output.name),
|
|
4995
|
+
status: smithy_client_1.expectString(output.status),
|
|
4996
4996
|
tags: output.tags !== undefined && output.tags !== null
|
|
4997
4997
|
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4998
4998
|
: undefined,
|
|
4999
|
-
type:
|
|
4999
|
+
type: smithy_client_1.expectString(output.type),
|
|
5000
5000
|
};
|
|
5001
5001
|
};
|
|
5002
5002
|
const deserializeAws_json1_1ReportGroupArns = (output, context) => {
|
|
@@ -5006,7 +5006,7 @@ const deserializeAws_json1_1ReportGroupArns = (output, context) => {
|
|
|
5006
5006
|
if (entry === null) {
|
|
5007
5007
|
return null;
|
|
5008
5008
|
}
|
|
5009
|
-
return
|
|
5009
|
+
return smithy_client_1.expectString(entry);
|
|
5010
5010
|
});
|
|
5011
5011
|
};
|
|
5012
5012
|
const deserializeAws_json1_1ReportGroups = (output, context) => {
|
|
@@ -5031,9 +5031,9 @@ const deserializeAws_json1_1ReportGroupTrendRawDataList = (output, context) => {
|
|
|
5031
5031
|
};
|
|
5032
5032
|
const deserializeAws_json1_1ReportGroupTrendStats = (output, context) => {
|
|
5033
5033
|
return {
|
|
5034
|
-
average:
|
|
5035
|
-
max:
|
|
5036
|
-
min:
|
|
5034
|
+
average: smithy_client_1.expectString(output.average),
|
|
5035
|
+
max: smithy_client_1.expectString(output.max),
|
|
5036
|
+
min: smithy_client_1.expectString(output.min),
|
|
5037
5037
|
};
|
|
5038
5038
|
};
|
|
5039
5039
|
const deserializeAws_json1_1Reports = (output, context) => {
|
|
@@ -5053,21 +5053,21 @@ const deserializeAws_json1_1ReportStatusCounts = (output, context) => {
|
|
|
5053
5053
|
}
|
|
5054
5054
|
return {
|
|
5055
5055
|
...acc,
|
|
5056
|
-
[key]:
|
|
5056
|
+
[key]: smithy_client_1.expectInt32(value),
|
|
5057
5057
|
};
|
|
5058
5058
|
}, {});
|
|
5059
5059
|
};
|
|
5060
5060
|
const deserializeAws_json1_1ReportWithRawData = (output, context) => {
|
|
5061
5061
|
return {
|
|
5062
|
-
data:
|
|
5063
|
-
reportArn:
|
|
5062
|
+
data: smithy_client_1.expectString(output.data),
|
|
5063
|
+
reportArn: smithy_client_1.expectString(output.reportArn),
|
|
5064
5064
|
};
|
|
5065
5065
|
};
|
|
5066
5066
|
const deserializeAws_json1_1ResolvedArtifact = (output, context) => {
|
|
5067
5067
|
return {
|
|
5068
|
-
identifier:
|
|
5069
|
-
location:
|
|
5070
|
-
type:
|
|
5068
|
+
identifier: smithy_client_1.expectString(output.identifier),
|
|
5069
|
+
location: smithy_client_1.expectString(output.location),
|
|
5070
|
+
type: smithy_client_1.expectString(output.type),
|
|
5071
5071
|
};
|
|
5072
5072
|
};
|
|
5073
5073
|
const deserializeAws_json1_1ResolvedSecondaryArtifacts = (output, context) => {
|
|
@@ -5082,12 +5082,12 @@ const deserializeAws_json1_1ResolvedSecondaryArtifacts = (output, context) => {
|
|
|
5082
5082
|
};
|
|
5083
5083
|
const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
|
|
5084
5084
|
return {
|
|
5085
|
-
message:
|
|
5085
|
+
message: smithy_client_1.expectString(output.message),
|
|
5086
5086
|
};
|
|
5087
5087
|
};
|
|
5088
5088
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
5089
5089
|
return {
|
|
5090
|
-
message:
|
|
5090
|
+
message: smithy_client_1.expectString(output.message),
|
|
5091
5091
|
};
|
|
5092
5092
|
};
|
|
5093
5093
|
const deserializeAws_json1_1RetryBuildBatchOutput = (output, context) => {
|
|
@@ -5106,20 +5106,20 @@ const deserializeAws_json1_1RetryBuildOutput = (output, context) => {
|
|
|
5106
5106
|
};
|
|
5107
5107
|
const deserializeAws_json1_1S3LogsConfig = (output, context) => {
|
|
5108
5108
|
return {
|
|
5109
|
-
bucketOwnerAccess:
|
|
5110
|
-
encryptionDisabled:
|
|
5111
|
-
location:
|
|
5112
|
-
status:
|
|
5109
|
+
bucketOwnerAccess: smithy_client_1.expectString(output.bucketOwnerAccess),
|
|
5110
|
+
encryptionDisabled: smithy_client_1.expectBoolean(output.encryptionDisabled),
|
|
5111
|
+
location: smithy_client_1.expectString(output.location),
|
|
5112
|
+
status: smithy_client_1.expectString(output.status),
|
|
5113
5113
|
};
|
|
5114
5114
|
};
|
|
5115
5115
|
const deserializeAws_json1_1S3ReportExportConfig = (output, context) => {
|
|
5116
5116
|
return {
|
|
5117
|
-
bucket:
|
|
5118
|
-
bucketOwner:
|
|
5119
|
-
encryptionDisabled:
|
|
5120
|
-
encryptionKey:
|
|
5121
|
-
packaging:
|
|
5122
|
-
path:
|
|
5117
|
+
bucket: smithy_client_1.expectString(output.bucket),
|
|
5118
|
+
bucketOwner: smithy_client_1.expectString(output.bucketOwner),
|
|
5119
|
+
encryptionDisabled: smithy_client_1.expectBoolean(output.encryptionDisabled),
|
|
5120
|
+
encryptionKey: smithy_client_1.expectString(output.encryptionKey),
|
|
5121
|
+
packaging: smithy_client_1.expectString(output.packaging),
|
|
5122
|
+
path: smithy_client_1.expectString(output.path),
|
|
5123
5123
|
};
|
|
5124
5124
|
};
|
|
5125
5125
|
const deserializeAws_json1_1SecurityGroupIds = (output, context) => {
|
|
@@ -5129,20 +5129,20 @@ const deserializeAws_json1_1SecurityGroupIds = (output, context) => {
|
|
|
5129
5129
|
if (entry === null) {
|
|
5130
5130
|
return null;
|
|
5131
5131
|
}
|
|
5132
|
-
return
|
|
5132
|
+
return smithy_client_1.expectString(entry);
|
|
5133
5133
|
});
|
|
5134
5134
|
};
|
|
5135
5135
|
const deserializeAws_json1_1SourceAuth = (output, context) => {
|
|
5136
5136
|
return {
|
|
5137
|
-
resource:
|
|
5138
|
-
type:
|
|
5137
|
+
resource: smithy_client_1.expectString(output.resource),
|
|
5138
|
+
type: smithy_client_1.expectString(output.type),
|
|
5139
5139
|
};
|
|
5140
5140
|
};
|
|
5141
5141
|
const deserializeAws_json1_1SourceCredentialsInfo = (output, context) => {
|
|
5142
5142
|
return {
|
|
5143
|
-
arn:
|
|
5144
|
-
authType:
|
|
5145
|
-
serverType:
|
|
5143
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
5144
|
+
authType: smithy_client_1.expectString(output.authType),
|
|
5145
|
+
serverType: smithy_client_1.expectString(output.serverType),
|
|
5146
5146
|
};
|
|
5147
5147
|
};
|
|
5148
5148
|
const deserializeAws_json1_1SourceCredentialsInfos = (output, context) => {
|
|
@@ -5190,13 +5190,13 @@ const deserializeAws_json1_1Subnets = (output, context) => {
|
|
|
5190
5190
|
if (entry === null) {
|
|
5191
5191
|
return null;
|
|
5192
5192
|
}
|
|
5193
|
-
return
|
|
5193
|
+
return smithy_client_1.expectString(entry);
|
|
5194
5194
|
});
|
|
5195
5195
|
};
|
|
5196
5196
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
5197
5197
|
return {
|
|
5198
|
-
key:
|
|
5199
|
-
value:
|
|
5198
|
+
key: smithy_client_1.expectString(output.key),
|
|
5199
|
+
value: smithy_client_1.expectString(output.value),
|
|
5200
5200
|
};
|
|
5201
5201
|
};
|
|
5202
5202
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -5211,16 +5211,16 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
5211
5211
|
};
|
|
5212
5212
|
const deserializeAws_json1_1TestCase = (output, context) => {
|
|
5213
5213
|
return {
|
|
5214
|
-
durationInNanoSeconds:
|
|
5214
|
+
durationInNanoSeconds: smithy_client_1.expectLong(output.durationInNanoSeconds),
|
|
5215
5215
|
expired: output.expired !== undefined && output.expired !== null
|
|
5216
|
-
?
|
|
5216
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.expired)))
|
|
5217
5217
|
: undefined,
|
|
5218
|
-
message:
|
|
5219
|
-
name:
|
|
5220
|
-
prefix:
|
|
5221
|
-
reportArn:
|
|
5222
|
-
status:
|
|
5223
|
-
testRawDataPath:
|
|
5218
|
+
message: smithy_client_1.expectString(output.message),
|
|
5219
|
+
name: smithy_client_1.expectString(output.name),
|
|
5220
|
+
prefix: smithy_client_1.expectString(output.prefix),
|
|
5221
|
+
reportArn: smithy_client_1.expectString(output.reportArn),
|
|
5222
|
+
status: smithy_client_1.expectString(output.status),
|
|
5223
|
+
testRawDataPath: smithy_client_1.expectString(output.testRawDataPath),
|
|
5224
5224
|
};
|
|
5225
5225
|
};
|
|
5226
5226
|
const deserializeAws_json1_1TestCases = (output, context) => {
|
|
@@ -5235,11 +5235,11 @@ const deserializeAws_json1_1TestCases = (output, context) => {
|
|
|
5235
5235
|
};
|
|
5236
5236
|
const deserializeAws_json1_1TestReportSummary = (output, context) => {
|
|
5237
5237
|
return {
|
|
5238
|
-
durationInNanoSeconds:
|
|
5238
|
+
durationInNanoSeconds: smithy_client_1.expectLong(output.durationInNanoSeconds),
|
|
5239
5239
|
statusCounts: output.statusCounts !== undefined && output.statusCounts !== null
|
|
5240
5240
|
? deserializeAws_json1_1ReportStatusCounts(output.statusCounts, context)
|
|
5241
5241
|
: undefined,
|
|
5242
|
-
total:
|
|
5242
|
+
total: smithy_client_1.expectInt32(output.total),
|
|
5243
5243
|
};
|
|
5244
5244
|
};
|
|
5245
5245
|
const deserializeAws_json1_1UpdateProjectOutput = (output, context) => {
|
|
@@ -5251,9 +5251,9 @@ const deserializeAws_json1_1UpdateProjectOutput = (output, context) => {
|
|
|
5251
5251
|
};
|
|
5252
5252
|
const deserializeAws_json1_1UpdateProjectVisibilityOutput = (output, context) => {
|
|
5253
5253
|
return {
|
|
5254
|
-
projectArn:
|
|
5255
|
-
projectVisibility:
|
|
5256
|
-
publicProjectAlias:
|
|
5254
|
+
projectArn: smithy_client_1.expectString(output.projectArn),
|
|
5255
|
+
projectVisibility: smithy_client_1.expectString(output.projectVisibility),
|
|
5256
|
+
publicProjectAlias: smithy_client_1.expectString(output.publicProjectAlias),
|
|
5257
5257
|
};
|
|
5258
5258
|
};
|
|
5259
5259
|
const deserializeAws_json1_1UpdateReportGroupOutput = (output, context) => {
|
|
@@ -5278,29 +5278,29 @@ const deserializeAws_json1_1VpcConfig = (output, context) => {
|
|
|
5278
5278
|
subnets: output.subnets !== undefined && output.subnets !== null
|
|
5279
5279
|
? deserializeAws_json1_1Subnets(output.subnets, context)
|
|
5280
5280
|
: undefined,
|
|
5281
|
-
vpcId:
|
|
5281
|
+
vpcId: smithy_client_1.expectString(output.vpcId),
|
|
5282
5282
|
};
|
|
5283
5283
|
};
|
|
5284
5284
|
const deserializeAws_json1_1Webhook = (output, context) => {
|
|
5285
5285
|
return {
|
|
5286
|
-
branchFilter:
|
|
5287
|
-
buildType:
|
|
5286
|
+
branchFilter: smithy_client_1.expectString(output.branchFilter),
|
|
5287
|
+
buildType: smithy_client_1.expectString(output.buildType),
|
|
5288
5288
|
filterGroups: output.filterGroups !== undefined && output.filterGroups !== null
|
|
5289
5289
|
? deserializeAws_json1_1FilterGroups(output.filterGroups, context)
|
|
5290
5290
|
: undefined,
|
|
5291
5291
|
lastModifiedSecret: output.lastModifiedSecret !== undefined && output.lastModifiedSecret !== null
|
|
5292
|
-
?
|
|
5292
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedSecret)))
|
|
5293
5293
|
: undefined,
|
|
5294
|
-
payloadUrl:
|
|
5295
|
-
secret:
|
|
5296
|
-
url:
|
|
5294
|
+
payloadUrl: smithy_client_1.expectString(output.payloadUrl),
|
|
5295
|
+
secret: smithy_client_1.expectString(output.secret),
|
|
5296
|
+
url: smithy_client_1.expectString(output.url),
|
|
5297
5297
|
};
|
|
5298
5298
|
};
|
|
5299
5299
|
const deserializeAws_json1_1WebhookFilter = (output, context) => {
|
|
5300
5300
|
return {
|
|
5301
|
-
excludeMatchedPattern:
|
|
5302
|
-
pattern:
|
|
5303
|
-
type:
|
|
5301
|
+
excludeMatchedPattern: smithy_client_1.expectBoolean(output.excludeMatchedPattern),
|
|
5302
|
+
pattern: smithy_client_1.expectString(output.pattern),
|
|
5303
|
+
type: smithy_client_1.expectString(output.type),
|
|
5304
5304
|
};
|
|
5305
5305
|
};
|
|
5306
5306
|
const deserializeMetadata = (output) => {
|