list_workload_shares
async
¶
list_workload_shares(
workload_id: WorkloadId,
*,
config_overrides: Optional[AsyncWellArchitectedClientConfig] = 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/async_well_architected.py
5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 | |