Cloud9 / Client / delete_environment_membership

delete_environment_membership#

Cloud9.Client.delete_environment_membership(**kwargs)#

Deletes an environment member from a development environment.

See also: AWS API Documentation

Request Syntax

response = client.delete_environment_membership(
    environmentId='string',
    userArn='string'
)
Parameters:
  • environmentId (string) –

    [REQUIRED]

    The ID of the environment to delete the environment member from.

  • userArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the environment member to delete from the environment.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

Examples

response = client.delete_environment_membership(
    environmentId='8d9967e2f0624182b74e7690ad69ebEX',
    userArn='arn:aws:iam::123456789012:user/AnotherDemoUser',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}