« blib/lib/Paws/S3Control/GetJobTaggingResult.pm
↑ Summary
blib/lib/Paws/S3Control/GetPublicAccessBlockOutput.pm »
| 1 | |||
| 2 | package Paws::S3Control::GetPublicAccessBlock; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str', header_name => 'x-amz-account-id', traits => ['ParamInHeader'], required => 1); | ||
| 5 | |||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetPublicAccessBlock'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v20180820/configuration/publicAccessBlock'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3Control::GetPublicAccessBlockOutput'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | |||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::S3Control::GetPublicAccessBlock - Arguments for method GetPublicAccessBlock on L<Paws::S3Control> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method GetPublicAccessBlock on the | ||
| 27 | L<AWS S3 Control|Paws::S3Control> service. Use the attributes of this class | ||
| 28 | as arguments to method GetPublicAccessBlock. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetPublicAccessBlock. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $s3-control = Paws->service('S3Control'); | ||
| 35 | my $GetPublicAccessBlockOutput = $s3 -control->GetPublicAccessBlock( | ||
| 36 | AccountId => 'MyAccountId', | ||
| 37 | |||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $PublicAccessBlockConfiguration = | ||
| 42 | $GetPublicAccessBlockOutput->PublicAccessBlockConfiguration; | ||
| 43 | |||
| 44 | # Returns a L<Paws::S3Control::GetPublicAccessBlockOutput> object. | ||
| 45 | |||
| 46 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/s3-control/GetPublicAccessBlock> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> AccountId => Str | ||
| 53 | |||
| 54 | The account ID for the AWS account whose C<PublicAccessBlock> | ||
| 55 | configuration you want to retrieve. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head1 SEE ALSO | ||
| 61 | |||
| 62 | This class forms part of L<Paws>, documenting arguments for method GetPublicAccessBlock in L<Paws::S3Control> | ||
| 63 | |||
| 64 | =head1 BUGS and CONTRIBUTIONS | ||
| 65 | |||
| 66 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 67 | |||
| 68 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 69 | |||
| 70 | =cut | ||
| 71 |