Skip to content

Lists all members of the specified project

Description

Lists all members of the specified project.

Usage

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

Arguments

  • domainIdentifier

    [required] The identifier of the Amazon DataZone domain in which you want to list project 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.

  • 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.

  • 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.

Value

A list with the following syntax:

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

Request syntax

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