v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14136955.8 KB

Gets information about environment members for an Cloud9 development environment.

post/#X-Amz-Target=AWSCloud9WorkspaceManagementService.DescribeEnvironmentMemberships

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Headers

X-Amz-Target'AWSCloud9WorkspaceManagementService.DescribeEnvironmentMemberships' required

Request body

userArnstring

The Amazon Resource Name (ARN) of an individual environment member to get information about. If no value is specified, information about all environment members are returned.

environmentIdstring

The ID of the environment to get environment member information about.

permissionsPermissions[]
<p>The type of environment member permissions to get information about. Available values include:</p> <ul> <li> <p> <code>owner</code>: Owns the environment.</p> </li> <li> <p> <code>read-only</code>: Has read-only access to the environment.</p> </li> <li> <p> <code>read-write</code>: Has read-write access to the environment.</p> </li> </ul> <p>If no value is specified, information about all environment members are returned.</p>
nextTokenstring

During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a <i>next token</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

maxResultsinteger

The maximum number of environment members to get information about.

Response

Success

nextTokenstring

If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a <i>next token</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call.

Example response

{
  "memberships": [
    {
      "environmentId": "10a75714bd494714929e7f5ec4125aEX",
      "lastAccess": "2018-01-19T11:06:13Z",
      "permissions": "owner",
      "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
      "userId": "AIDAJNUEDQAQWFELJDLEX"
    },
    {
      "environmentId": "12bfc3cd537f41cb9776f8af5525c9EX",
      "lastAccess": "2018-01-19T11:39:19Z",
      "permissions": "owner",
      "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
      "userId": "AIDAJNUEDQAQWFELJDLEX"
    }
  ]
}