« blib/lib/Paws/WAFRegional/TagResourceResponse.pm
↑ Summary
blib/lib/Paws/WAFRegional/UntagResource.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::WAFRegional::TimeWindow; | ||
| 3 | use Moose; | ||
| 4 | has EndTime => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has StartTime => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::WAFRegional::TimeWindow | ||
| 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::WAFRegional::TimeWindow object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { EndTime => $value, ..., StartTime => $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::WAFRegional::TimeWindow object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->EndTime | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | This is B<AWS WAF Classic> documentation. For more information, see AWS | ||
| 38 | WAF Classic | ||
| 39 | (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) | ||
| 40 | in the developer guide. | ||
| 41 | |||
| 42 | B<For the latest version of AWS WAF>, use the AWS WAFV2 API and see the | ||
| 43 | AWS WAF Developer Guide | ||
| 44 | (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). | ||
| 45 | With the latest version, AWS WAF has a single set of endpoints for | ||
| 46 | regional and global use. | ||
| 47 | |||
| 48 | In a GetSampledRequests request, the C<StartTime> and C<EndTime> | ||
| 49 | objects specify the time range for which you want AWS WAF to return a | ||
| 50 | sample of web requests. | ||
| 51 | |||
| 52 | You must specify the times in Coordinated Universal Time (UTC) format. | ||
| 53 | UTC format includes the special designator, C<Z>. For example, | ||
| 54 | C<"2016-09-27T14:50Z">. | ||
| 55 | |||
| 56 | In a GetSampledRequests response, the C<StartTime> and C<EndTime> | ||
| 57 | objects specify the time range for which AWS WAF actually returned a | ||
| 58 | sample of web requests. AWS WAF gets the specified number of requests | ||
| 59 | from among the first 5,000 requests that your AWS resource receives | ||
| 60 | during the specified time period. If your resource receives more than | ||
| 61 | 5,000 requests during that period, AWS WAF stops sampling after the | ||
| 62 | 5,000th request. In that case, C<EndTime> is the time that AWS WAF | ||
| 63 | received the 5,000th request. | ||
| 64 | |||
| 65 | =head1 ATTRIBUTES | ||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> EndTime => Str | ||
| 69 | |||
| 70 | The end of the time range from which you want C<GetSampledRequests> to | ||
| 71 | return a sample of the requests that your AWS resource received. You | ||
| 72 | must specify the date and time in Coordinated Universal Time (UTC) | ||
| 73 | format. UTC format includes the special designator, C<Z>. For example, | ||
| 74 | C<"2016-09-27T14:50Z">. You can specify any time range in the previous | ||
| 75 | three hours. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> StartTime => Str | ||
| 79 | |||
| 80 | The beginning of the time range from which you want | ||
| 81 | C<GetSampledRequests> to return a sample of the requests that your AWS | ||
| 82 | resource received. You must specify the date and time in Coordinated | ||
| 83 | Universal Time (UTC) format. UTC format includes the special | ||
| 84 | designator, C<Z>. For example, C<"2016-09-27T14:50Z">. You can specify | ||
| 85 | any time range in the previous three hours. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head1 SEE ALSO | ||
| 90 | |||
| 91 | This class forms part of L<Paws>, describing an object used in L<Paws::WAFRegional> | ||
| 92 | |||
| 93 | =head1 BUGS and CONTRIBUTIONS | ||
| 94 | |||
| 95 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 96 | |||
| 97 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 98 | |||
| 99 | =cut | ||
| 100 |