list_shares
async
¶
list_shares(
resource_owner: ResourceOwner,
*,
config_overrides: Optional[AsyncOmicsClientConfig] = 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.
Source code in docs_src/capo_omics/_services/async_omics.py
6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 | |