![]() |
![]()
| ![]() |
![]()
NAMEPaws::RAM::GetResourceShareAssociations - Arguments for method GetResourceShareAssociations on Paws::RAM DESCRIPTIONThis class represents the parameters used for calling the method GetResourceShareAssociations on the AWS Resource Access Manager service. Use the attributes of this class as arguments to method GetResourceShareAssociations. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetResourceShareAssociations. SYNOPSISmy $ram = Paws->service('RAM'); my $GetResourceShareAssociationsResponse = $ram->GetResourceShareAssociations( AssociationType => 'PRINCIPAL', AssociationStatus => 'ASSOCIATING', # OPTIONAL MaxResults => 1, # OPTIONAL NextToken => 'MyString', # OPTIONAL Principal => 'MyString', # OPTIONAL ResourceArn => 'MyString', # OPTIONAL ResourceShareArns => [ 'MyString', ... ], # OPTIONAL ); # Results: my $NextToken = $GetResourceShareAssociationsResponse->NextToken; my $ResourceShareAssociations = $GetResourceShareAssociationsResponse->ResourceShareAssociations; # Returns a L<Paws::RAM::GetResourceShareAssociationsResponse> 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/GetResourceShareAssociations> ATTRIBUTESAssociationStatus => StrThe association status. Valid values are: "ASSOCIATING", "ASSOCIATED", "FAILED", "DISASSOCIATING", "DISASSOCIATED" REQUIRED AssociationType => StrThe association type. Specify "PRINCIPAL" to list the principals that are associated with the specified resource share. Specify "RESOURCE" to list the resources that are associated with the specified resource share. Valid values are: "PRINCIPAL", "RESOURCE" MaxResults => IntThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned "nextToken" value. NextToken => StrThe token for the next page of results. Principal => StrThe principal. You cannot specify this parameter if the association type is "RESOURCE". ResourceArn => StrThe Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type is "PRINCIPAL". ResourceShareArns => ArrayRef[Str|Undef]The Amazon Resource Names (ARN) of the resource shares. SEE ALSOThis class forms part of Paws, documenting arguments for method GetResourceShareAssociations in Paws::RAM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|