NAME
Paws::RAM::GetResourceShares - Arguments for method GetResourceShares on Paws::RAM
DESCRIPTION
This class represents the parameters used for calling the method GetResourceShares on the AWS Resource Access Manager service. Use the attributes of this class as arguments to method GetResourceShares.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetResourceShares.
SYNOPSIS
my $ram = Paws->service('RAM');
my $GetResourceSharesResponse = $ram->GetResourceShares(
ResourceOwner => 'SELF',
MaxResults => 1, # OPTIONAL
Name => 'MyString', # OPTIONAL
NextToken => 'MyString', # OPTIONAL
PermissionArn => 'MyString', # OPTIONAL
ResourceShareArns => [ 'MyString', ... ], # OPTIONAL
ResourceShareStatus => 'PENDING', # OPTIONAL
TagFilters => [
{
TagKey => 'MyTagKey', # OPTIONAL
TagValues => [ 'MyTagValue', ... ], # OPTIONAL
},
...
], # OPTIONAL
);
# Results:
my $NextToken = $GetResourceSharesResponse->NextToken;
my $ResourceShares = $GetResourceSharesResponse->ResourceShares;
# Returns a L<Paws::RAM::GetResourceSharesResponse> 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/GetResourceShares
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.
Name => Str
The name of the resource share.
NextToken => Str
The token for the next page of results.
PermissionArn => Str
The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.
REQUIRED ResourceOwner => Str
The type of owner.
Valid values are: "SELF"
, "OTHER-ACCOUNTS"
ResourceShareArns => ArrayRef[Str|Undef]
The ARNs of the resource shares.
ResourceShareStatus => Str
The status of the resource share.
Valid values are: "PENDING"
, "ACTIVE"
, "FAILED"
, "DELETING"
, "DELETED"
TagFilters => ArrayRef[Paws::RAM::TagFilter]
One or more tag filters.
SEE ALSO
This class forms part of Paws, documenting arguments for method GetResourceShares 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