List the workload shares associated with the workload.
get/workloads/{WorkloadId}/shares
Path parameters
WorkloadIdstring required
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
Query parameters
SharedWithPrefixstring
The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared.
NextTokenstring
The token to use to retrieve the next set of results.
MaxResultsinteger
The maximum number of results to return for this request.
Status'ACCEPTED' | 'REJECTED' | 'PENDING' | 'REVOKED' | 'EXPIRED' | 'ASSOCIATING' | 'ASSOCIATED' | 'FAILED'
The status of a workload share.
Response
Success