list_workload_shares
¶
list_workload_shares(
workload_id: WorkloadId,
*,
config_overrides: Optional[WellArchitectedClientConfig] = None,
shared_with_prefix: Optional[SharedWithPrefix] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
status: Optional[ShareStatus] = None,
) -> ListWorkloadSharesOutput
List the workload shares associated with the workload.
Parameters:
-
shared_with_prefix(Optional[SharedWithPrefix], default:None) –The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return for this request.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–There is a problem with the Well-Architected Tool API service.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The user input is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_wellarchitected/_services/well_architected.py
5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 | |