Skip to content

List Workload Shares

wellarchitected_list_workload_shares R Documentation

List the workload shares associated with the workload

Description

List the workload shares associated with the workload.

Usage

wellarchitected_list_workload_shares(WorkloadId, SharedWithPrefix,
  NextToken, MaxResults, Status)

Arguments

WorkloadId

[required]

SharedWithPrefix

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.

NextToken
MaxResults

The maximum number of results to return for this request.

Status

Value

A list with the following syntax:

list(
  WorkloadId = "string",
  WorkloadShareSummaries = list(
    list(
      ShareId = "string",
      SharedWith = "string",
      PermissionType = "READONLY"|"CONTRIBUTOR",
      Status = "ACCEPTED"|"REJECTED"|"PENDING"|"REVOKED"|"EXPIRED"|"ASSOCIATING"|"ASSOCIATED"|"FAILED",
      StatusMessage = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_workload_shares(
  WorkloadId = "string",
  SharedWithPrefix = "string",
  NextToken = "string",
  MaxResults = 123,
  Status = "ACCEPTED"|"REJECTED"|"PENDING"|"REVOKED"|"EXPIRED"|"ASSOCIATING"|"ASSOCIATED"|"FAILED"
)