CmdID

CmdID / aws / aws cloud9

aws cloud9 update-environment-membership

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

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To change the settings of an existing environment member for an AWS Cloud9 development environment

The following update-environment-membership example changes the settings of the specified existing environment member for the specified AWS Cloud9 development environment.

aws cloud9 update-environment-membership --environment-id 8a34f51ce1e04a08882f1e811bd706EX --user-arn arn:aws:iam::123456789012:user/AnotherDemoUser --permissions read-onlyIdentify
--environment-idThe ID of the environment for the environment member whose settings you want to change.
--user-arnThe Amazon Resource Name (ARN) of the environment member whose settings you want to change.
--permissionsThe replacement type of environment member permissions you want to associate with this environment member.
Its output
{
    "membership": {
        "environmentId": "8a34f51ce1e04a08882f1e811bd706EX",
        "userId": "AIDAJ3LOROMOUXTBSU6EX",
        "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
        "permissions": "read-only"
    }
}

For more information, see Working with shared environment in AWS Cloud9 in the AWS Cloud9 User Guide.

Options

3 in the AWS CLI reference
--environment-idThe ID of the environment for the environment member whose settings you want to change.
--permissionsThe replacement type of environment member permissions you want to associate with this environment member.
--user-arnThe Amazon Resource Name (ARN) of the environment member whose settings you want to change.