public void CodeBuildBatchGetBuilds() { #region to-get-information-about-builds-1501187184588 var response = client.BatchGetBuilds(new BatchGetBuildsRequest { Ids = new List <string> { "codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX", "codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX" } }); List <Build> builds = response.Builds; #endregion }
private Amazon.CodeBuild.Model.BatchGetBuildsResponse CallAWSServiceOperation(IAmazonCodeBuild client, Amazon.CodeBuild.Model.BatchGetBuildsRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS CodeBuild", "BatchGetBuilds"); try { #if DESKTOP return(client.BatchGetBuilds(request)); #elif CORECLR return(client.BatchGetBuildsAsync(request).GetAwaiter().GetResult()); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } }