update_environment_membership
async
¶
update_environment_membership(
environment_id: EnvironmentId,
user_arn: UserArn,
permissions: MemberPermissions,
*,
config_overrides: Optional[AsyncCloud9ClientConfig] = None,
) -> UpdateEnvironmentMembershipResult
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"
Parameters:
-
environment_id(EnvironmentId) –The ID of the environment for the environment member whose settings you want to change.
-
user_arn(UserArn) –The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
-
permissions(MemberPermissions) –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.
-
Raises:
-
BadRequestException–The target request is invalid.
-
ConflictException–A conflict occurred.
-
ForbiddenException–An access permissions issue occurred.
-
InternalServerErrorException–An internal server error occurred.
-
LimitExceededException–A service limit was exceeded.
-
NotFoundException–The target resource cannot be found.
-
TooManyRequestsException–Too many service requests were made over the given time period.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
UpdateEnvironmentMembership
>>> await client.update_environment_membership(environment_id='8d9967e2f0624182b74e7690ad69ebEX', user_arn='arn:aws:iam::123456789012:user/AnotherDemoUser', permissions='read-only')
Source code in docs_src/capo_cloud9/_services/async_cloud9.py
1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 | |