public void InspectorDeleteAssessmentTarget()
        {
            #region delete-assessment-target-1481064309029

            var response = client.DeleteAssessmentTarget(new DeleteAssessmentTargetRequest
            {
                AssessmentTargetArn = "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq"
            });


            #endregion
        }
 private Amazon.Inspector.Model.DeleteAssessmentTargetResponse CallAWSServiceOperation(IAmazonInspector client, Amazon.Inspector.Model.DeleteAssessmentTargetRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Inspector", "DeleteAssessmentTarget");
     try
     {
         #if DESKTOP
         return(client.DeleteAssessmentTarget(request));
         #elif CORECLR
         return(client.DeleteAssessmentTargetAsync(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;
     }
 }