Skip to content

List Project Memberships

datazone_list_project_memberships R Documentation

Lists all members of the specified project

Description

Lists all members of the specified project.

Usage

datazone_list_project_memberships(domainIdentifier, maxResults,
  nextToken, projectIdentifier, sortBy, sortOrder)

Arguments

domainIdentifier

[required] The identifier of the Amazon DataZone domain in which you want to list project memberships.

maxResults

The maximum number of memberships to return in a single call to list_project_memberships. When the number of memberships to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to list_project_memberships to list the next set of memberships.

nextToken

When the number of memberships is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of memberships, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to list_project_memberships to list the next set of memberships.

projectIdentifier

[required] The identifier of the project whose memberships you want to list.

sortBy

The method by which you want to sort the project memberships.

sortOrder

The sort order of the project memberships.

Value

A list with the following syntax:

list(
  members = list(
    list(
      designation = "PROJECT_OWNER"|"PROJECT_CONTRIBUTOR",
      memberDetails = list(
        group = list(
          groupId = "string"
        ),
        user = list(
          userId = "string"
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_project_memberships(
  domainIdentifier = "string",
  maxResults = 123,
  nextToken = "string",
  projectIdentifier = "string",
  sortBy = "NAME",
  sortOrder = "ASCENDING"|"DESCENDING"
)