« blib/lib/Paws/ELBv2/HostHeaderConditionConfig.pm
↑ Summary
blib/lib/Paws/ELBv2/HttpRequestMethodConditionConfig.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ELBv2::HttpHeaderConditionConfig; | ||
| 3 | use Moose; | ||
| 4 | has HttpHeaderName => (is => 'ro', isa => 'Str'); | ||
| 5 | has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ELBv2::HttpHeaderConditionConfig | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::ELBv2::HttpHeaderConditionConfig object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { HttpHeaderName => $value, ..., Values => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::HttpHeaderConditionConfig object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->HttpHeaderName | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Information about an HTTP header condition. | ||
| 38 | |||
| 39 | There is a set of standard HTTP header fields. You can also define | ||
| 40 | custom HTTP header fields. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 HttpHeaderName => Str | ||
| 46 | |||
| 47 | The name of the HTTP header field. The maximum size is 40 characters. | ||
| 48 | The header name is case insensitive. The allowed characters are | ||
| 49 | specified by RFC 7230. Wildcards are not supported. | ||
| 50 | |||
| 51 | You can't use an HTTP header condition to specify the host header. Use | ||
| 52 | HostHeaderConditionConfig to specify a host header condition. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Values => ArrayRef[Str|Undef] | ||
| 56 | |||
| 57 | One or more strings to compare against the value of the HTTP header. | ||
| 58 | The maximum size of each string is 128 characters. The comparison | ||
| 59 | strings are case insensitive. The following wildcard characters are | ||
| 60 | supported: * (matches 0 or more characters) and ? (matches exactly 1 | ||
| 61 | character). | ||
| 62 | |||
| 63 | If the same header appears multiple times in the request, we search | ||
| 64 | them in order until a match is found. | ||
| 65 | |||
| 66 | If you specify multiple strings, the condition is satisfied if one of | ||
| 67 | the strings matches the value of the HTTP header. To require that all | ||
| 68 | of the strings are a match, create one condition per string. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |