| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::S3::WebsiteConfiguration; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has ErrorDocument => (is => 'ro', isa => 'Paws::S3::ErrorDocument'); | |
| 5 | 1 | has IndexDocument => (is => 'ro', isa => 'Paws::S3::IndexDocument'); | |
| 6 | 1 | has RedirectAllRequestsTo => (is => 'ro', isa => 'Paws::S3::RedirectAllRequestsTo'); | |
| 7 | 1 | has RoutingRules => (is => 'ro', isa => 'ArrayRef[Paws::S3::RoutingRule]', request_name => 'RoutingRule', traits => ['NameInRequest']); | |
| 8 | |||
| 9 | 1 | 1; | |
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::S3::WebsiteConfiguration | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::S3::WebsiteConfiguration object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { ErrorDocument => $value, ..., RoutingRules => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::S3::WebsiteConfiguration object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->ErrorDocument | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Specifies website configuration parameters for an Amazon S3 bucket. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 ErrorDocument => L<Paws::S3::ErrorDocument> | ||
| 45 | |||
| 46 | The name of the error document for the website. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 IndexDocument => L<Paws::S3::IndexDocument> | ||
| 50 | |||
| 51 | The name of the index document for the website. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 RedirectAllRequestsTo => L<Paws::S3::RedirectAllRequestsTo> | ||
| 55 | |||
| 56 | The redirect behavior for every request to this bucket's website | ||
| 57 | endpoint. | ||
| 58 | |||
| 59 | If you specify this property, you can't specify any other property. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 RoutingRules => ArrayRef[L<Paws::S3::RoutingRule>] | ||
| 63 | |||
| 64 | Rules that define when a redirect is applied and the redirect behavior. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head1 SEE ALSO | ||
| 69 | |||
| 70 | This class forms part of L<Paws>, describing an object used in L<Paws::S3> | ||
| 71 | |||
| 72 | =head1 BUGS and CONTRIBUTIONS | ||
| 73 | |||
| 74 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 75 | |||
| 76 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 77 | |||
| 78 | =cut | ||
| 79 | |||