| 1 | |||
| 2 | package AWS::S3::Request::GetBucketAccessControl; | ||
| 3 | |||
| 4 | use Moose; | ||
| 5 | use AWS::S3::ResponseParser; | ||
| 6 | |||
| 7 | with 'AWS::S3::Roles::BucketAction'; | ||
| 8 | |||
| 9 | has '+_action' => ( default => 'GET' ); | ||
| 10 | |||
| 11 | has 'bucket' => ( is => 'ro', isa => 'Str', required => 1 ); | ||
| 12 | |||
| 13 | has '_subresource' => ( | ||
| 14 | is => 'ro', | ||
| 15 | isa => 'Str', | ||
| 16 | init_arg => undef, | ||
| 17 | default => 'acl' | ||
| 18 | ); | ||
| 19 | |||
| 20 | has '+_expect_nothing' => ( default => 0 ); | ||
| 21 | |||
| 22 | __PACKAGE__->meta->make_immutable; |