v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1443255183.8 KB

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

WorkloadIdstring

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

NextTokenstring

The token to use to retrieve the next set of results.