NAME
Paws::RAM::ListPrincipals - Arguments for method ListPrincipals on Paws::RAM
DESCRIPTION
This class represents the parameters used for calling the method ListPrincipals on the AWS Resource Access Manager service. Use the attributes of this class as arguments to method ListPrincipals.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListPrincipals.
SYNOPSIS
my $ram = Paws->service('RAM');
my $ListPrincipalsResponse = $ram->ListPrincipals(
ResourceOwner => 'SELF',
MaxResults => 1, # OPTIONAL
NextToken => 'MyString', # OPTIONAL
Principals => [ 'MyString', ... ], # OPTIONAL
ResourceArn => 'MyString', # OPTIONAL
ResourceShareArns => [ 'MyString', ... ], # OPTIONAL
ResourceType => 'MyString', # OPTIONAL
);
# Results:
my $NextToken = $ListPrincipalsResponse->NextToken;
my $Principals = $ListPrincipalsResponse->Principals;
# Returns a L<Paws::RAM::ListPrincipalsResponse> object.
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ram/ListPrincipals
ATTRIBUTES
MaxResults => Int
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
NextToken => Str
The token for the next page of results.
Principals => ArrayRef[Str|Undef]
The principals.
ResourceArn => Str
The Amazon Resource Name (ARN) of the resource.
REQUIRED ResourceOwner => Str
The type of owner.
Valid values are: "SELF"
, "OTHER-ACCOUNTS"
ResourceShareArns => ArrayRef[Str|Undef]
The Amazon Resource Names (ARN) of the resource shares.
ResourceType => Str
The resource type.
Valid values: acm-pca:CertificateAuthority
| appmesh:Mesh
| codebuild:Project
| codebuild:ReportGroup
| ec2:CapacityReservation
| ec2:DedicatedHost
| ec2:LocalGatewayRouteTable
| ec2:PrefixList
| ec2:Subnet
| ec2:TrafficMirrorTarget
| ec2:TransitGateway
| imagebuilder:Component
| imagebuilder:Image
| imagebuilder:ImageRecipe
| imagebuilder:ContainerRecipe
| glue:Catalog
| glue:Database
| glue:Table
| license-manager:LicenseConfiguration
I network-firewall:FirewallPolicy
| network-firewall:StatefulRuleGroup
| network-firewall:StatelessRuleGroup
| outposts:Outpost
| resource-groups:Group
| rds:Cluster
| route53resolver:ResolverQueryLogConfig
| route53resolver:ResolverRule
SEE ALSO
This class forms part of Paws, documenting arguments for method ListPrincipals in Paws::RAM
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues