StopBuildBatch PowerBuilder Example
integer li_rc
oleobject loo_Rest
integer li_Success
oleobject loo_AuthAws
oleobject loo_Json
oleobject loo_SbRequestBody
oleobject loo_SbResponseBody
integer li_RespStatusCode
oleobject loo_JResp
string ls_StrVal
string ls_CurrentBuildSummaryArn
string ls_BuildStatus
string ls_Identifier
string ls_PrimaryArtifactLocation
string ls_PrimaryArtifactType
integer li_RequestedOn
string ls_Identifier
integer li_IgnoreFailure
integer j
integer li_Count_j
string ls_Location
string ls_V_type
string ls_Arn
string ls_BuildStatus
string ls_PrimaryArtifactIdentifier
string ls_PrimaryArtifactLocation
string ls_PrimaryArtifactType
integer li_RequestedOn
integer k
integer li_Count_k
string ls_Name
string ls_Value
string ls_MountOptions
string ls_MountPoint
integer li_DurationInSeconds
integer li_EndTime
string ls_PhaseStatus
string ls_PhaseType
integer li_StartTime
string ls_Message
string ls_StatusCode
string ls_ArtifactIdentifier
string ls_BucketOwnerAccess
integer li_EncryptionDisabled
string ls_Md5sum
integer li_OverrideArtifactName
string ls_Sha256sum
string ls_AuthResource
string ls_AuthType
string ls_Buildspec
string ls_BuildStatusConfigContext
string ls_BuildStatusConfigTargetUrl
integer li_GitCloneDepth
integer li_GitSubmodulesConfigFetchSubmodules
integer li_InsecureSsl
integer li_ReportBuildStatus
string ls_SourceIdentifier
string ls_SourceVersion
string ls_Arn
string ls_ArtifactIdentifier
string ls_BucketOwnerAccess
integer li_EncryptionDisabled
string ls_Location
string ls_Md5sum
integer li_OverrideArtifactName
string ls_Sha256sum
string ls_BatchReportMode
integer li_CombineArtifacts
integer li_MaximumBuildsAllowed
string ls_ServiceRole
integer li_TimeoutInMins
integer li_BuildBatchNumber
string ls_BuildBatchStatus
integer li_BuildTimeoutInMinutes
string ls_CacheLocation
string ls_V_Type
integer li_Complete
string ls_CurrentPhase
integer li_DebugSessionEnabled
string ls_EncryptionKey
integer li_EndTime
string ls_Certificate
string ls_ComputeType
string ls_Image
string ls_ImagePullCredentialsType
integer li_PrivilegedMode
string ls_Credential
string ls_CredentialProvider
string ls_EnvironmentType
string ls_Id
string ls_Initiator
string ls_GroupName
string ls_Status
string ls_StreamName
string ls_S3LogsBucketOwnerAccess
integer li_S3LogsEncryptionDisabled
string ls_S3LogsLocation
string ls_S3LogsStatus
string ls_ProjectName
integer li_QueuedTimeoutInMinutes
string ls_ResolvedSourceVersion
string ls_BuildBatchServiceRole
string ls_Resource
string ls_AuthType
string ls_Buildspec
string ls_Context
string ls_TargetUrl
integer li_GitCloneDepth
integer li_FetchSubmodules
integer li_InsecureSsl
string ls_SourceLocation
integer li_ReportBuildStatus
string ls_SourceIdentifier
string ls_SourceType
string ls_SourceVersion
integer li_StartTime
string ls_VpcId
integer i
integer li_Count_i
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
loo_Rest = create oleobject
li_rc = loo_Rest.ConnectToNewObject("Chilkat_9_5_0.Rest")
if li_rc < 0 then
destroy loo_Rest
MessageBox("Error","Connecting to COM object failed")
return
end if
loo_AuthAws = create oleobject
li_rc = loo_AuthAws.ConnectToNewObject("Chilkat_9_5_0.AuthAws")
loo_AuthAws.AccessKey = "AWS_ACCESS_KEY"
loo_AuthAws.SecretKey = "AWS_SECRET_KEY"
// Don't forget to change the region to your particular region. (Also make the same change in the call to Connect below.)
loo_AuthAws.Region = "us-west-2"
loo_AuthAws.ServiceName = "codebuild"
// SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
loo_Rest.SetAuthAws(loo_AuthAws)
// URL: https://codebuild.us-west-2.amazonaws.com/
// Use the same region as specified above.
li_Success = loo_Rest.Connect("codebuild.us-west-2.amazonaws.com",443,1,1)
if li_Success <> 1 then
Write-Debug "ConnectFailReason: " + string(loo_Rest.ConnectFailReason)
Write-Debug loo_Rest.LastErrorText
destroy loo_Rest
destroy loo_AuthAws
return
end if
// The following code creates the JSON request body.
// The JSON created by this code is shown below.
// Use this online tool to generate code from sample JSON:
// Generate Code to Create JSON
loo_Json = create oleobject
li_rc = loo_Json.ConnectToNewObject("Chilkat_9_5_0.JsonObject")
loo_Json.UpdateString("id","string")
// The JSON request body created by the above code:
// {
// "id": "string"
// }
loo_Rest.AddHeader("Content-Type","application/x-amz-json-1.1")
loo_Rest.AddHeader("X-Amz-Target","CodeBuild_20161006.StopBuildBatch")
loo_SbRequestBody = create oleobject
li_rc = loo_SbRequestBody.ConnectToNewObject("Chilkat_9_5_0.StringBuilder")
loo_Json.EmitSb(loo_SbRequestBody)
loo_SbResponseBody = create oleobject
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat_9_5_0.StringBuilder")
li_Success = loo_Rest.FullRequestSb("POST","/",loo_SbRequestBody,loo_SbResponseBody)
if li_Success <> 1 then
Write-Debug loo_Rest.LastErrorText
destroy loo_Rest
destroy loo_AuthAws
destroy loo_Json
destroy loo_SbRequestBody
destroy loo_SbResponseBody
return
end if
li_RespStatusCode = loo_Rest.ResponseStatusCode
Write-Debug "response status code = " + string(li_RespStatusCode)
if li_RespStatusCode <> 200 then
Write-Debug "Response Header:"
Write-Debug loo_Rest.ResponseHeader
Write-Debug "Response Body:"
Write-Debug loo_SbResponseBody.GetAsString()
destroy loo_Rest
destroy loo_AuthAws
destroy loo_Json
destroy loo_SbRequestBody
destroy loo_SbResponseBody
return
end if
loo_JResp = create oleobject
li_rc = loo_JResp.ConnectToNewObject("Chilkat_9_5_0.JsonObject")
loo_JResp.LoadSb(loo_SbResponseBody)
// The following code parses the JSON response.
// A sample JSON response is shown below the sample code.
// Use this online tool to generate parsing code from sample JSON:
// Generate Parsing Code from JSON
ls_Arn = loo_JResp.StringOf("buildBatch.arn")
ls_ArtifactIdentifier = loo_JResp.StringOf("buildBatch.artifacts.artifactIdentifier")
ls_BucketOwnerAccess = loo_JResp.StringOf("buildBatch.artifacts.bucketOwnerAccess")
li_EncryptionDisabled = loo_JResp.IntOf("buildBatch.artifacts.encryptionDisabled")
ls_Location = loo_JResp.StringOf("buildBatch.artifacts.location")
ls_Md5sum = loo_JResp.StringOf("buildBatch.artifacts.md5sum")
li_OverrideArtifactName = loo_JResp.IntOf("buildBatch.artifacts.overrideArtifactName")
ls_Sha256sum = loo_JResp.StringOf("buildBatch.artifacts.sha256sum")
ls_BatchReportMode = loo_JResp.StringOf("buildBatch.buildBatchConfig.batchReportMode")
li_CombineArtifacts = loo_JResp.IntOf("buildBatch.buildBatchConfig.combineArtifacts")
li_MaximumBuildsAllowed = loo_JResp.IntOf("buildBatch.buildBatchConfig.restrictions.maximumBuildsAllowed")
ls_ServiceRole = loo_JResp.StringOf("buildBatch.buildBatchConfig.serviceRole")
li_TimeoutInMins = loo_JResp.IntOf("buildBatch.buildBatchConfig.timeoutInMins")
li_BuildBatchNumber = loo_JResp.IntOf("buildBatch.buildBatchNumber")
ls_BuildBatchStatus = loo_JResp.StringOf("buildBatch.buildBatchStatus")
li_BuildTimeoutInMinutes = loo_JResp.IntOf("buildBatch.buildTimeoutInMinutes")
ls_CacheLocation = loo_JResp.StringOf("buildBatch.cache.location")
ls_V_Type = loo_JResp.StringOf("buildBatch.cache.type")
li_Complete = loo_JResp.IntOf("buildBatch.complete")
ls_CurrentPhase = loo_JResp.StringOf("buildBatch.currentPhase")
li_DebugSessionEnabled = loo_JResp.IntOf("buildBatch.debugSessionEnabled")
ls_EncryptionKey = loo_JResp.StringOf("buildBatch.encryptionKey")
li_EndTime = loo_JResp.IntOf("buildBatch.endTime")
ls_Certificate = loo_JResp.StringOf("buildBatch.environment.certificate")
ls_ComputeType = loo_JResp.StringOf("buildBatch.environment.computeType")
ls_Image = loo_JResp.StringOf("buildBatch.environment.image")
ls_ImagePullCredentialsType = loo_JResp.StringOf("buildBatch.environment.imagePullCredentialsType")
li_PrivilegedMode = loo_JResp.IntOf("buildBatch.environment.privilegedMode")
ls_Credential = loo_JResp.StringOf("buildBatch.environment.registryCredential.credential")
ls_CredentialProvider = loo_JResp.StringOf("buildBatch.environment.registryCredential.credentialProvider")
ls_EnvironmentType = loo_JResp.StringOf("buildBatch.environment.type")
ls_Id = loo_JResp.StringOf("buildBatch.id")
ls_Initiator = loo_JResp.StringOf("buildBatch.initiator")
ls_GroupName = loo_JResp.StringOf("buildBatch.logConfig.cloudWatchLogs.groupName")
ls_Status = loo_JResp.StringOf("buildBatch.logConfig.cloudWatchLogs.status")
ls_StreamName = loo_JResp.StringOf("buildBatch.logConfig.cloudWatchLogs.streamName")
ls_S3LogsBucketOwnerAccess = loo_JResp.StringOf("buildBatch.logConfig.s3Logs.bucketOwnerAccess")
li_S3LogsEncryptionDisabled = loo_JResp.IntOf("buildBatch.logConfig.s3Logs.encryptionDisabled")
ls_S3LogsLocation = loo_JResp.StringOf("buildBatch.logConfig.s3Logs.location")
ls_S3LogsStatus = loo_JResp.StringOf("buildBatch.logConfig.s3Logs.status")
ls_ProjectName = loo_JResp.StringOf("buildBatch.projectName")
li_QueuedTimeoutInMinutes = loo_JResp.IntOf("buildBatch.queuedTimeoutInMinutes")
ls_ResolvedSourceVersion = loo_JResp.StringOf("buildBatch.resolvedSourceVersion")
ls_BuildBatchServiceRole = loo_JResp.StringOf("buildBatch.serviceRole")
ls_Resource = loo_JResp.StringOf("buildBatch.source.auth.resource")
ls_AuthType = loo_JResp.StringOf("buildBatch.source.auth.type")
ls_Buildspec = loo_JResp.StringOf("buildBatch.source.buildspec")
ls_Context = loo_JResp.StringOf("buildBatch.source.buildStatusConfig.context")
ls_TargetUrl = loo_JResp.StringOf("buildBatch.source.buildStatusConfig.targetUrl")
li_GitCloneDepth = loo_JResp.IntOf("buildBatch.source.gitCloneDepth")
li_FetchSubmodules = loo_JResp.IntOf("buildBatch.source.gitSubmodulesConfig.fetchSubmodules")
li_InsecureSsl = loo_JResp.IntOf("buildBatch.source.insecureSsl")
ls_SourceLocation = loo_JResp.StringOf("buildBatch.source.location")
li_ReportBuildStatus = loo_JResp.IntOf("buildBatch.source.reportBuildStatus")
ls_SourceIdentifier = loo_JResp.StringOf("buildBatch.source.sourceIdentifier")
ls_SourceType = loo_JResp.StringOf("buildBatch.source.type")
ls_SourceVersion = loo_JResp.StringOf("buildBatch.sourceVersion")
li_StartTime = loo_JResp.IntOf("buildBatch.startTime")
ls_VpcId = loo_JResp.StringOf("buildBatch.vpcConfig.vpcId")
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.buildBatchConfig.restrictions.computeTypesAllowed")
do while i < li_Count_i
loo_JResp.I = i
ls_StrVal = loo_JResp.StringOf("buildBatch.buildBatchConfig.restrictions.computeTypesAllowed[i]")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.buildGroups")
do while i < li_Count_i
loo_JResp.I = i
ls_CurrentBuildSummaryArn = loo_JResp.StringOf("buildBatch.buildGroups[i].currentBuildSummary.arn")
ls_BuildStatus = loo_JResp.StringOf("buildBatch.buildGroups[i].currentBuildSummary.buildStatus")
ls_Identifier = loo_JResp.StringOf("buildBatch.buildGroups[i].currentBuildSummary.primaryArtifact.identifier")
ls_PrimaryArtifactLocation = loo_JResp.StringOf("buildBatch.buildGroups[i].currentBuildSummary.primaryArtifact.location")
ls_PrimaryArtifactType = loo_JResp.StringOf("buildBatch.buildGroups[i].currentBuildSummary.primaryArtifact.type")
li_RequestedOn = loo_JResp.IntOf("buildBatch.buildGroups[i].currentBuildSummary.requestedOn")
ls_Identifier = loo_JResp.StringOf("buildBatch.buildGroups[i].identifier")
li_IgnoreFailure = loo_JResp.IntOf("buildBatch.buildGroups[i].ignoreFailure")
j = 0
li_Count_j = loo_JResp.SizeOfArray("buildBatch.buildGroups[i].currentBuildSummary.secondaryArtifacts")
do while j < li_Count_j
loo_JResp.J = j
ls_Identifier = loo_JResp.StringOf("buildBatch.buildGroups[i].currentBuildSummary.secondaryArtifacts[j].identifier")
ls_Location = loo_JResp.StringOf("buildBatch.buildGroups[i].currentBuildSummary.secondaryArtifacts[j].location")
ls_V_type = loo_JResp.StringOf("buildBatch.buildGroups[i].currentBuildSummary.secondaryArtifacts[j].type")
j = j + 1
loop
j = 0
li_Count_j = loo_JResp.SizeOfArray("buildBatch.buildGroups[i].dependsOn")
do while j < li_Count_j
loo_JResp.J = j
ls_StrVal = loo_JResp.StringOf("buildBatch.buildGroups[i].dependsOn[j]")
j = j + 1
loop
j = 0
li_Count_j = loo_JResp.SizeOfArray("buildBatch.buildGroups[i].priorBuildSummaryList")
do while j < li_Count_j
loo_JResp.J = j
ls_Arn = loo_JResp.StringOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].arn")
ls_BuildStatus = loo_JResp.StringOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].buildStatus")
ls_PrimaryArtifactIdentifier = loo_JResp.StringOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].primaryArtifact.identifier")
ls_PrimaryArtifactLocation = loo_JResp.StringOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].primaryArtifact.location")
ls_PrimaryArtifactType = loo_JResp.StringOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].primaryArtifact.type")
li_RequestedOn = loo_JResp.IntOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].requestedOn")
k = 0
li_Count_k = loo_JResp.SizeOfArray("buildBatch.buildGroups[i].priorBuildSummaryList[j].secondaryArtifacts")
do while k < li_Count_k
loo_JResp.K = k
ls_Identifier = loo_JResp.StringOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].secondaryArtifacts[k].identifier")
ls_Location = loo_JResp.StringOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].secondaryArtifacts[k].location")
ls_V_type = loo_JResp.StringOf("buildBatch.buildGroups[i].priorBuildSummaryList[j].secondaryArtifacts[k].type")
k = k + 1
loop
j = j + 1
loop
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.cache.modes")
do while i < li_Count_i
loo_JResp.I = i
ls_StrVal = loo_JResp.StringOf("buildBatch.cache.modes[i]")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.environment.environmentVariables")
do while i < li_Count_i
loo_JResp.I = i
ls_Name = loo_JResp.StringOf("buildBatch.environment.environmentVariables[i].name")
ls_V_type = loo_JResp.StringOf("buildBatch.environment.environmentVariables[i].type")
ls_Value = loo_JResp.StringOf("buildBatch.environment.environmentVariables[i].value")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.fileSystemLocations")
do while i < li_Count_i
loo_JResp.I = i
ls_Identifier = loo_JResp.StringOf("buildBatch.fileSystemLocations[i].identifier")
ls_Location = loo_JResp.StringOf("buildBatch.fileSystemLocations[i].location")
ls_MountOptions = loo_JResp.StringOf("buildBatch.fileSystemLocations[i].mountOptions")
ls_MountPoint = loo_JResp.StringOf("buildBatch.fileSystemLocations[i].mountPoint")
ls_V_type = loo_JResp.StringOf("buildBatch.fileSystemLocations[i].type")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.phases")
do while i < li_Count_i
loo_JResp.I = i
li_DurationInSeconds = loo_JResp.IntOf("buildBatch.phases[i].durationInSeconds")
li_EndTime = loo_JResp.IntOf("buildBatch.phases[i].endTime")
ls_PhaseStatus = loo_JResp.StringOf("buildBatch.phases[i].phaseStatus")
ls_PhaseType = loo_JResp.StringOf("buildBatch.phases[i].phaseType")
li_StartTime = loo_JResp.IntOf("buildBatch.phases[i].startTime")
j = 0
li_Count_j = loo_JResp.SizeOfArray("buildBatch.phases[i].contexts")
do while j < li_Count_j
loo_JResp.J = j
ls_Message = loo_JResp.StringOf("buildBatch.phases[i].contexts[j].message")
ls_StatusCode = loo_JResp.StringOf("buildBatch.phases[i].contexts[j].statusCode")
j = j + 1
loop
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.secondaryArtifacts")
do while i < li_Count_i
loo_JResp.I = i
ls_ArtifactIdentifier = loo_JResp.StringOf("buildBatch.secondaryArtifacts[i].artifactIdentifier")
ls_BucketOwnerAccess = loo_JResp.StringOf("buildBatch.secondaryArtifacts[i].bucketOwnerAccess")
li_EncryptionDisabled = loo_JResp.IntOf("buildBatch.secondaryArtifacts[i].encryptionDisabled")
ls_Location = loo_JResp.StringOf("buildBatch.secondaryArtifacts[i].location")
ls_Md5sum = loo_JResp.StringOf("buildBatch.secondaryArtifacts[i].md5sum")
li_OverrideArtifactName = loo_JResp.IntOf("buildBatch.secondaryArtifacts[i].overrideArtifactName")
ls_Sha256sum = loo_JResp.StringOf("buildBatch.secondaryArtifacts[i].sha256sum")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.secondarySources")
do while i < li_Count_i
loo_JResp.I = i
ls_AuthResource = loo_JResp.StringOf("buildBatch.secondarySources[i].auth.resource")
ls_AuthType = loo_JResp.StringOf("buildBatch.secondarySources[i].auth.type")
ls_Buildspec = loo_JResp.StringOf("buildBatch.secondarySources[i].buildspec")
ls_BuildStatusConfigContext = loo_JResp.StringOf("buildBatch.secondarySources[i].buildStatusConfig.context")
ls_BuildStatusConfigTargetUrl = loo_JResp.StringOf("buildBatch.secondarySources[i].buildStatusConfig.targetUrl")
li_GitCloneDepth = loo_JResp.IntOf("buildBatch.secondarySources[i].gitCloneDepth")
li_GitSubmodulesConfigFetchSubmodules = loo_JResp.IntOf("buildBatch.secondarySources[i].gitSubmodulesConfig.fetchSubmodules")
li_InsecureSsl = loo_JResp.IntOf("buildBatch.secondarySources[i].insecureSsl")
ls_Location = loo_JResp.StringOf("buildBatch.secondarySources[i].location")
li_ReportBuildStatus = loo_JResp.IntOf("buildBatch.secondarySources[i].reportBuildStatus")
ls_SourceIdentifier = loo_JResp.StringOf("buildBatch.secondarySources[i].sourceIdentifier")
ls_V_type = loo_JResp.StringOf("buildBatch.secondarySources[i].type")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.secondarySourceVersions")
do while i < li_Count_i
loo_JResp.I = i
ls_SourceIdentifier = loo_JResp.StringOf("buildBatch.secondarySourceVersions[i].sourceIdentifier")
ls_SourceVersion = loo_JResp.StringOf("buildBatch.secondarySourceVersions[i].sourceVersion")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.vpcConfig.securityGroupIds")
do while i < li_Count_i
loo_JResp.I = i
ls_StrVal = loo_JResp.StringOf("buildBatch.vpcConfig.securityGroupIds[i]")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("buildBatch.vpcConfig.subnets")
do while i < li_Count_i
loo_JResp.I = i
ls_StrVal = loo_JResp.StringOf("buildBatch.vpcConfig.subnets[i]")
i = i + 1
loop
// A sample JSON response body parsed by the above code:
// {
// "buildBatch": {
// "arn": "string",
// "artifacts": {
// "artifactIdentifier": "string",
// "bucketOwnerAccess": "string",
// "encryptionDisabled": boolean,
// "location": "string",
// "md5sum": "string",
// "overrideArtifactName": boolean,
// "sha256sum": "string"
// },
// "buildBatchConfig": {
// "batchReportMode": "string",
// "combineArtifacts": boolean,
// "restrictions": {
// "computeTypesAllowed": [
// "string"
// ],
// "maximumBuildsAllowed": number
// },
// "serviceRole": "string",
// "timeoutInMins": number
// },
// "buildBatchNumber": number,
// "buildBatchStatus": "string",
// "buildGroups": [
// {
// "currentBuildSummary": {
// "arn": "string",
// "buildStatus": "string",
// "primaryArtifact": {
// "identifier": "string",
// "location": "string",
// "type": "string"
// },
// "requestedOn": number,
// "secondaryArtifacts": [
// {
// "identifier": "string",
// "location": "string",
// "type": "string"
// }
// ]
// },
// "dependsOn": [
// "string"
// ],
// "identifier": "string",
// "ignoreFailure": boolean,
// "priorBuildSummaryList": [
// {
// "arn": "string",
// "buildStatus": "string",
// "primaryArtifact": {
// "identifier": "string",
// "location": "string",
// "type": "string"
// },
// "requestedOn": number,
// "secondaryArtifacts": [
// {
// "identifier": "string",
// "location": "string",
// "type": "string"
// }
// ]
// }
// ]
// }
// ],
// "buildTimeoutInMinutes": number,
// "cache": {
// "location": "string",
// "modes": [
// "string"
// ],
// "type": "string"
// },
// "complete": boolean,
// "currentPhase": "string",
// "debugSessionEnabled": boolean,
// "encryptionKey": "string",
// "endTime": number,
// "environment": {
// "certificate": "string",
// "computeType": "string",
// "environmentVariables": [
// {
// "name": "string",
// "type": "string",
// "value": "string"
// }
// ],
// "image": "string",
// "imagePullCredentialsType": "string",
// "privilegedMode": boolean,
// "registryCredential": {
// "credential": "string",
// "credentialProvider": "string"
// },
// "type": "string"
// },
// "fileSystemLocations": [
// {
// "identifier": "string",
// "location": "string",
// "mountOptions": "string",
// "mountPoint": "string",
// "type": "string"
// }
// ],
// "id": "string",
// "initiator": "string",
// "logConfig": {
// "cloudWatchLogs": {
// "groupName": "string",
// "status": "string",
// "streamName": "string"
// },
// "s3Logs": {
// "bucketOwnerAccess": "string",
// "encryptionDisabled": boolean,
// "location": "string",
// "status": "string"
// }
// },
// "phases": [
// {
// "contexts": [
// {
// "message": "string",
// "statusCode": "string"
// }
// ],
// "durationInSeconds": number,
// "endTime": number,
// "phaseStatus": "string",
// "phaseType": "string",
// "startTime": number
// }
// ],
// "projectName": "string",
// "queuedTimeoutInMinutes": number,
// "resolvedSourceVersion": "string",
// "secondaryArtifacts": [
// {
// "artifactIdentifier": "string",
// "bucketOwnerAccess": "string",
// "encryptionDisabled": boolean,
// "location": "string",
// "md5sum": "string",
// "overrideArtifactName": boolean,
// "sha256sum": "string"
// }
// ],
// "secondarySources": [
// {
// "auth": {
// "resource": "string",
// "type": "string"
// },
// "buildspec": "string",
// "buildStatusConfig": {
// "context": "string",
// "targetUrl": "string"
// },
// "gitCloneDepth": number,
// "gitSubmodulesConfig": {
// "fetchSubmodules": boolean
// },
// "insecureSsl": boolean,
// "location": "string",
// "reportBuildStatus": boolean,
// "sourceIdentifier": "string",
// "type": "string"
// }
// ],
// "secondarySourceVersions": [
// {
// "sourceIdentifier": "string",
// "sourceVersion": "string"
// }
// ],
// "serviceRole": "string",
// "source": {
// "auth": {
// "resource": "string",
// "type": "string"
// },
// "buildspec": "string",
// "buildStatusConfig": {
// "context": "string",
// "targetUrl": "string"
// },
// "gitCloneDepth": number,
// "gitSubmodulesConfig": {
// "fetchSubmodules": boolean
// },
// "insecureSsl": boolean,
// "location": "string",
// "reportBuildStatus": boolean,
// "sourceIdentifier": "string",
// "type": "string"
// },
// "sourceVersion": "string",
// "startTime": number,
// "vpcConfig": {
// "securityGroupIds": [
// "string"
// ],
// "subnets": [
// "string"
// ],
// "vpcId": "string"
// }
// }
// }
destroy loo_Rest
destroy loo_AuthAws
destroy loo_Json
destroy loo_SbRequestBody
destroy loo_SbResponseBody
destroy loo_JResp