Documentation

Overview

Package wafregional provides the client and types for making API requests to AWS WAF Regional.

This is AWS WAF Classic Regional documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

This is the AWS WAF Regional Classic API Reference for using AWS WAF Classic with the AWS resources, Elastic Load Balancing (ELB) Application Load Balancers and API Gateway APIs. The AWS WAF Classic actions and data types listed in the reference are available for protecting Elastic Load Balancing (ELB) Application Load Balancers and API Gateway APIs. You can use these actions and data types by means of the endpoints listed in AWS Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#waf_region). This guide is for developers who need detailed information about the AWS WAF Classic API actions, data types, and errors. For detailed information about AWS WAF Classic features and an overview of how to use the AWS WAF Classic API, see the AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

See https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28 for more information on this service.

See wafregional package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/wafregional/

Using the Client

To contact AWS WAF Regional with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS WAF Regional client WAFRegional for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/wafregional/#New

Index

Examples

Constants

View Source
const (
	// ChangeActionInsert is a ChangeAction enum value
	ChangeActionInsert = "INSERT"

	// ChangeActionDelete is a ChangeAction enum value
	ChangeActionDelete = "DELETE"
)
View Source
const (
	// ChangeTokenStatusProvisioned is a ChangeTokenStatus enum value
	ChangeTokenStatusProvisioned = "PROVISIONED"

	// ChangeTokenStatusPending is a ChangeTokenStatus enum value
	ChangeTokenStatusPending = "PENDING"

	// ChangeTokenStatusInsync is a ChangeTokenStatus enum value
	ChangeTokenStatusInsync = "INSYNC"
)
View Source
const (
	// ComparisonOperatorEq is a ComparisonOperator enum value
	ComparisonOperatorEq = "EQ"

	// ComparisonOperatorNe is a ComparisonOperator enum value
	ComparisonOperatorNe = "NE"

	// ComparisonOperatorLe is a ComparisonOperator enum value
	ComparisonOperatorLe = "LE"

	// ComparisonOperatorLt is a ComparisonOperator enum value
	ComparisonOperatorLt = "LT"

	// ComparisonOperatorGe is a ComparisonOperator enum value
	ComparisonOperatorGe = "GE"

	// ComparisonOperatorGt is a ComparisonOperator enum value
	ComparisonOperatorGt = "GT"
)
View Source
const (
	// GeoMatchConstraintValueAf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAf = "AF"

	// GeoMatchConstraintValueAx is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAx = "AX"

	// GeoMatchConstraintValueAl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAl = "AL"

	// GeoMatchConstraintValueDz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueDz = "DZ"

	// GeoMatchConstraintValueAs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAs = "AS"

	// GeoMatchConstraintValueAd is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAd = "AD"

	// GeoMatchConstraintValueAo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAo = "AO"

	// GeoMatchConstraintValueAi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAi = "AI"

	// GeoMatchConstraintValueAq is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAq = "AQ"

	// GeoMatchConstraintValueAg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAg = "AG"

	// GeoMatchConstraintValueAr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAr = "AR"

	// GeoMatchConstraintValueAm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAm = "AM"

	// GeoMatchConstraintValueAw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAw = "AW"

	// GeoMatchConstraintValueAu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAu = "AU"

	// GeoMatchConstraintValueAt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAt = "AT"

	// GeoMatchConstraintValueAz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAz = "AZ"

	// GeoMatchConstraintValueBs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBs = "BS"

	// GeoMatchConstraintValueBh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBh = "BH"

	// GeoMatchConstraintValueBd is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBd = "BD"

	// GeoMatchConstraintValueBb is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBb = "BB"

	// GeoMatchConstraintValueBy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBy = "BY"

	// GeoMatchConstraintValueBe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBe = "BE"

	// GeoMatchConstraintValueBz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBz = "BZ"

	// GeoMatchConstraintValueBj is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBj = "BJ"

	// GeoMatchConstraintValueBm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBm = "BM"

	// GeoMatchConstraintValueBt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBt = "BT"

	// GeoMatchConstraintValueBo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBo = "BO"

	// GeoMatchConstraintValueBq is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBq = "BQ"

	// GeoMatchConstraintValueBa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBa = "BA"

	// GeoMatchConstraintValueBw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBw = "BW"

	// GeoMatchConstraintValueBv is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBv = "BV"

	// GeoMatchConstraintValueBr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBr = "BR"

	// GeoMatchConstraintValueIo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIo = "IO"

	// GeoMatchConstraintValueBn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBn = "BN"

	// GeoMatchConstraintValueBg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBg = "BG"

	// GeoMatchConstraintValueBf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBf = "BF"

	// GeoMatchConstraintValueBi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBi = "BI"

	// GeoMatchConstraintValueKh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKh = "KH"

	// GeoMatchConstraintValueCm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCm = "CM"

	// GeoMatchConstraintValueCa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCa = "CA"

	// GeoMatchConstraintValueCv is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCv = "CV"

	// GeoMatchConstraintValueKy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKy = "KY"

	// GeoMatchConstraintValueCf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCf = "CF"

	// GeoMatchConstraintValueTd is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTd = "TD"

	// GeoMatchConstraintValueCl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCl = "CL"

	// GeoMatchConstraintValueCn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCn = "CN"

	// GeoMatchConstraintValueCx is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCx = "CX"

	// GeoMatchConstraintValueCc is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCc = "CC"

	// GeoMatchConstraintValueCo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCo = "CO"

	// GeoMatchConstraintValueKm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKm = "KM"

	// GeoMatchConstraintValueCg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCg = "CG"

	// GeoMatchConstraintValueCd is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCd = "CD"

	// GeoMatchConstraintValueCk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCk = "CK"

	// GeoMatchConstraintValueCr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCr = "CR"

	// GeoMatchConstraintValueCi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCi = "CI"

	// GeoMatchConstraintValueHr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueHr = "HR"

	// GeoMatchConstraintValueCu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCu = "CU"

	// GeoMatchConstraintValueCw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCw = "CW"

	// GeoMatchConstraintValueCy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCy = "CY"

	// GeoMatchConstraintValueCz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCz = "CZ"

	// GeoMatchConstraintValueDk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueDk = "DK"

	// GeoMatchConstraintValueDj is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueDj = "DJ"

	// GeoMatchConstraintValueDm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueDm = "DM"

	// GeoMatchConstraintValueDo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueDo = "DO"

	// GeoMatchConstraintValueEc is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueEc = "EC"

	// GeoMatchConstraintValueEg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueEg = "EG"

	// GeoMatchConstraintValueSv is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSv = "SV"

	// GeoMatchConstraintValueGq is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGq = "GQ"

	// GeoMatchConstraintValueEr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueEr = "ER"

	// GeoMatchConstraintValueEe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueEe = "EE"

	// GeoMatchConstraintValueEt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueEt = "ET"

	// GeoMatchConstraintValueFk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueFk = "FK"

	// GeoMatchConstraintValueFo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueFo = "FO"

	// GeoMatchConstraintValueFj is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueFj = "FJ"

	// GeoMatchConstraintValueFi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueFi = "FI"

	// GeoMatchConstraintValueFr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueFr = "FR"

	// GeoMatchConstraintValueGf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGf = "GF"

	// GeoMatchConstraintValuePf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePf = "PF"

	// GeoMatchConstraintValueTf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTf = "TF"

	// GeoMatchConstraintValueGa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGa = "GA"

	// GeoMatchConstraintValueGm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGm = "GM"

	// GeoMatchConstraintValueGe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGe = "GE"

	// GeoMatchConstraintValueDe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueDe = "DE"

	// GeoMatchConstraintValueGh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGh = "GH"

	// GeoMatchConstraintValueGi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGi = "GI"

	// GeoMatchConstraintValueGr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGr = "GR"

	// GeoMatchConstraintValueGl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGl = "GL"

	// GeoMatchConstraintValueGd is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGd = "GD"

	// GeoMatchConstraintValueGp is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGp = "GP"

	// GeoMatchConstraintValueGu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGu = "GU"

	// GeoMatchConstraintValueGt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGt = "GT"

	// GeoMatchConstraintValueGg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGg = "GG"

	// GeoMatchConstraintValueGn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGn = "GN"

	// GeoMatchConstraintValueGw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGw = "GW"

	// GeoMatchConstraintValueGy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGy = "GY"

	// GeoMatchConstraintValueHt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueHt = "HT"

	// GeoMatchConstraintValueHm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueHm = "HM"

	// GeoMatchConstraintValueVa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueVa = "VA"

	// GeoMatchConstraintValueHn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueHn = "HN"

	// GeoMatchConstraintValueHk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueHk = "HK"

	// GeoMatchConstraintValueHu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueHu = "HU"

	// GeoMatchConstraintValueIs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIs = "IS"

	// GeoMatchConstraintValueIn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIn = "IN"

	// GeoMatchConstraintValueId is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueId = "ID"

	// GeoMatchConstraintValueIr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIr = "IR"

	// GeoMatchConstraintValueIq is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIq = "IQ"

	// GeoMatchConstraintValueIe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIe = "IE"

	// GeoMatchConstraintValueIm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIm = "IM"

	// GeoMatchConstraintValueIl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIl = "IL"

	// GeoMatchConstraintValueIt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueIt = "IT"

	// GeoMatchConstraintValueJm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueJm = "JM"

	// GeoMatchConstraintValueJp is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueJp = "JP"

	// GeoMatchConstraintValueJe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueJe = "JE"

	// GeoMatchConstraintValueJo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueJo = "JO"

	// GeoMatchConstraintValueKz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKz = "KZ"

	// GeoMatchConstraintValueKe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKe = "KE"

	// GeoMatchConstraintValueKi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKi = "KI"

	// GeoMatchConstraintValueKp is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKp = "KP"

	// GeoMatchConstraintValueKr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKr = "KR"

	// GeoMatchConstraintValueKw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKw = "KW"

	// GeoMatchConstraintValueKg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKg = "KG"

	// GeoMatchConstraintValueLa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLa = "LA"

	// GeoMatchConstraintValueLv is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLv = "LV"

	// GeoMatchConstraintValueLb is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLb = "LB"

	// GeoMatchConstraintValueLs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLs = "LS"

	// GeoMatchConstraintValueLr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLr = "LR"

	// GeoMatchConstraintValueLy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLy = "LY"

	// GeoMatchConstraintValueLi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLi = "LI"

	// GeoMatchConstraintValueLt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLt = "LT"

	// GeoMatchConstraintValueLu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLu = "LU"

	// GeoMatchConstraintValueMo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMo = "MO"

	// GeoMatchConstraintValueMk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMk = "MK"

	// GeoMatchConstraintValueMg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMg = "MG"

	// GeoMatchConstraintValueMw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMw = "MW"

	// GeoMatchConstraintValueMy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMy = "MY"

	// GeoMatchConstraintValueMv is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMv = "MV"

	// GeoMatchConstraintValueMl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMl = "ML"

	// GeoMatchConstraintValueMt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMt = "MT"

	// GeoMatchConstraintValueMh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMh = "MH"

	// GeoMatchConstraintValueMq is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMq = "MQ"

	// GeoMatchConstraintValueMr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMr = "MR"

	// GeoMatchConstraintValueMu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMu = "MU"

	// GeoMatchConstraintValueYt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueYt = "YT"

	// GeoMatchConstraintValueMx is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMx = "MX"

	// GeoMatchConstraintValueFm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueFm = "FM"

	// GeoMatchConstraintValueMd is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMd = "MD"

	// GeoMatchConstraintValueMc is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMc = "MC"

	// GeoMatchConstraintValueMn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMn = "MN"

	// GeoMatchConstraintValueMe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMe = "ME"

	// GeoMatchConstraintValueMs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMs = "MS"

	// GeoMatchConstraintValueMa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMa = "MA"

	// GeoMatchConstraintValueMz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMz = "MZ"

	// GeoMatchConstraintValueMm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMm = "MM"

	// GeoMatchConstraintValueNa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNa = "NA"

	// GeoMatchConstraintValueNr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNr = "NR"

	// GeoMatchConstraintValueNp is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNp = "NP"

	// GeoMatchConstraintValueNl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNl = "NL"

	// GeoMatchConstraintValueNc is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNc = "NC"

	// GeoMatchConstraintValueNz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNz = "NZ"

	// GeoMatchConstraintValueNi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNi = "NI"

	// GeoMatchConstraintValueNe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNe = "NE"

	// GeoMatchConstraintValueNg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNg = "NG"

	// GeoMatchConstraintValueNu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNu = "NU"

	// GeoMatchConstraintValueNf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNf = "NF"

	// GeoMatchConstraintValueMp is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMp = "MP"

	// GeoMatchConstraintValueNo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueNo = "NO"

	// GeoMatchConstraintValueOm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueOm = "OM"

	// GeoMatchConstraintValuePk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePk = "PK"

	// GeoMatchConstraintValuePw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePw = "PW"

	// GeoMatchConstraintValuePs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePs = "PS"

	// GeoMatchConstraintValuePa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePa = "PA"

	// GeoMatchConstraintValuePg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePg = "PG"

	// GeoMatchConstraintValuePy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePy = "PY"

	// GeoMatchConstraintValuePe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePe = "PE"

	// GeoMatchConstraintValuePh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePh = "PH"

	// GeoMatchConstraintValuePn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePn = "PN"

	// GeoMatchConstraintValuePl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePl = "PL"

	// GeoMatchConstraintValuePt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePt = "PT"

	// GeoMatchConstraintValuePr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePr = "PR"

	// GeoMatchConstraintValueQa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueQa = "QA"

	// GeoMatchConstraintValueRe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueRe = "RE"

	// GeoMatchConstraintValueRo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueRo = "RO"

	// GeoMatchConstraintValueRu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueRu = "RU"

	// GeoMatchConstraintValueRw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueRw = "RW"

	// GeoMatchConstraintValueBl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueBl = "BL"

	// GeoMatchConstraintValueSh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSh = "SH"

	// GeoMatchConstraintValueKn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueKn = "KN"

	// GeoMatchConstraintValueLc is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLc = "LC"

	// GeoMatchConstraintValueMf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueMf = "MF"

	// GeoMatchConstraintValuePm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValuePm = "PM"

	// GeoMatchConstraintValueVc is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueVc = "VC"

	// GeoMatchConstraintValueWs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueWs = "WS"

	// GeoMatchConstraintValueSm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSm = "SM"

	// GeoMatchConstraintValueSt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSt = "ST"

	// GeoMatchConstraintValueSa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSa = "SA"

	// GeoMatchConstraintValueSn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSn = "SN"

	// GeoMatchConstraintValueRs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueRs = "RS"

	// GeoMatchConstraintValueSc is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSc = "SC"

	// GeoMatchConstraintValueSl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSl = "SL"

	// GeoMatchConstraintValueSg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSg = "SG"

	// GeoMatchConstraintValueSx is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSx = "SX"

	// GeoMatchConstraintValueSk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSk = "SK"

	// GeoMatchConstraintValueSi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSi = "SI"

	// GeoMatchConstraintValueSb is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSb = "SB"

	// GeoMatchConstraintValueSo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSo = "SO"

	// GeoMatchConstraintValueZa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueZa = "ZA"

	// GeoMatchConstraintValueGs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGs = "GS"

	// GeoMatchConstraintValueSs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSs = "SS"

	// GeoMatchConstraintValueEs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueEs = "ES"

	// GeoMatchConstraintValueLk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueLk = "LK"

	// GeoMatchConstraintValueSd is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSd = "SD"

	// GeoMatchConstraintValueSr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSr = "SR"

	// GeoMatchConstraintValueSj is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSj = "SJ"

	// GeoMatchConstraintValueSz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSz = "SZ"

	// GeoMatchConstraintValueSe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSe = "SE"

	// GeoMatchConstraintValueCh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueCh = "CH"

	// GeoMatchConstraintValueSy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueSy = "SY"

	// GeoMatchConstraintValueTw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTw = "TW"

	// GeoMatchConstraintValueTj is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTj = "TJ"

	// GeoMatchConstraintValueTz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTz = "TZ"

	// GeoMatchConstraintValueTh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTh = "TH"

	// GeoMatchConstraintValueTl is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTl = "TL"

	// GeoMatchConstraintValueTg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTg = "TG"

	// GeoMatchConstraintValueTk is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTk = "TK"

	// GeoMatchConstraintValueTo is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTo = "TO"

	// GeoMatchConstraintValueTt is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTt = "TT"

	// GeoMatchConstraintValueTn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTn = "TN"

	// GeoMatchConstraintValueTr is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTr = "TR"

	// GeoMatchConstraintValueTm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTm = "TM"

	// GeoMatchConstraintValueTc is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTc = "TC"

	// GeoMatchConstraintValueTv is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueTv = "TV"

	// GeoMatchConstraintValueUg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueUg = "UG"

	// GeoMatchConstraintValueUa is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueUa = "UA"

	// GeoMatchConstraintValueAe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueAe = "AE"

	// GeoMatchConstraintValueGb is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueGb = "GB"

	// GeoMatchConstraintValueUs is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueUs = "US"

	// GeoMatchConstraintValueUm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueUm = "UM"

	// GeoMatchConstraintValueUy is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueUy = "UY"

	// GeoMatchConstraintValueUz is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueUz = "UZ"

	// GeoMatchConstraintValueVu is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueVu = "VU"

	// GeoMatchConstraintValueVe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueVe = "VE"

	// GeoMatchConstraintValueVn is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueVn = "VN"

	// GeoMatchConstraintValueVg is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueVg = "VG"

	// GeoMatchConstraintValueVi is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueVi = "VI"

	// GeoMatchConstraintValueWf is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueWf = "WF"

	// GeoMatchConstraintValueEh is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueEh = "EH"

	// GeoMatchConstraintValueYe is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueYe = "YE"

	// GeoMatchConstraintValueZm is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueZm = "ZM"

	// GeoMatchConstraintValueZw is a GeoMatchConstraintValue enum value
	GeoMatchConstraintValueZw = "ZW"
)
View Source
const (
	// IPSetDescriptorTypeIpv4 is a IPSetDescriptorType enum value
	IPSetDescriptorTypeIpv4 = "IPV4"

	// IPSetDescriptorTypeIpv6 is a IPSetDescriptorType enum value
	IPSetDescriptorTypeIpv6 = "IPV6"
)
View Source
const (
	// MatchFieldTypeUri is a MatchFieldType enum value
	MatchFieldTypeUri = "URI"

	// MatchFieldTypeQueryString is a MatchFieldType enum value
	MatchFieldTypeQueryString = "QUERY_STRING"

	// MatchFieldTypeHeader is a MatchFieldType enum value
	MatchFieldTypeHeader = "HEADER"

	// MatchFieldTypeMethod is a MatchFieldType enum value
	MatchFieldTypeMethod = "METHOD"

	// MatchFieldTypeBody is a MatchFieldType enum value
	MatchFieldTypeBody = "BODY"

	// MatchFieldTypeSingleQueryArg is a MatchFieldType enum value
	MatchFieldTypeSingleQueryArg = "SINGLE_QUERY_ARG"

	// MatchFieldTypeAllQueryArgs is a MatchFieldType enum value
	MatchFieldTypeAllQueryArgs = "ALL_QUERY_ARGS"
)
View Source
const (
	// MigrationErrorTypeEntityNotSupported is a MigrationErrorType enum value
	MigrationErrorTypeEntityNotSupported = "ENTITY_NOT_SUPPORTED"

	// MigrationErrorTypeEntityNotFound is a MigrationErrorType enum value
	MigrationErrorTypeEntityNotFound = "ENTITY_NOT_FOUND"

	// MigrationErrorTypeS3BucketNoPermission is a MigrationErrorType enum value
	MigrationErrorTypeS3BucketNoPermission = "S3_BUCKET_NO_PERMISSION"

	// MigrationErrorTypeS3BucketNotAccessible is a MigrationErrorType enum value
	MigrationErrorTypeS3BucketNotAccessible = "S3_BUCKET_NOT_ACCESSIBLE"

	// MigrationErrorTypeS3BucketNotFound is a MigrationErrorType enum value
	MigrationErrorTypeS3BucketNotFound = "S3_BUCKET_NOT_FOUND"

	// MigrationErrorTypeS3BucketInvalidRegion is a MigrationErrorType enum value
	MigrationErrorTypeS3BucketInvalidRegion = "S3_BUCKET_INVALID_REGION"

	// MigrationErrorTypeS3InternalError is a MigrationErrorType enum value
	MigrationErrorTypeS3InternalError = "S3_INTERNAL_ERROR"
)
View Source
const (
	// ParameterExceptionFieldChangeAction is a ParameterExceptionField enum value
	ParameterExceptionFieldChangeAction = "CHANGE_ACTION"

	// ParameterExceptionFieldWafAction is a ParameterExceptionField enum value
	ParameterExceptionFieldWafAction = "WAF_ACTION"

	// ParameterExceptionFieldWafOverrideAction is a ParameterExceptionField enum value
	ParameterExceptionFieldWafOverrideAction = "WAF_OVERRIDE_ACTION"

	// ParameterExceptionFieldPredicateType is a ParameterExceptionField enum value
	ParameterExceptionFieldPredicateType = "PREDICATE_TYPE"

	// ParameterExceptionFieldIpsetType is a ParameterExceptionField enum value
	ParameterExceptionFieldIpsetType = "IPSET_TYPE"

	// ParameterExceptionFieldByteMatchFieldType is a ParameterExceptionField enum value
	ParameterExceptionFieldByteMatchFieldType = "BYTE_MATCH_FIELD_TYPE"

	// ParameterExceptionFieldSqlInjectionMatchFieldType is a ParameterExceptionField enum value
	ParameterExceptionFieldSqlInjectionMatchFieldType = "SQL_INJECTION_MATCH_FIELD_TYPE"

	// ParameterExceptionFieldByteMatchTextTransformation is a ParameterExceptionField enum value
	ParameterExceptionFieldByteMatchTextTransformation = "BYTE_MATCH_TEXT_TRANSFORMATION"

	// ParameterExceptionFieldByteMatchPositionalConstraint is a ParameterExceptionField enum value
	ParameterExceptionFieldByteMatchPositionalConstraint = "BYTE_MATCH_POSITIONAL_CONSTRAINT"

	// ParameterExceptionFieldSizeConstraintComparisonOperator is a ParameterExceptionField enum value
	ParameterExceptionFieldSizeConstraintComparisonOperator = "SIZE_CONSTRAINT_COMPARISON_OPERATOR"

	// ParameterExceptionFieldGeoMatchLocationType is a ParameterExceptionField enum value
	ParameterExceptionFieldGeoMatchLocationType = "GEO_MATCH_LOCATION_TYPE"

	// ParameterExceptionFieldGeoMatchLocationValue is a ParameterExceptionField enum value
	ParameterExceptionFieldGeoMatchLocationValue = "GEO_MATCH_LOCATION_VALUE"

	// ParameterExceptionFieldRateKey is a ParameterExceptionField enum value
	ParameterExceptionFieldRateKey = "RATE_KEY"

	// ParameterExceptionFieldRuleType is a ParameterExceptionField enum value
	ParameterExceptionFieldRuleType = "RULE_TYPE"

	// ParameterExceptionFieldNextMarker is a ParameterExceptionField enum value
	ParameterExceptionFieldNextMarker = "NEXT_MARKER"

	// ParameterExceptionFieldResourceArn is a ParameterExceptionField enum value
	ParameterExceptionFieldResourceArn = "RESOURCE_ARN"

	// ParameterExceptionFieldTags is a ParameterExceptionField enum value
	ParameterExceptionFieldTags = "TAGS"

	// ParameterExceptionFieldTagKeys is a ParameterExceptionField enum value
	ParameterExceptionFieldTagKeys = "TAG_KEYS"
)
View Source
const (
	// ParameterExceptionReasonInvalidOption is a ParameterExceptionReason enum value
	ParameterExceptionReasonInvalidOption = "INVALID_OPTION"

	// ParameterExceptionReasonIllegalCombination is a ParameterExceptionReason enum value
	ParameterExceptionReasonIllegalCombination = "ILLEGAL_COMBINATION"

	// ParameterExceptionReasonIllegalArgument is a ParameterExceptionReason enum value
	ParameterExceptionReasonIllegalArgument = "ILLEGAL_ARGUMENT"

	// ParameterExceptionReasonInvalidTagKey is a ParameterExceptionReason enum value
	ParameterExceptionReasonInvalidTagKey = "INVALID_TAG_KEY"
)
View Source
const (
	// PositionalConstraintExactly is a PositionalConstraint enum value
	PositionalConstraintExactly = "EXACTLY"

	// PositionalConstraintStartsWith is a PositionalConstraint enum value
	PositionalConstraintStartsWith = "STARTS_WITH"

	// PositionalConstraintEndsWith is a PositionalConstraint enum value
	PositionalConstraintEndsWith = "ENDS_WITH"

	// PositionalConstraintContains is a PositionalConstraint enum value
	PositionalConstraintContains = "CONTAINS"

	// PositionalConstraintContainsWord is a PositionalConstraint enum value
	PositionalConstraintContainsWord = "CONTAINS_WORD"
)
View Source
const (
	// PredicateTypeIpmatch is a PredicateType enum value
	PredicateTypeIpmatch = "IPMatch"

	// PredicateTypeByteMatch is a PredicateType enum value
	PredicateTypeByteMatch = "ByteMatch"

	// PredicateTypeSqlInjectionMatch is a PredicateType enum value
	PredicateTypeSqlInjectionMatch = "SqlInjectionMatch"

	// PredicateTypeGeoMatch is a PredicateType enum value
	PredicateTypeGeoMatch = "GeoMatch"

	// PredicateTypeSizeConstraint is a PredicateType enum value
	PredicateTypeSizeConstraint = "SizeConstraint"

	// PredicateTypeXssMatch is a PredicateType enum value
	PredicateTypeXssMatch = "XssMatch"

	// PredicateTypeRegexMatch is a PredicateType enum value
	PredicateTypeRegexMatch = "RegexMatch"
)
View Source
const (
	// ResourceTypeApplicationLoadBalancer is a ResourceType enum value
	ResourceTypeApplicationLoadBalancer = "APPLICATION_LOAD_BALANCER"

	// ResourceTypeApiGateway is a ResourceType enum value
	ResourceTypeApiGateway = "API_GATEWAY"
)
View Source
const (
	// TextTransformationNone is a TextTransformation enum value
	TextTransformationNone = "NONE"

	// TextTransformationCompressWhiteSpace is a TextTransformation enum value
	TextTransformationCompressWhiteSpace = "COMPRESS_WHITE_SPACE"

	// TextTransformationHtmlEntityDecode is a TextTransformation enum value
	TextTransformationHtmlEntityDecode = "HTML_ENTITY_DECODE"

	// TextTransformationLowercase is a TextTransformation enum value
	TextTransformationLowercase = "LOWERCASE"

	// TextTransformationCmdLine is a TextTransformation enum value
	TextTransformationCmdLine = "CMD_LINE"

	// TextTransformationUrlDecode is a TextTransformation enum value
	TextTransformationUrlDecode = "URL_DECODE"
)
View Source
const (
	// WafActionTypeBlock is a WafActionType enum value
	WafActionTypeBlock = "BLOCK"

	// WafActionTypeAllow is a WafActionType enum value
	WafActionTypeAllow = "ALLOW"

	// WafActionTypeCount is a WafActionType enum value
	WafActionTypeCount = "COUNT"
)
View Source
const (
	// WafOverrideActionTypeNone is a WafOverrideActionType enum value
	WafOverrideActionTypeNone = "NONE"

	// WafOverrideActionTypeCount is a WafOverrideActionType enum value
	WafOverrideActionTypeCount = "COUNT"
)
View Source
const (
	// WafRuleTypeRegular is a WafRuleType enum value
	WafRuleTypeRegular = "REGULAR"

	// WafRuleTypeRateBased is a WafRuleType enum value
	WafRuleTypeRateBased = "RATE_BASED"

	// WafRuleTypeGroup is a WafRuleType enum value
	WafRuleTypeGroup = "GROUP"
)
View Source
const (

	// ErrCodeWAFBadRequestException for service response error code
	// "WAFBadRequestException".
	ErrCodeWAFBadRequestException = "WAFBadRequestException"

	// ErrCodeWAFDisallowedNameException for service response error code
	// "WAFDisallowedNameException".
	//
	// The name specified is invalid.
	ErrCodeWAFDisallowedNameException = "WAFDisallowedNameException"

	// ErrCodeWAFEntityMigrationException for service response error code
	// "WAFEntityMigrationException".
	//
	// The operation failed due to a problem with the migration. The failure cause
	// is provided in the exception, in the MigrationErrorType:
	//
	//    * ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the
	//    IgnoreUnsupportedType is not set to true.
	//
	//    * ENTITY_NOT_FOUND - The web ACL doesn't exist.
	//
	//    * S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject
	//    action to the specified Amazon S3 bucket.
	//
	//    * S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to
	//    perform the PutObject action in the bucket.
	//
	//    * S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist.
	//
	//    * S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as
	//    the web ACL.
	//
	//    * S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3
	//    bucket for another reason.
	ErrCodeWAFEntityMigrationException = "WAFEntityMigrationException"

	// ErrCodeWAFInternalErrorException for service response error code
	// "WAFInternalErrorException".
	//
	// The operation failed because of a system problem, even though the request
	// was valid. Retry your request.
	ErrCodeWAFInternalErrorException = "WAFInternalErrorException"

	// ErrCodeWAFInvalidAccountException for service response error code
	// "WAFInvalidAccountException".
	//
	// The operation failed because you tried to create, update, or delete an object
	// by using an invalid account identifier.
	ErrCodeWAFInvalidAccountException = "WAFInvalidAccountException"

	// ErrCodeWAFInvalidOperationException for service response error code
	// "WAFInvalidOperationException".
	//
	// The operation failed because there was nothing to do. For example:
	//
	//    * You tried to remove a Rule from a WebACL, but the Rule isn't in the
	//    specified WebACL.
	//
	//    * You tried to remove an IP address from an IPSet, but the IP address
	//    isn't in the specified IPSet.
	//
	//    * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple
	//    isn't in the specified WebACL.
	//
	//    * You tried to add a Rule to a WebACL, but the Rule already exists in
	//    the specified WebACL.
	//
	//    * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple
	//    already exists in the specified WebACL.
	ErrCodeWAFInvalidOperationException = "WAFInvalidOperationException"

	// ErrCodeWAFInvalidParameterException for service response error code
	// "WAFInvalidParameterException".
	//
	// The operation failed because AWS WAF didn't recognize a parameter in the
	// request. For example:
	//
	//    * You specified an invalid parameter name.
	//
	//    * You specified an invalid value.
	//
	//    * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
	//    using an action other than INSERT or DELETE.
	//
	//    * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
	//    BLOCK, or COUNT.
	//
	//    * You tried to create a RateBasedRule with a RateKey value other than
	//    IP.
	//
	//    * You tried to update a WebACL with a WafAction Type other than ALLOW,
	//    BLOCK, or COUNT.
	//
	//    * You tried to update a ByteMatchSet with a FieldToMatch Type other than
	//    HEADER, METHOD, QUERY_STRING, URI, or BODY.
	//
	//    * You tried to update a ByteMatchSet with a Field of HEADER but no value
	//    for Data.
	//
	//    * Your request references an ARN that is malformed, or corresponds to
	//    a resource with which a web ACL cannot be associated.
	ErrCodeWAFInvalidParameterException = "WAFInvalidParameterException"

	// ErrCodeWAFInvalidPermissionPolicyException for service response error code
	// "WAFInvalidPermissionPolicyException".
	//
	// The operation failed because the specified policy is not in the proper format.
	//
	// The policy is subject to the following restrictions:
	//
	//    * You can attach only one policy with each PutPermissionPolicy request.
	//
	//    * The policy must include an Effect, Action and Principal.
	//
	//    * Effect must specify Allow.
	//
	//    * The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL,
	//    waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard
	//    actions in the policy will be rejected.
	//
	//    * The policy cannot include a Resource parameter.
	//
	//    * The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup
	//    must exist in the same region.
	//
	//    * The user making the request must be the owner of the RuleGroup.
	//
	//    * Your policy must be composed using IAM Policy version 2012-10-17.
	ErrCodeWAFInvalidPermissionPolicyException = "WAFInvalidPermissionPolicyException"

	// ErrCodeWAFInvalidRegexPatternException for service response error code
	// "WAFInvalidRegexPatternException".
	//
	// The regular expression (regex) you specified in RegexPatternString is invalid.
	ErrCodeWAFInvalidRegexPatternException = "WAFInvalidRegexPatternException"

	// ErrCodeWAFLimitsExceededException for service response error code
	// "WAFLimitsExceededException".
	//
	// The operation exceeds a resource limit, for example, the maximum number of
	// WebACL objects that you can create for an AWS account. For more information,
	// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
	// in the AWS WAF Developer Guide.
	ErrCodeWAFLimitsExceededException = "WAFLimitsExceededException"

	// ErrCodeWAFNonEmptyEntityException for service response error code
	// "WAFNonEmptyEntityException".
	//
	// The operation failed because you tried to delete an object that isn't empty.
	// For example:
	//
	//    * You tried to delete a WebACL that still contains one or more Rule objects.
	//
	//    * You tried to delete a Rule that still contains one or more ByteMatchSet
	//    objects or other predicates.
	//
	//    * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
	//    objects.
	//
	//    * You tried to delete an IPSet that references one or more IP addresses.
	ErrCodeWAFNonEmptyEntityException = "WAFNonEmptyEntityException"

	// ErrCodeWAFNonexistentContainerException for service response error code
	// "WAFNonexistentContainerException".
	//
	// The operation failed because you tried to add an object to or delete an object
	// from another object that doesn't exist. For example:
	//
	//    * You tried to add a Rule to or delete a Rule from a WebACL that doesn't
	//    exist.
	//
	//    * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule
	//    that doesn't exist.
	//
	//    * You tried to add an IP address to or delete an IP address from an IPSet
	//    that doesn't exist.
	//
	//    * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from
	//    a ByteMatchSet that doesn't exist.
	ErrCodeWAFNonexistentContainerException = "WAFNonexistentContainerException"

	// ErrCodeWAFNonexistentItemException for service response error code
	// "WAFNonexistentItemException".
	//
	// The operation failed because the referenced object doesn't exist.
	ErrCodeWAFNonexistentItemException = "WAFNonexistentItemException"

	// ErrCodeWAFReferencedItemException for service response error code
	// "WAFReferencedItemException".
	//
	// The operation failed because you tried to delete an object that is still
	// in use. For example:
	//
	//    * You tried to delete a ByteMatchSet that is still referenced by a Rule.
	//
	//    * You tried to delete a Rule that is still referenced by a WebACL.
	ErrCodeWAFReferencedItemException = "WAFReferencedItemException"

	// ErrCodeWAFServiceLinkedRoleErrorException for service response error code
	// "WAFServiceLinkedRoleErrorException".
	//
	// AWS WAF is not able to access the service linked role. This can be caused
	// by a previous PutLoggingConfiguration request, which can lock the service
	// linked role for about 20 seconds. Please try your request again. The service
	// linked role can also be locked by a previous DeleteServiceLinkedRole request,
	// which can lock the role for 15 minutes or more. If you recently made a DeleteServiceLinkedRole,
	// wait at least 15 minutes and try the request again. If you receive this same
	// exception again, you will have to wait additional time until the role is
	// unlocked.
	ErrCodeWAFServiceLinkedRoleErrorException = "WAFServiceLinkedRoleErrorException"

	// ErrCodeWAFStaleDataException for service response error code
	// "WAFStaleDataException".
	//
	// The operation failed because you tried to create, update, or delete an object
	// by using a change token that has already been used.
	ErrCodeWAFStaleDataException = "WAFStaleDataException"

	// ErrCodeWAFSubscriptionNotFoundException for service response error code
	// "WAFSubscriptionNotFoundException".
	//
	// The specified subscription does not exist.
	ErrCodeWAFSubscriptionNotFoundException = "WAFSubscriptionNotFoundException"

	// ErrCodeWAFTagOperationException for service response error code
	// "WAFTagOperationException".
	ErrCodeWAFTagOperationException = "WAFTagOperationException"

	// ErrCodeWAFTagOperationInternalErrorException for service response error code
	// "WAFTagOperationInternalErrorException".
	ErrCodeWAFTagOperationInternalErrorException = "WAFTagOperationInternalErrorException"

	// ErrCodeWAFUnavailableEntityException for service response error code
	// "WAFUnavailableEntityException".
	//
	// The operation failed because the entity referenced is temporarily unavailable.
	// Retry your request.
	ErrCodeWAFUnavailableEntityException = "WAFUnavailableEntityException"
)
View Source
const (
	ServiceName = "waf-regional" // Name of service.
	EndpointsID = ServiceName    // ID to lookup a service endpoint with.
	ServiceID   = "WAF Regional" // ServiceID is a unique identifier of a specific service.
)

    Service information constants

    View Source
    const (
    	// GeoMatchConstraintTypeCountry is a GeoMatchConstraintType enum value
    	GeoMatchConstraintTypeCountry = "Country"
    )
    View Source
    const (
    	// RateKeyIp is a RateKey enum value
    	RateKeyIp = "IP"
    )

    Variables

    This section is empty.

    Functions

    func ChangeAction_Values

    func ChangeAction_Values() []string

      ChangeAction_Values returns all elements of the ChangeAction enum

      func ChangeTokenStatus_Values

      func ChangeTokenStatus_Values() []string

        ChangeTokenStatus_Values returns all elements of the ChangeTokenStatus enum

        func ComparisonOperator_Values

        func ComparisonOperator_Values() []string

          ComparisonOperator_Values returns all elements of the ComparisonOperator enum

          func GeoMatchConstraintType_Values

          func GeoMatchConstraintType_Values() []string

            GeoMatchConstraintType_Values returns all elements of the GeoMatchConstraintType enum

            func GeoMatchConstraintValue_Values

            func GeoMatchConstraintValue_Values() []string

              GeoMatchConstraintValue_Values returns all elements of the GeoMatchConstraintValue enum

              func IPSetDescriptorType_Values

              func IPSetDescriptorType_Values() []string

                IPSetDescriptorType_Values returns all elements of the IPSetDescriptorType enum

                func MatchFieldType_Values

                func MatchFieldType_Values() []string

                  MatchFieldType_Values returns all elements of the MatchFieldType enum

                  func MigrationErrorType_Values

                  func MigrationErrorType_Values() []string

                    MigrationErrorType_Values returns all elements of the MigrationErrorType enum

                    func ParameterExceptionField_Values

                    func ParameterExceptionField_Values() []string

                      ParameterExceptionField_Values returns all elements of the ParameterExceptionField enum

                      func ParameterExceptionReason_Values

                      func ParameterExceptionReason_Values() []string

                        ParameterExceptionReason_Values returns all elements of the ParameterExceptionReason enum

                        func PositionalConstraint_Values

                        func PositionalConstraint_Values() []string

                          PositionalConstraint_Values returns all elements of the PositionalConstraint enum

                          func PredicateType_Values

                          func PredicateType_Values() []string

                            PredicateType_Values returns all elements of the PredicateType enum

                            func RateKey_Values

                            func RateKey_Values() []string

                              RateKey_Values returns all elements of the RateKey enum

                              func ResourceType_Values

                              func ResourceType_Values() []string

                                ResourceType_Values returns all elements of the ResourceType enum

                                func TextTransformation_Values

                                func TextTransformation_Values() []string

                                  TextTransformation_Values returns all elements of the TextTransformation enum

                                  func WafActionType_Values

                                  func WafActionType_Values() []string

                                    WafActionType_Values returns all elements of the WafActionType enum

                                    func WafOverrideActionType_Values

                                    func WafOverrideActionType_Values() []string

                                      WafOverrideActionType_Values returns all elements of the WafOverrideActionType enum

                                      func WafRuleType_Values

                                      func WafRuleType_Values() []string

                                        WafRuleType_Values returns all elements of the WafRuleType enum

                                        Types

                                        type AssociateWebACLInput

                                        type AssociateWebACLInput struct {
                                        
                                        	// The ARN (Amazon Resource Name) of the resource to be protected, either an
                                        	// application load balancer or Amazon API Gateway stage.
                                        	//
                                        	// The ARN should be in one of the following formats:
                                        	//
                                        	//    * For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
                                        	//
                                        	//    * For an Amazon API Gateway stage: arn:aws:apigateway:region::/restapis/api-id/stages/stage-name
                                        	//
                                        	// ResourceArn is a required field
                                        	ResourceArn *string `min:"1" type:"string" required:"true"`
                                        
                                        	// A unique identifier (ID) for the web ACL.
                                        	//
                                        	// WebACLId is a required field
                                        	WebACLId *string `min:"1" type:"string" required:"true"`
                                        	// contains filtered or unexported fields
                                        }

                                        func (AssociateWebACLInput) GoString

                                        func (s AssociateWebACLInput) GoString() string

                                          GoString returns the string representation

                                          func (*AssociateWebACLInput) SetResourceArn

                                          func (s *AssociateWebACLInput) SetResourceArn(v string) *AssociateWebACLInput

                                            SetResourceArn sets the ResourceArn field's value.

                                            func (*AssociateWebACLInput) SetWebACLId

                                              SetWebACLId sets the WebACLId field's value.

                                              func (AssociateWebACLInput) String

                                              func (s AssociateWebACLInput) String() string

                                                String returns the string representation

                                                func (*AssociateWebACLInput) Validate

                                                func (s *AssociateWebACLInput) Validate() error

                                                  Validate inspects the fields of the type to determine if they are valid.

                                                  type AssociateWebACLOutput

                                                  type AssociateWebACLOutput struct {
                                                  	// contains filtered or unexported fields
                                                  }

                                                  func (AssociateWebACLOutput) GoString

                                                  func (s AssociateWebACLOutput) GoString() string

                                                    GoString returns the string representation

                                                    func (AssociateWebACLOutput) String

                                                    func (s AssociateWebACLOutput) String() string

                                                      String returns the string representation

                                                      type DisassociateWebACLInput

                                                      type DisassociateWebACLInput struct {
                                                      
                                                      	// The ARN (Amazon Resource Name) of the resource from which the web ACL is
                                                      	// being removed, either an application load balancer or Amazon API Gateway
                                                      	// stage.
                                                      	//
                                                      	// The ARN should be in one of the following formats:
                                                      	//
                                                      	//    * For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
                                                      	//
                                                      	//    * For an Amazon API Gateway stage: arn:aws:apigateway:region::/restapis/api-id/stages/stage-name
                                                      	//
                                                      	// ResourceArn is a required field
                                                      	ResourceArn *string `min:"1" type:"string" required:"true"`
                                                      	// contains filtered or unexported fields
                                                      }

                                                      func (DisassociateWebACLInput) GoString

                                                      func (s DisassociateWebACLInput) GoString() string

                                                        GoString returns the string representation

                                                        func (*DisassociateWebACLInput) SetResourceArn

                                                          SetResourceArn sets the ResourceArn field's value.

                                                          func (DisassociateWebACLInput) String

                                                          func (s DisassociateWebACLInput) String() string

                                                            String returns the string representation

                                                            func (*DisassociateWebACLInput) Validate

                                                            func (s *DisassociateWebACLInput) Validate() error

                                                              Validate inspects the fields of the type to determine if they are valid.

                                                              type DisassociateWebACLOutput

                                                              type DisassociateWebACLOutput struct {
                                                              	// contains filtered or unexported fields
                                                              }

                                                              func (DisassociateWebACLOutput) GoString

                                                              func (s DisassociateWebACLOutput) GoString() string

                                                                GoString returns the string representation

                                                                func (DisassociateWebACLOutput) String

                                                                func (s DisassociateWebACLOutput) String() string

                                                                  String returns the string representation

                                                                  type GetWebACLForResourceInput

                                                                  type GetWebACLForResourceInput struct {
                                                                  
                                                                  	// The ARN (Amazon Resource Name) of the resource for which to get the web ACL,
                                                                  	// either an application load balancer or Amazon API Gateway stage.
                                                                  	//
                                                                  	// The ARN should be in one of the following formats:
                                                                  	//
                                                                  	//    * For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
                                                                  	//
                                                                  	//    * For an Amazon API Gateway stage: arn:aws:apigateway:region::/restapis/api-id/stages/stage-name
                                                                  	//
                                                                  	// ResourceArn is a required field
                                                                  	ResourceArn *string `min:"1" type:"string" required:"true"`
                                                                  	// contains filtered or unexported fields
                                                                  }

                                                                  func (GetWebACLForResourceInput) GoString

                                                                  func (s GetWebACLForResourceInput) GoString() string

                                                                    GoString returns the string representation

                                                                    func (*GetWebACLForResourceInput) SetResourceArn

                                                                      SetResourceArn sets the ResourceArn field's value.

                                                                      func (GetWebACLForResourceInput) String

                                                                      func (s GetWebACLForResourceInput) String() string

                                                                        String returns the string representation

                                                                        func (*GetWebACLForResourceInput) Validate

                                                                        func (s *GetWebACLForResourceInput) Validate() error

                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                          type GetWebACLForResourceOutput

                                                                          type GetWebACLForResourceOutput struct {
                                                                          
                                                                          	// Information about the web ACL that you specified in the GetWebACLForResource
                                                                          	// request. If there is no associated resource, a null WebACLSummary is returned.
                                                                          	WebACLSummary *waf.WebACLSummary `type:"structure"`
                                                                          	// contains filtered or unexported fields
                                                                          }

                                                                          func (GetWebACLForResourceOutput) GoString

                                                                          func (s GetWebACLForResourceOutput) GoString() string

                                                                            GoString returns the string representation

                                                                            func (*GetWebACLForResourceOutput) SetWebACLSummary

                                                                              SetWebACLSummary sets the WebACLSummary field's value.

                                                                              func (GetWebACLForResourceOutput) String

                                                                                String returns the string representation

                                                                                type ListResourcesForWebACLInput

                                                                                type ListResourcesForWebACLInput struct {
                                                                                
                                                                                	// The type of resource to list, either an application load balancer or Amazon
                                                                                	// API Gateway.
                                                                                	ResourceType *string `type:"string" enum:"ResourceType"`
                                                                                
                                                                                	// The unique identifier (ID) of the web ACL for which to list the associated
                                                                                	// resources.
                                                                                	//
                                                                                	// WebACLId is a required field
                                                                                	WebACLId *string `min:"1" type:"string" required:"true"`
                                                                                	// contains filtered or unexported fields
                                                                                }

                                                                                func (ListResourcesForWebACLInput) GoString

                                                                                func (s ListResourcesForWebACLInput) GoString() string

                                                                                  GoString returns the string representation

                                                                                  func (*ListResourcesForWebACLInput) SetResourceType

                                                                                    SetResourceType sets the ResourceType field's value.

                                                                                    func (*ListResourcesForWebACLInput) SetWebACLId

                                                                                      SetWebACLId sets the WebACLId field's value.

                                                                                      func (ListResourcesForWebACLInput) String

                                                                                        String returns the string representation

                                                                                        func (*ListResourcesForWebACLInput) Validate

                                                                                        func (s *ListResourcesForWebACLInput) Validate() error

                                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                                          type ListResourcesForWebACLOutput

                                                                                          type ListResourcesForWebACLOutput struct {
                                                                                          
                                                                                          	// An array of ARNs (Amazon Resource Names) of the resources associated with
                                                                                          	// the specified web ACL. An array with zero elements is returned if there are
                                                                                          	// no resources associated with the web ACL.
                                                                                          	ResourceArns []*string `type:"list"`
                                                                                          	// contains filtered or unexported fields
                                                                                          }

                                                                                          func (ListResourcesForWebACLOutput) GoString

                                                                                          func (s ListResourcesForWebACLOutput) GoString() string

                                                                                            GoString returns the string representation

                                                                                            func (*ListResourcesForWebACLOutput) SetResourceArns

                                                                                              SetResourceArns sets the ResourceArns field's value.

                                                                                              func (ListResourcesForWebACLOutput) String

                                                                                                String returns the string representation

                                                                                                type WAFBadRequestException

                                                                                                type WAFBadRequestException struct {
                                                                                                	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                
                                                                                                	Message_ *string `locationName:"message" type:"string"`
                                                                                                	// contains filtered or unexported fields
                                                                                                }

                                                                                                func (*WAFBadRequestException) Code

                                                                                                func (s *WAFBadRequestException) Code() string

                                                                                                  Code returns the exception type name.

                                                                                                  func (*WAFBadRequestException) Error

                                                                                                  func (s *WAFBadRequestException) Error() string

                                                                                                  func (WAFBadRequestException) GoString

                                                                                                  func (s WAFBadRequestException) GoString() string

                                                                                                    GoString returns the string representation

                                                                                                    func (*WAFBadRequestException) Message

                                                                                                    func (s *WAFBadRequestException) Message() string

                                                                                                      Message returns the exception's message.

                                                                                                      func (*WAFBadRequestException) OrigErr

                                                                                                      func (s *WAFBadRequestException) OrigErr() error

                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                        func (*WAFBadRequestException) RequestID

                                                                                                        func (s *WAFBadRequestException) RequestID() string

                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                          func (*WAFBadRequestException) StatusCode

                                                                                                          func (s *WAFBadRequestException) StatusCode() int

                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                            func (WAFBadRequestException) String

                                                                                                            func (s WAFBadRequestException) String() string

                                                                                                              String returns the string representation

                                                                                                              type WAFDisallowedNameException

                                                                                                              type WAFDisallowedNameException struct {
                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                              
                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                              	// contains filtered or unexported fields
                                                                                                              }

                                                                                                                The name specified is invalid.

                                                                                                                func (*WAFDisallowedNameException) Code

                                                                                                                  Code returns the exception type name.

                                                                                                                  func (*WAFDisallowedNameException) Error

                                                                                                                  func (WAFDisallowedNameException) GoString

                                                                                                                  func (s WAFDisallowedNameException) GoString() string

                                                                                                                    GoString returns the string representation

                                                                                                                    func (*WAFDisallowedNameException) Message

                                                                                                                    func (s *WAFDisallowedNameException) Message() string

                                                                                                                      Message returns the exception's message.

                                                                                                                      func (*WAFDisallowedNameException) OrigErr

                                                                                                                      func (s *WAFDisallowedNameException) OrigErr() error

                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                        func (*WAFDisallowedNameException) RequestID

                                                                                                                        func (s *WAFDisallowedNameException) RequestID() string

                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                          func (*WAFDisallowedNameException) StatusCode

                                                                                                                          func (s *WAFDisallowedNameException) StatusCode() int

                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                            func (WAFDisallowedNameException) String

                                                                                                                              String returns the string representation

                                                                                                                              type WAFEntityMigrationException

                                                                                                                              type WAFEntityMigrationException struct {
                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                              
                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                              
                                                                                                                              	MigrationErrorReason *string `type:"string"`
                                                                                                                              
                                                                                                                              	MigrationErrorType *string `type:"string" enum:"MigrationErrorType"`
                                                                                                                              	// contains filtered or unexported fields
                                                                                                                              }

                                                                                                                                The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the MigrationErrorType:

                                                                                                                                * ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the
                                                                                                                                IgnoreUnsupportedType is not set to true.
                                                                                                                                
                                                                                                                                * ENTITY_NOT_FOUND - The web ACL doesn't exist.
                                                                                                                                
                                                                                                                                * S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject
                                                                                                                                action to the specified Amazon S3 bucket.
                                                                                                                                
                                                                                                                                * S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to
                                                                                                                                perform the PutObject action in the bucket.
                                                                                                                                
                                                                                                                                * S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist.
                                                                                                                                
                                                                                                                                * S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as
                                                                                                                                the web ACL.
                                                                                                                                
                                                                                                                                * S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3
                                                                                                                                bucket for another reason.
                                                                                                                                

                                                                                                                                func (*WAFEntityMigrationException) Code

                                                                                                                                  Code returns the exception type name.

                                                                                                                                  func (*WAFEntityMigrationException) Error

                                                                                                                                  func (WAFEntityMigrationException) GoString

                                                                                                                                  func (s WAFEntityMigrationException) GoString() string

                                                                                                                                    GoString returns the string representation

                                                                                                                                    func (*WAFEntityMigrationException) Message

                                                                                                                                    func (s *WAFEntityMigrationException) Message() string

                                                                                                                                      Message returns the exception's message.

                                                                                                                                      func (*WAFEntityMigrationException) OrigErr

                                                                                                                                      func (s *WAFEntityMigrationException) OrigErr() error

                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                        func (*WAFEntityMigrationException) RequestID

                                                                                                                                        func (s *WAFEntityMigrationException) RequestID() string

                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                          func (*WAFEntityMigrationException) StatusCode

                                                                                                                                          func (s *WAFEntityMigrationException) StatusCode() int

                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                            func (WAFEntityMigrationException) String

                                                                                                                                              String returns the string representation

                                                                                                                                              type WAFInternalErrorException

                                                                                                                                              type WAFInternalErrorException struct {
                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                              
                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                              }

                                                                                                                                                The operation failed because of a system problem, even though the request was valid. Retry your request.

                                                                                                                                                func (*WAFInternalErrorException) Code

                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                  func (*WAFInternalErrorException) Error

                                                                                                                                                  func (s *WAFInternalErrorException) Error() string

                                                                                                                                                  func (WAFInternalErrorException) GoString

                                                                                                                                                  func (s WAFInternalErrorException) GoString() string

                                                                                                                                                    GoString returns the string representation

                                                                                                                                                    func (*WAFInternalErrorException) Message

                                                                                                                                                    func (s *WAFInternalErrorException) Message() string

                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                      func (*WAFInternalErrorException) OrigErr

                                                                                                                                                      func (s *WAFInternalErrorException) OrigErr() error

                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                        func (*WAFInternalErrorException) RequestID

                                                                                                                                                        func (s *WAFInternalErrorException) RequestID() string

                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                          func (*WAFInternalErrorException) StatusCode

                                                                                                                                                          func (s *WAFInternalErrorException) StatusCode() int

                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                            func (WAFInternalErrorException) String

                                                                                                                                                            func (s WAFInternalErrorException) String() string

                                                                                                                                                              String returns the string representation

                                                                                                                                                              type WAFInvalidAccountException

                                                                                                                                                              type WAFInvalidAccountException struct {
                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                              
                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                              }

                                                                                                                                                                The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.

                                                                                                                                                                func (*WAFInvalidAccountException) Code

                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                  func (*WAFInvalidAccountException) Error

                                                                                                                                                                  func (WAFInvalidAccountException) GoString

                                                                                                                                                                  func (s WAFInvalidAccountException) GoString() string

                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                    func (*WAFInvalidAccountException) Message

                                                                                                                                                                    func (s *WAFInvalidAccountException) Message() string

                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                      func (*WAFInvalidAccountException) OrigErr

                                                                                                                                                                      func (s *WAFInvalidAccountException) OrigErr() error

                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                        func (*WAFInvalidAccountException) RequestID

                                                                                                                                                                        func (s *WAFInvalidAccountException) RequestID() string

                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                          func (*WAFInvalidAccountException) StatusCode

                                                                                                                                                                          func (s *WAFInvalidAccountException) StatusCode() int

                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                            func (WAFInvalidAccountException) String

                                                                                                                                                                              String returns the string representation

                                                                                                                                                                              type WAFInvalidOperationException

                                                                                                                                                                              type WAFInvalidOperationException struct {
                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                              
                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                              }

                                                                                                                                                                                The operation failed because there was nothing to do. For example:

                                                                                                                                                                                * You tried to remove a Rule from a WebACL, but the Rule isn't in the
                                                                                                                                                                                specified WebACL.
                                                                                                                                                                                
                                                                                                                                                                                * You tried to remove an IP address from an IPSet, but the IP address
                                                                                                                                                                                isn't in the specified IPSet.
                                                                                                                                                                                
                                                                                                                                                                                * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple
                                                                                                                                                                                isn't in the specified WebACL.
                                                                                                                                                                                
                                                                                                                                                                                * You tried to add a Rule to a WebACL, but the Rule already exists in
                                                                                                                                                                                the specified WebACL.
                                                                                                                                                                                
                                                                                                                                                                                * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple
                                                                                                                                                                                already exists in the specified WebACL.
                                                                                                                                                                                

                                                                                                                                                                                func (*WAFInvalidOperationException) Code

                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                  func (*WAFInvalidOperationException) Error

                                                                                                                                                                                  func (WAFInvalidOperationException) GoString

                                                                                                                                                                                  func (s WAFInvalidOperationException) GoString() string

                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                    func (*WAFInvalidOperationException) Message

                                                                                                                                                                                    func (s *WAFInvalidOperationException) Message() string

                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                      func (*WAFInvalidOperationException) OrigErr

                                                                                                                                                                                      func (s *WAFInvalidOperationException) OrigErr() error

                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                        func (*WAFInvalidOperationException) RequestID

                                                                                                                                                                                        func (s *WAFInvalidOperationException) RequestID() string

                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                          func (*WAFInvalidOperationException) StatusCode

                                                                                                                                                                                          func (s *WAFInvalidOperationException) StatusCode() int

                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                            func (WAFInvalidOperationException) String

                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                              type WAFInvalidParameterException

                                                                                                                                                                                              type WAFInvalidParameterException struct {
                                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                              
                                                                                                                                                                                              	Field *string `locationName:"field" type:"string" enum:"ParameterExceptionField"`
                                                                                                                                                                                              
                                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                              
                                                                                                                                                                                              	Parameter *string `locationName:"parameter" min:"1" type:"string"`
                                                                                                                                                                                              
                                                                                                                                                                                              	Reason *string `locationName:"reason" type:"string" enum:"ParameterExceptionReason"`
                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                              }

                                                                                                                                                                                                The operation failed because AWS WAF didn't recognize a parameter in the request. For example:

                                                                                                                                                                                                * You specified an invalid parameter name.
                                                                                                                                                                                                
                                                                                                                                                                                                * You specified an invalid value.
                                                                                                                                                                                                
                                                                                                                                                                                                * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                using an action other than INSERT or DELETE.
                                                                                                                                                                                                
                                                                                                                                                                                                * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                BLOCK, or COUNT.
                                                                                                                                                                                                
                                                                                                                                                                                                * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                IP.
                                                                                                                                                                                                
                                                                                                                                                                                                * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                BLOCK, or COUNT.
                                                                                                                                                                                                
                                                                                                                                                                                                * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                
                                                                                                                                                                                                * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                for Data.
                                                                                                                                                                                                
                                                                                                                                                                                                * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                

                                                                                                                                                                                                func (*WAFInvalidParameterException) Code

                                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                                  func (*WAFInvalidParameterException) Error

                                                                                                                                                                                                  func (WAFInvalidParameterException) GoString

                                                                                                                                                                                                  func (s WAFInvalidParameterException) GoString() string

                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                    func (*WAFInvalidParameterException) Message

                                                                                                                                                                                                    func (s *WAFInvalidParameterException) Message() string

                                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                                      func (*WAFInvalidParameterException) OrigErr

                                                                                                                                                                                                      func (s *WAFInvalidParameterException) OrigErr() error

                                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                        func (*WAFInvalidParameterException) RequestID

                                                                                                                                                                                                        func (s *WAFInvalidParameterException) RequestID() string

                                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                          func (*WAFInvalidParameterException) StatusCode

                                                                                                                                                                                                          func (s *WAFInvalidParameterException) StatusCode() int

                                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                            func (WAFInvalidParameterException) String

                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                              type WAFInvalidPermissionPolicyException

                                                                                                                                                                                                              type WAFInvalidPermissionPolicyException struct {
                                                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                              
                                                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                              }

                                                                                                                                                                                                                The operation failed because the specified policy is not in the proper format.

                                                                                                                                                                                                                The policy is subject to the following restrictions:

                                                                                                                                                                                                                * You can attach only one policy with each PutPermissionPolicy request.
                                                                                                                                                                                                                
                                                                                                                                                                                                                * The policy must include an Effect, Action and Principal.
                                                                                                                                                                                                                
                                                                                                                                                                                                                * Effect must specify Allow.
                                                                                                                                                                                                                
                                                                                                                                                                                                                * The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL,
                                                                                                                                                                                                                waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard
                                                                                                                                                                                                                actions in the policy will be rejected.
                                                                                                                                                                                                                
                                                                                                                                                                                                                * The policy cannot include a Resource parameter.
                                                                                                                                                                                                                
                                                                                                                                                                                                                * The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup
                                                                                                                                                                                                                must exist in the same region.
                                                                                                                                                                                                                
                                                                                                                                                                                                                * The user making the request must be the owner of the RuleGroup.
                                                                                                                                                                                                                
                                                                                                                                                                                                                * Your policy must be composed using IAM Policy version 2012-10-17.
                                                                                                                                                                                                                

                                                                                                                                                                                                                func (*WAFInvalidPermissionPolicyException) Code

                                                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                                                  func (*WAFInvalidPermissionPolicyException) Error

                                                                                                                                                                                                                  func (WAFInvalidPermissionPolicyException) GoString

                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                    func (*WAFInvalidPermissionPolicyException) Message

                                                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                                                      func (*WAFInvalidPermissionPolicyException) OrigErr

                                                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                        func (*WAFInvalidPermissionPolicyException) RequestID

                                                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                          func (*WAFInvalidPermissionPolicyException) StatusCode

                                                                                                                                                                                                                          func (s *WAFInvalidPermissionPolicyException) StatusCode() int

                                                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                            func (WAFInvalidPermissionPolicyException) String

                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                              type WAFInvalidRegexPatternException

                                                                                                                                                                                                                              type WAFInvalidRegexPatternException struct {
                                                                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                The regular expression (regex) you specified in RegexPatternString is invalid.

                                                                                                                                                                                                                                func (*WAFInvalidRegexPatternException) Code

                                                                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                                                                  func (*WAFInvalidRegexPatternException) Error

                                                                                                                                                                                                                                  func (WAFInvalidRegexPatternException) GoString

                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                    func (*WAFInvalidRegexPatternException) Message

                                                                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                                                                      func (*WAFInvalidRegexPatternException) OrigErr

                                                                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                        func (*WAFInvalidRegexPatternException) RequestID

                                                                                                                                                                                                                                        func (s *WAFInvalidRegexPatternException) RequestID() string

                                                                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                          func (*WAFInvalidRegexPatternException) StatusCode

                                                                                                                                                                                                                                          func (s *WAFInvalidRegexPatternException) StatusCode() int

                                                                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                            func (WAFInvalidRegexPatternException) String

                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                              type WAFLimitsExceededException

                                                                                                                                                                                                                                              type WAFLimitsExceededException struct {
                                                                                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                The operation exceeds a resource limit, for example, the maximum number of WebACL objects that you can create for an AWS account. For more information, see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) in the AWS WAF Developer Guide.

                                                                                                                                                                                                                                                func (*WAFLimitsExceededException) Code

                                                                                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                                                                                  func (*WAFLimitsExceededException) Error

                                                                                                                                                                                                                                                  func (WAFLimitsExceededException) GoString

                                                                                                                                                                                                                                                  func (s WAFLimitsExceededException) GoString() string

                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                    func (*WAFLimitsExceededException) Message

                                                                                                                                                                                                                                                    func (s *WAFLimitsExceededException) Message() string

                                                                                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                                                                                      func (*WAFLimitsExceededException) OrigErr

                                                                                                                                                                                                                                                      func (s *WAFLimitsExceededException) OrigErr() error

                                                                                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                        func (*WAFLimitsExceededException) RequestID

                                                                                                                                                                                                                                                        func (s *WAFLimitsExceededException) RequestID() string

                                                                                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                          func (*WAFLimitsExceededException) StatusCode

                                                                                                                                                                                                                                                          func (s *WAFLimitsExceededException) StatusCode() int

                                                                                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                            func (WAFLimitsExceededException) String

                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                              type WAFNonEmptyEntityException

                                                                                                                                                                                                                                                              type WAFNonEmptyEntityException struct {
                                                                                                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                The operation failed because you tried to delete an object that isn't empty. For example:

                                                                                                                                                                                                                                                                * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                objects or other predicates.
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                objects.
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                func (*WAFNonEmptyEntityException) Code

                                                                                                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                                                                                                  func (*WAFNonEmptyEntityException) Error

                                                                                                                                                                                                                                                                  func (WAFNonEmptyEntityException) GoString

                                                                                                                                                                                                                                                                  func (s WAFNonEmptyEntityException) GoString() string

                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                    func (*WAFNonEmptyEntityException) Message

                                                                                                                                                                                                                                                                    func (s *WAFNonEmptyEntityException) Message() string

                                                                                                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                                                                                                      func (*WAFNonEmptyEntityException) OrigErr

                                                                                                                                                                                                                                                                      func (s *WAFNonEmptyEntityException) OrigErr() error

                                                                                                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                        func (*WAFNonEmptyEntityException) RequestID

                                                                                                                                                                                                                                                                        func (s *WAFNonEmptyEntityException) RequestID() string

                                                                                                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                          func (*WAFNonEmptyEntityException) StatusCode

                                                                                                                                                                                                                                                                          func (s *WAFNonEmptyEntityException) StatusCode() int

                                                                                                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                            func (WAFNonEmptyEntityException) String

                                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                                              type WAFNonexistentContainerException

                                                                                                                                                                                                                                                                              type WAFNonexistentContainerException struct {
                                                                                                                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:

                                                                                                                                                                                                                                                                                * You tried to add a Rule to or delete a Rule from a WebACL that doesn't
                                                                                                                                                                                                                                                                                exist.
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule
                                                                                                                                                                                                                                                                                that doesn't exist.
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                * You tried to add an IP address to or delete an IP address from an IPSet
                                                                                                                                                                                                                                                                                that doesn't exist.
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from
                                                                                                                                                                                                                                                                                a ByteMatchSet that doesn't exist.
                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                func (*WAFNonexistentContainerException) Code

                                                                                                                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                                                                                                                  func (*WAFNonexistentContainerException) Error

                                                                                                                                                                                                                                                                                  func (WAFNonexistentContainerException) GoString

                                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                                    func (*WAFNonexistentContainerException) Message

                                                                                                                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                                                                                                                      func (*WAFNonexistentContainerException) OrigErr

                                                                                                                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                        func (*WAFNonexistentContainerException) RequestID

                                                                                                                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                          func (*WAFNonexistentContainerException) StatusCode

                                                                                                                                                                                                                                                                                          func (s *WAFNonexistentContainerException) StatusCode() int

                                                                                                                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                            func (WAFNonexistentContainerException) String

                                                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                                                              type WAFNonexistentItemException

                                                                                                                                                                                                                                                                                              type WAFNonexistentItemException struct {
                                                                                                                                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                The operation failed because the referenced object doesn't exist.

                                                                                                                                                                                                                                                                                                func (*WAFNonexistentItemException) Code

                                                                                                                                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                                                                                                                                  func (*WAFNonexistentItemException) Error

                                                                                                                                                                                                                                                                                                  func (WAFNonexistentItemException) GoString

                                                                                                                                                                                                                                                                                                  func (s WAFNonexistentItemException) GoString() string

                                                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                                                    func (*WAFNonexistentItemException) Message

                                                                                                                                                                                                                                                                                                    func (s *WAFNonexistentItemException) Message() string

                                                                                                                                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                                                                                                                                      func (*WAFNonexistentItemException) OrigErr

                                                                                                                                                                                                                                                                                                      func (s *WAFNonexistentItemException) OrigErr() error

                                                                                                                                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                        func (*WAFNonexistentItemException) RequestID

                                                                                                                                                                                                                                                                                                        func (s *WAFNonexistentItemException) RequestID() string

                                                                                                                                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                          func (*WAFNonexistentItemException) StatusCode

                                                                                                                                                                                                                                                                                                          func (s *WAFNonexistentItemException) StatusCode() int

                                                                                                                                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                            func (WAFNonexistentItemException) String

                                                                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                                                                              type WAFReferencedItemException

                                                                                                                                                                                                                                                                                                              type WAFReferencedItemException struct {
                                                                                                                                                                                                                                                                                                              	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                              	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                The operation failed because you tried to delete an object that is still in use. For example:

                                                                                                                                                                                                                                                                                                                * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                func (*WAFReferencedItemException) Code

                                                                                                                                                                                                                                                                                                                  Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                  func (*WAFReferencedItemException) Error

                                                                                                                                                                                                                                                                                                                  func (WAFReferencedItemException) GoString

                                                                                                                                                                                                                                                                                                                  func (s WAFReferencedItemException) GoString() string

                                                                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                                                                    func (*WAFReferencedItemException) Message

                                                                                                                                                                                                                                                                                                                    func (s *WAFReferencedItemException) Message() string

                                                                                                                                                                                                                                                                                                                      Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                      func (*WAFReferencedItemException) OrigErr

                                                                                                                                                                                                                                                                                                                      func (s *WAFReferencedItemException) OrigErr() error

                                                                                                                                                                                                                                                                                                                        OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                        func (*WAFReferencedItemException) RequestID

                                                                                                                                                                                                                                                                                                                        func (s *WAFReferencedItemException) RequestID() string

                                                                                                                                                                                                                                                                                                                          RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                          func (*WAFReferencedItemException) StatusCode

                                                                                                                                                                                                                                                                                                                          func (s *WAFReferencedItemException) StatusCode() int

                                                                                                                                                                                                                                                                                                                            Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                            func (WAFReferencedItemException) String

                                                                                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                                                                                              type WAFRegional

                                                                                                                                                                                                                                                                                                                              type WAFRegional struct {
                                                                                                                                                                                                                                                                                                                              	*client.Client
                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                WAFRegional provides the API operation methods for making requests to AWS WAF Regional. See this package's package overview docs for details on the service.

                                                                                                                                                                                                                                                                                                                                WAFRegional methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

                                                                                                                                                                                                                                                                                                                                func New

                                                                                                                                                                                                                                                                                                                                func New(p client.ConfigProvider, cfgs ...*aws.Config) *WAFRegional

                                                                                                                                                                                                                                                                                                                                  New creates a new instance of the WAFRegional client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

                                                                                                                                                                                                                                                                                                                                  Example:

                                                                                                                                                                                                                                                                                                                                  mySession := session.Must(session.NewSession())
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  // Create a WAFRegional client from just a session.
                                                                                                                                                                                                                                                                                                                                  svc := wafregional.New(mySession)
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  // Create a WAFRegional client with additional configuration
                                                                                                                                                                                                                                                                                                                                  svc := wafregional.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) AssociateWebACL

                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) AssociateWebACL(input *AssociateWebACLInput) (*AssociateWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                    AssociateWebACL API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                    This is AWS WAF Classic Regional documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                    For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                    Associates a web ACL with a resource, either an application load balancer or Amazon API Gateway stage.

                                                                                                                                                                                                                                                                                                                                    Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                    See the AWS API reference guide for AWS WAF Regional's API operation AssociateWebACL for usage and error information.

                                                                                                                                                                                                                                                                                                                                    Returned Error Types:

                                                                                                                                                                                                                                                                                                                                    * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                    The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                    was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                    * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                    by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                    * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                    The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                    request. For example:
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                       using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                       BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                       IP.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                       BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                       HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                       for Data.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                       * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                       a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                    * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                    The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                    * WAFUnavailableEntityException
                                                                                                                                                                                                                                                                                                                                    The operation failed because the entity referenced is temporarily unavailable.
                                                                                                                                                                                                                                                                                                                                    Retry your request.
                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL

                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) AssociateWebACLRequest

                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) AssociateWebACLRequest(input *AssociateWebACLInput) (req *request.Request, output *AssociateWebACLOutput)

                                                                                                                                                                                                                                                                                                                                      AssociateWebACLRequest generates a "aws/request.Request" representing the client's request for the AssociateWebACL operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                      Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                      See AssociateWebACL for more information on using the AssociateWebACL API call, and error handling.

                                                                                                                                                                                                                                                                                                                                      This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                      // Example sending a request using the AssociateWebACLRequest method.
                                                                                                                                                                                                                                                                                                                                      req, resp := client.AssociateWebACLRequest(params)
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      err := req.Send()
                                                                                                                                                                                                                                                                                                                                      if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                          fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL

                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) AssociateWebACLWithContext

                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) AssociateWebACLWithContext(ctx aws.Context, input *AssociateWebACLInput, opts ...request.Option) (*AssociateWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                        AssociateWebACLWithContext is the same as AssociateWebACL with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                        See AssociateWebACL for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                        The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) CreateByteMatchSet

                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) CreateByteMatchSet(input *waf.CreateByteMatchSetInput) (*waf.CreateByteMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                          CreateByteMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                          This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                          For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                          Creates a ByteMatchSet. You then use UpdateByteMatchSet to identify the part of a web request that you want AWS WAF to inspect, such as the values of the User-Agent header or the query string. For example, you can create a ByteMatchSet that matches any requests with User-Agent headers that contain the string BadBot. You can then configure AWS WAF to reject those requests.

                                                                                                                                                                                                                                                                                                                                          To create and configure a ByteMatchSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                          Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateByteMatchSet request.

                                                                                                                                                                                                                                                                                                                                          Submit a CreateByteMatchSet request.

                                                                                                                                                                                                                                                                                                                                          Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateByteMatchSet request.

                                                                                                                                                                                                                                                                                                                                          Submit an UpdateByteMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for.

                                                                                                                                                                                                                                                                                                                                          For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                          Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                          See the AWS API reference guide for AWS WAF Regional's API operation CreateByteMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                          Returned Error Types:

                                                                                                                                                                                                                                                                                                                                          * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                          The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                          The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                          was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                          The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                          by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                          The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                          request. For example:
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                             using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                             BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                             IP.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                             BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                             HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                             for Data.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                             * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                             a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                          The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                          by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                          * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                          The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                          WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                          see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                          in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSet

                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) CreateByteMatchSetRequest

                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) CreateByteMatchSetRequest(input *waf.CreateByteMatchSetInput) (req *request.Request, output *waf.CreateByteMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                            CreateByteMatchSetRequest generates a "aws/request.Request" representing the client's request for the CreateByteMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                            Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                            See CreateByteMatchSet for more information on using the CreateByteMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                            This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                            // Example sending a request using the CreateByteMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                            req, resp := client.CreateByteMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            err := req.Send()
                                                                                                                                                                                                                                                                                                                                            if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSet

                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) CreateByteMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) CreateByteMatchSetWithContext(ctx aws.Context, input *waf.CreateByteMatchSetInput, opts ...request.Option) (*waf.CreateByteMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                              CreateByteMatchSetWithContext is the same as CreateByteMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                              See CreateByteMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                              The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) CreateGeoMatchSet

                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) CreateGeoMatchSet(input *waf.CreateGeoMatchSetInput) (*waf.CreateGeoMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                CreateGeoMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                Creates an GeoMatchSet, which you use to specify which web requests you want to allow or block based on the country that the requests originate from. For example, if you're receiving a lot of requests from one or more countries and you want to block the requests, you can create an GeoMatchSet that contains those countries and then configure AWS WAF to block the requests.

                                                                                                                                                                                                                                                                                                                                                To create and configure a GeoMatchSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateGeoMatchSet request.

                                                                                                                                                                                                                                                                                                                                                Submit a CreateGeoMatchSet request.

                                                                                                                                                                                                                                                                                                                                                Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateGeoMatchSet request.

                                                                                                                                                                                                                                                                                                                                                Submit an UpdateGeoMatchSetSet request to specify the countries that you want AWS WAF to watch for.

                                                                                                                                                                                                                                                                                                                                                For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                See the AWS API reference guide for AWS WAF Regional's API operation CreateGeoMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                request. For example:
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                   using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                   BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                   IP.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                   BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                   HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                   for Data.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                   * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                   a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSet

                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) CreateGeoMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) CreateGeoMatchSetRequest(input *waf.CreateGeoMatchSetInput) (req *request.Request, output *waf.CreateGeoMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                  CreateGeoMatchSetRequest generates a "aws/request.Request" representing the client's request for the CreateGeoMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                  See CreateGeoMatchSet for more information on using the CreateGeoMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the CreateGeoMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                  req, resp := client.CreateGeoMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSet

                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) CreateGeoMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) CreateGeoMatchSetWithContext(ctx aws.Context, input *waf.CreateGeoMatchSetInput, opts ...request.Option) (*waf.CreateGeoMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                    CreateGeoMatchSetWithContext is the same as CreateGeoMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                    See CreateGeoMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) CreateIPSet

                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) CreateIPSet(input *waf.CreateIPSetInput) (*waf.CreateIPSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                      CreateIPSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                      This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                      For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                      Creates an IPSet, which you use to specify which web requests that you want to allow or block based on the IP addresses that the requests originate from. For example, if you're receiving a lot of requests from one or more individual IP addresses or one or more ranges of IP addresses and you want to block the requests, you can create an IPSet that contains those IP addresses and then configure AWS WAF to block the requests.

                                                                                                                                                                                                                                                                                                                                                      To create and configure an IPSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                      Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateIPSet request.

                                                                                                                                                                                                                                                                                                                                                      Submit a CreateIPSet request.

                                                                                                                                                                                                                                                                                                                                                      Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateIPSet request.

                                                                                                                                                                                                                                                                                                                                                      Submit an UpdateIPSet request to specify the IP addresses that you want AWS WAF to watch for.

                                                                                                                                                                                                                                                                                                                                                      For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                      Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                      See the AWS API reference guide for AWS WAF Regional's API operation CreateIPSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                      Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                      * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                      by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                      The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                      was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                      by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                      The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                      The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                      request. For example:
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                         using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                         BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                         IP.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                         BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                         HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                         for Data.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                         * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                         a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                      The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                      WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                      see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                      in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSet

                                                                                                                                                                                                                                                                                                                                                      Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                        To create an IP set

                                                                                                                                                                                                                                                                                                                                                        The following example creates an IP match set named MyIPSetFriendlyName.

                                                                                                                                                                                                                                                                                                                                                        Output:
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) CreateIPSetRequest

                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) CreateIPSetRequest(input *waf.CreateIPSetInput) (req *request.Request, output *waf.CreateIPSetOutput)

                                                                                                                                                                                                                                                                                                                                                          CreateIPSetRequest generates a "aws/request.Request" representing the client's request for the CreateIPSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                          Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                          See CreateIPSet for more information on using the CreateIPSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                          This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                          // Example sending a request using the CreateIPSetRequest method.
                                                                                                                                                                                                                                                                                                                                                          req, resp := client.CreateIPSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          err := req.Send()
                                                                                                                                                                                                                                                                                                                                                          if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                              fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSet

                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) CreateIPSetWithContext

                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) CreateIPSetWithContext(ctx aws.Context, input *waf.CreateIPSetInput, opts ...request.Option) (*waf.CreateIPSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                            CreateIPSetWithContext is the same as CreateIPSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                            See CreateIPSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                            The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) CreateRateBasedRule

                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) CreateRateBasedRule(input *waf.CreateRateBasedRuleInput) (*waf.CreateRateBasedRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                              CreateRateBasedRule API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                              This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                              For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                              Creates a RateBasedRule. The RateBasedRule contains a RateLimit, which specifies the maximum number of requests that AWS WAF allows from a specified IP address in a five-minute period. The RateBasedRule also contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to count or block if these requests exceed the RateLimit.

                                                                                                                                                                                                                                                                                                                                                              If you add more than one predicate to a RateBasedRule, a request not only must exceed the RateLimit, but it also must match all the conditions to be counted or blocked. For example, suppose you add the following to a RateBasedRule:

                                                                                                                                                                                                                                                                                                                                                              * An IPSet that matches the IP address 192.0.2.44/32
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * A ByteMatchSet that matches BadBot in the User-Agent header
                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                              Further, you specify a RateLimit of 1,000.

                                                                                                                                                                                                                                                                                                                                                              You then add the RateBasedRule to a WebACL and specify that you want to block requests that meet the conditions in the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot. Further, requests that match these two conditions must be received at a rate of more than 1,000 requests every five minutes. If both conditions are met and the rate is exceeded, AWS WAF blocks the requests. If the rate drops below 1,000 for a five-minute period, AWS WAF no longer blocks the requests.

                                                                                                                                                                                                                                                                                                                                                              As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a RateBasedRule:

                                                                                                                                                                                                                                                                                                                                                              * A ByteMatchSet with FieldToMatch of URI
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * A PositionalConstraint of STARTS_WITH
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * A TargetString of login
                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                              Further, you specify a RateLimit of 1,000.

                                                                                                                                                                                                                                                                                                                                                              By adding this RateBasedRule to a WebACL, you could limit requests to your login page without affecting the rest of your site.

                                                                                                                                                                                                                                                                                                                                                              To create and configure a RateBasedRule, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                              Create and update the predicates that you want to include in the rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet.

                                                                                                                                                                                                                                                                                                                                                              Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request.

                                                                                                                                                                                                                                                                                                                                                              Submit a CreateRateBasedRule request.

                                                                                                                                                                                                                                                                                                                                                              Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request.

                                                                                                                                                                                                                                                                                                                                                              Submit an UpdateRateBasedRule request to specify the predicates that you want to include in the rule.

                                                                                                                                                                                                                                                                                                                                                              Create and update a WebACL that contains the RateBasedRule. For more information, see CreateWebACL.

                                                                                                                                                                                                                                                                                                                                                              For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                              Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                              See the AWS API reference guide for AWS WAF Regional's API operation CreateRateBasedRule for usage and error information.

                                                                                                                                                                                                                                                                                                                                                              Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                              * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                              by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                              The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                              was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                              The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                              The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                              request. For example:
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                 using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                 BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                 IP.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                 BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                 HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                 for Data.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                 * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                 a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                              The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                              WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                              see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                              in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * WAFTagOperationException
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * WAFTagOperationInternalErrorException
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              * WAFBadRequestException
                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRule

                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) CreateRateBasedRuleRequest

                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) CreateRateBasedRuleRequest(input *waf.CreateRateBasedRuleInput) (req *request.Request, output *waf.CreateRateBasedRuleOutput)

                                                                                                                                                                                                                                                                                                                                                                CreateRateBasedRuleRequest generates a "aws/request.Request" representing the client's request for the CreateRateBasedRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                See CreateRateBasedRule for more information on using the CreateRateBasedRule API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                // Example sending a request using the CreateRateBasedRuleRequest method.
                                                                                                                                                                                                                                                                                                                                                                req, resp := client.CreateRateBasedRuleRequest(params)
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                    fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRule

                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) CreateRateBasedRuleWithContext

                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) CreateRateBasedRuleWithContext(ctx aws.Context, input *waf.CreateRateBasedRuleInput, opts ...request.Option) (*waf.CreateRateBasedRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                  CreateRateBasedRuleWithContext is the same as CreateRateBasedRule with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                  See CreateRateBasedRule for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                  The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) CreateRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) CreateRegexMatchSet(input *waf.CreateRegexMatchSetInput) (*waf.CreateRegexMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                    CreateRegexMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                    This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                    For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                    Creates a RegexMatchSet. You then use UpdateRegexMatchSet to identify the part of a web request that you want AWS WAF to inspect, such as the values of the User-Agent header or the query string. For example, you can create a RegexMatchSet that contains a RegexMatchTuple that looks for any requests with User-Agent headers that match a RegexPatternSet with pattern B[a@]dB[o0]t. You can then configure AWS WAF to reject those requests.

                                                                                                                                                                                                                                                                                                                                                                    To create and configure a RegexMatchSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                    Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRegexMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                    Submit a CreateRegexMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                    Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRegexMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                    Submit an UpdateRegexMatchSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value, using a RegexPatternSet, that you want AWS WAF to watch for.

                                                                                                                                                                                                                                                                                                                                                                    For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                                    Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                    See the AWS API reference guide for AWS WAF Regional's API operation CreateRegexMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                    Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                    * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                    by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                    The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                    was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                                    The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                                    The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                                    WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                                    see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                                    in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) CreateRegexMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) CreateRegexMatchSetRequest(input *waf.CreateRegexMatchSetInput) (req *request.Request, output *waf.CreateRegexMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                      CreateRegexMatchSetRequest generates a "aws/request.Request" representing the client's request for the CreateRegexMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                      Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                      See CreateRegexMatchSet for more information on using the CreateRegexMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                      This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                      // Example sending a request using the CreateRegexMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                      req, resp := client.CreateRegexMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                      err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                      if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                          fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) CreateRegexMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) CreateRegexMatchSetWithContext(ctx aws.Context, input *waf.CreateRegexMatchSetInput, opts ...request.Option) (*waf.CreateRegexMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                        CreateRegexMatchSetWithContext is the same as CreateRegexMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                        See CreateRegexMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                        The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) CreateRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) CreateRegexPatternSet(input *waf.CreateRegexPatternSetInput) (*waf.CreateRegexPatternSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                          CreateRegexPatternSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                          This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                          For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                          Creates a RegexPatternSet. You then use UpdateRegexPatternSet to specify the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t. You can then configure AWS WAF to reject those requests.

                                                                                                                                                                                                                                                                                                                                                                          To create and configure a RegexPatternSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                          Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRegexPatternSet request.

                                                                                                                                                                                                                                                                                                                                                                          Submit a CreateRegexPatternSet request.

                                                                                                                                                                                                                                                                                                                                                                          Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRegexPatternSet request.

                                                                                                                                                                                                                                                                                                                                                                          Submit an UpdateRegexPatternSet request to specify the string that you want AWS WAF to watch for.

                                                                                                                                                                                                                                                                                                                                                                          For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                                          Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                          See the AWS API reference guide for AWS WAF Regional's API operation CreateRegexPatternSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                          Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                          * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                          The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                          by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                          The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                          was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                                          The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                                          The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                                          WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                                          see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                                          in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) CreateRegexPatternSetRequest

                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) CreateRegexPatternSetRequest(input *waf.CreateRegexPatternSetInput) (req *request.Request, output *waf.CreateRegexPatternSetOutput)

                                                                                                                                                                                                                                                                                                                                                                            CreateRegexPatternSetRequest generates a "aws/request.Request" representing the client's request for the CreateRegexPatternSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                            Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                            See CreateRegexPatternSet for more information on using the CreateRegexPatternSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                            This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                            // Example sending a request using the CreateRegexPatternSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                            req, resp := client.CreateRegexPatternSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                            if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) CreateRegexPatternSetWithContext

                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) CreateRegexPatternSetWithContext(ctx aws.Context, input *waf.CreateRegexPatternSetInput, opts ...request.Option) (*waf.CreateRegexPatternSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                              CreateRegexPatternSetWithContext is the same as CreateRegexPatternSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                              See CreateRegexPatternSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                              The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) CreateRule

                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) CreateRule(input *waf.CreateRuleInput) (*waf.CreateRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                CreateRule API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                Creates a Rule, which contains the IPSet objects, ByteMatchSet objects, and other predicates that identify the requests that you want to block. If you add more than one predicate to a Rule, a request must match all of the specifications to be allowed or blocked. For example, suppose that you add the following to a Rule:

                                                                                                                                                                                                                                                                                                                                                                                * An IPSet that matches the IP address 192.0.2.44/32
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                * A ByteMatchSet that matches BadBot in the User-Agent header
                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                You then add the Rule to a WebACL and specify that you want to blocks requests that satisfy the Rule. For a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent header in the request must contain the value BadBot.

                                                                                                                                                                                                                                                                                                                                                                                To create and configure a Rule, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                Create and update the predicates that you want to include in the Rule. For more information, see CreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRule request.

                                                                                                                                                                                                                                                                                                                                                                                Submit a CreateRule request.

                                                                                                                                                                                                                                                                                                                                                                                Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRule request.

                                                                                                                                                                                                                                                                                                                                                                                Submit an UpdateRule request to specify the predicates that you want to include in the Rule.

                                                                                                                                                                                                                                                                                                                                                                                Create and update a WebACL that contains the Rule. For more information, see CreateWebACL.

                                                                                                                                                                                                                                                                                                                                                                                For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                                                Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                See the AWS API reference guide for AWS WAF Regional's API operation CreateRule for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                                                The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                                                request. For example:
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                                   using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                   BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                                   IP.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                   BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                                   HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                                   for Data.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                   * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                                   a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                                                The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                                                WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                                                see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                                                in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                * WAFTagOperationException
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                * WAFTagOperationInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                * WAFBadRequestException
                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRule

                                                                                                                                                                                                                                                                                                                                                                                Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                  To create a rule

                                                                                                                                                                                                                                                                                                                                                                                  The following example creates a rule named WAFByteHeaderRule.

                                                                                                                                                                                                                                                                                                                                                                                  Output:
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) CreateRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) CreateRuleGroup(input *waf.CreateRuleGroupInput) (*waf.CreateRuleGroupOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                    CreateRuleGroup API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                    This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                    For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                    Creates a RuleGroup. A rule group is a collection of predefined rules that you add to a web ACL. You use UpdateRuleGroup to add rules to the rule group.

                                                                                                                                                                                                                                                                                                                                                                                    Rule groups are subject to the following limits:

                                                                                                                                                                                                                                                                                                                                                                                    * Three rule groups per account. You can request an increase to this limit
                                                                                                                                                                                                                                                                                                                                                                                    by contacting customer support.
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    * One rule group per web ACL.
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    * Ten rules per rule group.
                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                    For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                                                    Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                    See the AWS API reference guide for AWS WAF Regional's API operation CreateRuleGroup for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                    Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                    * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                    by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                    was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                                                    The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                                                    The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                                                    WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                                                    see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                                                    in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    * WAFTagOperationException
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    * WAFTagOperationInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    * WAFBadRequestException
                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) CreateRuleGroupRequest

                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) CreateRuleGroupRequest(input *waf.CreateRuleGroupInput) (req *request.Request, output *waf.CreateRuleGroupOutput)

                                                                                                                                                                                                                                                                                                                                                                                      CreateRuleGroupRequest generates a "aws/request.Request" representing the client's request for the CreateRuleGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                      Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                      See CreateRuleGroup for more information on using the CreateRuleGroup API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                      This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                      // Example sending a request using the CreateRuleGroupRequest method.
                                                                                                                                                                                                                                                                                                                                                                                      req, resp := client.CreateRuleGroupRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                      err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                      if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                          fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) CreateRuleGroupWithContext

                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) CreateRuleGroupWithContext(ctx aws.Context, input *waf.CreateRuleGroupInput, opts ...request.Option) (*waf.CreateRuleGroupOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                        CreateRuleGroupWithContext is the same as CreateRuleGroup with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                        See CreateRuleGroup for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                        The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) CreateRuleRequest

                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) CreateRuleRequest(input *waf.CreateRuleInput) (req *request.Request, output *waf.CreateRuleOutput)

                                                                                                                                                                                                                                                                                                                                                                                          CreateRuleRequest generates a "aws/request.Request" representing the client's request for the CreateRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                          Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                          See CreateRule for more information on using the CreateRule API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                          This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                          // Example sending a request using the CreateRuleRequest method.
                                                                                                                                                                                                                                                                                                                                                                                          req, resp := client.CreateRuleRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                          if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                              fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRule

                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) CreateRuleWithContext

                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) CreateRuleWithContext(ctx aws.Context, input *waf.CreateRuleInput, opts ...request.Option) (*waf.CreateRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                            CreateRuleWithContext is the same as CreateRule with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                            See CreateRule for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                            The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) CreateSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) CreateSizeConstraintSet(input *waf.CreateSizeConstraintSetInput) (*waf.CreateSizeConstraintSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                              CreateSizeConstraintSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                              This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                              For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                              Creates a SizeConstraintSet. You then use UpdateSizeConstraintSet to identify the part of a web request that you want AWS WAF to check for length, such as the length of the User-Agent header or the length of the query string. For example, you can create a SizeConstraintSet that matches any requests that have a query string that is longer than 100 bytes. You can then configure AWS WAF to reject those requests.

                                                                                                                                                                                                                                                                                                                                                                                              To create and configure a SizeConstraintSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                              Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSizeConstraintSet request.

                                                                                                                                                                                                                                                                                                                                                                                              Submit a CreateSizeConstraintSet request.

                                                                                                                                                                                                                                                                                                                                                                                              Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSizeConstraintSet request.

                                                                                                                                                                                                                                                                                                                                                                                              Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for.

                                                                                                                                                                                                                                                                                                                                                                                              For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                                                              Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                              See the AWS API reference guide for AWS WAF Regional's API operation CreateSizeConstraintSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                              Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                              * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                              by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                              was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                              by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                                                              The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                                                              request. For example:
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                                                 using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                 BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                                                 IP.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                 BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                                                 HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                                                 for Data.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                 * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                                                 a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                                                              The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                                                              WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                                                              see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                                                              in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                              Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                To create a size constraint

                                                                                                                                                                                                                                                                                                                                                                                                The following example creates size constraint set named MySampleSizeConstraintSet.

                                                                                                                                                                                                                                                                                                                                                                                                Output:
                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) CreateSizeConstraintSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) CreateSizeConstraintSetRequest(input *waf.CreateSizeConstraintSetInput) (req *request.Request, output *waf.CreateSizeConstraintSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                  CreateSizeConstraintSetRequest generates a "aws/request.Request" representing the client's request for the CreateSizeConstraintSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                  See CreateSizeConstraintSet for more information on using the CreateSizeConstraintSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the CreateSizeConstraintSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                  req, resp := client.CreateSizeConstraintSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) CreateSizeConstraintSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) CreateSizeConstraintSetWithContext(ctx aws.Context, input *waf.CreateSizeConstraintSetInput, opts ...request.Option) (*waf.CreateSizeConstraintSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                    CreateSizeConstraintSetWithContext is the same as CreateSizeConstraintSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                    See CreateSizeConstraintSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) CreateSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                      CreateSqlInjectionMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                      This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                      For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                      Creates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.

                                                                                                                                                                                                                                                                                                                                                                                                      To create and configure a SqlInjectionMatchSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                      Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateSqlInjectionMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                      Submit a CreateSqlInjectionMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                      Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateSqlInjectionMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                      Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to allow, block, or count malicious SQL code.

                                                                                                                                                                                                                                                                                                                                                                                                      For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                                                                      Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                      See the AWS API reference guide for AWS WAF Regional's API operation CreateSqlInjectionMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                      Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                      * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                                                                      The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                      was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                      by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                                                                      request. For example:
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                                                         using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                         BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                                                         IP.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                         BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                                                         HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                                                         for Data.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                         * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                                                         a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                      * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                      by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                      * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                                                                      The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                                                                      WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                                                                      see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                                                                      in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                      Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                        To create a SQL injection match set

                                                                                                                                                                                                                                                                                                                                                                                                        The following example creates a SQL injection match set named MySQLInjectionMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                        Output:
                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) CreateSqlInjectionMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) CreateSqlInjectionMatchSetRequest(input *waf.CreateSqlInjectionMatchSetInput) (req *request.Request, output *waf.CreateSqlInjectionMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                          CreateSqlInjectionMatchSetRequest generates a "aws/request.Request" representing the client's request for the CreateSqlInjectionMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                          Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                          See CreateSqlInjectionMatchSet for more information on using the CreateSqlInjectionMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                          This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                          // Example sending a request using the CreateSqlInjectionMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                          req, resp := client.CreateSqlInjectionMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                          err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                          if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                              fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) CreateSqlInjectionMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) CreateSqlInjectionMatchSetWithContext(ctx aws.Context, input *waf.CreateSqlInjectionMatchSetInput, opts ...request.Option) (*waf.CreateSqlInjectionMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                            CreateSqlInjectionMatchSetWithContext is the same as CreateSqlInjectionMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                            See CreateSqlInjectionMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                            The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) CreateWebACL

                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) CreateWebACL(input *waf.CreateWebACLInput) (*waf.CreateWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                              CreateWebACL API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                              This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                              For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                              Creates a WebACL, which contains the Rules that identify the CloudFront web requests that you want to allow, block, or count. AWS WAF evaluates Rules in order based on the value of Priority for each Rule.

                                                                                                                                                                                                                                                                                                                                                                                                              You also specify a default action, either ALLOW or BLOCK. If a web request doesn't match any of the Rules in a WebACL, AWS WAF responds to the request with the default action.

                                                                                                                                                                                                                                                                                                                                                                                                              To create and configure a WebACL, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                              Create and update the ByteMatchSet objects and other predicates that you want to include in Rules. For more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, CreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                              Create and update the Rules that you want to include in the WebACL. For more information, see CreateRule and UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                              Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateWebACL request.

                                                                                                                                                                                                                                                                                                                                                                                                              Submit a CreateWebACL request.

                                                                                                                                                                                                                                                                                                                                                                                                              Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateWebACL request.

                                                                                                                                                                                                                                                                                                                                                                                                              Submit an UpdateWebACL request to specify the Rules that you want to include in the WebACL, to specify the default action, and to associate the WebACL with a CloudFront distribution.

                                                                                                                                                                                                                                                                                                                                                                                                              For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                                                                              Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                              See the AWS API reference guide for AWS WAF Regional's API operation CreateWebACL for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                              Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                              * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                              by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                              was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                              by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                                                                              The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                                                                              request. For example:
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                                                                 using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                 BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                                                                 IP.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                 BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                                                                 HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                                                                 for Data.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                 * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                                                                 a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                                                                              The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                                                                              WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                                                                              see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                                                                              in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              * WAFTagOperationException
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              * WAFTagOperationInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              * WAFBadRequestException
                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACL

                                                                                                                                                                                                                                                                                                                                                                                                              Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                To create a web ACL

                                                                                                                                                                                                                                                                                                                                                                                                                The following example creates a web ACL named CreateExample.

                                                                                                                                                                                                                                                                                                                                                                                                                Output:
                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) CreateWebACLMigrationStack

                                                                                                                                                                                                                                                                                                                                                                                                                  CreateWebACLMigrationStack API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                  Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket. Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2. Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.

                                                                                                                                                                                                                                                                                                                                                                                                                  This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF. For the full procedure, including caveats and manual steps to complete the migration and switch over to the new web ACL, see Migrating your AWS WAF Classic resources to AWS WAF (https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html) in the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html).

                                                                                                                                                                                                                                                                                                                                                                                                                  Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                  See the AWS API reference guide for AWS WAF Regional's API operation CreateWebACLMigrationStack for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                  Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                  was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                                                                                  request. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                                                                     using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                     BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                                                                     IP.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                     BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                                                                     HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                                                                     for Data.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                                                                     a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFInvalidOperationException
                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because there was nothing to do. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to remove a Rule from a WebACL, but the Rule isn't in the
                                                                                                                                                                                                                                                                                                                                                                                                                     specified WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to remove an IP address from an IPSet, but the IP address
                                                                                                                                                                                                                                                                                                                                                                                                                     isn't in the specified IPSet.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                     isn't in the specified WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to add a Rule to a WebACL, but the Rule already exists in
                                                                                                                                                                                                                                                                                                                                                                                                                     the specified WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                     already exists in the specified WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFEntityMigrationException
                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed due to a problem with the migration. The failure cause
                                                                                                                                                                                                                                                                                                                                                                                                                  is provided in the exception, in the MigrationErrorType:
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the
                                                                                                                                                                                                                                                                                                                                                                                                                     IgnoreUnsupportedType is not set to true.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * ENTITY_NOT_FOUND - The web ACL doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject
                                                                                                                                                                                                                                                                                                                                                                                                                     action to the specified Amazon S3 bucket.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to
                                                                                                                                                                                                                                                                                                                                                                                                                     perform the PutObject action in the bucket.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as
                                                                                                                                                                                                                                                                                                                                                                                                                     the web ACL.
                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                     * S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3
                                                                                                                                                                                                                                                                                                                                                                                                                     bucket for another reason.
                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStack

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) CreateWebACLMigrationStackRequest

                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) CreateWebACLMigrationStackRequest(input *waf.CreateWebACLMigrationStackInput) (req *request.Request, output *waf.CreateWebACLMigrationStackOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                    CreateWebACLMigrationStackRequest generates a "aws/request.Request" representing the client's request for the CreateWebACLMigrationStack operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                    Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                    See CreateWebACLMigrationStack for more information on using the CreateWebACLMigrationStack API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                    This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                    // Example sending a request using the CreateWebACLMigrationStackRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                    req, resp := client.CreateWebACLMigrationStackRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                    err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                    if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                        fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStack

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) CreateWebACLMigrationStackWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) CreateWebACLMigrationStackWithContext(ctx aws.Context, input *waf.CreateWebACLMigrationStackInput, opts ...request.Option) (*waf.CreateWebACLMigrationStackOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                      CreateWebACLMigrationStackWithContext is the same as CreateWebACLMigrationStack with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                      See CreateWebACLMigrationStack for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                      The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) CreateWebACLRequest

                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) CreateWebACLRequest(input *waf.CreateWebACLInput) (req *request.Request, output *waf.CreateWebACLOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                        CreateWebACLRequest generates a "aws/request.Request" representing the client's request for the CreateWebACL operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                        Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                        See CreateWebACL for more information on using the CreateWebACL API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                        This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                        // Example sending a request using the CreateWebACLRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                        req, resp := client.CreateWebACLRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                        err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                        if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                            fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) CreateWebACLWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) CreateWebACLWithContext(ctx aws.Context, input *waf.CreateWebACLInput, opts ...request.Option) (*waf.CreateWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                          CreateWebACLWithContext is the same as CreateWebACL with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                          See CreateWebACL for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                          The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) CreateXssMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) CreateXssMatchSet(input *waf.CreateXssMatchSetInput) (*waf.CreateXssMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                            CreateXssMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                            This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                            For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                            Creates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.

                                                                                                                                                                                                                                                                                                                                                                                                                            To create and configure an XssMatchSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                            Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateXssMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                            Submit a CreateXssMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                            Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateXssMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                            Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to allow, block, or count cross-site scripting attacks.

                                                                                                                                                                                                                                                                                                                                                                                                                            For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/).

                                                                                                                                                                                                                                                                                                                                                                                                                            Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                            See the AWS API reference guide for AWS WAF Regional's API operation CreateXssMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                            Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFDisallowedNameException
                                                                                                                                                                                                                                                                                                                                                                                                                            The name specified is invalid.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                            was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                            by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                                                                                            request. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                                                                               using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                               BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                                                                               IP.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                               BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                                                                               HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                                                                               for Data.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                               * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                                                                               a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                            by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFLimitsExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                            The operation exceeds a resource limit, for example, the maximum number of
                                                                                                                                                                                                                                                                                                                                                                                                                            WebACL objects that you can create for an AWS account. For more information,
                                                                                                                                                                                                                                                                                                                                                                                                                            see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html)
                                                                                                                                                                                                                                                                                                                                                                                                                            in the AWS WAF Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                            Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                              To create an XSS match set

                                                                                                                                                                                                                                                                                                                                                                                                                              The following example creates an XSS match set named MySampleXssMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                              Output:
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) CreateXssMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) CreateXssMatchSetRequest(input *waf.CreateXssMatchSetInput) (req *request.Request, output *waf.CreateXssMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                CreateXssMatchSetRequest generates a "aws/request.Request" representing the client's request for the CreateXssMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                See CreateXssMatchSet for more information on using the CreateXssMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                // Example sending a request using the CreateXssMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                req, resp := client.CreateXssMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                    fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) CreateXssMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) CreateXssMatchSetWithContext(ctx aws.Context, input *waf.CreateXssMatchSetInput, opts ...request.Option) (*waf.CreateXssMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                  CreateXssMatchSetWithContext is the same as CreateXssMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                  See CreateXssMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                  The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) DeleteByteMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) DeleteByteMatchSet(input *waf.DeleteByteMatchSetInput) (*waf.DeleteByteMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                    DeleteByteMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                    This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                    For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                    Permanently deletes a ByteMatchSet. You can't delete a ByteMatchSet if it's still used in any Rules or if it still includes any ByteMatchTuple objects (any filters).

                                                                                                                                                                                                                                                                                                                                                                                                                                    If you just want to remove a ByteMatchSet from a Rule, use UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                    To permanently delete a ByteMatchSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                    Update the ByteMatchSet to remove filters, if any. For more information, see UpdateByteMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                    Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteByteMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                    Submit a DeleteByteMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                    See the AWS API reference guide for AWS WAF Regional's API operation DeleteByteMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                    Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                    was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                    by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                    in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                       * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                       * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                    by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                    For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                       * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                       * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                       objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                       * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                       objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                       * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                    Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                      To delete a byte match set

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

                                                                                                                                                                                                                                                                                                                                                                                                                                      Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) DeleteByteMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) DeleteByteMatchSetRequest(input *waf.DeleteByteMatchSetInput) (req *request.Request, output *waf.DeleteByteMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                        DeleteByteMatchSetRequest generates a "aws/request.Request" representing the client's request for the DeleteByteMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                        Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                        See DeleteByteMatchSet for more information on using the DeleteByteMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                        This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                        // Example sending a request using the DeleteByteMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                        req, resp := client.DeleteByteMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                        if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                            fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) DeleteByteMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) DeleteByteMatchSetWithContext(ctx aws.Context, input *waf.DeleteByteMatchSetInput, opts ...request.Option) (*waf.DeleteByteMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                          DeleteByteMatchSetWithContext is the same as DeleteByteMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                          See DeleteByteMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                          The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) DeleteGeoMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) DeleteGeoMatchSet(input *waf.DeleteGeoMatchSetInput) (*waf.DeleteGeoMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                            DeleteGeoMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                            This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                            For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                            Permanently deletes a GeoMatchSet. You can't delete a GeoMatchSet if it's still used in any Rules or if it still includes any countries.

                                                                                                                                                                                                                                                                                                                                                                                                                                            If you just want to remove a GeoMatchSet from a Rule, use UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                            To permanently delete a GeoMatchSet from AWS WAF, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                            Update the GeoMatchSet to remove any countries. For more information, see UpdateGeoMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                            Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteGeoMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                            Submit a DeleteGeoMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                            See the AWS API reference guide for AWS WAF Regional's API operation DeleteGeoMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                            Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                            by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                            was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                            by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                            in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                            For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                               objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                               objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) DeleteGeoMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) DeleteGeoMatchSetRequest(input *waf.DeleteGeoMatchSetInput) (req *request.Request, output *waf.DeleteGeoMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                              DeleteGeoMatchSetRequest generates a "aws/request.Request" representing the client's request for the DeleteGeoMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                              See DeleteGeoMatchSet for more information on using the DeleteGeoMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                              This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                              // Example sending a request using the DeleteGeoMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                              req, resp := client.DeleteGeoMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                              err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                              if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                  fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) DeleteGeoMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) DeleteGeoMatchSetWithContext(ctx aws.Context, input *waf.DeleteGeoMatchSetInput, opts ...request.Option) (*waf.DeleteGeoMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                DeleteGeoMatchSetWithContext is the same as DeleteGeoMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                See DeleteGeoMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) DeleteIPSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) DeleteIPSet(input *waf.DeleteIPSetInput) (*waf.DeleteIPSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                  DeleteIPSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Permanently deletes an IPSet. You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  If you just want to remove an IPSet from a Rule, use UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  To permanently delete an IPSet from AWS WAF, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Update the IPSet to remove IP address ranges, if any. For more information, see UpdateIPSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteIPSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Submit a DeleteIPSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  See the AWS API reference guide for AWS WAF Regional's API operation DeleteIPSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                  by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                  was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                  by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                  in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                     objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                     objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                    To delete an IP set

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The following example deletes an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) DeleteIPSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) DeleteIPSetRequest(input *waf.DeleteIPSetInput) (req *request.Request, output *waf.DeleteIPSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      DeleteIPSetRequest generates a "aws/request.Request" representing the client's request for the DeleteIPSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      See DeleteIPSet for more information on using the DeleteIPSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      // Example sending a request using the DeleteIPSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      req, resp := client.DeleteIPSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                      err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                      if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                          fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) DeleteIPSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) DeleteIPSetWithContext(ctx aws.Context, input *waf.DeleteIPSetInput, opts ...request.Option) (*waf.DeleteIPSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                        DeleteIPSetWithContext is the same as DeleteIPSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        See DeleteIPSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) DeleteLoggingConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                                          DeleteLoggingConfiguration API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Permanently deletes the LoggingConfiguration from the specified web ACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          See the AWS API reference guide for AWS WAF Regional's API operation DeleteLoggingConfiguration for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                          was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                          by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteLoggingConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) DeleteLoggingConfigurationRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) DeleteLoggingConfigurationRequest(input *waf.DeleteLoggingConfigurationInput) (req *request.Request, output *waf.DeleteLoggingConfigurationOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                            DeleteLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteLoggingConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            See DeleteLoggingConfiguration for more information on using the DeleteLoggingConfiguration API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Example sending a request using the DeleteLoggingConfigurationRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                            req, resp := client.DeleteLoggingConfigurationRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                            err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteLoggingConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) DeleteLoggingConfigurationWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) DeleteLoggingConfigurationWithContext(ctx aws.Context, input *waf.DeleteLoggingConfigurationInput, opts ...request.Option) (*waf.DeleteLoggingConfigurationOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              DeleteLoggingConfigurationWithContext is the same as DeleteLoggingConfiguration with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              See DeleteLoggingConfiguration for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) DeletePermissionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) DeletePermissionPolicy(input *waf.DeletePermissionPolicyInput) (*waf.DeletePermissionPolicyOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                DeletePermissionPolicy API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Permanently deletes an IAM policy from the specified RuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                The user making the request must be the owner of the RuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                See the AWS API reference guide for AWS WAF Regional's API operation DeletePermissionPolicy for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeletePermissionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) DeletePermissionPolicyRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) DeletePermissionPolicyRequest(input *waf.DeletePermissionPolicyInput) (req *request.Request, output *waf.DeletePermissionPolicyOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DeletePermissionPolicyRequest generates a "aws/request.Request" representing the client's request for the DeletePermissionPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See DeletePermissionPolicy for more information on using the DeletePermissionPolicy API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the DeletePermissionPolicyRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  req, resp := client.DeletePermissionPolicyRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeletePermissionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) DeletePermissionPolicyWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) DeletePermissionPolicyWithContext(ctx aws.Context, input *waf.DeletePermissionPolicyInput, opts ...request.Option) (*waf.DeletePermissionPolicyOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DeletePermissionPolicyWithContext is the same as DeletePermissionPolicy with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See DeletePermissionPolicy for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) DeleteRateBasedRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) DeleteRateBasedRule(input *waf.DeleteRateBasedRuleInput) (*waf.DeleteRateBasedRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DeleteRateBasedRule API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Permanently deletes a RateBasedRule. You can't delete a rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      If you just want to remove a rule from a WebACL, use UpdateWebACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To permanently delete a RateBasedRule from AWS WAF, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Update the RateBasedRule to remove predicates, if any. For more information, see UpdateRateBasedRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRateBasedRule request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Submit a DeleteRateBasedRule request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See the AWS API reference guide for AWS WAF Regional's API operation DeleteRateBasedRule for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFTagOperationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFTagOperationInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) DeleteRateBasedRuleRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) DeleteRateBasedRuleRequest(input *waf.DeleteRateBasedRuleInput) (req *request.Request, output *waf.DeleteRateBasedRuleOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DeleteRateBasedRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteRateBasedRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See DeleteRateBasedRule for more information on using the DeleteRateBasedRule API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Example sending a request using the DeleteRateBasedRuleRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        req, resp := client.DeleteRateBasedRuleRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) DeleteRateBasedRuleWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) DeleteRateBasedRuleWithContext(ctx aws.Context, input *waf.DeleteRateBasedRuleInput, opts ...request.Option) (*waf.DeleteRateBasedRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DeleteRateBasedRuleWithContext is the same as DeleteRateBasedRule with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See DeleteRateBasedRule for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) DeleteRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) DeleteRegexMatchSet(input *waf.DeleteRegexMatchSetInput) (*waf.DeleteRegexMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DeleteRegexMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Permanently deletes a RegexMatchSet. You can't delete a RegexMatchSet if it's still used in any Rules or if it still includes any RegexMatchTuples objects (any filters).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            If you just want to remove a RegexMatchSet from a Rule, use UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To permanently delete a RegexMatchSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Update the RegexMatchSet to remove filters, if any. For more information, see UpdateRegexMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRegexMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Submit a DeleteRegexMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See the AWS API reference guide for AWS WAF Regional's API operation DeleteRegexMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                               objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                               objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) DeleteRegexMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) DeleteRegexMatchSetRequest(input *waf.DeleteRegexMatchSetInput) (req *request.Request, output *waf.DeleteRegexMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              DeleteRegexMatchSetRequest generates a "aws/request.Request" representing the client's request for the DeleteRegexMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See DeleteRegexMatchSet for more information on using the DeleteRegexMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Example sending a request using the DeleteRegexMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              req, resp := client.DeleteRegexMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) DeleteRegexMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) DeleteRegexMatchSetWithContext(ctx aws.Context, input *waf.DeleteRegexMatchSetInput, opts ...request.Option) (*waf.DeleteRegexMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DeleteRegexMatchSetWithContext is the same as DeleteRegexMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See DeleteRegexMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) DeleteRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) DeleteRegexPatternSet(input *waf.DeleteRegexPatternSetInput) (*waf.DeleteRegexPatternSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DeleteRegexPatternSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Permanently deletes a RegexPatternSet. You can't delete a RegexPatternSet if it's still used in any RegexMatchSet or if the RegexPatternSet is not empty.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See the AWS API reference guide for AWS WAF Regional's API operation DeleteRegexPatternSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) DeleteRegexPatternSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) DeleteRegexPatternSetRequest(input *waf.DeleteRegexPatternSetInput) (req *request.Request, output *waf.DeleteRegexPatternSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DeleteRegexPatternSetRequest generates a "aws/request.Request" representing the client's request for the DeleteRegexPatternSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See DeleteRegexPatternSet for more information on using the DeleteRegexPatternSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    // Example sending a request using the DeleteRegexPatternSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    req, resp := client.DeleteRegexPatternSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) DeleteRegexPatternSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) DeleteRegexPatternSetWithContext(ctx aws.Context, input *waf.DeleteRegexPatternSetInput, opts ...request.Option) (*waf.DeleteRegexPatternSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DeleteRegexPatternSetWithContext is the same as DeleteRegexPatternSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See DeleteRegexPatternSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) DeleteRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) DeleteRule(input *waf.DeleteRuleInput) (*waf.DeleteRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DeleteRule API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Permanently deletes a Rule. You can't delete a Rule if it's still used in any WebACL objects or if it still includes any predicates, such as ByteMatchSet objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you just want to remove a Rule from a WebACL, use UpdateWebACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        To permanently delete a Rule from AWS WAF, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Update the Rule to remove predicates, if any. For more information, see UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRule request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Submit a DeleteRule request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See the AWS API reference guide for AWS WAF Regional's API operation DeleteRule for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFTagOperationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFTagOperationInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          To delete a rule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The following example deletes a rule with the ID WAFRule-1-Example.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) DeleteRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) DeleteRuleGroup(input *waf.DeleteRuleGroupInput) (*waf.DeleteRuleGroupOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DeleteRuleGroup API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Permanently deletes a RuleGroup. You can't delete a RuleGroup if it's still used in any WebACL objects or if it still includes any rules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            If you just want to remove a RuleGroup from a WebACL, use UpdateWebACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To permanently delete a RuleGroup from AWS WAF, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Update the RuleGroup to remove rules, if any. For more information, see UpdateRuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRuleGroup request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Submit a DeleteRuleGroup request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See the AWS API reference guide for AWS WAF Regional's API operation DeleteRuleGroup for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInvalidOperationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because there was nothing to do. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to remove a Rule from a WebACL, but the Rule isn't in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               specified WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to remove an IP address from an IPSet, but the IP address
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               isn't in the specified IPSet.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               isn't in the specified WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to add a Rule to a WebACL, but the Rule already exists in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               the specified WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               already exists in the specified WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFTagOperationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFTagOperationInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) DeleteRuleGroupRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) DeleteRuleGroupRequest(input *waf.DeleteRuleGroupInput) (req *request.Request, output *waf.DeleteRuleGroupOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              DeleteRuleGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteRuleGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See DeleteRuleGroup for more information on using the DeleteRuleGroup API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Example sending a request using the DeleteRuleGroupRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              req, resp := client.DeleteRuleGroupRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) DeleteRuleGroupWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) DeleteRuleGroupWithContext(ctx aws.Context, input *waf.DeleteRuleGroupInput, opts ...request.Option) (*waf.DeleteRuleGroupOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DeleteRuleGroupWithContext is the same as DeleteRuleGroup with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See DeleteRuleGroup for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) DeleteRuleRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) DeleteRuleRequest(input *waf.DeleteRuleInput) (req *request.Request, output *waf.DeleteRuleOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DeleteRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See DeleteRule for more information on using the DeleteRule API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the DeleteRuleRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  req, resp := client.DeleteRuleRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) DeleteRuleWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) DeleteRuleWithContext(ctx aws.Context, input *waf.DeleteRuleInput, opts ...request.Option) (*waf.DeleteRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DeleteRuleWithContext is the same as DeleteRule with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See DeleteRule for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) DeleteSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) DeleteSizeConstraintSet(input *waf.DeleteSizeConstraintSetInput) (*waf.DeleteSizeConstraintSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DeleteSizeConstraintSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Permanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet if it's still used in any Rules or if it still includes any SizeConstraint objects (any filters).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      If you just want to remove a SizeConstraintSet from a Rule, use UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To permanently delete a SizeConstraintSet, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Update the SizeConstraintSet to remove filters, if any. For more information, see UpdateSizeConstraintSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSizeConstraintSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Submit a DeleteSizeConstraintSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See the AWS API reference guide for AWS WAF Regional's API operation DeleteSizeConstraintSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        To delete a size constraint set

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The following example deletes a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) DeleteSizeConstraintSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) DeleteSizeConstraintSetRequest(input *waf.DeleteSizeConstraintSetInput) (req *request.Request, output *waf.DeleteSizeConstraintSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DeleteSizeConstraintSetRequest generates a "aws/request.Request" representing the client's request for the DeleteSizeConstraintSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See DeleteSizeConstraintSet for more information on using the DeleteSizeConstraintSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // Example sending a request using the DeleteSizeConstraintSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          req, resp := client.DeleteSizeConstraintSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) DeleteSizeConstraintSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) DeleteSizeConstraintSetWithContext(ctx aws.Context, input *waf.DeleteSizeConstraintSetInput, opts ...request.Option) (*waf.DeleteSizeConstraintSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DeleteSizeConstraintSetWithContext is the same as DeleteSizeConstraintSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See DeleteSizeConstraintSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) DeleteSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              DeleteSqlInjectionMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Permanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet if it's still used in any Rules or if it still contains any SqlInjectionMatchTuple objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              If you just want to remove a SqlInjectionMatchSet from a Rule, use UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To permanently delete a SqlInjectionMatchSet from AWS WAF, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Update the SqlInjectionMatchSet to remove filters, if any. For more information, see UpdateSqlInjectionMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSqlInjectionMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Submit a DeleteSqlInjectionMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See the AWS API reference guide for AWS WAF Regional's API operation DeleteSqlInjectionMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                To delete a SQL injection match set

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The following example deletes a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) DeleteSqlInjectionMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) DeleteSqlInjectionMatchSetRequest(input *waf.DeleteSqlInjectionMatchSetInput) (req *request.Request, output *waf.DeleteSqlInjectionMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DeleteSqlInjectionMatchSetRequest generates a "aws/request.Request" representing the client's request for the DeleteSqlInjectionMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See DeleteSqlInjectionMatchSet for more information on using the DeleteSqlInjectionMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the DeleteSqlInjectionMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  req, resp := client.DeleteSqlInjectionMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) DeleteSqlInjectionMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) DeleteSqlInjectionMatchSetWithContext(ctx aws.Context, input *waf.DeleteSqlInjectionMatchSetInput, opts ...request.Option) (*waf.DeleteSqlInjectionMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DeleteSqlInjectionMatchSetWithContext is the same as DeleteSqlInjectionMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See DeleteSqlInjectionMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) DeleteWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) DeleteWebACL(input *waf.DeleteWebACLInput) (*waf.DeleteWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DeleteWebACL API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Permanently deletes a WebACL. You can't delete a WebACL if it still contains any Rules.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To delete a WebACL, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Update the WebACL to remove Rules, if any. For more information, see UpdateWebACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteWebACL request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Submit a DeleteWebACL request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See the AWS API reference guide for AWS WAF Regional's API operation DeleteWebACL for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFTagOperationException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFTagOperationInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        To delete a web ACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The following example deletes a web ACL with the ID example-46da-4444-5555-example.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) DeleteWebACLRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) DeleteWebACLRequest(input *waf.DeleteWebACLInput) (req *request.Request, output *waf.DeleteWebACLOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DeleteWebACLRequest generates a "aws/request.Request" representing the client's request for the DeleteWebACL operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See DeleteWebACL for more information on using the DeleteWebACL API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // Example sending a request using the DeleteWebACLRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          req, resp := client.DeleteWebACLRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) DeleteWebACLWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) DeleteWebACLWithContext(ctx aws.Context, input *waf.DeleteWebACLInput, opts ...request.Option) (*waf.DeleteWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DeleteWebACLWithContext is the same as DeleteWebACL with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See DeleteWebACL for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) DeleteXssMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) DeleteXssMatchSet(input *waf.DeleteXssMatchSetInput) (*waf.DeleteXssMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              DeleteXssMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Permanently deletes an XssMatchSet. You can't delete an XssMatchSet if it's still used in any Rules or if it still contains any XssMatchTuple objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              If you just want to remove an XssMatchSet from a Rule, use UpdateRule.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To permanently delete an XssMatchSet from AWS WAF, perform the following steps:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Update the XssMatchSet to remove filters, if any. For more information, see UpdateXssMatchSet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteXssMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Submit a DeleteXssMatchSet request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See the AWS API reference guide for AWS WAF Regional's API operation DeleteXssMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFReferencedItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to delete an object that is still
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              in use. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a ByteMatchSet that is still referenced by a Rule.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a Rule that is still referenced by a WebACL.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFStaleDataException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              by using a change token that has already been used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFNonEmptyEntityException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to delete an object that isn't empty.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a WebACL that still contains one or more Rule objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a Rule that still contains one or more ByteMatchSet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 objects or other predicates.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You tried to delete an IPSet that references one or more IP addresses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                To delete an XSS match set

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The following example deletes an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) DeleteXssMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) DeleteXssMatchSetRequest(input *waf.DeleteXssMatchSetInput) (req *request.Request, output *waf.DeleteXssMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DeleteXssMatchSetRequest generates a "aws/request.Request" representing the client's request for the DeleteXssMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See DeleteXssMatchSet for more information on using the DeleteXssMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the DeleteXssMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  req, resp := client.DeleteXssMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) DeleteXssMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) DeleteXssMatchSetWithContext(ctx aws.Context, input *waf.DeleteXssMatchSetInput, opts ...request.Option) (*waf.DeleteXssMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DeleteXssMatchSetWithContext is the same as DeleteXssMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See DeleteXssMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) DisassociateWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) DisassociateWebACL(input *DisassociateWebACLInput) (*DisassociateWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DisassociateWebACL API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This is AWS WAF Classic Regional documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Removes a web ACL from the specified resource, either an application load balancer or Amazon API Gateway stage.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See the AWS API reference guide for AWS WAF Regional's API operation DisassociateWebACL for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      request. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         IP.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         for Data.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) DisassociateWebACLRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) DisassociateWebACLRequest(input *DisassociateWebACLInput) (req *request.Request, output *DisassociateWebACLOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DisassociateWebACLRequest generates a "aws/request.Request" representing the client's request for the DisassociateWebACL operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See DisassociateWebACL for more information on using the DisassociateWebACL API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Example sending a request using the DisassociateWebACLRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        req, resp := client.DisassociateWebACLRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) DisassociateWebACLWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) DisassociateWebACLWithContext(ctx aws.Context, input *DisassociateWebACLInput, opts ...request.Option) (*DisassociateWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DisassociateWebACLWithContext is the same as DisassociateWebACL with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See DisassociateWebACL for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) GetByteMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) GetByteMatchSet(input *waf.GetByteMatchSetInput) (*waf.GetByteMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetByteMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns the ByteMatchSet specified by ByteMatchSetId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See the AWS API reference guide for AWS WAF Regional's API operation GetByteMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To get a byte match set

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) GetByteMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) GetByteMatchSetRequest(input *waf.GetByteMatchSetInput) (req *request.Request, output *waf.GetByteMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetByteMatchSetRequest generates a "aws/request.Request" representing the client's request for the GetByteMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See GetByteMatchSet for more information on using the GetByteMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                // Example sending a request using the GetByteMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                req, resp := client.GetByteMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) GetByteMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) GetByteMatchSetWithContext(ctx aws.Context, input *waf.GetByteMatchSetInput, opts ...request.Option) (*waf.GetByteMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetByteMatchSetWithContext is the same as GetByteMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See GetByteMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) GetChangeToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) GetChangeToken(input *waf.GetChangeTokenInput) (*waf.GetChangeTokenOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetChangeToken API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Each create, update, or delete request must use a unique change token. If your application submits a GetChangeToken request and then submits a second GetChangeToken request before submitting a create, update, or delete request, the second GetChangeToken request returns the same value as the first GetChangeToken request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING, which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus to determine the status of your change token.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See the AWS API reference guide for AWS WAF Regional's API operation GetChangeToken for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To get a change token

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The following example returns a change token to use for a create, update or delete operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) GetChangeTokenRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) GetChangeTokenRequest(input *waf.GetChangeTokenInput) (req *request.Request, output *waf.GetChangeTokenOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetChangeTokenRequest generates a "aws/request.Request" representing the client's request for the GetChangeToken operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See GetChangeToken for more information on using the GetChangeToken API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Example sending a request using the GetChangeTokenRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        req, resp := client.GetChangeTokenRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) GetChangeTokenStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) GetChangeTokenStatus(input *waf.GetChangeTokenStatusInput) (*waf.GetChangeTokenStatusOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetChangeTokenStatus API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns the status of a ChangeToken that you got by calling GetChangeToken. ChangeTokenStatus is one of the following values:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * PROVISIONED: You requested the change token by calling GetChangeToken,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          but you haven't used it yet in a call to create, update, or delete an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          AWS WAF object.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * PENDING: AWS WAF is propagating the create, update, or delete request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          to all AWS WAF servers.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * INSYNC: Propagation is complete.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See the AWS API reference guide for AWS WAF Regional's API operation GetChangeTokenStatus for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To get the change token status

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The following example returns the status of a change token with the ID abcd12f2-46da-4fdb-b8d5-fbd4c466928f.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) GetChangeTokenStatusRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) GetChangeTokenStatusRequest(input *waf.GetChangeTokenStatusInput) (req *request.Request, output *waf.GetChangeTokenStatusOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetChangeTokenStatusRequest generates a "aws/request.Request" representing the client's request for the GetChangeTokenStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See GetChangeTokenStatus for more information on using the GetChangeTokenStatus API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Example sending a request using the GetChangeTokenStatusRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              req, resp := client.GetChangeTokenStatusRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) GetChangeTokenStatusWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) GetChangeTokenStatusWithContext(ctx aws.Context, input *waf.GetChangeTokenStatusInput, opts ...request.Option) (*waf.GetChangeTokenStatusOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetChangeTokenStatusWithContext is the same as GetChangeTokenStatus with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See GetChangeTokenStatus for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) GetChangeTokenWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) GetChangeTokenWithContext(ctx aws.Context, input *waf.GetChangeTokenInput, opts ...request.Option) (*waf.GetChangeTokenOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetChangeTokenWithContext is the same as GetChangeToken with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See GetChangeToken for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) GetGeoMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) GetGeoMatchSet(input *waf.GetGeoMatchSetInput) (*waf.GetGeoMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetGeoMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns the GeoMatchSet that is specified by GeoMatchSetId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See the AWS API reference guide for AWS WAF Regional's API operation GetGeoMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) GetGeoMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) GetGeoMatchSetRequest(input *waf.GetGeoMatchSetInput) (req *request.Request, output *waf.GetGeoMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GetGeoMatchSetRequest generates a "aws/request.Request" representing the client's request for the GetGeoMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See GetGeoMatchSet for more information on using the GetGeoMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      // Example sending a request using the GetGeoMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      req, resp := client.GetGeoMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) GetGeoMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) GetGeoMatchSetWithContext(ctx aws.Context, input *waf.GetGeoMatchSetInput, opts ...request.Option) (*waf.GetGeoMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetGeoMatchSetWithContext is the same as GetGeoMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See GetGeoMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) GetIPSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) GetIPSet(input *waf.GetIPSetInput) (*waf.GetIPSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetIPSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns the IPSet that is specified by IPSetId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See the AWS API reference guide for AWS WAF Regional's API operation GetIPSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To get an IP set

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The following example returns the details of an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) GetIPSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) GetIPSetRequest(input *waf.GetIPSetInput) (req *request.Request, output *waf.GetIPSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetIPSetRequest generates a "aws/request.Request" representing the client's request for the GetIPSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See GetIPSet for more information on using the GetIPSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Example sending a request using the GetIPSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              req, resp := client.GetIPSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) GetIPSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) GetIPSetWithContext(ctx aws.Context, input *waf.GetIPSetInput, opts ...request.Option) (*waf.GetIPSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetIPSetWithContext is the same as GetIPSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See GetIPSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) GetLoggingConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) GetLoggingConfiguration(input *waf.GetLoggingConfigurationInput) (*waf.GetLoggingConfigurationOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetLoggingConfiguration API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns the LoggingConfiguration for the specified web ACL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See the AWS API reference guide for AWS WAF Regional's API operation GetLoggingConfiguration for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetLoggingConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) GetLoggingConfigurationRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) GetLoggingConfigurationRequest(input *waf.GetLoggingConfigurationInput) (req *request.Request, output *waf.GetLoggingConfigurationOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetLoggingConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See GetLoggingConfiguration for more information on using the GetLoggingConfiguration API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    // Example sending a request using the GetLoggingConfigurationRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    req, resp := client.GetLoggingConfigurationRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetLoggingConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) GetLoggingConfigurationWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) GetLoggingConfigurationWithContext(ctx aws.Context, input *waf.GetLoggingConfigurationInput, opts ...request.Option) (*waf.GetLoggingConfigurationOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GetLoggingConfigurationWithContext is the same as GetLoggingConfiguration with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See GetLoggingConfiguration for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) GetPermissionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) GetPermissionPolicy(input *waf.GetPermissionPolicyInput) (*waf.GetPermissionPolicyOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetPermissionPolicy API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns the IAM policy attached to the RuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See the AWS API reference guide for AWS WAF Regional's API operation GetPermissionPolicy for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetPermissionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) GetPermissionPolicyRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) GetPermissionPolicyRequest(input *waf.GetPermissionPolicyInput) (req *request.Request, output *waf.GetPermissionPolicyOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetPermissionPolicyRequest generates a "aws/request.Request" representing the client's request for the GetPermissionPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See GetPermissionPolicy for more information on using the GetPermissionPolicy API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // Example sending a request using the GetPermissionPolicyRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          req, resp := client.GetPermissionPolicyRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetPermissionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) GetPermissionPolicyWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) GetPermissionPolicyWithContext(ctx aws.Context, input *waf.GetPermissionPolicyInput, opts ...request.Option) (*waf.GetPermissionPolicyOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetPermissionPolicyWithContext is the same as GetPermissionPolicy with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See GetPermissionPolicy for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) GetRateBasedRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) GetRateBasedRule(input *waf.GetRateBasedRuleInput) (*waf.GetRateBasedRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetRateBasedRule API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the RateBasedRule that is specified by the RuleId that you included in the GetRateBasedRule request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See the AWS API reference guide for AWS WAF Regional's API operation GetRateBasedRule for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) GetRateBasedRuleManagedKeys

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetRateBasedRuleManagedKeys API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns an array of IP addresses currently being blocked by the RateBasedRule that is specified by the RuleId. The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See the AWS API reference guide for AWS WAF Regional's API operation GetRateBasedRuleManagedKeys for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFInvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because AWS WAF didn't recognize a parameter in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                request. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * You specified an invalid parameter name.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * You specified an invalid value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   using an action other than INSERT or DELETE.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * You tried to create a WebACL with a DefaultAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * You tried to create a RateBasedRule with a RateKey value other than
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   IP.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * You tried to update a WebACL with a WafAction Type other than ALLOW,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   BLOCK, or COUNT.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * You tried to update a ByteMatchSet with a FieldToMatch Type other than
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   HEADER, METHOD, QUERY_STRING, URI, or BODY.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * You tried to update a ByteMatchSet with a Field of HEADER but no value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   for Data.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   * Your request references an ARN that is malformed, or corresponds to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   a resource with which a web ACL cannot be associated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeys

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) GetRateBasedRuleManagedKeysRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) GetRateBasedRuleManagedKeysRequest(input *waf.GetRateBasedRuleManagedKeysInput) (req *request.Request, output *waf.GetRateBasedRuleManagedKeysOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetRateBasedRuleManagedKeysRequest generates a "aws/request.Request" representing the client's request for the GetRateBasedRuleManagedKeys operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See GetRateBasedRuleManagedKeys for more information on using the GetRateBasedRuleManagedKeys API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the GetRateBasedRuleManagedKeysRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  req, resp := client.GetRateBasedRuleManagedKeysRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeys

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) GetRateBasedRuleManagedKeysWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) GetRateBasedRuleManagedKeysWithContext(ctx aws.Context, input *waf.GetRateBasedRuleManagedKeysInput, opts ...request.Option) (*waf.GetRateBasedRuleManagedKeysOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetRateBasedRuleManagedKeysWithContext is the same as GetRateBasedRuleManagedKeys with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See GetRateBasedRuleManagedKeys for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) GetRateBasedRuleRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) GetRateBasedRuleRequest(input *waf.GetRateBasedRuleInput) (req *request.Request, output *waf.GetRateBasedRuleOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GetRateBasedRuleRequest generates a "aws/request.Request" representing the client's request for the GetRateBasedRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See GetRateBasedRule for more information on using the GetRateBasedRule API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      // Example sending a request using the GetRateBasedRuleRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      req, resp := client.GetRateBasedRuleRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) GetRateBasedRuleWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) GetRateBasedRuleWithContext(ctx aws.Context, input *waf.GetRateBasedRuleInput, opts ...request.Option) (*waf.GetRateBasedRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetRateBasedRuleWithContext is the same as GetRateBasedRule with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See GetRateBasedRule for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) GetRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) GetRegexMatchSet(input *waf.GetRegexMatchSetInput) (*waf.GetRegexMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetRegexMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns the RegexMatchSet specified by RegexMatchSetId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See the AWS API reference guide for AWS WAF Regional's API operation GetRegexMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) GetRegexMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) GetRegexMatchSetRequest(input *waf.GetRegexMatchSetInput) (req *request.Request, output *waf.GetRegexMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetRegexMatchSetRequest generates a "aws/request.Request" representing the client's request for the GetRegexMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See GetRegexMatchSet for more information on using the GetRegexMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Example sending a request using the GetRegexMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            req, resp := client.GetRegexMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) GetRegexMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) GetRegexMatchSetWithContext(ctx aws.Context, input *waf.GetRegexMatchSetInput, opts ...request.Option) (*waf.GetRegexMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetRegexMatchSetWithContext is the same as GetRegexMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See GetRegexMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) GetRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) GetRegexPatternSet(input *waf.GetRegexPatternSetInput) (*waf.GetRegexPatternSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetRegexPatternSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns the RegexPatternSet specified by RegexPatternSetId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See the AWS API reference guide for AWS WAF Regional's API operation GetRegexPatternSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) GetRegexPatternSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) GetRegexPatternSetRequest(input *waf.GetRegexPatternSetInput) (req *request.Request, output *waf.GetRegexPatternSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetRegexPatternSetRequest generates a "aws/request.Request" representing the client's request for the GetRegexPatternSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See GetRegexPatternSet for more information on using the GetRegexPatternSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the GetRegexPatternSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  req, resp := client.GetRegexPatternSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) GetRegexPatternSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) GetRegexPatternSetWithContext(ctx aws.Context, input *waf.GetRegexPatternSetInput, opts ...request.Option) (*waf.GetRegexPatternSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetRegexPatternSetWithContext is the same as GetRegexPatternSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See GetRegexPatternSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*WAFRegional) GetRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *WAFRegional) GetRule(input *waf.GetRuleInput) (*waf.GetRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GetRule API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns the Rule that is specified by the RuleId that you included in the GetRule request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See the AWS API reference guide for AWS WAF Regional's API operation GetRule for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        To get a rule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The following example returns the details of a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) GetRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) GetRuleGroup(input *waf.GetRuleGroupInput) (*waf.GetRuleGroupOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetRuleGroup API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns the RuleGroup that is specified by the RuleGroupId that you included in the GetRuleGroup request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          To view the rules in a rule group, use ListActivatedRulesInRuleGroup.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See the AWS API reference guide for AWS WAF Regional's API operation GetRuleGroup for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) GetRuleGroupRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) GetRuleGroupRequest(input *waf.GetRuleGroupInput) (req *request.Request, output *waf.GetRuleGroupOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetRuleGroupRequest generates a "aws/request.Request" representing the client's request for the GetRuleGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See GetRuleGroup for more information on using the GetRuleGroup API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Example sending a request using the GetRuleGroupRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            req, resp := client.GetRuleGroupRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleGroup

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*WAFRegional) GetRuleGroupWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *WAFRegional) GetRuleGroupWithContext(ctx aws.Context, input *waf.GetRuleGroupInput, opts ...request.Option) (*waf.GetRuleGroupOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetRuleGroupWithContext is the same as GetRuleGroup with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See GetRuleGroup for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) GetRuleRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) GetRuleRequest(input *waf.GetRuleInput) (req *request.Request, output *waf.GetRuleOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetRuleRequest generates a "aws/request.Request" representing the client's request for the GetRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See GetRule for more information on using the GetRule API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                // Example sending a request using the GetRuleRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                req, resp := client.GetRuleRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) GetRuleWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) GetRuleWithContext(ctx aws.Context, input *waf.GetRuleInput, opts ...request.Option) (*waf.GetRuleOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetRuleWithContext is the same as GetRule with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See GetRule for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) GetSampledRequests

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) GetSampledRequests(input *waf.GetSampledRequestsInput) (*waf.GetSampledRequestsOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetSampledRequests API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetSampledRequests returns a time range, which is usually the time range that you specified. However, if your resource (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, GetSampledRequests returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See the AWS API reference guide for AWS WAF Regional's API operation GetSampledRequests for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequests

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To get a sampled requests

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The following example returns detailed information about 100 requests --a sample-- that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received between the time period 2016-09-27T15:50Z to 2016-09-27T15:50Z.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) GetSampledRequestsRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) GetSampledRequestsRequest(input *waf.GetSampledRequestsInput) (req *request.Request, output *waf.GetSampledRequestsOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetSampledRequestsRequest generates a "aws/request.Request" representing the client's request for the GetSampledRequests operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See GetSampledRequests for more information on using the GetSampledRequests API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Example sending a request using the GetSampledRequestsRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        req, resp := client.GetSampledRequestsRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequests

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) GetSampledRequestsWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) GetSampledRequestsWithContext(ctx aws.Context, input *waf.GetSampledRequestsInput, opts ...request.Option) (*waf.GetSampledRequestsOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetSampledRequestsWithContext is the same as GetSampledRequests with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See GetSampledRequests for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) GetSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) GetSizeConstraintSet(input *waf.GetSizeConstraintSetInput) (*waf.GetSizeConstraintSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetSizeConstraintSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns the SizeConstraintSet specified by SizeConstraintSetId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See the AWS API reference guide for AWS WAF Regional's API operation GetSizeConstraintSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To get a size constraint set

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) GetSizeConstraintSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) GetSizeConstraintSetRequest(input *waf.GetSizeConstraintSetInput) (req *request.Request, output *waf.GetSizeConstraintSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetSizeConstraintSetRequest generates a "aws/request.Request" representing the client's request for the GetSizeConstraintSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See GetSizeConstraintSet for more information on using the GetSizeConstraintSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                // Example sending a request using the GetSizeConstraintSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                req, resp := client.GetSizeConstraintSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*WAFRegional) GetSizeConstraintSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *WAFRegional) GetSizeConstraintSetWithContext(ctx aws.Context, input *waf.GetSizeConstraintSetInput, opts ...request.Option) (*waf.GetSizeConstraintSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetSizeConstraintSetWithContext is the same as GetSizeConstraintSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See GetSizeConstraintSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*WAFRegional) GetSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *WAFRegional) GetSqlInjectionMatchSet(input *waf.GetSqlInjectionMatchSetInput) (*waf.GetSqlInjectionMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetSqlInjectionMatchSet API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See the AWS API reference guide for AWS WAF Regional's API operation GetSqlInjectionMatchSet for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      To get a SQL injection match set

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*WAFRegional) GetSqlInjectionMatchSetRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *WAFRegional) GetSqlInjectionMatchSetRequest(input *waf.GetSqlInjectionMatchSetInput) (req *request.Request, output *waf.GetSqlInjectionMatchSetOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetSqlInjectionMatchSetRequest generates a "aws/request.Request" representing the client's request for the GetSqlInjectionMatchSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See GetSqlInjectionMatchSet for more information on using the GetSqlInjectionMatchSet API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Example sending a request using the GetSqlInjectionMatchSetRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        req, resp := client.GetSqlInjectionMatchSetRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*WAFRegional) GetSqlInjectionMatchSetWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *WAFRegional) GetSqlInjectionMatchSetWithContext(ctx aws.Context, input *waf.GetSqlInjectionMatchSetInput, opts ...request.Option) (*waf.GetSqlInjectionMatchSetOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetSqlInjectionMatchSetWithContext is the same as GetSqlInjectionMatchSet with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See GetSqlInjectionMatchSet for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*WAFRegional) GetWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *WAFRegional) GetWebACL(input *waf.GetWebACLInput) (*waf.GetWebACLOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetWebACL API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This is AWS WAF Classic documentation. For more information, see AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). With the latest version, AWS WAF has a single set of endpoints for regional and global use.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns the WebACL that is specified by WebACLId.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See the AWS API reference guide for AWS WAF Regional's API operation GetWebACL for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInternalErrorException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because of a system problem, even though the request
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            was valid. Retry your request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFInvalidAccountException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because you tried to create, update, or delete an object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            by using an invalid account identifier.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * WAFNonexistentItemException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The operation failed because the referenced object doesn't exist.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Example (Shared00)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To get a web ACL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The following example returns the details of a web ACL with the ID createwebacl-1472061481310.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Output:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*WAFRegional) GetWebACLForResource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *WAFRegional) GetWebACLForResource(input *GetWebACLForResourceInput) (*GetWebACLForResourceOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetWebACLForResource API operation for AWS WAF Regional.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This is AWS WAF Classic Regional documentation. For more information, see AWS WAF