Skip to content

Update Environment Membership

cloud9_update_environment_membership R Documentation

Changes the settings of an existing environment member for an Cloud9 development environment

Description

Changes the settings of an existing environment member for an Cloud9 development environment.

Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"

Usage

cloud9_update_environment_membership(environmentId, userArn,
  permissions)

Arguments

environmentId

[required] The ID of the environment for the environment member whose settings you want to change.

userArn

[required] The Amazon Resource Name (ARN) of the environment member whose settings you want to change.

permissions

[required] The replacement type of environment member permissions you want to associate with this environment member. Available values include:

  • read-only: Has read-only access to the environment.

  • read-write: Has read-write access to the environment.

Value

A list with the following syntax:

list(
  membership = list(
    permissions = "owner"|"read-write"|"read-only",
    userId = "string",
    userArn = "string",
    environmentId = "string",
    lastAccess = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$update_environment_membership(
  environmentId = "string",
  userArn = "string",
  permissions = "read-write"|"read-only"
)

Examples

## Not run: 
# 
svc$update_environment_membership(
  environmentId = "8d9967e2f0624182b74e7690ad69ebEX",
  permissions = "read-only",
  userArn = "arn:aws:iam::123456789012:user/AnotherDemoUser"
)

## End(Not run)