list_shares
¶
list_shares(
resource_owner: ResourceOwner,
*,
config_overrides: Optional[OmicsClientConfig] = None,
filter: Optional[Filter] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> ListSharesResponse
Retrieves the resource shares associated with an account. Use the filter parameter to retrieve a specific subset of the shares.
Parameters:
-
resource_owner(ResourceOwner) –The account that owns the resource shares.
-
filter(Optional[Filter], default:None) –Attributes that you use to filter for a specific subset of resource shares.
-
next_token(Optional[str], default:None) –Next token returned in the response of a previous ListReadSetUploadPartsRequest call. Used to get the next page of results.
-
max_results(Optional[int], default:None) –The maximum number of shares to return in one page of results.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request cannot be applied to the target resource in its current state.
-
InternalServerException–An unexpected error occurred. Try the request again.
-
ResourceNotFoundException–The target resource was not found in the current Region.
-
ServiceQuotaExceededException–The request exceeds a service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.