AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is the response object from the GetByteMatchSet operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.WAFRegional.Model.GetByteMatchSetResponse

Namespace: Amazon.WAFRegional.Model
Assembly: AWSSDK.WAFRegional.dll
Version: 3.x.y.z

Syntax

C#
public class GetByteMatchSetResponse : AmazonWebServiceResponse

The GetByteMatchSetResponse type exposes the following members

Constructors

NameDescription
Public Method GetByteMatchSetResponse()

Properties

NameTypeDescription
Public Property ByteMatchSet Amazon.WAFRegional.Model.ByteMatchSet

Gets and sets the property ByteMatchSet.

Information about the ByteMatchSet that you specified in the GetByteMatchSet request. For more information, see the following topics:

  • ByteMatchSet: Contains ByteMatchSetId, ByteMatchTuples, and Name

  • ByteMatchTuples: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple object contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation

  • FieldToMatch: Contains Data and Type

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

The following example returns the details of a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.

To get a byte match set


var client = new AmazonWAFRegionalClient();
var response = client.GetByteMatchSet(new GetByteMatchSetRequest 
{
    ByteMatchSetId = "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5"
});

ByteMatchSet byteMatchSet = response.ByteMatchSet;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5