updateAppInstanceUser method
Updates the details of an AppInstanceUser. You can update
names and metadata.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw ResourceLimitExceededException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter appInstanceUserArn :
The ARN of the AppInstanceUser.
Parameter metadata :
The metadata of the AppInstanceUser.
Parameter name :
The name of the AppInstanceUser.
Implementation
Future<UpdateAppInstanceUserResponse> updateAppInstanceUser({
required String appInstanceUserArn,
required String metadata,
required String name,
}) async {
final $payload = <String, dynamic>{
'Metadata': metadata,
'Name': name,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/app-instance-users/${Uri.encodeComponent(appInstanceUserArn)}',
exceptionFnMap: _exceptionFns,
);
return UpdateAppInstanceUserResponse.fromJson(response);
}