public void WAFRegionalGetByteMatchSet() { #region getbytematchset-1473273311532 var response = client.GetByteMatchSet(new GetByteMatchSetRequest { ByteMatchSetId = "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5" }); ByteMatchSet byteMatchSet = response.ByteMatchSet; #endregion }
private Amazon.WAFRegional.Model.GetByteMatchSetResponse CallAWSServiceOperation(IAmazonWAFRegional client, Amazon.WAFRegional.Model.GetByteMatchSetRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS WAF Regional", "GetByteMatchSet"); try { #if DESKTOP return(client.GetByteMatchSet(request)); #elif CORECLR return(client.GetByteMatchSetAsync(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; } }