public void InspectorDeleteAssessmentRun()
        {
            #region delete-assessment-run-1481064251629

            var response = client.DeleteAssessmentRun(new DeleteAssessmentRunRequest
            {
                AssessmentRunArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe"
            });


            #endregion
        }
예제 #2
0
 private Amazon.Inspector.Model.DeleteAssessmentRunResponse CallAWSServiceOperation(IAmazonInspector client, Amazon.Inspector.Model.DeleteAssessmentRunRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Inspector", "DeleteAssessmentRun");
     try
     {
         #if DESKTOP
         return(client.DeleteAssessmentRun(request));
         #elif CORECLR
         return(client.DeleteAssessmentRunAsync(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;
     }
 }