BatchGetProjects C Example
#include <C_CkRest.h>
#include <C_CkAuthAws.h>
#include <C_CkJsonObject.h>
#include <C_CkStringBuilder.h>
void ChilkatSample(void)
{
HCkRest rest;
BOOL success;
HCkAuthAws authAws;
HCkJsonObject json;
HCkStringBuilder sbRequestBody;
HCkStringBuilder sbResponseBody;
int respStatusCode;
HCkJsonObject jResp;
const char *arn;
const char *ArtifactIdentifier;
const char *BucketOwnerAccess;
int EncryptionDisabled;
const char *Location;
const char *Name;
const char *NamespaceType;
int OverrideArtifactName;
const char *Packaging;
const char *Path;
const char *v_Type;
int BadgeEnabled;
const char *BadgeRequestUrl;
const char *BatchReportMode;
int CombineArtifacts;
int MaximumBuildsAllowed;
const char *ServiceRole;
int TimeoutInMins;
const char *cacheLocation;
const char *cacheType;
int concurrentBuildLimit;
int created;
const char *description;
const char *encryptionKey;
const char *Certificate;
const char *ComputeType;
const char *Image;
const char *ImagePullCredentialsType;
int PrivilegedMode;
const char *Credential;
const char *CredentialProvider;
const char *environmentType;
int lastModified;
const char *GroupName;
const char *Status;
const char *StreamName;
const char *S3LogsBucketOwnerAccess;
int S3LogsEncryptionDisabled;
const char *S3LogsLocation;
const char *S3LogsStatus;
const char *name;
const char *projectVisibility;
const char *publicProjectAlias;
int queuedTimeoutInMinutes;
const char *resourceAccessRole;
const char *serviceRole;
const char *Resource;
const char *AuthType;
const char *Buildspec;
const char *Context;
const char *TargetUrl;
int GitCloneDepth;
int FetchSubmodules;
int InsecureSsl;
const char *sourceLocation;
int ReportBuildStatus;
const char *SourceIdentifier;
const char *sourceType;
const char *sourceVersion;
int timeoutInMinutes;
const char *VpcId;
const char *BranchFilter;
const char *BuildType;
int LastModifiedSecret;
const char *PayloadUrl;
const char *Secret;
const char *v_Url;
int j;
int count_j;
const char *strVal;
const char *v_type;
const char *value;
const char *identifier;
const char *location;
const char *mountOptions;
const char *mountPoint;
const char *artifactIdentifier;
const char *bucketOwnerAccess;
int encryptionDisabled;
const char *namespaceType;
int overrideArtifactName;
const char *packaging;
const char *path;
const char *authResource;
const char *authType;
const char *buildspec;
const char *buildStatusConfigContext;
const char *buildStatusConfigTargetUrl;
int gitCloneDepth;
int gitSubmodulesConfigFetchSubmodules;
int insecureSsl;
int reportBuildStatus;
const char *sourceIdentifier;
const char *key;
int k;
int count_k;
int excludeMatchedPattern;
const char *pattern;
int i;
int count_i;
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
rest = CkRest_Create();
authAws = CkAuthAws_Create();
CkAuthAws_putAccessKey(authAws,"AWS_ACCESS_KEY");
CkAuthAws_putSecretKey(authAws,"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.)
CkAuthAws_putRegion(authAws,"us-west-2");
CkAuthAws_putServiceName(authAws,"codebuild");
// SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
CkRest_SetAuthAws(rest,authAws);
// URL: https://codebuild.us-west-2.amazonaws.com/
// Use the same region as specified above.
success = CkRest_Connect(rest,"codebuild.us-west-2.amazonaws.com",443,TRUE,TRUE);
if (success != TRUE) {
printf("ConnectFailReason: %d\n",CkRest_getConnectFailReason(rest));
printf("%s\n",CkRest_lastErrorText(rest));
CkRest_Dispose(rest);
CkAuthAws_Dispose(authAws);
return;
}
// 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
json = CkJsonObject_Create();
CkJsonObject_UpdateString(json,"names[0]","string");
// The JSON request body created by the above code:
// {
// "names": [
// "string"
// ]
// }
CkRest_AddHeader(rest,"Content-Type","application/x-amz-json-1.1");
CkRest_AddHeader(rest,"X-Amz-Target","CodeBuild_20161006.BatchGetProjects");
sbRequestBody = CkStringBuilder_Create();
CkJsonObject_EmitSb(json,sbRequestBody);
sbResponseBody = CkStringBuilder_Create();
success = CkRest_FullRequestSb(rest,"POST","/",sbRequestBody,sbResponseBody);
if (success != TRUE) {
printf("%s\n",CkRest_lastErrorText(rest));
CkRest_Dispose(rest);
CkAuthAws_Dispose(authAws);
CkJsonObject_Dispose(json);
CkStringBuilder_Dispose(sbRequestBody);
CkStringBuilder_Dispose(sbResponseBody);
return;
}
respStatusCode = CkRest_getResponseStatusCode(rest);
printf("response status code = %d\n",respStatusCode);
if (respStatusCode != 200) {
printf("Response Header:\n");
printf("%s\n",CkRest_responseHeader(rest));
printf("Response Body:\n");
printf("%s\n",CkStringBuilder_getAsString(sbResponseBody));
CkRest_Dispose(rest);
CkAuthAws_Dispose(authAws);
CkJsonObject_Dispose(json);
CkStringBuilder_Dispose(sbRequestBody);
CkStringBuilder_Dispose(sbResponseBody);
return;
}
jResp = CkJsonObject_Create();
CkJsonObject_LoadSb(jResp,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
// Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.
// See this example explaining how this memory should be used: const char * functions.
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"projects");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
arn = CkJsonObject_stringOf(jResp,"projects[i].arn");
ArtifactIdentifier = CkJsonObject_stringOf(jResp,"projects[i].artifacts.artifactIdentifier");
BucketOwnerAccess = CkJsonObject_stringOf(jResp,"projects[i].artifacts.bucketOwnerAccess");
EncryptionDisabled = CkJsonObject_IntOf(jResp,"projects[i].artifacts.encryptionDisabled");
Location = CkJsonObject_stringOf(jResp,"projects[i].artifacts.location");
Name = CkJsonObject_stringOf(jResp,"projects[i].artifacts.name");
NamespaceType = CkJsonObject_stringOf(jResp,"projects[i].artifacts.namespaceType");
OverrideArtifactName = CkJsonObject_IntOf(jResp,"projects[i].artifacts.overrideArtifactName");
Packaging = CkJsonObject_stringOf(jResp,"projects[i].artifacts.packaging");
Path = CkJsonObject_stringOf(jResp,"projects[i].artifacts.path");
v_Type = CkJsonObject_stringOf(jResp,"projects[i].artifacts.type");
BadgeEnabled = CkJsonObject_IntOf(jResp,"projects[i].badge.badgeEnabled");
BadgeRequestUrl = CkJsonObject_stringOf(jResp,"projects[i].badge.badgeRequestUrl");
BatchReportMode = CkJsonObject_stringOf(jResp,"projects[i].buildBatchConfig.batchReportMode");
CombineArtifacts = CkJsonObject_IntOf(jResp,"projects[i].buildBatchConfig.combineArtifacts");
MaximumBuildsAllowed = CkJsonObject_IntOf(jResp,"projects[i].buildBatchConfig.restrictions.maximumBuildsAllowed");
ServiceRole = CkJsonObject_stringOf(jResp,"projects[i].buildBatchConfig.serviceRole");
TimeoutInMins = CkJsonObject_IntOf(jResp,"projects[i].buildBatchConfig.timeoutInMins");
cacheLocation = CkJsonObject_stringOf(jResp,"projects[i].cache.location");
cacheType = CkJsonObject_stringOf(jResp,"projects[i].cache.type");
concurrentBuildLimit = CkJsonObject_IntOf(jResp,"projects[i].concurrentBuildLimit");
created = CkJsonObject_IntOf(jResp,"projects[i].created");
description = CkJsonObject_stringOf(jResp,"projects[i].description");
encryptionKey = CkJsonObject_stringOf(jResp,"projects[i].encryptionKey");
Certificate = CkJsonObject_stringOf(jResp,"projects[i].environment.certificate");
ComputeType = CkJsonObject_stringOf(jResp,"projects[i].environment.computeType");
Image = CkJsonObject_stringOf(jResp,"projects[i].environment.image");
ImagePullCredentialsType = CkJsonObject_stringOf(jResp,"projects[i].environment.imagePullCredentialsType");
PrivilegedMode = CkJsonObject_IntOf(jResp,"projects[i].environment.privilegedMode");
Credential = CkJsonObject_stringOf(jResp,"projects[i].environment.registryCredential.credential");
CredentialProvider = CkJsonObject_stringOf(jResp,"projects[i].environment.registryCredential.credentialProvider");
environmentType = CkJsonObject_stringOf(jResp,"projects[i].environment.type");
lastModified = CkJsonObject_IntOf(jResp,"projects[i].lastModified");
GroupName = CkJsonObject_stringOf(jResp,"projects[i].logsConfig.cloudWatchLogs.groupName");
Status = CkJsonObject_stringOf(jResp,"projects[i].logsConfig.cloudWatchLogs.status");
StreamName = CkJsonObject_stringOf(jResp,"projects[i].logsConfig.cloudWatchLogs.streamName");
S3LogsBucketOwnerAccess = CkJsonObject_stringOf(jResp,"projects[i].logsConfig.s3Logs.bucketOwnerAccess");
S3LogsEncryptionDisabled = CkJsonObject_IntOf(jResp,"projects[i].logsConfig.s3Logs.encryptionDisabled");
S3LogsLocation = CkJsonObject_stringOf(jResp,"projects[i].logsConfig.s3Logs.location");
S3LogsStatus = CkJsonObject_stringOf(jResp,"projects[i].logsConfig.s3Logs.status");
name = CkJsonObject_stringOf(jResp,"projects[i].name");
projectVisibility = CkJsonObject_stringOf(jResp,"projects[i].projectVisibility");
publicProjectAlias = CkJsonObject_stringOf(jResp,"projects[i].publicProjectAlias");
queuedTimeoutInMinutes = CkJsonObject_IntOf(jResp,"projects[i].queuedTimeoutInMinutes");
resourceAccessRole = CkJsonObject_stringOf(jResp,"projects[i].resourceAccessRole");
serviceRole = CkJsonObject_stringOf(jResp,"projects[i].serviceRole");
Resource = CkJsonObject_stringOf(jResp,"projects[i].source.auth.resource");
AuthType = CkJsonObject_stringOf(jResp,"projects[i].source.auth.type");
Buildspec = CkJsonObject_stringOf(jResp,"projects[i].source.buildspec");
Context = CkJsonObject_stringOf(jResp,"projects[i].source.buildStatusConfig.context");
TargetUrl = CkJsonObject_stringOf(jResp,"projects[i].source.buildStatusConfig.targetUrl");
GitCloneDepth = CkJsonObject_IntOf(jResp,"projects[i].source.gitCloneDepth");
FetchSubmodules = CkJsonObject_IntOf(jResp,"projects[i].source.gitSubmodulesConfig.fetchSubmodules");
InsecureSsl = CkJsonObject_IntOf(jResp,"projects[i].source.insecureSsl");
sourceLocation = CkJsonObject_stringOf(jResp,"projects[i].source.location");
ReportBuildStatus = CkJsonObject_IntOf(jResp,"projects[i].source.reportBuildStatus");
SourceIdentifier = CkJsonObject_stringOf(jResp,"projects[i].source.sourceIdentifier");
sourceType = CkJsonObject_stringOf(jResp,"projects[i].source.type");
sourceVersion = CkJsonObject_stringOf(jResp,"projects[i].sourceVersion");
timeoutInMinutes = CkJsonObject_IntOf(jResp,"projects[i].timeoutInMinutes");
VpcId = CkJsonObject_stringOf(jResp,"projects[i].vpcConfig.vpcId");
BranchFilter = CkJsonObject_stringOf(jResp,"projects[i].webhook.branchFilter");
BuildType = CkJsonObject_stringOf(jResp,"projects[i].webhook.buildType");
LastModifiedSecret = CkJsonObject_IntOf(jResp,"projects[i].webhook.lastModifiedSecret");
PayloadUrl = CkJsonObject_stringOf(jResp,"projects[i].webhook.payloadUrl");
Secret = CkJsonObject_stringOf(jResp,"projects[i].webhook.secret");
v_Url = CkJsonObject_stringOf(jResp,"projects[i].webhook.url");
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].buildBatchConfig.restrictions.computeTypesAllowed");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
strVal = CkJsonObject_stringOf(jResp,"projects[i].buildBatchConfig.restrictions.computeTypesAllowed[j]");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].cache.modes");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
strVal = CkJsonObject_stringOf(jResp,"projects[i].cache.modes[j]");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].environment.environmentVariables");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
name = CkJsonObject_stringOf(jResp,"projects[i].environment.environmentVariables[j].name");
v_type = CkJsonObject_stringOf(jResp,"projects[i].environment.environmentVariables[j].type");
value = CkJsonObject_stringOf(jResp,"projects[i].environment.environmentVariables[j].value");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].fileSystemLocations");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
identifier = CkJsonObject_stringOf(jResp,"projects[i].fileSystemLocations[j].identifier");
location = CkJsonObject_stringOf(jResp,"projects[i].fileSystemLocations[j].location");
mountOptions = CkJsonObject_stringOf(jResp,"projects[i].fileSystemLocations[j].mountOptions");
mountPoint = CkJsonObject_stringOf(jResp,"projects[i].fileSystemLocations[j].mountPoint");
v_type = CkJsonObject_stringOf(jResp,"projects[i].fileSystemLocations[j].type");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].secondaryArtifacts");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
artifactIdentifier = CkJsonObject_stringOf(jResp,"projects[i].secondaryArtifacts[j].artifactIdentifier");
bucketOwnerAccess = CkJsonObject_stringOf(jResp,"projects[i].secondaryArtifacts[j].bucketOwnerAccess");
encryptionDisabled = CkJsonObject_IntOf(jResp,"projects[i].secondaryArtifacts[j].encryptionDisabled");
location = CkJsonObject_stringOf(jResp,"projects[i].secondaryArtifacts[j].location");
name = CkJsonObject_stringOf(jResp,"projects[i].secondaryArtifacts[j].name");
namespaceType = CkJsonObject_stringOf(jResp,"projects[i].secondaryArtifacts[j].namespaceType");
overrideArtifactName = CkJsonObject_IntOf(jResp,"projects[i].secondaryArtifacts[j].overrideArtifactName");
packaging = CkJsonObject_stringOf(jResp,"projects[i].secondaryArtifacts[j].packaging");
path = CkJsonObject_stringOf(jResp,"projects[i].secondaryArtifacts[j].path");
v_type = CkJsonObject_stringOf(jResp,"projects[i].secondaryArtifacts[j].type");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].secondarySources");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
authResource = CkJsonObject_stringOf(jResp,"projects[i].secondarySources[j].auth.resource");
authType = CkJsonObject_stringOf(jResp,"projects[i].secondarySources[j].auth.type");
buildspec = CkJsonObject_stringOf(jResp,"projects[i].secondarySources[j].buildspec");
buildStatusConfigContext = CkJsonObject_stringOf(jResp,"projects[i].secondarySources[j].buildStatusConfig.context");
buildStatusConfigTargetUrl = CkJsonObject_stringOf(jResp,"projects[i].secondarySources[j].buildStatusConfig.targetUrl");
gitCloneDepth = CkJsonObject_IntOf(jResp,"projects[i].secondarySources[j].gitCloneDepth");
gitSubmodulesConfigFetchSubmodules = CkJsonObject_IntOf(jResp,"projects[i].secondarySources[j].gitSubmodulesConfig.fetchSubmodules");
insecureSsl = CkJsonObject_IntOf(jResp,"projects[i].secondarySources[j].insecureSsl");
location = CkJsonObject_stringOf(jResp,"projects[i].secondarySources[j].location");
reportBuildStatus = CkJsonObject_IntOf(jResp,"projects[i].secondarySources[j].reportBuildStatus");
sourceIdentifier = CkJsonObject_stringOf(jResp,"projects[i].secondarySources[j].sourceIdentifier");
v_type = CkJsonObject_stringOf(jResp,"projects[i].secondarySources[j].type");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].secondarySourceVersions");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
sourceIdentifier = CkJsonObject_stringOf(jResp,"projects[i].secondarySourceVersions[j].sourceIdentifier");
sourceVersion = CkJsonObject_stringOf(jResp,"projects[i].secondarySourceVersions[j].sourceVersion");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].tags");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
key = CkJsonObject_stringOf(jResp,"projects[i].tags[j].key");
value = CkJsonObject_stringOf(jResp,"projects[i].tags[j].value");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].vpcConfig.securityGroupIds");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
strVal = CkJsonObject_stringOf(jResp,"projects[i].vpcConfig.securityGroupIds[j]");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].vpcConfig.subnets");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
strVal = CkJsonObject_stringOf(jResp,"projects[i].vpcConfig.subnets[j]");
j = j + 1;
}
j = 0;
count_j = CkJsonObject_SizeOfArray(jResp,"projects[i].webhook.filterGroups");
while (j < count_j) {
CkJsonObject_putJ(jResp,j);
k = 0;
count_k = CkJsonObject_SizeOfArray(jResp,"projects[i].webhook.filterGroups[j]");
while (k < count_k) {
CkJsonObject_putK(jResp,k);
excludeMatchedPattern = CkJsonObject_IntOf(jResp,"projects[i].webhook.filterGroups[j][k].excludeMatchedPattern");
pattern = CkJsonObject_stringOf(jResp,"projects[i].webhook.filterGroups[j][k].pattern");
v_type = CkJsonObject_stringOf(jResp,"projects[i].webhook.filterGroups[j][k].type");
k = k + 1;
}
j = j + 1;
}
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"projectsNotFound");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
strVal = CkJsonObject_stringOf(jResp,"projectsNotFound[i]");
i = i + 1;
}
// A sample JSON response body parsed by the above code:
// {
// "projects": [
// {
// "arn": "string",
// "artifacts": {
// "artifactIdentifier": "string",
// "bucketOwnerAccess": "string",
// "encryptionDisabled": boolean,
// "location": "string",
// "name": "string",
// "namespaceType": "string",
// "overrideArtifactName": boolean,
// "packaging": "string",
// "path": "string",
// "type": "string"
// },
// "badge": {
// "badgeEnabled": boolean,
// "badgeRequestUrl": "string"
// },
// "buildBatchConfig": {
// "batchReportMode": "string",
// "combineArtifacts": boolean,
// "restrictions": {
// "computeTypesAllowed": [
// "string"
// ],
// "maximumBuildsAllowed": number
// },
// "serviceRole": "string",
// "timeoutInMins": number
// },
// "cache": {
// "location": "string",
// "modes": [
// "string"
// ],
// "type": "string"
// },
// "concurrentBuildLimit": number,
// "created": number,
// "description": "string",
// "encryptionKey": "string",
// "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"
// }
// ],
// "lastModified": number,
// "logsConfig": {
// "cloudWatchLogs": {
// "groupName": "string",
// "status": "string",
// "streamName": "string"
// },
// "s3Logs": {
// "bucketOwnerAccess": "string",
// "encryptionDisabled": boolean,
// "location": "string",
// "status": "string"
// }
// },
// "name": "string",
// "projectVisibility": "string",
// "publicProjectAlias": "string",
// "queuedTimeoutInMinutes": number,
// "resourceAccessRole": "string",
// "secondaryArtifacts": [
// {
// "artifactIdentifier": "string",
// "bucketOwnerAccess": "string",
// "encryptionDisabled": boolean,
// "location": "string",
// "name": "string",
// "namespaceType": "string",
// "overrideArtifactName": boolean,
// "packaging": "string",
// "path": "string",
// "type": "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",
// "tags": [
// {
// "key": "string",
// "value": "string"
// }
// ],
// "timeoutInMinutes": number,
// "vpcConfig": {
// "securityGroupIds": [
// "string"
// ],
// "subnets": [
// "string"
// ],
// "vpcId": "string"
// },
// "webhook": {
// "branchFilter": "string",
// "buildType": "string",
// "filterGroups": [
// [
// {
// "excludeMatchedPattern": boolean,
// "pattern": "string",
// "type": "string"
// }
// ]
// ],
// "lastModifiedSecret": number,
// "payloadUrl": "string",
// "secret": "string",
// "url": "string"
// }
// }
// ],
// "projectsNotFound": [
// "string"
// ]
// }
CkRest_Dispose(rest);
CkAuthAws_Dispose(authAws);
CkJsonObject_Dispose(json);
CkStringBuilder_Dispose(sbRequestBody);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);
}