Gets the resources or principals for the resource shares that you own.
ram_get_resource_share_associations(associationType, resourceShareArns,
resourceArn, principal, associationStatus, nextToken, maxResults)
[required] The 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.
The Amazon Resource Names (ARN) of the resource shares.
The Amazon Resource Name (ARN) of the resource. You cannot specify this
parameter if the association type is PRINCIPAL
.
The principal. You cannot specify this parameter if the association type
is RESOURCE
.
The association status.
The token for the next page of results.
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
svc$get_resource_share_associations( associationType = "PRINCIPAL"|"RESOURCE", resourceShareArns = list( "string" ), resourceArn = "string", principal = "string", associationStatus = "ASSOCIATING"|"ASSOCIATED"|"FAILED"|"DISASSOCIATING"|"DISASSOCIATED", nextToken = "string", maxResults = 123 )