« blib/lib/Paws/EC2/DescribePrefixListsResult.pm
↑ Summary
blib/lib/Paws/EC2/DescribePrincipalIdFormatResult.pm »
| 1 | |||
| 2 | package Paws::EC2::DescribePrincipalIdFormat; | ||
| 3 | use Moose; | ||
| 4 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 7 | has Resources => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'Resource' ); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribePrincipalIdFormat'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribePrincipalIdFormatResult'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::EC2::DescribePrincipalIdFormat - Arguments for method DescribePrincipalIdFormat on L<Paws::EC2> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method DescribePrincipalIdFormat on the | ||
| 25 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 26 | as arguments to method DescribePrincipalIdFormat. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribePrincipalIdFormat. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $ec2 = Paws->service('EC2'); | ||
| 33 | my $DescribePrincipalIdFormatResult = $ec2->DescribePrincipalIdFormat( | ||
| 34 | DryRun => 1, # OPTIONAL | ||
| 35 | MaxResults => 1, # OPTIONAL | ||
| 36 | NextToken => 'MyString', # OPTIONAL | ||
| 37 | Resources => [ 'MyString', ... ], # OPTIONAL | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $NextToken = $DescribePrincipalIdFormatResult->NextToken; | ||
| 42 | my $Principals = $DescribePrincipalIdFormatResult->Principals; | ||
| 43 | |||
| 44 | # Returns a L<Paws::EC2::DescribePrincipalIdFormatResult> 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/ec2/DescribePrincipalIdFormat> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 DryRun => Bool | ||
| 53 | |||
| 54 | Checks whether you have the required permissions for the action, | ||
| 55 | without actually making the request, and provides an error response. If | ||
| 56 | you have the required permissions, the error response is | ||
| 57 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 MaxResults => Int | ||
| 62 | |||
| 63 | The maximum number of results to return in a single call. To retrieve | ||
| 64 | the remaining results, make another call with the returned NextToken | ||
| 65 | value. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 NextToken => Str | ||
| 70 | |||
| 71 | The token to request the next page of results. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 Resources => ArrayRef[Str|Undef] | ||
| 76 | |||
| 77 | The type of resource: C<bundle> | C<conversion-task> | | ||
| 78 | C<customer-gateway> | C<dhcp-options> | C<elastic-ip-allocation> | | ||
| 79 | C<elastic-ip-association> | C<export-task> | C<flow-log> | C<image> | | ||
| 80 | C<import-task> | C<instance> | C<internet-gateway> | C<network-acl> | | ||
| 81 | C<network-acl-association> | C<network-interface> | | ||
| 82 | C<network-interface-attachment> | C<prefix-list> | C<reservation> | | ||
| 83 | C<route-table> | C<route-table-association> | C<security-group> | | ||
| 84 | C<snapshot> | C<subnet> | C<subnet-cidr-block-association> | C<volume> | ||
| 85 | | C<vpc> | C<vpc-cidr-block-association> | C<vpc-endpoint> | | ||
| 86 | C<vpc-peering-connection> | C<vpn-connection> | C<vpn-gateway> | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head1 SEE ALSO | ||
| 92 | |||
| 93 | This class forms part of L<Paws>, documenting arguments for method DescribePrincipalIdFormat in L<Paws::EC2> | ||
| 94 | |||
| 95 | =head1 BUGS and CONTRIBUTIONS | ||
| 96 | |||
| 97 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 98 | |||
| 99 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 100 | |||
| 101 | =cut | ||
| 102 |