vendor: update all dependencies
This commit is contained in:
parent
940df88eb2
commit
d64789528d
4309 changed files with 1327278 additions and 1001118 deletions
45
vendor/github.com/aws/aws-sdk-go/service/waf/examples_test.go
generated
vendored
45
vendor/github.com/aws/aws-sdk-go/service/waf/examples_test.go
generated
vendored
|
@ -1077,6 +1077,15 @@ func ExampleWAF_UpdateByteMatchSet_shared00() {
|
|||
Updates: []*waf.ByteMatchSetUpdate{
|
||||
{
|
||||
Action: aws.String("DELETE"),
|
||||
ByteMatchTuple: &waf.ByteMatchTuple{
|
||||
FieldToMatch: &waf.FieldToMatch{
|
||||
Data: aws.String("referer"),
|
||||
Type: aws.String("HEADER"),
|
||||
},
|
||||
PositionalConstraint: aws.String("CONTAINS"),
|
||||
TargetString: []byte("badrefer1"),
|
||||
TextTransformation: aws.String("NONE"),
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1127,6 +1136,10 @@ func ExampleWAF_UpdateIPSet_shared00() {
|
|||
Updates: []*waf.IPSetUpdate{
|
||||
{
|
||||
Action: aws.String("DELETE"),
|
||||
IPSetDescriptor: &waf.IPSetDescriptor{
|
||||
Type: aws.String("IPV4"),
|
||||
Value: aws.String("192.0.2.44/32"),
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1178,6 +1191,11 @@ func ExampleWAF_UpdateRule_shared00() {
|
|||
Updates: []*waf.RuleUpdate{
|
||||
{
|
||||
Action: aws.String("DELETE"),
|
||||
Predicate: &waf.Predicate{
|
||||
DataId: aws.String("MyByteMatchSetID"),
|
||||
Negated: aws.Bool(false),
|
||||
Type: aws.String("ByteMatch"),
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1230,6 +1248,14 @@ func ExampleWAF_UpdateSizeConstraintSet_shared00() {
|
|||
Updates: []*waf.SizeConstraintSetUpdate{
|
||||
{
|
||||
Action: aws.String("DELETE"),
|
||||
SizeConstraint: &waf.SizeConstraint{
|
||||
ComparisonOperator: aws.String("GT"),
|
||||
FieldToMatch: &waf.FieldToMatch{
|
||||
Type: aws.String("QUERY_STRING"),
|
||||
},
|
||||
Size: aws.Int64(0),
|
||||
TextTransformation: aws.String("NONE"),
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1282,6 +1308,12 @@ func ExampleWAF_UpdateSqlInjectionMatchSet_shared00() {
|
|||
Updates: []*waf.SqlInjectionMatchSetUpdate{
|
||||
{
|
||||
Action: aws.String("DELETE"),
|
||||
SqlInjectionMatchTuple: &waf.SqlInjectionMatchTuple{
|
||||
FieldToMatch: &waf.FieldToMatch{
|
||||
Type: aws.String("QUERY_STRING"),
|
||||
},
|
||||
TextTransformation: aws.String("URL_DECODE"),
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1333,6 +1365,13 @@ func ExampleWAF_UpdateWebACL_shared00() {
|
|||
Updates: []*waf.WebACLUpdate{
|
||||
{
|
||||
Action: aws.String("DELETE"),
|
||||
ActivatedRule: &waf.ActivatedRule{
|
||||
Action: &waf.WafAction{
|
||||
Type: aws.String("ALLOW"),
|
||||
},
|
||||
Priority: aws.Int64(1),
|
||||
RuleId: aws.String("WAFRule-1-Example"),
|
||||
},
|
||||
},
|
||||
},
|
||||
WebACLId: aws.String("webacl-1472061481310"),
|
||||
|
@ -1387,6 +1426,12 @@ func ExampleWAF_UpdateXssMatchSet_shared00() {
|
|||
Updates: []*waf.XssMatchSetUpdate{
|
||||
{
|
||||
Action: aws.String("DELETE"),
|
||||
XssMatchTuple: &waf.XssMatchTuple{
|
||||
FieldToMatch: &waf.FieldToMatch{
|
||||
Type: aws.String("QUERY_STRING"),
|
||||
},
|
||||
TextTransformation: aws.String("URL_DECODE"),
|
||||
},
|
||||
},
|
||||
},
|
||||
XssMatchSetId: aws.String("example1ds3t-46da-4fdb-b8d5-abc321j569j5"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue